Wiped Linux drive, unable to boot WinXP, Grub errors
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.
Wiped Linux drive, unable to boot WinXP, Grub errors
So I installed Linux a while back on my secondary hd. Grub was letting me choose which drive to boot when I powered up. But I was almost out of space on my primary drive, and hadn't used Linux much, and had nothing saved under linux. So I went into Windows disk management and repartitioned the secondary drive back to windows. I subsequently moved about 20 gigs of stuff back onto it and deleted it from the primary drive.
Now, when I boot up, Grub tries to start and I get the famous "loading .5/Error 17" message. I see some references in the forum, but not clear on a solution.
I have a windows OS cd (not sure if it's bootable), but when I try it it says it can't read the CD drive.
I'm thinking my only option may be to put my secondary drive in a friend's pc, save my data from it, and then reinstall linux and grub on it.
Any other ideas?
Run fixmbr from windows to write xp loader to MBR. That'll make windows bootable from harddrive again.
This will sound stupid, but this will involve a bootable CD, right? I will go home and try it, but I couldn't use the cd before...
Is it possible to change MBR from BIOS? I can access BIOS, btw.
When you re-partioned the Linux drive, you lost the config file that grub looks for.
To fix the mbr so windows works, you need the installation CD. If it wont read that CD on boot-up, then check the bios settings for booting from CD. If all of this is OK, then you may have bad CD or bad drive.
What exactly is happening when you try to boot from CD??
When you re-partioned the Linux drive, you lost the config file that grub looks for.
To fix the mbr so windows works, you need the installation CD. If it wont read that CD on boot-up, then check the bios settings for booting from CD. If all of this is OK, then you may have bad CD or bad drive.
What exactly is happening when you try to boot from CD??
Well, this time it worked. I guess I did something wrong before. I ran fixmbr and my system is up and running again!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.