Re: Grub Question
Thomas H. George wrote:
I am trying to convert from lilo where boot=/dev/sdb0 and
root=/dev/sdb1 in lilo.conf
I have tried kopt=root=/dev/sdb1 ro and groot=(sdb,0) in grub's menu.lst
(also kopt=root=/dev/sdb0 ro since I understand grub counts from 0).
The MBR is unchanged and the system still boots with lilo.
A problem could be that the bios setup detects the hard drive which lilo
believes is sdb as Sata 3 (Sata 1 is another hard drive and Sata 2 is an
optical drive). I thought maybe grub would think lilo's sdb is sdc but
this didn't work either.
A google entry indicated there is a command line continuation feature
which should show the available drives which grub sees. I haven't been
able to make this work.
The google entries I've found have no examples for designating Sata
drives.
And you ran 'grub-install dev/hda' ?
I use the Super Grub Disk:
http://www.supergrubdisk.org/index.php
Reason: the device allocations sda, sdb, sdc... You have no idea what
the drive will be.
So sgd allows this sequence:
...
title 2.6.26.5-hvw SDB6 from D10 + NETWORK + 2-seat
findf /wd80_0jd-60.06 #look for unique file
root $(out_device)
kernel /boot/vmlinuz-2.6.26.5-hvw root=LABEL=wd80_0jd-60.06
noapic vga=791 apm=on ddcon=1 network quiet
initrd /boot/initrd.img-2.6.26.5-hvw
boot
...
Note that 'root $(out_device)' that eliminates setting the hardcoded
device designation.
I have no idea how you get around this problem with legacy grub.
Works like a charm.
Hugo
Reply to: