Page 1 of 1

Can Lilo or Grub choose an OS to boot if it's on anotherHDD?

Posted: 2004-06-13 02:45pm
by darthdavid
I've decided to tinker with linux some more and I wanna use an old 4.3 gig hdd my friend is willing to give me for free to do it with. So, the question, will Lilo or Grub work with linux on one hdd and windows on another? (If it's important i have no floppy drive on this computer and don't feel like buying one)

Posted: 2004-06-13 03:15pm
by Pu-239
Yes.

Posted: 2004-06-13 03:47pm
by darthdavid
Execellent *mister burns hands thingy*.

Posted: 2004-06-13 03:56pm
by Pu-239
My /boot/grub/menu.lst

Code: Select all

default 0
timeout 2

title Debian GNU/Linux (Sid)
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz acpi=force vga=0x307 video=rivafb:off ide=reverse ide0=ata66 hde=ide-scsi hdh=ide-scsi root=/dev/hda1 devfs=nomount ro

title Memtest86+
root (hd0,0)
kernel (hd0,0)/boot/memtest86+.bin
For yours, it should look something like this:

Code: Select all

default 0
timeout 10


title Windoze
rootnoverify (hd0,0)
makeactive
chainloader +1
boot

title Linux
root (hd1,0)
kernel (hd1,0)/boot/vmlinuz vga=0x307 ide=reverse ide0=ata66 root=/dev/hdb1 ro
I'm making certain assumptions though... Ignore this if you are using a GUI tool.