[Bug 846752] New: UEFI BIOS cannot be convinced to start installed linux
https://bugzilla.novell.com/show_bug.cgi?id=846752 https://bugzilla.novell.com/show_bug.cgi?id=846752#c0 Summary: UEFI BIOS cannot be convinced to start installed linux Classification: openSUSE Product: openSUSE 13.1 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: u.michel@t-online.de QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 Some UEFI BIOSes are apparently designed to boot only Windows. The UEFI BIOS of my Ultrabook Sony Vaio SVP132 seems to always start with the information provided in /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi One way I found to start grub is to replace bootmgfw.efi with grubx64.efi (after renaming it to bootmgfw.efi). The UEFI BIOS is fooled by this way and starts Linux. Reproducible: Always Steps to Reproduce: 1. 2. 3. The computer will now alway start with the grub menu but selecting Windows 8 will not boot Windows. The only way to start Windows is to undo the described replacement. To return to Linux, the replacement of bootmgfw.efi with grubx64.efi (after renaming it to bootmgfw.efi) can be çarried out in Windows after mounting the efi volume with mountvol z: /s Using the powershell in administrative mode. I am curious to see if this BIOS behaviour can be circumvented by the openSUSE installation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=846752 https://bugzilla.novell.com/show_bug.cgi?id=846752#c1 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mchang@suse.com --- Comment #1 from Michael Chang <mchang@suse.com> 2013-11-01 04:20:03 UTC --- IMHO there's no good solution as this is how the BIOS was designed in the first place => exclusive booting Windows. Any attempt trying to circumvent it is not considered "legit" .. as we don't have any power and rights to change other realm's stuff (everything under /boot/efi/EFI/Microsoft/ ..). So user's manual intervention is required and that's real circumvention. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=846752 https://bugzilla.novell.com/show_bug.cgi?id=846752#c2 Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |u.michel@t-online.de --- Comment #2 from Jiri Srain <jsrain@suse.com> 2013-11-04 09:16:50 UTC --- Just an idea, how would the firmware behave if you did not share the uEFI partition (and each system had its own)? I agree with Michael, the system cannot workaround firmware the way you described... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=846752 https://bugzilla.novell.com/show_bug.cgi?id=846752#c3 --- Comment #3 from Ulf Michel <u.michel@t-online.de> 2013-11-04 09:54:55 UTC --- I will try this. (But this will have to wait for two weeks.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=846752 https://bugzilla.novell.com/show_bug.cgi?id=846752#c4 --- Comment #4 from Ulf Michel <u.michel@t-online.de> 2013-11-23 06:01:25 UTC --- I have not tested the proposal of Jiri Srain but decided to fool the firmware with the following changes in the EFI partition. Secure boot is turned off in BIOS. (BIOS can be changed by powering on the computer with the ASSIST button instead of the power button. Secure Boot is disabled in Security page of BIOS) The problem "Computer always boots into Windows" is caused by the fact that the Vaio SVP132A1CM boots with the information /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi and does not consider any other boot option provided in the various subdirectories of /boot/efi/EFI In order to boot into grub2 the following steps are made Boot with Rescue System mount the efi partition (/dev/sda3 on my system) mount /dev/sda3 /mnt 1. rename Microsoft subdirectory mv /mnt/EFI/Microsoft/ /mnt/EFI/Microsoft1/ 2. Create new Microsoft subdirectory mkdir /mnt/EFI/Microsoft mkdir /mnt/EFI/Microsoft/Boot 3. Copy grubx64.efi as bootmgfw.efi to Microsoft/Boot directory cp -a /mnt/EFI/opensuse/grubx64.efi /mnt/EFI/Microsoft/Boot/bootmgfw.efi (grubx64.efi contains the information about the partition with the directory /boot/grub2 . Therefore, no other files are required in directory /mnt/EFI/Microsoft/Boot/) All steps might have to be repeated whenever an update of the Windows operating system makes changes in the EFI partition. Booting into openSUSE 13.1 with grub2 should be possible now from the hard disk. After booting the probing of the Windows operating system in the EFI partition has to be adjusted 4. Edit /usr/lib/os-probes/mounted/efi/20microsoft Replace all occurences of microsoft by microsoft1 5. Renew bootmanager via YAST2 Booting into Windows should now be possible from grub2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=846752 https://bugzilla.novell.com/show_bug.cgi?id=846752#c6 Michael Chang <mchang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|u.michel@t-online.de | See Also| |https://bugzilla.novell.com | |/show_bug.cgi?id=846748 Resolution| |WONTFIX --- Comment #6 from Michael Chang <mchang@suse.com> 2013-12-03 03:11:34 UTC --- Hi Ulf, Sorry we can't create microsoft efi boot directory. The manual steps is the way suggested as you're the owner of your device. Therefore I marked this one as wont fix. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com