[Bug 1366264] Re: wrong EFI partition modified
Jay Michael
jmichael_ll at yahoo.com
Mon Sep 8 03:12:12 UTC 2014
The installed Ubuntu 14.04.1 is mounting /dev/sda1 as /boot/efi
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1366264
Title:
wrong EFI partition modified
Status in “ubiquity” package in Ubuntu:
New
Bug description:
I installed Ubuntu to an external drive. I told the installation
to use the ESP partition on the external drive. I think the
installation erased the ESP partition on the external drive, and added
itself to the ESP partition on the internal drive, briefly
supplanting Windows as the controller of EFI booting from that drive.
My machine came with Windows 8. I installed Ubuntu 14.04.1
64-bit to an external USB Western Digital My Book.
Before installing Ubuntu conventionally, I had experimented with
creating an ESP on the WD drive -- 2 GB FAT16 partition named "vdos".
In the root of that partition I had directories named "EFI" and
"boot". I had copied some version of grubx64.efi to
${vdos}/EFI/boot/bootx64.efi. It was at the point where if I booted
and broke into BIOS Setup/Boot Options, one of the UEFI BOOT options
was the WD drive. Choosing that option got me my grub menu.
I burned ubuntu-14.04.1-desktop-amd64.iso to a DVD. I booted the
DVD in EFI mode (I can't swear I had Secure Boot enabled). I
installed Ubuntu, selecting "Something else".
During the partitioning phase, I made sure that the "Install GRUB
to" was set to "/dev/sdb" -- the external USB drive. I filled in
designated uses for the ESP partition and an existing swap partition.
I created a new partition for the installation itself. I do not
believe that I checked the "Format Partition" box for any partition
other than the new partition I created for the installation.
When the installation completed and I rebooted, I had a GRUB menu
with a few Ubuntu options, and an option for Windows Boot Manager. I
probably booted Ubuntu, if only because the timer ran out while I was
taking notes. When I rebooted and broke into BIOS, there was no
Windows Boot Manager option in the BIOS BOOT Options. I booted
Windows by way of GRUB. I shut down. I rebooted and broke into BIOS
Setup/Boot Options. It said UEFI, Secure boot ON. There was only one
UEFI BOOT option, this time labeled Windows Boot Manager.
(I don't remember when/if I toggled "Secure boot". I think I had
it enabled when I booted the DVD. I think I would have left it
enabled up to this point.)
From my Live-USB I found that the ESP partition on the external
drive was blank: no name, no contents. fdisk still reported it as
having type "EF". I didn't check the filesystem type.
The ESP partition on the internal drive always had a top level
directory "EFI". "EFI" now has an "ubuntu" subdirectory containing
grub.cfg, grubx64.efi, MokManager.efi, and shimx64.efi. The grub.cfg
"chains" to /boot/grub/grub.cfg on the Ubuntu installation (the Ubuntu
installation is /dev/sdc6 when the thumb drive is plugged in).
Copying ${wesp}/EFI/ubuntu/grubx64.efi to
${vdos}/efi/boot/bootx64.efi and ${wesp}/EFI/ubuntu/grub.cfg to
${vdos}/efi/ubuntu/grub.cfg results in BIOS showing a second UEFI Boot
option.
I started Windows both from the UEFI Boot option, and using the
option in the GRUB menu, and I still have WD My Book as a BIOS UEFI
Boot option. This leads me to believe that it was not Windows that
wiped out the ESP partition on the external drive
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Fri Sep 5 23:55:54 2014
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
InstallationDate: Installed on 2014-09-05 (1 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
ProcEnviron:
LANGUAGE=en_US
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1366264/+subscriptions
More information about the foundations-bugs
mailing list