LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Bootloader settings to boot from second HD? (https://www.linuxquestions.org/questions/debian-26/bootloader-settings-to-boot-from-second-hd-300311/)

sard 03-11-2005 03:53 AM

Bootloader settings to boot from second HD?
 
At the moment I’m running Debian unstable with grub bootloader. Unfortunately I can’t access my Windows 2000 installation which is on my second HD by selecting the option in grub.

I have to go into the bios and tell it to boot brom HD1 if I want to get into windows.

Previously I installed Xandros which uses Lilo, and it configured it so I could get into Windows 2000.

Here’s the lilo config file that was created

boot=/dev/hda
install=/boot/cboot.b
message=/boot/splash.lilo
timeout=300
map=/boot/map
prompt
fix-table
lba32
read-only
change-rules
reset
compact
image=/vmlinuz
label=Xandros_Desktop_3.0.1_OC
vga=0xf04
root=/dev/hda1
initrd=/boot/initrd-2.6.9-x1.gz
append="rw acpi=on "
image=/vmlinuz
label=Safe_Video_Mode
vga=0xf04
root=/dev/hda1
initrd=/boot/initrd-2.6.9-x1.gz
append="3 rw acpi=on "
image=/vmlinuz
label=Configure_(Expert)
vga=normal
root=/dev/hda1
initrd=/boot/initrd-2.6.9-x1.gz
append="single rw acpi=on noresume "


other=/dev/hdc1
label=Windows®_2000
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80

I’m guessing only the last bit is relevant to getting into W2K so how can I convert those settings into something I can put in Grub?

syg00 03-11-2005 04:54 AM

Try something like;
Code:

title Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

Presumes Win2000 is on first partition, second disk.
Do some searching - this must come up every day. Some time in the grub manual might also be well spent.

aus9 03-11-2005 07:29 AM

yeah if you like my tutorial is in my signature on dual booting as well

beware of gaps in the commands and even tho 2000 is non-dos it does not hurt to include the makeactive command to make partition seeable as a bootable one


All times are GMT -5. The time now is 04:29 PM.