Up until now my system was as follows:
I have windows 10 on one drive, and the other drive had Linux Mint on it.
The one with Mint on it was partitioned with a fat32 /boot partition, ext4 / partition, ext4 /home partition and a swap partition.
I’ve decided to format my “/” partition and install Manjaro into it, while keeping the rest intact.
The installation went smoothly, but I wasn’t sure It worked, so to check I’ve tried running efibootmgr
But I got
EFI variables are not supported on this system.
Which as I understand it means I have booted my installation USB key using legacy BIOS mode instead of under UEFI.
I’ve had both options from the boot menu, and picked the UEFI boot option initially, but was unable to boot (got some error followed by a sort of boot command prompt).
The non UEFI version booted fine, and I’ve installed Manjaro using it.
After failing to use efibootmgr, I’ve mounted my /boot partition to look what was written to it.
It shows the following:
.:
EFI boot-repair initramfs-5.10-x86_64-fallback.img intel-ucode.img memtest86+
‘System Volume Information’ grub initramfs-5.10-x86_64.img linux510-x86_64.kver vmlinuz-5.10-x86_64
./EFI:
BOOT Microsoft ubuntu
./EFI/BOOT:
bkpbootx64.efi bootx64.efi fbx64.efi
./EFI/Microsoft:
Boot Recovery
./EFI/Microsoft/Boot:
BCD kd_02_10df.dll kd_02_1af4.dll qps-ploc
BCD.LOG boot.stl kd_02_10ec.dll kd_02_8086.dll memtest.efi
BCD.LOG1 bootmgfw.efi kd_02_1137.dll kd_07_1415.dll
BCD.LOG2 bootmgfw_.efi en-US kd_02_14e4.dll kd_0C_8086.dll winsipolicy.p7b
BOOTSTAT.DAT bootmgr.efi kd_02_15b3.dll kdstub.dll
Fonts kd_02_1969.dll
Resources kd_02_19a2.dll lt-LT
./EFI/Microsoft/Boot/Fonts:
<ttf files>
./EFI/Microsoft/Boot/Resources:
bootres.dll en-US
./EFI/Microsoft/Boot/Resources/en-US:
bootres.dll.mui
./EFI/Microsoft/Boot/en-US:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
./EFI/Microsoft/Recovery:
BCD BCD.LOG BCD.LOG1 BCD.LOG2
./EFI/ubuntu:
BOOTX64.CSV grub.cfg grubx64.efi mmx64.efi shimx64.efi
'./System Volume Information':
IndexerVolumeGuid
./boot-repair:
log
./boot-repair/log:
./grub:
fonts grub.cfg grubenv i386-pc locale themes
./grub/fonts:
unicode.pf2
./grub/i386-pc:
<mod files>
./grub/locale:
<mo files>
./grub/themes:
starfield
./grub/themes/starfield:
<some png files etc>
./memtest86+:
memtest.bin
What makes me worried, is that the Manjaro kernel was written into /boot and not into /boot/EFI, I’ve got a feeling I wouldn’t be able to boot Manjaro properly using UEFI now.
Maybe I wasn’t able to boot in UEFI mode because I’ve created my USB with Unetbootin? I didn’t want to use dd or Rufus because I wanted to keep the other files on the disk…
Can I fix it from the live session in BIOS mode, or must I gain access to the UEFI mode to solve it?