Mailing List Archive

Help w/ 2006.0 on Ultra5
Sorry for the cruft, but I'm having an issue and I'm not exactly sure
how to solve it.

I have an old Ultra5. It came without a hard drive so I dug up an old
100g drive and installed that in it. (Jumpered as Cable Select) Added
in my quad ethernet card as this will be a firewall once I get it
working.

When I partitioned it, I created the Sun Disk Label and made the following.

/dev/hda1 / (512mb) ext2
/dev/hda2 swap (512mb) swap
/dev/hda3 whole disk
/dev/hda4 /usr (15g) ext3
/dev/hda5 /var (15g) ext3
/dev/hda6 /home (rest) ext3

I followed the 2006.0 doc and when it comes to the edit the fstab
portion, this is where I get confused. In there it wants a line for
/dev/BOOT but I don't have a /boot partition. Should I have created a
/boot partition? I was under the impression that the first partition
needed to be / .

I get through the doc and make my fstab without putting in a /boot
line (removed it) and reboot the machine and it comes up saying "The
file just loaded does not appear to be executable."

However the kernel file in /boot is executable. And is under the
3.5m for a 2.4 on 64bit system.


Can someone please point me in the right direction as to what I'm
doing wrong?

Many thanks.
Chris

livecd ~ # ls -l /mnt/gentoo/boot
total 4002
-rw-r--r-- 1 root root 525858 Jul 14 09:59 System-2.4.32-sparc-r6.map
lrwxrwxrwx 1 root root 1 Jul 13 19:17 boot -> .
-rw-r--r-- 1 root root 1024 Jul 14 10:50 fd.b
-rw-r--r-- 1 root root 512 Jul 14 10:50 first.b
-rw-r--r-- 1 root root 1024 Jul 14 10:50 generic.b
-rw-r--r-- 1 root root 816 Jul 14 10:50 ieee32.b
-rw-r--r-- 1 root root 7112 Jul 14 10:50 isofs.b
-rwxr-xr-x 1 root root 3449968 Jul 14 09:59 kernel-2.4.32-sparc-r6 <<<<<
-rw-r--r-- 1 root root 65024 Jul 14 10:50 second.b
-rw-r--r-- 1 root root 243 Jul 14 11:01 silo.conf
-rw-r--r-- 1 root root 62436 Jul 14 10:50 silotftp.b
-rw-r--r-- 1 root root 512 Jul 14 10:50 ultra.b

livecd ~ # more /mnt/gentoo/boot/silo.conf
partition = 1 # Boot partition (= root partition)
root = /dev/hda1 # Root partition
timeout = 150 # Wait 15 seconds before booting the default section

image = /boot/kernel-2.4.32-sparc-r6
label = Gentoo Linux 2.4.32-r6
--
gentoo-sparc@gentoo.org mailing list
RE: Help w/ 2006.0 on Ultra5 [ In reply to ]
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.

-Chris

-----Original Message-----
From: Chris Nolan [mailto:geekz4rent@gmail.com]
Sent: Friday, July 14, 2006 8:11 PM
To: gentoo-sparc@lists.gentoo.org
Subject: [gentoo-sparc] Help w/ 2006.0 on Ultra5

Sorry for the cruft, but I'm having an issue and I'm not exactly sure
how to solve it.

I have an old Ultra5. It came without a hard drive so I dug up an old
100g drive and installed that in it. (Jumpered as Cable Select) Added
in my quad ethernet card as this will be a firewall once I get it
working.

When I partitioned it, I created the Sun Disk Label and made the following.

/dev/hda1 / (512mb) ext2
/dev/hda2 swap (512mb) swap
/dev/hda3 whole disk
/dev/hda4 /usr (15g) ext3
/dev/hda5 /var (15g) ext3
/dev/hda6 /home (rest) ext3

I followed the 2006.0 doc and when it comes to the edit the fstab
portion, this is where I get confused. In there it wants a line for
/dev/BOOT but I don't have a /boot partition. Should I have created a
/boot partition? I was under the impression that the first partition
needed to be / .

I get through the doc and make my fstab without putting in a /boot
line (removed it) and reboot the machine and it comes up saying "The
file just loaded does not appear to be executable."

However the kernel file in /boot is executable. And is under the
3.5m for a 2.4 on 64bit system.


Can someone please point me in the right direction as to what I'm
doing wrong?

Many thanks.
Chris

livecd ~ # ls -l /mnt/gentoo/boot
total 4002
-rw-r--r-- 1 root root 525858 Jul 14 09:59 System-2.4.32-sparc-r6.map
lrwxrwxrwx 1 root root 1 Jul 13 19:17 boot -> .
-rw-r--r-- 1 root root 1024 Jul 14 10:50 fd.b
-rw-r--r-- 1 root root 512 Jul 14 10:50 first.b
-rw-r--r-- 1 root root 1024 Jul 14 10:50 generic.b
-rw-r--r-- 1 root root 816 Jul 14 10:50 ieee32.b
-rw-r--r-- 1 root root 7112 Jul 14 10:50 isofs.b
-rwxr-xr-x 1 root root 3449968 Jul 14 09:59 kernel-2.4.32-sparc-r6 <<<<<
-rw-r--r-- 1 root root 65024 Jul 14 10:50 second.b
-rw-r--r-- 1 root root 243 Jul 14 11:01 silo.conf
-rw-r--r-- 1 root root 62436 Jul 14 10:50 silotftp.b
-rw-r--r-- 1 root root 512 Jul 14 10:50 ultra.b

