Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a system with two hard drives. One hard drive has Fedora installed and the other has Windows XP.
I need to remove the hard drive from the system that has Fedora installed on it.
The problem is, when I do this, I cannot get the hard drive that has Windows XP on it to boot up. GRUB is still on it and is looking for the disk with Fedora on it.
How can I get the drive with Windows to boot up again. I have tried fixboot in the windows recovery console, but that didn't work.
If I remove the reference to Fedora in the grub.conf file, then will that work? I don't want to lock myself out of both operating systems.
No use messing with grub in this case as you removed the drive where it's files are stored. The easiest thing to do is boot up with a Windows boot floppy and type: fdisk /mbr
It just seems that if I were to do that, then I would not be able to access my current windows install. What happened to the boot record for windows when I orginnally installed Fedora on my system?
When you setup linux and told it to use the MBR, that's where it put the boot record. If you want to revert back to a windows boot loader, you can use the command: fixdisk /mbr .
Your problem is happening because even though GRUB is installed on your MBR, it reads the boot file from your Fedora Core /boot partition or directory where the GRUB settings are stored. If anything happens to that hard drive e.g. removing it and GRUB can't read the /boot/grub.conf or /boot/grub/menu.lst then none of your OS's will boot.
I don't think you got what I meant. When you install grub on the mbr it reads the boot information from a /boot partition or directory. In this case the /boot partition is on your Fedora hard disk. If you have removed the drive which contains the boot information, grub cannot read your /boot/grub.conf or /boot/grub/menu.lst so it will just hang. Removing the Fedora entry and then removing the disk, won't help because grub needs to read the grub.conf (or menu.lst). As homey suggested, you may just have to use a windows boot disk and do "fdisk /mbr" so that grub is uninstalled from the mbr and Windows will boot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.