-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Make it possible to change the size of the EFI partition #648
Comments
🤔 I hope also that the collaboration with other boot managers can be improved another bit. |
See 8bbd5a1 |
@a1ive: Do you know anybody who would like to add translations for the linked information? |
Anyway, why it's so small? What if some update will need bigger efi partition? It's already almost full |
Same problem with me .... |
Just add the grubfm_multiarch.iso to the first partition. |
I would like to make this partition bigger as well. Some diagnostic tools can save reports and diagnostic files to FAT / EFI partitions, and VTOYEFI is just too small to fit them. |
I'd like to boot a Windows-to-go VHDX, which requires the Windows boot manager and its support files to live on the EFI system partition. They don't fit alongside the Ventoy bootloader and support files in just 32 MB. :(
|
Ventoy can boot from VHD files directly. The size of the EFI partition cannot be changed and it's contents will be wiped and replaced every time you update the Ventoy version anyway. |
At the moment the size of the EFI partition is hard-coded to 32MB. I would like to install other bootloaders on the same usb device, but the limit of 32MB is too small for that. I multiplied the
VENTOY_PART_SIZE
,VENTOY_PART_SIZE_MB
andVENTOY_SECTOR_NUM
values by16
in thetool/ventoy_lib.sh
file which succesfully results in a EFI partition of 512MB.This all seems to work fine until I boot from it. I get the following error message:
From what I can find this comes from the
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c
file because of the following if-statement:I'm not sure if this is the only place where this is checked and I'm not really proficient in writing C, but if someone can point me in the right directions, maybe I can help to remove this check or at least make it a configurable variable instead of hard-coded.
The text was updated successfully, but these errors were encountered: