[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)
Then
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
Also...
>
> menu.lst
> splashimage=(hd0,1)/boot/grub/splash.xpm.gz
splashimage=(hd2,0)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora (2.6.25.11-60.fc8) new
> root (hd0,1)
root (hd2,0)
> kernel /boot/vmlinuz-2.6.25.11-60.fc8 ro root=LABEL=/ rhgb quiet
kernel /vmlinuz-2.6.25.11-60.fc8 ro root=LABEL=/ rhgb quiet
> initrd /boot/initrd-2.6.25.11-60.fc8.img
initrd /initrd-2.6.25.11-60.fc8.img
Having a separate /boot means you have to reference everything relative to the root of
that partition.
Brett
More information about the linux
mailing list