-4

A while back I created a partition on my hard drive for Ubuntu. I was dual booting for a bit. My options were Linux or Windows 7. Recently I erased my Ubuntu partition through windows and it worked. When I rebooted I got the message:

error: no such partition.
Entering rescue mode
Grub rescue>

So I read through some forums and found someone saying this worked for them, so I booted up my live copy of Ubuntu, opened a terminal and entered these commands:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

When it completed, I rebooted, and was given a new message:

Windows Boot Manager  

Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:   1. Insert your Windows installation disc and restart your computer.   2. Choose your language settings, and then click "Next."   3. Click "repair your computer." If you don't have this disc, contact your system administrator or computer manufacturer for assistance.   Status: 0xc000000e   Info: The boot selection failed because a required device is inaccessible.

So I placed my system repair disc in booted into it. Then it showed the Windows logo and wouldn't go past that. I am stuck. I have tried a lot of things and I have read a lot of forums, but I cannot find an answer.

karel
  • 122,292
  • 133
  • 301
  • 332
axtone
  • 1

1 Answers1

2

I can think of three solutions you could try.

  1. Since grub replaced the boot manager for Windows, it may be as simple as toggling which drive to boot from within your UEFI settings, if your motherboard supports advance features which bypasses boot manager settings.

  2. If that method fails, you could reinstall Ubuntu, and simply use it as a boot manager to mount Windows. By this I mean setting the newly reinstalled GRUB to boot Windows by default. Various solutions are provided here.

  3. Restore the Windows boot manager with tools in the rescue disk. The steps are provided here.

Rewarp
  • 442