You are not logged in.

#1 2008-06-15 08:24:42

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Dual Boot, Two harddrives. one Sata one Ide

Hello I have a slight problem. On one of my Hardrives (the ide one) windows xp is installed and when I set the boot priority to that hard drive windows xp start without a problem, ie windows bootloader is on it.

And when I set the sata hd as the first bootpriority grub starts and arch boots without a problem. However my problem is that I want the sata hd (with grub) to be able to boot the to, so I dont have to change the hd boot priority. How can it be done ?

It doesnt work this way

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sdb3 ro vga=792
initrd /kernel26.img

# (1) Windows Xp
title Windows Xp
root (hd1,0)
makeactive
chainloader +1

# (2) Arch Linux
title  Arch Linux Fallback
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26-fallback.img

Offline

#2 2008-06-15 08:26:23

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Dual Boot, Two harddrives. one Sata one Ide

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

Last edited by wonder (2008-06-15 08:26:53)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2008-06-15 08:32:15

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: Dual Boot, Two harddrives. one Sata one Ide

Thank you wonder, that did wonders.

Why was the map option needed?

Offline

#4 2008-06-15 08:42:53

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Dual Boot, Two harddrives. one Sata one Ide


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB