[clug] grub boot problems

Brett Worth brett at worth.id.au
Mon Aug 4 07:26:10 GMT 2008

Paul wrote:

> Initially I tried
> root (hd2,1)
> but I got  Error 22: partition not valid

I'll take a stab...

Looks like you have a separate /boot partition so this probably should read:

root (hd2,0)


setup (hd2)

> Number  Start   End     Size    Type     File system  Flags
>  1      32.3kB  107MB   107MB   primary  ext3         boot
>  2      107MB   21.6GB  21.5GB  primary  ext3
>  3      21.6GB  23.7GB  2147MB  primary  linux-swap
>  4      23.7GB  500GB   476GB   primary  ext3


> menu.lst
> splashimage=(hd0,1)/boot/grub/splash.xpm.gz


> hiddenmenu
> title Fedora ( new
>         root (hd0,1)

root (hd2,0)

>         kernel /boot/vmlinuz- ro root=LABEL=/ rhgb quiet

kernel /vmlinuz- ro root=LABEL=/ rhgb quiet

>         initrd /boot/initrd-

initrd /initrd-

Having a separate /boot means you have to reference everything relative to the root of 
that partition.


More information about the linux mailing list