![]() |
![]() |
How Do I install Linux on one hard drive, and use Windows on another?The situation is this: You have two drives. One has been running Linux on it, and the other, you wish to run Windows upon, for booting back and perhaps playing the occasional game in real Windows. How did I do it? Here it is: I have SATA as my primary Linux drive, so it sits on a completely different interface than the drive I used to test this, which was an IDE drive. Regardless, this scenario should work just fine on an IDE only setup (assuming you can put one drive on IDE channel 1, and one drive on IDE channel 2 (not master/slave, two seperate masters). First off, I have Linux working away just fine on my main drive. Next, I remove that drive from the PC completely, so that the computer would not know anything about it. Next, I attach a blank IDE drive to my IDE connector and install Windows in a completely normal fashion. Again, make sure that if you have an IDE only setup, install this drive on the secondary IDE channel, not the same one as the Linux drive. Once Windows is set up on the drive, install your Linux drive back in. The PC should now boot into Linux as before. Now, edit your bootloader file (grub) by editing the /boot/grub/menu.lst file as root:
title Windows 2000 map (hd0) (hd1) map (hd1) (hd0) root (hd1,0) chainloader +1 finally, edit, near the top of the file the part that says :
Save the file and reboot your PC, you should now see Windows 2000/XP in your boot menu, along with Linux. The various options covered perform the following tasks:
map (hd1) (hd0)
This Hot Topic was last tested on: Ubuntu 5.10 /Windows XP HOME | LINKS | CHAPTER INDEX | FORUM This site is hosted on Linux servers, by the XBOLT.network |