On Tue, 22 Jul 2003 [EMAIL PROTECTED] wrote: > Hi Robert, > when I tried the 'mkinitrd' it told me I already had an image file... I don't think > I built SCSI support into the kernel though... I don't think I have an SCSI devices. > > Should I build SCSI support? > > Shane > > > ----- Original Message ----- > From: "Robert P. J. Day" <[EMAIL PROTECTED]> > Date: Tuesday, July 22, 2003 10:33 am > Subject: Re: (clug-talk) Compiling a RedHat Kernel > > > On Tue, 22 Jul 2003 [EMAIL PROTECTED] wrote: > > > > > Hi all, > > > I just compiled a new kernel for RedHat 9, but when I boot this > > new kernel it says: > > > > > > VFS: Cannot open root device "LABEL=/" > > > Please append a correct "root=" boot option > > > Kernel panic: VFS Unable to mount root fs 00:00 > > > > > > So I checked the 'grub.conf' file and it has a listing for > > exactly the > > > same parameters as the other kernels (which work fine) > > > > > > Any ideas about what I missed here? > > > > yup. you can't boot your root partition using "LABEL=" without an > > initrd.img. it doesn't matter if you built ext3 support into the > > kernel or not. > > > > either switch the entry for the root partition back to a /dev/hdxy > > notation, or use "mkinitrd" to build an initrd.img. either way > > will work fine.
rule #1: never top post. :-) rule #2: test this by replacing the LABEL= parameter with the actual device notation. let's first verify that that will fix the problem. it's well known (well, ok, well known to me :-) that the kernel cannot nandle the LABEL= notation. by using an initrd, the mounting is done in userspace, so it should work. i do notice that you have an initrd.img, but humor me anyway. and even if you have an IDE only machine, you should always build in generic SCSI support at least, since that's how, for instance, USB zip drives will appear to the kernel. try the /dev/ notation and see what happens. make sure all your /etc/fstab entries are correct as well. rday
