View Single Post

   
  #3 (permalink)  
Old 01-17-2008, 06:09 PM
Timothy Murphy
 
Posts: n/a
Default Re: dual boot from two hard disks

GVK wrote:

> I'm using two hard disks on my pc. FUJITSU Hard Disk(HD 0), 10GB, with
> Fedora 1 installed and Seagate(HD 1), 4GB with windows XP. I'm using
> GRUB as my boot loader. Now, whenever I want to change OS, I've to
> change my first boot option from HD 0 to HD 1 and vice-versa. How can I
> configure my GRUB to boot windows from HD 1(hdb)?



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

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Reply With Quote