Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 had Windows XP and Fedora Core 3 working perfectly with GRUB as the bootloader. It had three partitions:
- 40 GB for Windows /dev/hd1
- 39 GB for Linux /dev/hd2
- 1 GB as a share
By default, GRUB would start Linux unless I invoked the bootloader using spacebar at startup and selected XP. This was working fine.
Then a couple days back I wanted to get rid of Linux so I went into Windows XP and used the Partition Magic Partitioning Software to delete the Linux partition. The operation worked and the free space was merged with the Windows XP partition (so the Windows XP partition is now 79 GB). I also deleted the share partition (alhough the free space wasn't distributed and kinda just stayed there).
But when I boot the computer, all I see is the word GRUB with a blinking cursor next to it. I can't type anything at this prompt.
I can't even re-install Linux cuz there's not enough space to do so since all the space is being hogged by the Windows XP partition. I tried installing Fedora Core 4 but it complains that there's not enough hard disk space to do so.
Is there a way I can just boot into XP?
Is it possible for me to create another partition on the 79 GB hard drive so I can re-install Linux (thus re-installing GRUB)?
I really don't want to format my XP partition and am looking for a way to just boot into XP.
Boot from your XP install disk into the "Recovery" mode. At the C:/WINDOWS > prompt, type fixmbr, and reboot. (You'll need your XP administrator password to do this.)
Your problem is because you left the GRUB master boot record (MBR) on you hard drive, and it's trying to load its "Stage 2" file from the deleted Linux partition.
Oh, if you don't have an XP boot disk, you can fix GRUB from any Linux rescue disk to boot directly into XP, but that's somewhat harder to do.
Edit: You can also create a GRUB boot floppy which will start the XP system (search the forums here for details), but booting from a floppy every time could be tiresome.
Last edited by PTrenholme; 01-18-2006 at 08:51 AM.
Boot from your XP install disk into the "Recovery" mode. At the C:/WINDOWS > prompt, type fixmbr, and reboot. (You'll need your XP administrator password to do this.)
Your problem is because you left the GRUB master boot record (MBR) on you hard drive, and it's trying to load its "Stage 2" file from the deleted Linux partition.
Oh, if you don't have an XP boot disk, you can fix GRUB from any Linux rescue disk to boot directly into XP, but that's somewhat harder to do.
Edit: You can also create a GRUB boot floppy which will start the XP system (search the forums here for details), but booting from a floppy every time could be tiresome.
Thanks a lot. I'll try it when I get home today. I'll try the "Recovery" mode method first. I've also created a XP Boot Floppy by following Microsoft Article #305595. I can't post the link here because I have less than five posts.
It worked great. As you said, I used the Recovery disk to invoke fxmbr on the c:/windows prompt. I didn't even have to use the original XP Pro disk. XP Home worked fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.