Can't boot into Ubuntu after Windows 8.1 upgrade, boot-repair doesn't fix it
TRY THIS FIRST
In Win 8.1 hold down SHIFT while you click on Restart. It should bring Advanced Startup Options. You should be able to select your Ubuntu startup partition from there and then boot into it.
Saves the trouble of re-installing, but you have to ask Windows to load Ubuntu...
ale dino
Updated on September 18, 2022Comments
-
ale dino over 1 year
I have a sony vaio duo 11 convertible, it was successfully dual booting lubuntu 13.10 and windows 8, but after the upgrade to windows 8.1 it doesn't load anything but windows.
I disabled windows' "quick boot" feature, then run boot-repair, but it doens't fix the issue (it used to work when windows 8 messed the boot config, but not with windows 8.1). I installed esayBCD on windows and now I see its boot loader, but not grub. I even tried chrooting and grub-installing on /dev/sda, but I don't think that grub is the boot loader loaded at startup.
My guess is that windows put a boot loader somewhere else than /dev/sda.
If I start the system with a refind USB disk I can successfully load lubuntu.
This is boot-repair output: http://paste.ubuntu.com/6598795/ (this one was run after booting sda2 lubuntu from a refind usb disk, but I also tried with live CDs with the same results)
A brief history of how I got there:
- In BIOS, I disabled "secure boot" and enabled "UEFI mode".
- Formatted the hard disk to wipe the sony pre-installed windows 8
- Installed Lubuntu 13.10 on sda2 (sda1 was created by the installer as UEFI partition)
- Installed Android-x86 on sda3 (everything was working so far)
- Installed Windows 8 in the free space (it created sda4-5-6). Windows screwed up the boot, but boot-repair fixed it. Windows kept overwriting the boot loader until I removed its "quick boot" option. (everything was working again)
- Upgraded windows to 8.1, now there is a windows boot loader, I removed (again) the "quick boot" option, I repeatedly installed grub on /dev/sda but I always get another bootloader (windows/microsoft/easyBCD??) that is only able to run windows.
I would like to understand which boot loader is run at startup, where it is located, and how I can change that. Thank you!
edit: I installed rEFInd in windows following the official instructions, and effectively changing the "windows boot manager" section so that now it looks as follows:
S:\EFI\refind>bcdedit /enum active /v Windows Boot Manager -------------------- identificatore {9dea862c-5cdd-4e70-acc1-f32b344d4795} device partition=S: path \EFI\refind\refind_x64.efi description rEFInd am locale it-IT inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e} default {b781b519-6749-11e3-a4a1-eb3a69ac7fb1} resumeobject {b781b518-6749-11e3-a4a1-eb3a69ac7fb1} displayorder {b781b519-6749-11e3-a4a1-eb3a69ac7fb1} {b781b512-6749-11e3-a4a1-eb3a69ac7fb1} {b781b524-6749-11e3-a4a1-eb3a69ac7fb1} toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d} timeout 5 displaybootmenu Yes
BUT I still get a boot loader that is not rEFInd!! it looks similar to this instead: windows legacy boot loader
-
jquerynewbie over 10 yearsThis is a duplicate to askubuntu.com/questions/384592/… and I've already posted a comprehensive solution there- I hope it will be helpful to someone else.
-
Admin about 10 yearsHad the same problem. The solution described [here][1] worked on my VAIO. [1]: askubuntu.com/questions/371559/…
-
ale dino over 10 yearsThank you Rod Smith. At the moment I can't try what you suggest because I fear that after that I risk not being able to run Windows, and I need it in the next few days (afterwards I could try). I can confirm that "secure boot" is disabled - and in fact if I enable it I can't boot refind from USB.
-
ale dino over 10 yearsIf I run
sudo efibootmgr -v
from linux, there is only one entry, and that is "EFI USB Device". That is probably because to boot from USB I have to start the pc with a special key and then select boot from usb. I guess that it temporarily overrides the NVRAM content. So I can't delete entries, and if I do add entries, they disappear the next time I boot. -
Rod Smith over 10 yearsIf you can boot Windows from rEFInd launched from the USB flash drive, then my suggested radical procedure poses little risk; just be sure that you've got a backup of the
EFI/Microsoft
directory on the ESP so that you can restore it. (You'll need that to boot Windows.) -
ale dino almost 10 yearsThe latest windows update disrupted the boot process again. I had to follow this repair procedure again (deleting the boot/efi/Microsoft folder). I guess that the only way to get definitely rid of this problem is to uninstall Windows and wait till Microsoft will decide to make their product play nice with other operating systems.