[Bug 1242417] Re: UEFI install broken when GRUB_DISTRIBUTOR!=Ubuntu (e.g. Kubuntu/UbuntuStudio)
Harald Sitter
sitter.harald at gmail.com
Tue Oct 22 13:27:51 UTC 2013
** Description changed:
+ [Impact]
+ TBD
+
+ [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
+ * 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)
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-settings in Ubuntu.
https://bugs.launchpad.net/bugs/1242417
Title:
UEFI install broken when GRUB_DISTRIBUTOR!=Ubuntu (e.g.
Kubuntu/UbuntuStudio)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1242417/+subscriptions
More information about the kubuntu-bugs
mailing list