Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 9493  / 2 Years ago, thu, july 21, 2022, 4:16:43

This may be a duplicate of question that another user has posted, but unfortunately when I try to access the question I get a message stating that the original question was removed for moderation reasons.



I previously had a working Ubuntu 12.10 installation that dual booted with Windows 8, although I had to run the recommended Boot-Repair setting to get Ubuntu working. I installed Ubuntu 14.04 from a DVD yesterday over my Ubuntu 12.10 installation and have found that, despite there being a Windows 8 entry in grub2, only Ubuntu will load. If I select the Windows 8 entry Grub reloads. I get a UEFI menu if I press F10 after switching on the computer, but the Windows entry loads grub. There may be an error message generated here, but it is only on screen for a fraction of a second and I've not yet been able to capture it. I have tried rerunning Boot-Repair using the Ubuntu 14.04 livedvd and the following commands:



sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo sh -c "sed -i 's/trusty/saucy/g' /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list"
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair


I selected the 'Recommended Repair' option and I got a warning about errors occurring and this link to share: http://paste.ubuntu.com/7340206/
As before, Ubuntu boots fine but I still cannot load Windows 8 either from Grub or from the UEFI menu. I do not believe that I have changed any BIOS settings since my successful Ubuntu 12.10/Windows 8 dual boot setup so I was expecting everything to work.



My computer is a Samsung Series 3 NP350V5C laptop and I have a recovery partition that I can access by holding F4 when turning on my computer. I don't believe that I have any other Windows utilities.



I am happy to provide further logs and pictures of my BIOS settings if required. I have also posted in the Boot-Repair thread on the forums as well as emailing [email protected] as advised by Boot-Repair. Thank you in advance for any help that you can offer.



Edit: as requested here is the update-grub output:



sudo update-grub

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done


Also, this might be related to https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1308758


More From » dual-boot

 Answers
7

I can now boot Windows 8. Following instructions from the Boot-Repair team, I backed up my current bootmgfw.efi and reverted the backup copy:



sudo mv /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw2.efi
sudo mv /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi.bkp /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
sudo modprobe efivars
sudo update-grub


Upon rebooting my computer, I can now access both Ubuntu and Windows.



This might be similar to what happens in the process that Rod Smith suggests above, but I thought that I'd detail exactly what I did to restore my Windows 8 access.


[#25616] Friday, July 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lawain

Total Points: 150
Total Questions: 106
Total Answers: 101

Location: China
Member since Mon, Aug 22, 2022
2 Years ago
lawain questions
;