[clug] grub boot problems

Paul mylists at wilsononline.id.au
Mon Aug 4 07:42:14 GMT 2008


On 4/08/2008 5:26 PM, Brett Worth wrote:
> 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
> 
> 


hd2,0 doesn't work either..
The next weird thing is that

the current menu.lst
has root (hd0,2) and that boots the old disk which is /dev/sdb

  cat /boot/grub/device.map
(hd0)   /dev/sda
(hd1)   /dev/sdb
(hd2)   /dev/sdc


so I'm really confused it seems its device.map is not what is used.



More information about the linux mailing list