Grub accidental install onto partitions. Windows no longer booting. Possible restore?
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!
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.
Grub accidental install onto partitions. Windows no longer booting. Possible restore?
So, like the title says, I made the newbie mistake of accidentally doing the auto grub install. It looks like it wrote over a few drives and windows will no longer run even with the special commands. Is there any way to delete and restore what grub wrote over? My options are limited as access to another device is limited and I haven't used linux enough to set it up with a working gui. Thanks, time is of the essence..
You haven't stated which linux version OR which Windows version, that you are using . . .
however:- if you are using Win_XP:-
1. First, restart your computer with the Windows XP setup disk in the CD drive.
2. When prompted, boot from the CD drive by pressing any key.
3. Once the setup loads, you will see the option to press R to repair a Windows installation.
4. Once the Recovery Console loads up, you will have to type in a number that corresponds to your Windows installation. This is normally just 1. Press Enter and then type in the Administrator password.
5. Now at the prompt, type in fixmbr. Your damaged MBR will now be replaced with a new master boot record and your computer should now be able to boot properly.
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459
Rep:
You can use something like smart bootmanager to boot the windo$e,you can find it on UBCD,if you rewrite the MBR with just about any utility that does that,it will restore the windo$e MBR,then after that you can reinstall GRUB to get access to your Linux system.
Google for UBCD and make sure to get the free one.
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459
Rep:
Smart bootmanager can boot a system with a bust BIOS
You can use something like smart bootmanager to boot the windo$e,you can find it on UBCD,if you rewrite the MBR with just about any utility that does that,it will restore the windo$e MBR,then after that you can reinstall GRUB to get access to your Linux system.
Google for UBCD and make sure to get the free one.
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459
Rep:
You can use something like smart bootmanager to boot the windo$e,you can find it on UBCD,if you rewrite the MBR with just about any utility that does that,it will restore the windo$e MBR,then after that you can reinstall GRUB to get access to your Linux system.
Google for UBCD and make sure to get the free one.
Last edited by hughetorrance; 01-26-2012 at 08:21 AM.
Reason: Ooooooooooooops LOL
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.