HELP NEWBIE Pls - "Windows failed to start" error on dual boot system - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17) +--- Thread: HELP NEWBIE Pls - "Windows failed to start" error on dual boot system (/showthread.php?tid=2603) |
HELP NEWBIE Pls - "Windows failed to start" error on dual boot system - royalmp2001 - 01-28-2016 Had installed the latest Linux lite onto a USB via unetbootin. Then installed it to a laptop alongside windows 8.1 LL works great but I get a blue screen error when trying to run windows: Windows failed to start.... File \boot\bcd, stats: 0xc000000e, Info: Boot configuration data for your PC is missing or contains errors.... Pls help thanks Re: HELP NEWBIE Pls - "Windows failed to start" error on dual boot system - torreydale - 01-28-2016 This link might provide some insight: http://askubuntu.com/questions/610582/ubuntu-dual-boot-problem Re: HELP NEWBIE Pls - "Windows failed to start" error on dual boot system - gold_finger - 01-28-2016 royalmp2001, Report back with some output from terminal commands that may give us a better idea of what may have gone wrong. Boot into your Linux Lite installation, open a terminal and enter the following commands. This one lists basic specs of your computer. Code: inxi -Fxz This one lists all partitions on the drive and what type of partition table drive is using. It will ask you to enter your password. When you type password, you won't see anything on the screen. That is normal behaviour -- just type it and hit <Enter> when done. Code: sudo parted --list Using your mouse, highlight entire output of both commands, right-click and pick "Copy", then in your reply here in the forum right-click and choose "Paste". After pasting into forum reply, highlight the pasted output and hit the "#" button along top of the forum reply interface. That will enclose the output in a "code box" that makes it easier for us to read and preserves formatting of the output. If your computer is relatively new and came with Win 8 pre-installed there is a good chance you just ended up installing LL in a different boot mode than what Windows was using. In such a situation computer will boot into only LL while set to boot in one mode and only Windows when set to boot in the other mode. The output from commands above will confirm whether or not that is the case and we can figure out how to proceed after seeing that. Re: HELP NEWBIE Pls - "Windows failed to start" error on dual boot system - royalmp2001 - 01-29-2016 Gold_finger, Thank you for your valuable assistance - much appreciated. Requested output below.... Code: System: Host: marius-Lenovo-IdeaPad-N585 Kernel: 3.13.0-62-generic x86_64 (64 bit, gcc: 4.8.2) Re: HELP NEWBIE Pls - "Windows failed to start" error on dual boot system - gold_finger - 01-29-2016 As suspected, partition output confirms that Windows was installed in UEFI mode and Linux Lite was installed in Legacy/Bios mode. Since computer is only booting into LL right now, the boot mode must be set as CSM/Legacy/Bios (or similar wording). You need to get into the UEFI/(Bios) settings and change the boot mode back to UEFI in order to boot Windows. Did a quick search for Lenovo laptops and I believe you can get into settings by pressing, holding down, or continuously tapping the <F1> key immediately after powering on computer. Once in UEFI settings, look for a place to change the boot mode. Don't know exactly where you'll find it, so just look through all settings until you find it. Change it to "UEFI". Reboot and it'll boot Windows. Change back to CSM/Legacy/Bios when want to boot into LL -- at least for now, until can convert the LL install to UEFI mode. As of now, there is no UEFI mode install option for LL. (That's being tested right now for possible release later this year.) Therefore, converting LL to UEFI mode is rather convoluted/tricky. Will need some time to review possible procedure for that and will post back later, or tomorrow. In the meantime, go to Ubuntu and download Ubuntu 14.04.3 LTS (64-bit) and burn that to a dvd/usb. You will need that to convert LL to UEFI mode. Also, if you haven't already done so, when you boot into Windows turn off the "Fast Startup" feature because that will cause problems with dual booting. http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a.html Re: HELP NEWBIE Pls - "Windows failed to start" error on dual boot system - gold_finger - 01-31-2016 Alright -- looked into this and am basically using info from this tutorial and adjusting a few things to adapt it to your situation in steps listed below. Before you start:
To convert your LL installation to UEFI mode, do the following steps. (NOTE: you'll need to be connected to the internet during some of these steps.) Boot computer with live Ubuntu dvd/usb and hit the <F12> key immediately after power-up to invoke the Boot Menu. You should see listings to boot your dvd/usb. Choose the one that corresponds to booting it in UEFI mode. (NOTE: this boot menu applies only to the current boot session and is not affected by the change in boot mode you made to the main UEFI Settings Menu above. That is why you need to specify "UEFI" here separately.) If you see any warniings about "booting in insecure mode" or not being able to find "/boot/efi ..." just ignore those and continue. At the grub-screen choose the option "Try Ubuntu without installing". When the Ubuntu screen appears, click search icon (top left icon) and type X into the search box – the Xterm icon will then appear – click on it to open the terminal. In the terminal you need to be in super-user mode so type the following: Code: sudo su You need to mount both your installed LL Root partition and the EFI System Partition (ESP) to the live environment. Do that with these three commands, one at a time. Mount the Root partition: Code: mount /dev/sda11 /mnt Make a directory to mount the ESP to: Code: mkdir -p /mnt/boot/efi Mount the ESP: Code: mount /dev/sda2 /mnt/boot/efi Now you're going to mount some other directories before you switch to operating directly within the installed LL vs. from the live Ubuntu terminal: Code: for i in /dev/ /dev/pts /proc/ /sys/ ; do mount -B $i /mnt/$i ; done Enter this command to change from operating as root in live Ubuntu to operating as root directly within the installed LL system: Code: chroot /mnt Now enter the following command to synchronize the package database: Code: apt-get update Remove/Purge any grub related packages that might be currently installed on the LL system: Code: apt-get purge -y --force-yes grub* shim-signed linux-signed* A window will then pop-up, entitled Configuring grub-pc, asking if you want to remove GRUB 2 from /boot/grub.... Click on the option <Yes> Install the correct EFI related grub files to LL that are necessary to boot in UEFI mode: Code: apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic Then add boot menu entry for EFI firmware configuration; however this may not add a Windows entry. Code: grub-mkconfig -o /boot/grub/grub.cfg Tell grub to install to the ESP (where it will co-exist with the Windows boot loader -- not replace it.) Code: grub-install /dev/sda2 Update grub to add boot menu entry for Windows: Code: update-grub Exit the chroot to LL: Code: exit Unmount everything in this order (press enter after entering each line one at a time): Code: for i in /sys /proc /dev/pts /dev; do sudo umount /mnt$i; done Your done! Close the terminal and shutdown computer. Reboot and you should see grub boot menu offering both LL (shown as "Ubuntu") and Windows. Test booting into each to make sure everything is ok. If computer still boots directly into Windows, don't panic. Just boot the Ubuntu dvd/usb again in UEFI mode, then run this command in a terminal: Code: sudo efibootmgr -v Copy/Paste the output back here for us to see and we'll tell you how to fix booting LL from that output. |