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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
12-05-2016, 11:10 AM
|
#1
|
LQ Newbie
Registered: Dec 2016
Posts: 2
Rep: 
|
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
|
|
|
12-05-2016, 11:26 AM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199
Rep: 
|
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
Last edited by Keruskerfuerst; 12-05-2016 at 11:40 AM.
|
|
1 members found this post helpful.
|
12-06-2016, 05:05 PM
|
#3
|
LQ Newbie
Registered: Dec 2016
Posts: 2
Original Poster
Rep: 
|
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?
|
|
|
12-07-2016, 06:32 AM
|
#4
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,408
|
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.
https://help.ubuntu.com/community/Boot-Repair
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.
|
|
|
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
|
Quote:
Originally Posted by Keruskerfuerst
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.
|
|
|
|
12-07-2016, 11:47 AM
|
#6
|
Member
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421
Rep:
|
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?
|
|
|
12-08-2016, 03:02 AM
|
#7
|
Member
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
|
Link to how-to article: Remove [Linux] From A Dual Boot Windows Computer
Here's something. (EverydayLinuxUser.com looks very interesting!)
Sorry to hear Linux didn't 'work out' for you. Best wishes!
p.s. VirtualBox (&osboxes.org) allows simple&quick 'zero'-Windows-impact experimenting!
|
|
|
All times are GMT -5. The time now is 04:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|