Gentoo Archives: gentoo-sparc

From: Chris Nolan <geekz4rent@×××××.com>
To: gentoo-sparc@l.g.o
Subject: Re: [gentoo-sparc] Help w/ 2006.0 on Ultra5
Date: Sun, 16 Jul 2006 04:18:00
Message-Id: 889b39680607152117u2d0c773cla2edd4b5f8dc44d4@mail.gmail.com
In Reply to: RE: [gentoo-sparc] Help w/ 2006.0 on Ultra5 by "Clonch
1 I tried that. I just a fresh install and left the disk as is from when
2 fdisk made the Sun Disk Label.
3
4 /dev/hda1 /
5 /dev/hda2 swap
6 /dev/hda3 whole disk
7
8 I go through the whole handbook without issue and then when i
9 configure silo I get this error.
10
11 (chroot) livecd etc # cp /etc/silo.conf /boot
12 (chroot) livecd etc # /sbin/silo -C /boot/silo.conf
13 Error parsing silo config file /boot/silo.conf <<<<<<<<<<<
14
15 (chroot) livecd etc # cd /boot
16 (chroot) livecd boot # ls -l
17 total 3496
18 lrwxrwxrwx 1 root root 1 Jul 14 12:04 boot -> .
19 -rw-r--r-- 1 root root 1024 Jul 15 21:44 fd.b
20 -rw-r--r-- 1 root root 512 Jul 15 21:44 first.b
21 -rw-r--r-- 1 root root 1024 Jul 15 21:44 generic.b
22 -rw-r--r-- 1 root root 816 Jul 15 21:44 ieee32.b
23 -rw-r--r-- 1 root root 7112 Jul 15 21:44 isofs.b
24 -rwxr-xr-x 1 root root 3433584 Jul 15 20:22 kernel-2.4.32-sparc-r6
25 -rw-r--r-- 1 root root 65024 Jul 15 21:44 second.b
26 -rw-r--r-- 1 root root 243 Jul 15 21:47 silo.conf <<<<<<<<<<<
27 -rw-r--r-- 1 root root 62436 Jul 15 21:44 silotftp.b
28 -rw-r--r-- 1 root root 512 Jul 15 21:44 ultra.b
29
30 (chroot) livecd boot # /sbin/silo
31 Error parsing silo config file /etc/silo.conf <<<<<<<<<<<<<
32
33 partition = 1 # Boot partition (= root partition)
34 root = /dev/hda1 # Root partition
35 timeout = 150 # Wait 15 seconds before booting the default section
36
37 image = /boot/kernel-2.4.32-sparc-r6
38 label = Gentoo Linux 2.4.32-r6
39
40
41
42 Can anyone offer some insight as to what I'm running into here? On a
43 side note I tried Ubuntu Sparc 6.06 that I found and it installed fine
44 and ran fine on the machine but I didn't like it so tried gentoo
45 again.
46
47
48 Many thanks.
49 Chris
50
51
52
53
54 On 7/15/06, Clonch, Christopher A (Chris) <clonch@××××××.com> wrote:
55 > A separate boot partition is not needed, and the first partition doesn't have to be root. Make sure the /dev/BOOT line in your fstab is commented out.
56 >
57 > -Chris
58 >
59 > -----Original Message-----
60 > From: Chris Nolan [mailto:geekz4rent@×××××.com]
61 > Sent: Friday, July 14, 2006 8:11 PM
62 > To: gentoo-sparc@l.g.o
63 > Subject: [gentoo-sparc] Help w/ 2006.0 on Ultra5
64 >
65 > Sorry for the cruft, but I'm having an issue and I'm not exactly sure
66 > how to solve it.
67 >
68 > I have an old Ultra5. It came without a hard drive so I dug up an old
69 > 100g drive and installed that in it. (Jumpered as Cable Select) Added
70 > in my quad ethernet card as this will be a firewall once I get it
71 > working.
72 >
73 > When I partitioned it, I created the Sun Disk Label and made the following.
74 >
75 > /dev/hda1 / (512mb) ext2
76 > /dev/hda2 swap (512mb) swap
77 > /dev/hda3 whole disk
78 > /dev/hda4 /usr (15g) ext3
79 > /dev/hda5 /var (15g) ext3
80 > /dev/hda6 /home (rest) ext3
81 >
82 > I followed the 2006.0 doc and when it comes to the edit the fstab
83 > portion, this is where I get confused. In there it wants a line for
84 > /dev/BOOT but I don't have a /boot partition. Should I have created a
85 > /boot partition? I was under the impression that the first partition
86 > needed to be / .
87 >
88 > I get through the doc and make my fstab without putting in a /boot
89 > line (removed it) and reboot the machine and it comes up saying "The
90 > file just loaded does not appear to be executable."
91 >
92 > However the kernel file in /boot is executable. And is under the
93 > 3.5m for a 2.4 on 64bit system.
94 >
95 >
96 > Can someone please point me in the right direction as to what I'm
97 > doing wrong?
98 >
99 > Many thanks.
100 > Chris
101 >
102 > livecd ~ # ls -l /mnt/gentoo/boot
103 > total 4002
104 > -rw-r--r-- 1 root root 525858 Jul 14 09:59 System-2.4.32-sparc-r6.map
105 > lrwxrwxrwx 1 root root 1 Jul 13 19:17 boot -> .
106 > -rw-r--r-- 1 root root 1024 Jul 14 10:50 fd.b
107 > -rw-r--r-- 1 root root 512 Jul 14 10:50 first.b
108 > -rw-r--r-- 1 root root 1024 Jul 14 10:50 generic.b
109 > -rw-r--r-- 1 root root 816 Jul 14 10:50 ieee32.b
110 > -rw-r--r-- 1 root root 7112 Jul 14 10:50 isofs.b
111 > -rwxr-xr-x 1 root root 3449968 Jul 14 09:59 kernel-2.4.32-sparc-r6 <<<<<
112 > -rw-r--r-- 1 root root 65024 Jul 14 10:50 second.b
113 > -rw-r--r-- 1 root root 243 Jul 14 11:01 silo.conf
114 > -rw-r--r-- 1 root root 62436 Jul 14 10:50 silotftp.b
115 > -rw-r--r-- 1 root root 512 Jul 14 10:50 ultra.b
116 >
117 > livecd ~ # more /mnt/gentoo/boot/silo.conf
118 > partition = 1 # Boot partition (= root partition)
119 > root = /dev/hda1 # Root partition
120 > timeout = 150 # Wait 15 seconds before booting the default section
121 >
122 > image = /boot/kernel-2.4.32-sparc-r6
123 > label = Gentoo Linux 2.4.32-r6
124 > --
125 > gentoo-sparc@g.o mailing list
126 > --
127 > gentoo-sparc@g.o mailing list
128 >
129 >
130 --
131 gentoo-sparc@g.o mailing list

Replies

Subject Author
Re: [gentoo-sparc] Help w/ 2006.0 on Ultra5 Phil Botha <phil@×××××××××.net>