[Bug 1847898] Re: System doesn't boot after installation - Legacy mode / 2 disks
Michael Hudson-Doyle
mwhudsonlp at fastmail.fm
Tue May 12 00:29:10 UTC 2020
I think the confusion is in this function (and the similarly shaped kde
one):
def get_grub_choice(self):
i = self.grub_device_entry.get_active_iter()
if i:
return self.grub_device_entry.get_model().get_value(i, 0)
else:
self.debug('No active iterator for grub device entry.')
disk = self.get_current_disk_partman_id()
if isinstance(disk, str) and disk:
disk_path = disk.replace("=", "/")
if os.path.exists(disk_path):
return misc.grub_default(boot=disk_path)
return misc.grub_default()
(or https://git.launchpad.net/ubiquity/tree/ubiquity/plugins/ubi-
partman.py#n681)
This figures out which device has been selected as the target disk and
passes it as the boot= argument to misc.grub_default(), clearly
expecting that grub_default() will return an appropriate path to install
grub too. But grub_default() does not interpret the boot= argument in
that way at all, and (modulo some fussing about installing from writable
media) returns the first line from grub-mkdevicemap.
--
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/1847898
Title:
System doesn't boot after installation - Legacy mode / 2 disks
Status in Release Notes for Ubuntu:
Fix Released
Status in ubiquity package in Ubuntu:
Triaged
Status in ubiquity source package in Focal:
Triaged
Bug description:
Workaround installing on SATA drive (sda)
* Click Something Else custom first
* Change boot loader drop down from nvme to sda
* Click back
* Use wipe & install
* Select sda for install
* Complete install & reboot
--
Ubuntu 19.10 "Eoan Ermine" - Beta amd64 (20191012)
Dell Inspiron 7472 with 2 disks: sata and nvme
Boot in legacy mode
System installed on sda
After installation the system doesn't find a bootable device.
The same problem occurs if I install Ubuntu on the nvme drive instead.
If I perform the installation in uefi/no secure boot mode, it boots
fine.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: ubiquity 19.10.19
ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1
Uname: Linux 5.3.0-18-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu8
Architecture: amd64
CasperVersion: 1.424
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 13 05:00:22 2019
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed initrd=/casper/initrd quiet splash nomodeset ---
LiveMediaBuild: Ubuntu 19.10 "Eoan Ermine" - Beta amd64 (20191012)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.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-release-notes/+bug/1847898/+subscriptions
More information about the foundations-bugs
mailing list