livecd ~ # more /mnt/gentoo/boot/silo.conf
partition = 1 # Boot partition (= root partition)
root = /dev/hda1 # Root partition
timeout = 150 # Wait 15 seconds before booting the default section

image = /boot/kernel-2.4.32-sparc-r6
label = Gentoo Linux 2.4.32-r6
--
gentoo-sparc@gentoo.org mailing list
--
gentoo-sparc@gentoo.org mailing list
Re: Help w/ 2006.0 on Ultra5 [ In reply to ]
I tried that. I just a fresh install and left the disk as is from when
fdisk made the Sun Disk Label.

/dev/hda1 /
/dev/hda2 swap
/dev/hda3 whole disk

I go through the whole handbook without issue and then when i
configure silo I get this error.

(chroot) livecd etc # cp /etc/silo.conf /boot
(chroot) livecd etc # /sbin/silo -C /boot/silo.conf
Error parsing silo config file /boot/silo.conf <<<<<<<<<<<

(chroot) livecd etc # cd /boot
(chroot) livecd boot # ls -l
total 3496
lrwxrwxrwx 1 root root 1 Jul 14 12:04 boot -> .
-rw-r--r-- 1 root root 1024 Jul 15 21:44 fd.b
-rw-r--r-- 1 root root 512 Jul 15 21:44 first.b
-rw-r--r-- 1 root root 1024 Jul 15 21:44 generic.b
-rw-r--r-- 1 root root 816 Jul 15 21:44 ieee32.b
-rw-r--r-- 1 root root 7112 Jul 15 21:44 isofs.b
-rwxr-xr-x 1 root root 3433584 Jul 15 20:22 kernel-2.4.32-sparc-r6
-rw-r--r-- 1 root root 65024 Jul 15 21:44 second.b
-rw-r--r-- 1 root root 243 Jul 15 21:47 silo.conf <<<<<<<<<<<
-rw-r--r-- 1 root root 62436 Jul 15 21:44 silotftp.b
-rw-r--r-- 1 root root 512 Jul 15 21:44 ultra.b

(chroot) livecd boot # /sbin/silo
Error parsing silo config file /etc/silo.conf <<<<<<<<<<<<<

partition = 1 # Boot partition (= root partition)
root = /dev/hda1 # Root partition
timeout = 150 # Wait 15 seconds before booting the default section

image = /boot/kernel-2.4.32-sparc-r6
label = Gentoo Linux 2.4.32-r6



Can anyone offer some insight as to what I'm running into here? On a
side note I tried Ubuntu Sparc 6.06 that I found and it installed fine
and ran fine on the machine but I didn't like it so tried gentoo
again.


Many thanks.
Chris




