[Bug 1201257] Re: Ubuntu doesn't boot from Windows 8 boot menu

Steve Langasek steve.langasek at canonical.com
Thu Jul 18 19:55:53 UTC 2013


On Thu, Jul 18, 2013 at 03:16:29PM -0000, Şâkir Aşçı wrote:
> I want to clear something, when I try to boot Ubuntu installation via
> USB/DVD in SecureBoot, computer doesn't give any error output, it is
> able to show me the UEFI boot menu (Install Ubuntu, Try Ubuntu, Check
> Disk for Errors, etc.) but when I select any of them, it just waits in
> black screen without any error message.

Oh!  that's something different, then.  We may be looking at a bug anywhere
between shim, grub, the kernel, or the installer.

> So, I installed Ubuntu SecureBoot disabled, and then after enabling
> SecureBoot and trying to boot Ubuntu I received "Secure Boot Violation:
> Invalid signature detected. Check Secure Boot Policy in Setup".

Right, that's because currently when you install on a system without Secure
Boot enabled, the signed bootloader is not installed.  This is related to
bug #1184297, which we're working on resolving.

In the meantime, after installation you can do the following:

 sudo apt-get install grub-efi-amd64-signed shim-signed
 sudo grub-install --uefi-secure-boot

After running those two commands, you can reboot, re-enable SecureBoot in
the firmware, and try to boot the *installed* Ubuntu under SecureBoot.  It
shouldn't give you a security error - though it might still fail with the
same issue you saw when trying to install.

Please let me know whether this lets you successfully boot the system; that
will help us narrow down the real cause of this install-time bug.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim in Ubuntu.
https://bugs.launchpad.net/bugs/1201257

Title:
  Secure Boot doesn't work with ASUS S56CB

Status in “shim” package in Ubuntu:
  Incomplete

Bug description:
  Here are the information and the exact steps I followed:

  - My laptop is ASUS S56CB with Windows 8 pre-installed.
  - Prepared partitions using Windows' own disk management utility.
  - I prepared a Ubuntu 13.04 (64 bit) ISO to boot with a USB.
  - Disabled Fast Boot. When I tried to install Ubuntu in UEFI mode, Secure Boot didn't allow, then I also disabled Secure Boot.
  - Everything went fine and installation started. I continued in the normal way till the partition point.
  - I created an EFI partition, "swap", "root" and "home" partitions and set the bootloader to be installed on the EFI partition. I don't want to use Ubuntu's GRUB loader, so I didn't install GRUB on dev/sda, but on dev/sda5 as the Ubuntu EFI partition was there.
  - Installation finished, and I opened Windows 8. Using EasyBCD, I created a new boot entry and rebooted to see if it would load Ubuntu.
  - When I choose Ubuntu entry, I get this error:

  File :\NST\AutoNeoGrub0.mbr
  Status: 0xc000007b

  If I try starting Ubuntu from UEFI (by pressing Esc while the computer
  boots), I'm able to boot into Ubuntu. However, as I stated it doesn't
  work in Windows 8's boot menu.

  The problem related to Windows 8's boot menu not starting is another
  issue, but the real problem is that Ubuntu cannot be installed in this
  computer without disabling Secure Boot.

  Regards,
  Şâkir Aşçı

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: shim (not installed)
  ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
  Uname: Linux 3.8.0-19-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  Date: Mon Jul 15 06:37:37 2013
  InstallationDate: Installed on 2013-07-15 (0 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=tr_TR.UTF-8
   SHELL=/bin/bash
  SourcePackage: shim
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1201257/+subscriptions




More information about the foundations-bugs mailing list