LinuxQuestions.org
Help answer threads with 0 replies.
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 05-18-2012, 07:35 PM   #1
ubuntu.fan
Member
 
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, 08:35 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,049

Rep: Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624
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:

http://neosmart.net/blog/2008/window...disc-download/
 
Old 05-18-2012, 11:36 PM   #3
ubuntu.fan
Member
 
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-19-2012, 12:16 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,049

Rep: Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624
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-19-2012 at 12:17 AM.
 
Old 05-19-2012, 01:18 AM   #5
212
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 01:19 AM.
 
Old 05-19-2012, 01:33 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

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, 03:17 AM   #7
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Rep: Reputation: 196Reputation: 196
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.
 
  


Reply


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 05:29 AM
Stop booting into GRUB griffey Linux - Software 3 01-22-2009 01:37 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 01:55 PM
computer slowed to a stop hockypuck Linux - Software 7 08-01-2005 10:18 PM
Computer freezing while booting kernel in Grub anorman Linux - Software 2 05-03-2004 12:52 PM

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

All times are GMT -5. The time now is 10:51 AM.

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