Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 7290  / 3 Years ago, tue, september 14, 2021, 7:16:03

Recently, I dualbooted windows 7 and Ubuntu 12.04, then I decided to be able to open the Windows 7 files from within Ubuntu. But I mounted the wrong partition and accidentally deleted it when I realized it was the wrong one... It's only when I restarted my computer that I realized that I deleted the boot partition.
Now, whenever I try to open the PC, it says:
BOOTMGR is missing
Press Ctrl+Alt+Del to restart



Whenever I try the above command, it eventually restarts and gets back to the same screen. Windows 7 was the main boot screen. I was planning on creating a Windows recovery disc, is it a great idea? Will it work? If not, have any other ideas?


More From » boot

 Answers
2

You have to fix two bootloaders:




  1. Windows 7 bootmgr and

  2. GRUB for Ubuntu.






Following are the steps to do so:




  1. Insert your Windows Vista or Windows 7 disk into your DVD player and restart your computer.


  2. The next screen you see should have the Language, Time and Currency and Keyboard boxes.


  3. In the lower left side there are two options: “What to know before installing Windows” and “Repair your computer.”


  4. Click on “Repair your computer”.


  5. Windows will then try to find the installation directory for Vista or Windows 7, depending on what you have.


  6. Next up is a screen with a box called Recovery Options. Click the first option, Startup Repair.


  7. You’ll see a Startup Repair box with the message “Startup Repair is checking your system for problems…”


  8. When it’s done, it will prompt you to reboot. If there is more than one problem it may reboot again to continue repairing.


  9. At this point, you can remove the DVD, reboot and everything should be working.




Now you are done with Windows 7 Boot loader. Time to fix GRUB. Do the Following:



You can install GRUB on your hard disk. You can do this by using bootable Ubuntu CD.



Boot to live cd. When you get UBUNTU Live Desktop. Open terminal and type the following




  1. sudo grub-install /dev/sda


  2. sudo update-grub


  3. quit




You are done now. Reboot the machine.



This will install grub on MBR of your hard disk with dual boot. Try the latest Ubuntu 12.04 LTS.








You can also use the bootrepair tool to reinstall grub:




[#36533] Thursday, September 16, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ibuteking

Total Points: 35
Total Questions: 128
Total Answers: 138

Location: Indonesia
Member since Thu, Oct 1, 2020
4 Years ago
ibuteking questions
Sat, Sep 10, 22, 08:44, 2 Years ago
Fri, May 12, 23, 10:10, 1 Year ago
Tue, May 23, 23, 13:38, 1 Year ago
;