You are not logged in.
Pages: 1
I am trying to switch from grub back to sysemd-boot following the instructions here. The message I am getting is that there is no UEFI system detected. I tried using the -S option to arch-chroot and that made no difference.
Currently I run a script in chroot to configure my new system before installing grub and then rebooting. This is how I know that UEFI is active.
This is what I have so far:
chroot_config.fish
bootctl install --path=/boot
# arch entry
set root_uuid (sudo blkid -s UUID -o value /dev/nvme0n1p2)
printf %s "\
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=$root rw
options fsck.mode=force
" >/boot/loader/entries/arch.conf
# loader
printf %s "\
default arch
timoute 0
" >/boot/loader/loader.conf
bootctl update --path=/boot
systemctl enable systemd-boot-update.service
bootctl update
bootctl listThe message I am getting is:
Not booted with EFI, or running in a container, skipping EFI variable modicifations.Any ideas?
Last edited by lenhuppe (Yesterday 19:46:37)
Offline
If you originally installed your system with an Master Boot Record partition layout and are booting your system with the Compatibility Support Module enabled in your BIOS then that would cause the error because your system is in MBR mode and not UEFI mode. And if your partitions are MBR then making your system UEFI to use systemd-boot will likely be complicated. Edit: (your partitions need to be GPT and not MBR to use systemd-boot I'm sure).
Last edited by headkase (Yesterday 19:56:39)
Offline
If you originally installed your system with an Master Boot Record partition layout and are booting your system with the Compatibility Support Module enabled in your BIOS then that would cause the error because your system is in MBR mode and not UEFI mode. And if your partitions are MBR then making your system UEFI to use systemd-boot will likely be complicated. Edit: (your partitions need to be GPT and not MBR to use systemd-boot I'm sure).
CSM is disabled in the firmware, and I am wiping my nvme drive with blkdiscard before each installation.
Offline
Had to rewrite my chroot config in two parts. The first one runs in a 'chroot', and the second sets up sytemd-boot in a 'chroot -S'.
Offline
Pages: 1