Re: grub, initrd and Co

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Le Tue, 08 Jun 2010 14:30:40 +0200,
Mogens Kjaer <mk@xxxxxxx> a écrit :

> On 06/08/2010 02:13 PM, Philippe Naudin wrote:
> ...
> >>> mount: error mounting /dev/root on /sysroot as auto: No such device
> ...
> > Any idea ?
> 
> /etc/fstab looks good; now what's in your /boot/grub/grub.conf file?

# cat /mnt/linux/etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/hda1
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-194.3.1.el5)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.18-194.3.1.el5 ro root=/dev/hda1
        initrd /boot/initrd-2.6.18-194.3.1.el5.img

> 
> BTW, if you boot in rescue mode from the installation DVD/CD, does
> it automatically mount everything?

Yes, including swap, and dmesg doesn't report any errors. I chrooted 
to /mnt/sysimage and tried grub-install /dev/hda1 :
Installation finished. No error reported.
(hd0) /dev/hda
... but no better result after a reboot (exactly the same messages).

My bet is : grub is ok, initrd maybe, but something else is missing
(udev ? selinux is disabled).

Cheers,

-- 
Philippe
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux