Dual Boot Win XP and FC2 w/ NTLDR on Seperate Drives?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Dual Boot Win XP and FC2 w/ NTLDR on Seperate Drives?
I have Win XP installed on my first drive, hda and FC2 installed on my 2nd drive, hdb. Currently, the Windows boot loader has control of the system, so I can't get into FC2. I had FC2 installed using GRUB, but GRUB wouldn't let me boot into Win XP... in fact it screwed up the boot partition/mbr. I fixed it with the Win XP recovery console, so now I have the Windows boot loader loading windows again.
I would like to keep my Windows boot loader and have it boot FC2. Like I mentioned above, my installations are on 2 separate physical drives and from what I've read, this makes things a bit more complicated. I've followed instructions for installing GRUB in the /boot partition of the FC2 install, which I have done. I have also created a "linux.bin" image and copied it to my C: drive along with editing my boot.ini file.
Of course the problem is, when I arrive at the Windows bootloader and select "Linux", it should hit the linux.bin file and then proceed to load GRUB, however all I get is a blank screen with a blinking cursor in the top left corner.
I've read that there is a way to run the "grub-install" with an option to tell it where stage 1 and stage 2 are located, however, I have had hard time understanding the instructions I've found so far and in fear of screwing up my partitions/boot records again, I have not attempted this.
Can someone give me simple instructions about how to get Windows boot loader to load my FC2 installation?
Heres an interesting article I have found very helpful. With new versions of Grub a dual boot tends to be easy(I did it on my crappy win2k box, waiting to see if its worth it on my main one). If you made a boot floppy this will be even easier as you will read in the article(assuming you want to use the windows bootloader). Windows Xp and Windows 2000 pro both use the same loader.
Well, thats a nice article, but I still don't understand what I need to do. From what I've read, the /boot partition should usually be on the primary disk, however, in my case, its on my 3rd disk, (which is hdf now since I just installed FC2 again.) I've edited the boot.ini to tell it to book the linux.bin file on c:, but since the /boot partition isn't on the same drive, it doesn't seem to know where stage 2 of GRUB is located.
I think there is a way to get this to work, but I just haven't found simple instructions to do this. If anyone knows how, I would really appreciate it.
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
well, I've had similar problem - on hda was my old dual-boot with WinXP and SuSE 7.3 and I installed SuSE 9.0 on my hdb as separate clean installation. I prefered to dual-boot from the Linux installation as dual-boot from Windows is sometimes unstable and is tricky do be done clean (I dislike the whole stuff with linux.bin and editing of boot.ini).
So here's waht I've done in my case. I hope it will give you clue of how to do it in your case.
Just keep your Win installation on hda, do not touch anything there! Then from the BIOS make your hdb (assuming hdb is the disk where your Linux installation resides) as primary boot device (if your BIOS can not do it, then my approach would not work for you!)
Boot into your Linux installation using either the installation CD/DVD or a boot diskette/CD. Open a console if not already opened, enter in superuser mode, by typing there su - provide your root password there and you're logged in as root. Edit the /boot/grub/menu.lst file to contain these sections
In this example I assume you have hdb separated in two partitions:
hdb1 is the swap one and the hdb2 is the root one of your Linux installation
If this is not the case, replace the number in (hd0,1) statements with the "number - 1" of your linux root partition. Say if you have three partitions on hdb and the root one is hdb3, then the (hd0,1) statement would change in (hd0,2). The same is true for the "root=/dev/hdb2" kernel parameter, it could change in the above example as "root=/dev/hdb3".
kernel (hd0,1)/boot/vmlinuz root=/dev/hdb2
Then issue from the console the command
grub-install --force-lba /dev/hdb
That should be, reboot and you should see the GRUB menu with the choices Linux and Windows. Each of these should take you in the corresponding OS.