On 7/15/06, Clonch, Christopher A (Chris) <clonch@lucent.com> wrote:
> 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.
>
> -Chris
>
> -----Original Message-----
> From: Chris Nolan [mailto:geekz4rent@gmail.com]
> Sent: Friday, July 14, 2006 8:11 PM
> To: gentoo-sparc@lists.gentoo.org
> Subject: [gentoo-sparc] Help w/ 2006.0 on Ultra5
>
> Sorry for the cruft, but I'm having an issue and I'm not exactly sure
> how to solve it.
>
> I have an old Ultra5. It came without a hard drive so I dug up an old
> 100g drive and installed that in it. (Jumpered as Cable Select) Added
> in my quad ethernet card as this will be a firewall once I get it
> working.
>
> When I partitioned it, I created the Sun Disk Label and made the following.
>
> /dev/hda1 / (512mb) ext2
> /dev/hda2 swap (512mb) swap
> /dev/hda3 whole disk
> /dev/hda4 /usr (15g) ext3
> /dev/hda5 /var (15g) ext3
> /dev/hda6 /home (rest) ext3
>
> I followed the 2006.0 doc and when it comes to the edit the fstab
> portion, this is where I get confused. In there it wants a line for
> /dev/BOOT but I don't have a /boot partition. Should I have created a
> /boot partition? I was under the impression that the first partition
> needed to be / .
>
> I get through the doc and make my fstab without putting in a /boot
> line (removed it) and reboot the machine and it comes up saying "The
> file just loaded does not appear to be executable."
>
> However the kernel file in /boot is executable. And is under the
> 3.5m for a 2.4 on 64bit system.
>
>
> Can someone please point me in the right direction as to what I'm
> doing wrong?
>
> Many thanks.
> Chris
>
> livecd ~ # ls -l /mnt/gentoo/boot
> total 4002
> -rw-r--r-- 1 root root 525858 Jul 14 09:59 System-2.4.32-sparc-r6.map
> lrwxrwxrwx 1 root root 1 Jul 13 19:17 boot -> .
> -rw-r--r-- 1 root root 1024 Jul 14 10:50 fd.b
> -rw-r--r-- 1 root root 512 Jul 14 10:50 first.b
> -rw-r--r-- 1 root root 1024 Jul 14 10:50 generic.b
> -rw-r--r-- 1 root root 816 Jul 14 10:50 ieee32.b
> -rw-r--r-- 1 root root 7112 Jul 14 10:50 isofs.b
> -rwxr-xr-x 1 root root 3449968 Jul 14 09:59 kernel-2.4.32-sparc-r6 <<<<<
> -rw-r--r-- 1 root root 65024 Jul 14 10:50 second.b
> -rw-r--r-- 1 root root 243 Jul 14 11:01 silo.conf
> -rw-r--r-- 1 root root 62436 Jul 14 10:50 silotftp.b
> -rw-r--r-- 1 root root 512 Jul 14 10:50 ultra.b
>
> livecd ~ # more /mnt/gentoo/boot/silo.conf
> partition = 1 # Boot partition (= root partition)
> root = /dev/hda1 # Root partition
> timeout = 150 # Wait 15 seconds before booting the default section
>
> image = /boot/kernel-2.4.32-sparc-r6
> label = Gentoo Linux 2.4.32-r6
> --
> gentoo-sparc@gentoo.org mailing list
> --
> gentoo-sparc@gentoo.org mailing list
>
>
--
gentoo-sparc@gentoo.org mailing list
Re: Help w/ 2006.0 on Ultra5 [ In reply to ]
On Sunday 16 July 2006 06:17, Chris Nolan wrote:
<snip>
>
> (chroot) livecd boot # /sbin/silo
> Error parsing silo config file /etc/silo.conf <<<<<<<<<<<<<
>
> partition = 1 # Boot partition (= root partition)
> root = /dev/hda1 # Root partition
> timeout = 150 # Wait 15 seconds before booting the default section
>
> image = /boot/kernel-2.4.32-sparc-r6
> label = Gentoo Linux 2.4.32-r6
^^^^^^^^^^^^^^^
>

Try removing whitespace from the label = entry, e.g. Gentoo-Linux-2.4.32-r6
--
Regards,
Phil Botha
AssetSure Tech Services

Are you still a Micro-serf locked in by gates, looking out through windows?
Escape to the freedom of the wide Open Source world!

"In the heaven of Gates, you pay the Bill"
--
gentoo-sparc@gentoo.org mailing list
Re: Help w/ 2006.0 on Ultra5 [ In reply to ]
On Sunday 16 July 2006 09:30, Phil Botha wrote:
> On Sunday 16 July 2006 06:17, Chris Nolan wrote:
> <snip>
>
> > (chroot) livecd boot # /sbin/silo
> > Error parsing silo config file /etc/silo.conf <<<<<<<<<<<<<
> >
> > partition = 1 # Boot partition (= root partition)
> > root = /dev/hda1 # Root partition
> > timeout = 150 # Wait 15 seconds before booting the default
> > section
> >
> > image = /boot/kernel-2.4.32-sparc-r6
> > label = Gentoo Linux 2.4.32-r6
>
> ^^^^^^^^^^^^^^^
>
>
> Try removing whitespace from the label = entry, e.g.
> Gentoo-Linux-2.4.32-r6


Oh, and quotation marks like "Gentoo Linux 2.4.32-r6" also seem to
work.
--
Regards,
Phil Botha
AssetSure Tech Services

Are you still a Micro-serf locked in by gates, looking out through windows?
Escape to the freedom of the wide Open Source world!

"In the heaven of Gates, you pay the Bill"
--
gentoo-sparc@gentoo.org mailing list
Re: Help w/ 2006.0 on Ultra5 [ In reply to ]
that did the trick. many thanks for the help. now to get shorewall running. :)

Chris


On 7/16/06, Phil Botha <phil@assetsure.net> wrote:
> > > image = /boot/kernel-2.4.32-sparc-r6
> > > label = Gentoo Linux 2.4.32-r6
> >
> > ^^^^^^^^^^^^^^^
> >
> >
> > Try removing whitespace from the label = entry, e.g.
> > Gentoo-Linux-2.4.32-r6
>
>
> Oh, and quotation marks like "Gentoo Linux 2.4.32-r6" also seem to
> work.
> --
> Regards,
> Phil Botha
> AssetSure Tech Services
>
> Are you still a Micro-serf locked in by gates, looking out through windows?
> Escape to the freedom of the wide Open Source world!
>
> "In the heaven of Gates, you pay the Bill"
> --
> gentoo-sparc@gentoo.org mailing list
>
>
--
gentoo-sparc@gentoo.org mailing list