[Bug 1242417] Please test proposed package
Stéphane Graber
stgraber at stgraber.org
Fri Nov 8 20:08:04 UTC 2013
Hello yossarian_uk, or anyone else affected,
Accepted shim-signed into raring-proposed. The package will build now
and be available at http://launchpad.net/ubuntu/+source/shim-
signed/1.5~13.04.1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: shim-signed (Ubuntu Saucy)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1242417
Title:
UEFI install broken when GRUB_DISTRIBUTOR!=Ubuntu (e.g.
Kubuntu/UbuntuStudio)
Status in “grub2” package in Ubuntu:
Fix Released
Status in “grub2-signed” package in Ubuntu:
Fix Released
Status in “kubuntu-settings” package in Ubuntu:
Fix Released
Status in “shim-signed” package in Ubuntu:
Fix Released
Status in “ubuntustudio-default-settings” package in Ubuntu:
In Progress
Status in “grub2” source package in Precise:
New
Status in “grub2-signed” source package in Precise:
New
Status in “kubuntu-settings” source package in Precise:
New
Status in “shim-signed” source package in Precise:
Fix Committed
Status in “ubuntustudio-default-settings” source package in Precise:
New
Status in “grub2” source package in Quantal:
New
Status in “grub2-signed” source package in Quantal:
New
Status in “kubuntu-settings” source package in Quantal:
New
Status in “shim-signed” source package in Quantal:
Fix Committed
Status in “ubuntustudio-default-settings” source package in Quantal:
New
Status in “grub2” source package in Raring:
New
Status in “grub2-signed” source package in Raring:
New
Status in “kubuntu-settings” source package in Raring:
New
Status in “shim-signed” source package in Raring:
Fix Committed
Status in “ubuntustudio-default-settings” source package in Raring:
New
Status in “grub2” source package in Saucy:
Fix Released
Status in “grub2-signed” source package in Saucy:
Fix Released
Status in “kubuntu-settings” source package in Saucy:
Fix Released
Status in “shim-signed” source package in Saucy:
Fix Committed
Status in “ubuntustudio-default-settings” source package in Saucy:
Confirmed
Status in “grub2” source package in Trusty:
Fix Released
Status in “grub2-signed” source package in Trusty:
Fix Released
Status in “kubuntu-settings” source package in Trusty:
Fix Released
Status in “shim-signed” source package in Trusty:
Fix Released
Status in “ubuntustudio-default-settings” source package in Trusty:
In Progress
Bug description:
[Impact]
After a installation of Kubuntu rebooting will leave the user with a unusable system since the relevant EFI files are not found. The uploaded package will fix this issue for all Kubuntu users and allow them to be able to boot their system.
[Test Case (shim-signed)]
1. On kubuntu, upgrade shim-signed from -updates.
2. Verify that /boot/efi/EFI/ubuntu/shimx64.efi and /usr/lib/shim/shim.efi.signed do NOT match.
3. Upgrade shim-signed from -proposed.
4. Verify that /boot/efi/EFI/ubuntu/shimx64.efi and /usr/lib/shim/shim.efi.signed DO match.
[Test Case]
--General: Verfiy UEFI bootmanager Entries--
If one has access to a UEFI shell that should be used to confirm UEFI bootmanager entries. When in need for a shell binary one can use [1] and place it as /boot/efi/shellx64.efi. Please note that unsigned shells will not work while SecureBoot is active.
To print the image table use:
bcfg boot dump
Output should contain an entry with
Desc - kubuntu
and DevPath should contain \EFI\ubuntu (not \EFI\kubuntu)
If a shellx64.efi cannot be used use the command line tool efibootmgr instead:
* sudo efibootmgr -v
One of the entires should again be called kubuntu and contain \EFI\ubuntu in the File defintion. For example:
Boot0002* kubuntu HD(1,800,96000,e3e31484-1b57-40b2-a4b0-942debc6bea9)File(\EFI\ubuntu\grubx64.efi)
--Upgrade Test Case--
* Deactivate SecureBoot in BIOS
* Boot
* Verfiy UEFI bootmanager Entries (see above; should be broken and point to \EFI\kubuntu)
* Make sure there is no EFI/ubuntu present on your EFI partition (mv /boot/efi/EFI/ubuntu /boot/efi/EFI/ubuntu-bak)
* sudo apt-get update
* sudo apt-get install grub2-common grub-efi-amd64 grub-eif-amd64-signed
* Verfiy UEFI bootmanager Entries (see above)
* Verify that /boot/efi/EFI/ubuntu exists (again)
* Reboot and boot into the 'kubuntu' entry.
* Shutdown
* Activate SecureBoot in BIOS
* Boot
--Installation Test Case--
* Deactivate SecureBoot in BIOS
* Boot 13.10 ISO
* When doing a completely clean install:
* Delete all paritions using gparted or partitionmanager
* When NOT doing a completely clean install:
** Find your EFI partition (will be a rather small FAT partition); usually /dev/sda1 or sda2
** sudo mount /dev/$DEVICE /mnt
** Make sure there is no EFI/ubuntu present (mv /mnt/EFI/ubuntu /mnt/EFI/ubuntu-bak)
** sudo umount /mnt
* Ensure there are no 'kubuntu' UEFI boot manager entires
** sudo efibootmgr -v |grep kubuntu
** If there is one, delete it first
** sudo efibootmgr -b $NUMBER_PRECEDING_THE_NAME_IN_THE_DUMP -B
** Confirm .... sudo efibootmgr -v |grep kubuntu
* Ensure there is an active internet connection
* When testing from proposed make sure apt-setup will enable it by default
** sudo edit /usr/lib/ubiquity/apt-setup/generators/50mirror.ubuntu
** Find every occurrence of `if [ "$PROPOSED"....`
** Comment out all ifs and their corresponding fis
** To verify check /etc/sources.list after install, it should have proposed active
* Install
* Verfiy UEFI bootmanager Entries (see above)
* Reboot and boot into the 'kubuntu' entry.
* Shutdown
* Activate SecureBoot in BIOS
* Boot
[Regression Potential]
TBD
[1]
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=UEFI_Shell
-------------- original report
Kubuntu 13.10 is broken for UEFI installs. You will just get the grub2
cli after reinstall..
Its a really stupid bug - with a really easy fix - you just need to
copy the kubuntu folder in the efi directory to ubuntu.
i.e
sudo cp -rv /boot/efi/EFI/kubuntu /boot/efi/EFI/ubuntu
Will 'fix' it.
It looks like its effecting various people
i.e - randomly found this.
http://www.kubuntuforums.net/showthread.php?63589-13-10-64Bit-Beta1
-UEFI-GRUB-Not-Working-After-Install
To fix this surely the 13.10 .iso will have to be rebuilt?
This is a Kubuntu speficic bug - Ubuntu 13.10 is fine.
------------------------
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
13.10 - kubuntu
2) The version of the package you are using, via 'apt-cache policy
pkgname' or by checking in Software Center
$ dpkg -l |grep grub
ii grub-common 2.00-19ubuntu2 amd64 GRand Unified Bootloader (common files)
ii grub-efi-amd64 2.00-19ubuntu2 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii grub-efi-amd64-bin 2.00-19ubuntu2 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
ii grub-efi-amd64-signed 1.22+2.00-19ubuntu2 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
ii grub2-common 2.00-19ubuntu2 amd64 GRand Unified Bootloader (common files for version 2)
3) What you expected to happen
The install to work
4) What happened instead
Install not able to boot - just grub2 cli - had to manually copy the
efi directory to 'ubuntu' to 'fix' it
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: grub-efi-amd64 2.00-19ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Sun Oct 20 20:00:54 2013
InstallationDate: Installed on 2013-10-20 (0 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1242417/+subscriptions
More information about the foundations-bugs
mailing list