UEFI install broken when GRUB_DISTRIBUTOR!=Ubuntu (e.g. Kubuntu/UbuntuStudio)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
chyurik | ||
Quantal |
Won't Fix
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
grub2-signed (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
Quantal |
Won't Fix
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned | ||
kubuntu-settings (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
Quantal |
Won't Fix
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Critical
|
Unassigned | ||
shim-signed (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Fix Released
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntustudio-default-settings (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Precise |
Invalid
|
Undecided
|
Unassigned | ||
Quantal |
Won't Fix
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned | ||
Saucy |
Won't Fix
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Critical
|
Unassigned |
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/
3. Upgrade shim-signed from -proposed.
4. Verify that /boot/efi/
[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/
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,
--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/
* sudo apt-get update
* sudo apt-get install grub2-common grub-efi-amd64 grub-eif-
* Verfiy UEFI bootmanager Entries (see above)
* Verify that /boot/efi/
* 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/
** 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_
** 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/
** 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://
-------------- 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/
Will 'fix' it.
It looks like its effecting various people
i.e - randomly found this.
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-
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
ProcVersionSign
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)
Related branches
- Martin Pitt: Approve
-
Diff: 33 lines (+7/-7)3 files modifieddebian/changelog (+6/-0)
debian/ubuntustudio-default-settings.maintscript (+1/-0)
etc/default/grub.d/50_ubuntustudio.cfg (+0/-7)
description: | updated |
Changed in grub2 (Ubuntu): | |
status: | Won't Fix → In Progress |
description: | updated |
Changed in ubuntustudio-default-settings (Ubuntu Trusty): | |
assignee: | nobody → Howard Chan (smartboyhw) |
status: | Confirmed → In Progress |
description: | updated |
Changed in ubuntustudio-default-settings (Ubuntu Saucy): | |
status: | Fix Committed → Confirmed |
Changed in grub2-signed (Ubuntu Saucy): | |
status: | New → Fix Committed |
Changed in grub2-signed (Ubuntu Saucy): | |
status: | Fix Committed → In Progress |
tags: |
added: verification-done removed: verification-needed |
Changed in kubuntu-settings (Ubuntu Saucy): | |
status: | Fix Committed → Fix Released |
Changed in kubuntu-settings (Ubuntu Trusty): | |
status: | Confirmed → Fix Released |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in grub2 (Ubuntu Saucy): | |
assignee: | nobody → donna maria owen (donnaowen3126) |
Changed in grub2 (Ubuntu): | |
assignee: | nobody → bijoy bey (bijoybey) |
assignee: | bijoy bey (bijoybey) → nobody |
Changed in grub2 (Ubuntu): | |
assignee: | john m (paradigmshifter1-f) → nobody |
Changed in grub2 (Ubuntu Precise): | |
assignee: | nobody → chyurik (kamysh23) |
information type: | Public → Public Security |
Status changed to 'Confirmed' because the bug affects multiple users.