/snap/subiquity/1459/usr/bin/subiquity:curtin.util.ProcessExecutionError:main:curthooks:builtin_curthooks:setup_grub:subp:_subp

Bug #1863033 reported by errors.ubuntu.com bug bridge
148
This bug affects 34 people
Affects Status Importance Assigned to Milestone
subiquity
Fix Released
Undecided
Unassigned
subiquity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding subiquity. This problem was most recently seen with package version 1459, the problem page at https://errors.ubuntu.com/problem/694a1c5cf6e4c5922e013a849abec18ede63f42e contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Tags: bionic eoan
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

The log tail is this:

Found initrd image: /boot/initrd.img-4.15.0-76-generic
done
+ echo grub-install /dev/sda
grub-install /dev/sda
+ grub-install /dev/sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
+ exit
failed to install grub!

Stderr: ''
Unexpected error while running command.
Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '--os-family=debian', '/target', '/dev/sda']
Exit code: 1
Reason: -
Stdout: carryover command line params 'debian-installer/language=fr keyboard-configuration/layoutcode?=fr keyboard-configuration/variantcode?=oss'
setting GRUB_CMDLINE_LINUX_DEFAULT to 'debian-installer/language=fr keyboard-configuration/layoutcode?=fr keyboard-configuration/variantcode?=oss' in etc/default/grub
updated /target/etc/default/grub to set GRUB_CMDLINE_LINUX_DEFAULT="debian-installer/language=fr keyboard-configuration/layoutcode?=fr keyboard-configuration/variantcode?=oss"
curtin non-uefi: installing grub-pc to: /dev/sda
+ pkg=grub-pc
+ shift
+ bootid=ubuntu
+ shift
+ bootver=
+ shift
+ grubpost=
+ grubcmd=grub-install
+ dpkg-reconfigure grub-pc
+ update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-76-generic
Found initrd image: /boot/initrd.img-4.15.0-76-generic
done
+ echo grub-install /dev/sda
grub-install /dev/sda
+ grub-install /dev/sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
+ exit
failed to install grub!

It's like we're trying to install without a bios_grub partition, but subiquity shouldn't let you do that.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

We (well Paride) found at least one way to install without a bios_grub partition and that is fixed now, so closing.

Changed in subiquity:
status: New → Fix Released
Changed in subiquity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.