Skip to content

Heads became grub centric #1918

@tlaurion

Description

@tlaurion

Can't seem to boot the main OS for some reason, is just doesn't see any files in my boot partition and refuses to sign anything.

It just prints this to stdout and then fails with "Failed to update checksums/sign default config":

sha256sum: /tmp/kexec/kexec_hashes.txt: No such file or directory
/etc/functions: line 1010: /tmp/kexec/kexec_tree.txt: No such file or directory
diff: can't stat '/tmp/kexec/kexec_tree.txt.user': No such file or directory
Unable to locate /boot files on any mounted disk
mount: can't find /boot in /proc/mounts

I've tried reflashing multiple times and resetting everything to no avail.
My /boot is an ext4-formatted /dev/sda1 with kexec_menu.txt, initramfs-linux.img and vmlinuz-linux, I can mount it manually just fine. It also gets mounted by Heads if I set the boot device to /dev/sda1 with the "Change the /boot device" option.
This setup worked perfectly with an older build from #1723, not sure what's changed...
/dev/sda2 is a LUKS2-encrypted btrfs root, I don't need Heads to touch it

image


Ah, I see. mount_possible_boot_device is hardcoded to look for files starting with grub.
But why..?
I get the ease of use part of this, but I feel Heads should respect whatever I set as /boot and not try probing every partition for grub files (that aren't even there).

Originally posted by @pcm720 in #1908 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions