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.
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.
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?
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.
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>
active
@ OP there is also a Fix MBR command you can iusse in that repair mode Windows puts you in.
Quote:
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.