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.
-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug