Is this grub.conf file correct?

Tim ignored_mailbox at yahoo.com.au
Sun Nov 16 01:41:22 UTC 2008


On Sat, 2008-11-15 at 22:24 +0100, M. Fioretti wrote:
> Now ended up with this grub.conf:
> 
> default=0
> timeout=20
> splashimage=(hd0,0)/grub/splash.img.gz
> root (hd0,0)
> title Fedora 9
> kernel /vmlinuz-2.6.25-14.fc9.x86_64 rhgb
> initrd /initrd-2.6.25-14.fc9.x86_64.img

You're missing some things on the kernel line.  It should have a
structure like this:  

  kernel /vmlinuz  ro  root=

Where the root parameter points to wherever "/" is located.  It could be
referred to by UUID, labels, or partition details.  There can, also, be
other parameters, like rhgb or quiet, but they're not needed to boot.

e.g. kernel /vmlinuz-2.6.25-14.fc9.x86_64 ro root=LABEL=systemroot
or, kernel /vmlinuz-2.6.25-14.fc9.x86_64 ro root=/dev/sda2
or, kernel /vmlinuz-2.6.25-14.fc9.x86_64 ro root=UUID=sdf-dfgd-ewrew-rewq
but replacing my label, device ID, or random UUID examples with your
actual ones.

I'd expect you to see some sort of error message without having any
referral to where to find the root partition.

-- 
[tim at localhost ~]$ uname -r
2.6.27.5-37.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.






More information about the fedora-list mailing list