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 12-05-2016, 11:10 AM   #1
LQ Newbie
Registered: Dec 2016
Posts: 2

Rep: Reputation: Disabled
Boot Issues

Hi everyone,
I had Deepin 15.3 install on my desktop pc, but didn't like it. I removed it, formatted my drive and installed Win7. Ever since, I've been getting Grub Rescue message or Bootmanager is missing errors. I'm usually able to boot into Windows with either the rescue disk or now I also have Grub 2 on a USB stick.

What I would like to do is totally remove any traces of Grub/Linux and rebuild my Win7 MBR/Bootmgr. I have been through the command prompt routines in Windows, but even that does no longer work. I was able to boot window off the Grub2 USB this time, but I really need to get this repaired permanently.

I was actually working fine for awhile, but today when I swapped out a couple drives, the Grub Rescue message showed up again.

Any help will be appreciated, as I have googled this problem to death and I'm definitely missing something.

Core i5-2500K CPU @ 3.30Ghz
8GB Ram
Old 12-05-2016, 11:26 AM   #2
Senior Member
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Boot the Windows 7 dvd.
Command prompt.
bootrec /fixboot
bootrec /rebuildbcd

Then start diskpart
select disk <number> primary, where Win is installed.
list partition
select partition <number>

Last edited by Keruskerfuerst; 12-05-2016 at 11:40 AM.
1 members found this post helpful.
Old 12-06-2016, 05:05 PM   #3
LQ Newbie
Registered: Dec 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for your reply. I appreciate it. I've been all through the diskpart stuff and the rebuilding the MBR etc. It only gets worse and I'm still having a grub rescue issue from time to time. Worse part is there is only one partition to deal with so, I don't know how to delete grub or how to reinstate my MBR. ;I think I've screwed it up so bad now, that I will have to format and reinstall the OS. However, it still remains, HOW TO MAKE SURE THAT GRUB DOESN'T REAR IT'S UGLY HEAD AGAIN. Last time I did a COMPLETE/LONG VERSION format of the drive before installing WIN7 and Grub still shows up. Is it hiding in the BIOS? or what? I don't have a Linux partition and did a full format, so, don't understand why it's still shows. Like to know before I do this again. Any ideas?
Old 12-07-2016, 06:32 AM   #4
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,664

Rep: Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526
How did you 'remove' Deepin? Simply deleting the partition it was on or formatting it won't get rid of Grub as Grub has code in the MBR.
The grub rescue error would be the result of having Grub code in the MBR and not finding the rest of the Grub files on the Linux partition, in your case because you deleted the partition. The bootmgr error is a windows error as that is a specific boot file for windows systems.

The commands suggested above usually will overwrite and put windows code in the MBR, not sure why it didn't work in your case.

You might try getting the boot repair software and burning it to a CD/flash drive and booting it. You can select the option to Create BootInfo Summary and review that or post a link to the output here. That should give enough informatin for someone to make a suggestion.

Grub is not 'hiding' in the BIOS. Generally with an MBR install there is Grub code in the MBR and on the Linux partition. With an EFI install, there is Grub code on the EFI partition and the Linux partition.
Old 12-07-2016, 10:04 AM   #5
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Originally Posted by Keruskerfuerst View Post
Boot the Windows 7 dvd.
Command prompt.
bootrec /fixboot
bootrec /rebuildbcd

Then start diskpart
select disk <number> primary, where Win is installed.
list partition
select partition <number>
@ OP there is also a Fix MBR command you can iusse in that repair mode Windows puts you in.

Search Results
The instructions are:

Boot from the original installation DVD (or the recovery USB)
At the Welcome screen, click Repair your computer.
Choose Troubleshoot.
Choose Command Prompt.
When the Command Prompt loads, type the following commands: bootrec /FixMbr bootrec /FixBoot bootrec /ScanOs bootrec /RebuildBcd.
Old 12-07-2016, 11:47 AM   #6
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
How many disk(s) do you have?
Did you check the boot order?

As far as I know, MS Windows is the best in the business getting rid off other OS's. They have never failed me to hose the MBR written by other. So if you have already reinstalled Windows, I was wondering why there is still traces of Grub lingering there?
Old 12-08-2016, 03:02 AM   #7
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Link to how-to article: Remove [Linux] From A Dual Boot Windows Computer

Here's something. ( looks very interesting!)

Sorry to hear Linux didn't 'work out' for you. Best wishes!
p.s. VirtualBox (& allows simple&quick 'zero'-Windows-impact experimenting!


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
[SOLVED] Boot issues after resizing HDD. System does not boot. snowkitty Linux - Newbie 1 03-15-2014 09:18 AM
[SOLVED] Grub 0.97 Boot issues from a different disk dual boot Debian / RHEL. gdizzle Red Hat 3 04-28-2013 10:51 PM
UEFI Grub2 and Boot Strange Boot Issues zombieno7 Linux - General 1 03-21-2013 01:09 PM
ATI Ain in Wonder 8500DV LINUX LIVE boot issues (and TV issues) Flashmahn Linux - Hardware 1 03-09-2009 06:40 AM
Where do you find the Boot Log & How does klodg solve boot time issues SheMoves Linux - Newbie 2 06-25-2008 03:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:12 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
Open Source Consulting | Domain Registration