Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
A friend of mine is currently using Linux, but not Windows. He is about to get a new hard drive and is going to put Windows XP on it, but wants to keep Linux as a dual boot. How can i create a dual boot for this?
This isn't as hard as it looks. have a search around the forum, as there are many discussions on this.
Basically, you need a floppy disk and a screwdriver.
Put grub on a floppy disk. Unplug the linux harddrive. Install the new harddrive. Remove the floppy disk. Do the windows XP install stuff. plug in the linux harddrive, put in the floppy disk, boot to linux. edit the grub menu so that you can boot windows from it. install grub to harddrive. (linux)
You don't need a screw driver nor even a floppy drive if you have the bootable installation disk of the linux distro. First just install windows on the second disk.
I will presume that the first hard drive is the primary master and the second is the primary slave.
After installing windows, boot with the installation CD, and type the following command in the command prompt that arrives at the begining:-
Follow the instructions until the command prompt arrives.
chroot to the installation image of your linux installation and type grub-install /dev/hda
reboot and boot from your hard drive and when in the ,linux environment add the following lines to your /etc/grub.conf file
Last edited by debasish_5849; 04-21-2006 at 06:10 AM.