Hi woodgrove

You need to explicitly tell the boot manager where the root partition
is, I know it's stupid but I have had to do from day one on RedHat.

So if you are using grub edit
/etc/grub.conf

and change the boot paramater root=LABEL=/ to root=<your root part>

<your root part> could look something like /dev/hda5.

If you are using lilo edit:
/etc/lilo.conf

I forget what RedHat lilo.conf file looks like but just find
the reference to root and change it to <your root part>
then run as root:
lilo -v 

to update lilo 

Darren


On Thu, 06 Nov 2003, [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. 
> 
> 
> 

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

--------------------------------------------------
Darren Williams <[EMAIL PROTECTED]>
[EMAIL PROTECTED] <www.gelato.unsw.edu.au>
--------------------------------------------------
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to