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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1847898
Title:
System doesn't boot after installation - Legacy mode / 2 disks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1847898/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs