Ubuntu: How to boot back into windows 8 after deleting its boot path?



Question:

I recently Booted into ubuntu 12.04 for the first time and with great difficulty at that. In the process I may have deleted the boot path back to windows 8... Im not sure I just really wanted ubuntu but now I feel like since this should be a "dual boot I have the right to get back into windows 8 if I ever wanted to. Please help I have no idea. when in grub I can select windows 8 to boot into but an error screen pops up and says: "File: \Boot\BCD Status: 0xc000000c Info: the boot configuration data for your pc is missing or contains errors."


Solution:1

yes you can do adding/removing entries to grub by using grub-customizer

open your terminal and type these lines one after one

sudo add-apt-repository ppa:danielrichter2007/grub-customizer  sudo apt-get update  sudo apt-get install grub-customizer  

Then open your Grub-customizer from Unity dash.


Solution:2

grub2's os-prober creates wrong style (BIOS) chain boot entry

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1024383

type of entry from Boot-Repair that should work.

menuentry "Windows UEFI bootmgfw.efi" {  menuentry "Windows Boot UEFI loader" {  

Type of entry from os-prober that does not work:

'Windows ...) (on /dev/sdXY)'  

Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:

https://help.ubuntu.com/community/Boot-Repair

Fixes in newest versions not yet in most systems. os-prober fix in grub2_2.00-14 and os-prober_1.58 from Debian


Solution:3

You should try this command once you have logged in into Ubuntu:

sudo update-grub2  

Example output:

  Generating grub.cfg …  Found linux image: /boot/vmlinuz-3.8.0-30-generic  Found initrd image: /boot/initrd.img-3.8.0-30-generic  Found linux image: /boot/vmlinuz-3.8.0-29-generic  Found initrd image: /boot/initrd.img-3.8.0-29-generic  Found memtest86+ image: /boot/memtest86+.bin  Found Windows 8 (loader) on /dev/sdb1  finished  

The penultimate line says that Windows is found and will be available during boot.

If when you try to boot into Windows an error screen appears saying:

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.     File: \Boot\BCD   Status: 0xc000000c   Info: The boot configuration data is missing or contains errors.  

Try to boot from Windows DVD, then run the command

bcdboot C:\Windows /s C:  

C: drive should reside on active partition.

Then reboot into Ubuntu and run the sudo update-grub command again.


Solution:4

You can usually still boot into Windows. Try pressing F12 (or whatever boot options hotkey you have) on startup and selecting windows from there. Not an ideal fix, but better than formatting a live CD.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »