New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bootctl does not support installation on a dos/mbr partitioned disk #1125
Comments
We support only GPT formatted disks and so far have no intention to add support for legacy setups like MBR. For simplicity reasons, the use of systemd-boot is very limited in its options and the focus is entirely on current technology. |
My guess is that EFI firmware that is so old that it doesn't support GPT is something we should be very careful to support with bootctl, given that it is likely create more problems all over the place... |
I understand not wanting to support every permutation of the UEFI spec. No worries. |
@floppym Anyway there is a firmware bug in the wild where BIOSes and EFIs require that at least one hard disk have at least one MBR partition that's marked as bootable/active to boot. Since the protective MBR's single EFI GPT (0xEE) partition is not normally flagged in this way, the affected firmware won't boot from GPT disk ( you can install using GPT partitioning in any *nix distribution but you wont be able to boot which fails with "BootDevice not found" ) so you might need to flag it as such, to be able to use GPT with that firmware ( parted /dev/sd disk_set pmbr_boot on I believe ) and that might be the underlying root cause for your problem. It would be good to know if you try this if things work for you or not. ( as in you can use GPT and bootctl works accordingly afterwards ) |
@johannbg Thanks I'll give it a try. The disk won't even appear in my EFI file browser though, so I'm not sure that's the issue. |
I have a very strange Dell laptop with a UEFI firmware which does not support GUID partition tables (GPT). It does support running EFI binaries, and it will detect an ESP on an MBR-style disk (a partition with type id 0xEF).
When I attempt to install systemd-boot using bootctl, it complains that my /boot file system does not reside on a GPT partitoned disk.
systemd-boot works just fine on this system if I manually copy the binary to the ESP.
The text was updated successfully, but these errors were encountered: