LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-26-2012, 04:28 AM   #1
alexhtyler
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
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..
 
Old 01-26-2012, 05:48 AM   #2
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 388
Blog Entries: 9

Rep: Reputation: 88
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.
 
Old 01-26-2012, 08:17 AM   #3
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
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.
 
Old 01-26-2012, 08:18 AM   #4
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
Talking 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.
 
Old 01-26-2012, 08:19 AM   #5
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
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
 
Old 01-26-2012, 12:29 PM   #6
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Not sure of hughetorrance' triple post but I can assure you that pierre2's instructions for XP will restore the bootability of XP.

Ken
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE 10 will no longer recognize my Windows partitions gljubuncic Linux - Software 6 12-23-2005 05:40 PM
Accidental Install of Windows Second....Install GRUB? Brnzwngs Linux - Newbie 6 08-12-2005 01:10 PM
No longer booting into GRUB J_K9 Linux - Newbie 13 03-10-2005 11:40 AM
GRUB booting into it's command prompt .. after choosing Windows on last install~ Mustard010 Linux - General 7 12-01-2004 08:28 PM
ran grub-install, no longer sure how to boot windows Golovko Linux - General 6 07-23-2003 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration