Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-18-2012, 06:35 PM   #1
Registered: Apr 2012
Posts: 55

Rep: Reputation: Disabled
Exclamation How do I stop my computer from booting to grub?

I had my laptop as a duo boot (ubuntu / vista). I decided to sell the laptop. I want it back to the factory default settings.
Steps I took and results...
hit "repair my computer" in boot options..
Grub is still booting to ubuntu if windows isn't selected..
deleted linux partition and formatted it to ntfs so that windows will recognize it... (bad move)
computer just boots to a grub error...DUH! I know! So my attempt to fix it so far...
created super grub 2 boot cd...
will only boot to windows when using the cd...
That's where I am at now..
If I had the live vista cd, I may can fix the mbr and boot to vista, but I don't have it. So are there any ideals on how to fix this to boot to Vista without using grub?
Thank you
Old 05-18-2012, 07:35 PM   #2
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,287

Rep: Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384
What you need is a vista installation CD which has the files need to restore its' bootloader to the master boot record. Deleting the Ubuntu partition just means that when your machine boots with part of Grub in the mbr, it looks for the remaining necessary files on the partition you deleted. You could try the site below which offers a repair disk to download:
Old 05-18-2012, 10:36 PM   #3
Registered: Apr 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
well I do have a vista recovery cd that came from another dell computer, it's the same version of vista. I'll give that a try and just see what happens. thank you.
Old 05-18-2012, 11:16 PM   #4
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,287

Rep: Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384
From what I have read about vista Recovery CDs, it probably won't work but it's worth a try. The standard Recovery CD will not contain the necessary windows files needed to restore the bootloader. These files are usually only on a full installation CD so if your Recovery CD doesn't work, you might need to download the neosmart one. I'd give the CD you have a shot first. I've never used vista myself so have never had to try it.

Last edited by yancek; 05-18-2012 at 11:17 PM.
Old 05-19-2012, 12:18 AM   #5
LQ Newbie
Registered: May 2012
Posts: 2

Rep: Reputation: Disabled
I had the same problem bro, all you need it's your Windows Installation CD, you boot from it, than when it shows the part where you have to choose your keyboard and language, you type on your keyboard Shift+F10 and Command Prompt will be opened. If this doesn't work, you can run the installer and go to a point where it shows somewhere Repair your computer, than you can choose Command Prompt.
In command prompt run this command:
BootRec.exe /fixmbr .
Though this may work, for me it did not work, so i used this other command:
BootRec.exe /RebuildBcd (but this will work only if you delete grub entirely. You can do that with Superboot manager in Linux, be careful with this, if you fail to repair Windows MBR (Windows Master Boot Record) you're going to have to re install Windows.
These are also two other commands you can use with BootRec.exe /FixBoot and /ScanOs
This worked for me in Windows 7 & 8. I hope I helped.

Last edited by 212; 05-19-2012 at 12:19 AM.
Old 05-19-2012, 12:33 AM   #6
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Is your sytem 64-bit or 32-bit?
rc7 iso's are available to repair system.
I have the rc7-64bit, but not 32bit.
You can get it online for about $10 us
Old 05-19-2012, 02:17 AM   #7
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Rep: Reputation: 194Reputation: 194
On XP anyway, if you put in the windows cd and looked through the recovery options, their was a utility called FIXBOOT iirc that reformatted the boot partition.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
GRUB GRUB GRUB.... all over the display while booting with USB. kapsikum Linux - General 5 01-08-2010 04:29 AM
Stop booting into GRUB griffey Linux - Software 3 01-22-2009 12:37 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
computer slowed to a stop hockypuck Linux - Software 7 08-01-2005 09:18 PM
Computer freezing while booting kernel in Grub anorman Linux - Software 2 05-03-2004 11:52 AM > Forums > Linux Forums > Linux - Newbie

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

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