Re: correction, location of grub/menu.lst
shark@gulfnet.sd64.bc.ca wrote:
Suppose that a machine has Windows installed on
hda and Debian on hdb. The menu.lst on a grub
installation diskette is configured appropriately and
copied to /dev/hdb/boot/grub/menu.lst,
not to /dev/hda/boot/grub/menu.lst.
"grub-install /dev/hda" is executed.
Will grub then know to use the menu.lst on hdb?
If so, how does grub know this?
Otherwise, how can grub be configured to know this?
Thanks, ... Peter E.
shark at gulfnet dot sd64 dot bc.ca
Desktops.OpenDoc http://carnot.pathology.ubc.ca/
Suppose ur windows in hda & debian in hdb, BIOS setup in hda. Debian
has installed perfactly, then u wanna use grub to select which system u
want when bootup.
Frist, set BIOS boot hdb other then hda.
Frist, boot into debian, login as root(or use sudo).
grub
root (hd1,X)
# X is to decide which partition in hdb will do as *root*, normally
this partition is mounted as / . e.g. (hd1,0) 4 hdb1, (hd1,1) 4 hdb2 etc.
setup hd1
reboot
Then when ur boot up, grub will be the system loader. But u can't
boot up windows. So u need 2 edit /boot/grub/menu.lst. Adding this.
title windows
root (hd0)
chainloader +1
savedefault
boot
Wish u lucky.
Shell.E.Xu
--
与其相濡以沫,不如相忘于江湖
Reply to: