Change the kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ line to represent the hard disk/partition your booting from

i.e. instead of

root=LABEL=/


try somethinglike

root=/dev/hda1

(I'm guessing you are using this because you already have root (hd0,0) stated in grub)



[EMAIL PROTECTED] wrote:
Hi,

When booting a newly built kernel, it stops with the following message:

Cannot open root device "LABEL=/" or 00:00

I built the kernel from source, following these stages:

make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install
cp .config /boot/config-2.4.20-20.9
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20-20.9
cp System.map /boot/config-2.4.20-20.9
mkinitrd --image-version initrd 2.4.20-20.9custom
cp initrd-2.4.20-20.9custom /boot/initrd-2.4.20-20.9.img

I've added the following lines to /boot/grub/grub.conf:

title Red Hat Linux (2.4.20-20.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/
initrd /initrd-2.4.20-20.9.img

These lines are copied from other successful boot lines, with just the version numbers changed.

Have I done something wrong in my creation of the ram disk maybe? Is there a script somewhere which does a proper job?

Thanks.
Greg Wood.

--
businessCard
Malik Jayawardena  
Motion Capture Technical Director
ANIMAL LOGIC FiLM
-------------------------------------------------
e-mail: [EMAIL PROTECTED]

ph: +61 2 9662 7498

  

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to