ventoy / vtoyboot

Work with ventoy to support boot Linux distros in a vdisk file (vhd/vdi/raw ...)
GNU General Public License v3.0
275 stars 23 forks source link

Grub error: unknown filesystem. #83

Open securegh opened 3 months ago

securegh commented 3 months ago

Hello,

Running vtoyboot script post install generate grub error on Zorin OS 17.1 LUKS root partition encryption with Btrfs filesystem.

Please advice, thank you!

securegh commented 3 months ago

Hello longpanda,

I installed zorin OS 17.1 on a fixed vdi disk without LUKS disk encryption this time and with Btrfs filesystem. Attached is the vtoyboot script output and grub boot error I got this time. Thank you for your help! sc2

sc1

Vinfall commented 3 weeks ago

Regarding the warning no bootfile found for uefi! maybe the image does not support x64 uefi!, you can try the possible solution in #4. I'll take my experience on void linux as an example:

# no /boot/efi/EFI/boot on void
$ tree /boot/efi/EFI
/boot/efi/EFI
└── void_grub
    └── grubx64.efi
2 directories, 1 file

# manually copy the efi to the desired location
sudo mkdir -p /boot/efi/EFI/boot
cd /boot/efi/EFI
sudo cp void_grub/grubx64.efi boot/bootx64.efi

# or try recreating EFI
sudo efibootmgr -c

I was able to get rid of the warning with the above commands (and ended up with another error: invalid arch-independent ELF magic., but I think it's unrelated to the solution itself).