sd-boot on Fedora 30?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've been trying to get sd-boot to work on Fedora 30, made some progress but not fully there yet...

First I found my partition GPT type in /boot was incorrect and bootctl was trying to use /boot/efi instead. Ok, that fixed, now I get a list of kernels.

But whenever I boot, I only get the "Reboot Into Firmware Interface" menu entry and nothing else...

I imagine this might be related to the Grub entries:

$ sudo bootctl list
/boot/loader/entries/4d3fcddc096748c4a398037699515189-5.2.8-200.fc30.x86_64.conf:7: Unknown line "id", ignoring.
/boot/loader/entries/4d3fcddc096748c4a398037699515189-5.2.8-200.fc30.x86_64.conf:8: Unknown line "grub_users", ignoring.
/boot/loader/entries/4d3fcddc096748c4a398037699515189-5.2.8-200.fc30.x86_64.conf:9: Unknown line "grub_arg", ignoring.
/boot/loader/entries/4d3fcddc096748c4a398037699515189-5.2.8-200.fc30.x86_64.conf:10: Unknown line "grub_class", ignoring.
        title: Fedora (5.2.8-200.fc30.x86_64) 30 (Workstation Edition) (default)
           id: 4d3fcddc096748c4a398037699515189-5.2.8-200.fc30.x86_64
       source: /boot/loader/entries/4d3fcddc096748c4a398037699515189-5.2.8-200.fc30.x86_64.conf
      version: 5.2.8-200.fc30.x86_64
        linux: /vmlinuz-5.2.8-200.fc30.x86_64
       initrd: /initramfs-5.2.8-200.fc30.x86_64.img
      options: $kernelopts

I tried to at least fix the $kernelopts one, with grubby --args="..." adding a dummy argument just to deduplicate it from the grubenv contents, but still couldn't boot from there...

Even if I fix that, looks like new kernels installed would trigger /usr/lib/kernel/install.d/20-grub.install and probably mess up that setup (do I have to mask or remove it completely?)

Fedora's BLS document unfortunately doesn't mention sd-boot at all :-(
https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault

Anyways, if anyone has hints of what I could try next, I'd be quite interested to know. (Perhaps adding some docs to Fedora wiki would be pretty helpful too!) I thought I'd ask here first... If I don't hear back, I might try to ask on Fedora lists instead.

Cheers!
Filipe

_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux