RE: Linux 2.4.27 boot problem with compiled kernel
"Lauro, John" <[email protected]> Tue, 21 Dec 2004 09:09:08 -0500
| Newsgroups | gmane.linux.redhat.sparc |
|---|---|
| Message-ID | <[email protected]> |
Does your /etc/fstab use LABEL=3D or /dev/... for the devices? If you don't include the correct options in the kernel, it will have problems when it tries to mount if LABEL=3D format is used. Easiest is to only use /dev format (especially for critical systems like / ) in /etc/fstab, as that will always work, unless of course you move drives around such that they get different devices... > -----Original Message----- > From: [email protected]=20 > [mailto:[email protected]] On Behalf Of Henry Combrinck > Sent: Tuesday, December 21, 2004 8:44 AM > To: [email protected] > Subject: Linux 2.4.27 boot problem with compiled kernel >=20 > Hello >=20 > Hopefully someone can shed some light on this problem. >=20 > I'm quite familiar with compiling linux kernels, installing,=20 > etc (using lilo). >=20 > However, linux/sparc uses silo/silo.conf. I understand that=20 > it's not necessary to run silo after installing a new kernel,=20 > but the new kernel refuses to boot, ending up with (08:01 is=20 > /dev/sda1): >=20 > Kernel panic: VFS: Unable to mount root fs on 08:01 >=20 > This is a familiar problem on intel/linux if you don't run=20 > lilo before rebooting - but what the heck am I missing here? >=20 > steps I took (kernel 2.4.27, Sun ULTRA Enterprise 2): > 1. compile kernel with make dep...make vmlinux...etc (with=20 > ext3) 2. copy vmlinux binary to /vmlinux-2.4.27 3. edit=20 > /etc/silo.conf to point to new binary: >=20 > The second boot option below "Linux" boots OK (default from=20 > Splack CD). >=20 > #---------------------------------- > message =3D /boot/boot_message.txt > timeout =3D 100 > image =3D /vmlinux-2.4.27 > root =3D /dev/sda1 > label =3D Linux-2.4.27 > read-only > image =3D /vmlinux > root =3D /dev/sda1 > label =3D Linux > read-only > #---------------------------------- >=20 > I also tried rdev /vmlinux-2.4.27 /dev/sda1. >=20 > All to no avail. >=20 > Any ideas before I re-use this machine as a doorstop? Using=20 > Solaris is not an option - we want to make use of it as part=20 > of a cluster using openmosix. >=20 > Regards > Henry >=20 >=20 > -------------------------------------------------------- > This message was sent using MetroWEB's AirMail service. > http://www.metroweb.co.za/ - full access for only R73. > Free Web Accelerator, WebMail, Calendar, Anti-Virus,=20 > Anti-Spam, 10 emails, 100MB personal webspace, and more! > Phone Now! 086 11 11 440 >=20 > _______________________________________________ > Sparc-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/sparc-list >=20