Skip to content
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

No bootfile found for UEFI! #313

Open
bouhlal opened this issue Jul 16, 2020 · 54 comments
Open

No bootfile found for UEFI! #313

bouhlal opened this issue Jul 16, 2020 · 54 comments

Comments

@bouhlal
Copy link

bouhlal commented Jul 16, 2020

Hello
I have installed Ventoy on my USB and I have added some ISO's files :
MediCAT
Hiren's BootCD
Windows 10 32bit
and windows password recovery BootCD
all give ERROR on HP Laptop :
No bootfile found for UEFI!
Mybe the image does not support X64 UEFI!
Best Regards

@ventoy
Copy link
Owner

ventoy commented Jul 16, 2020

Please give the exact iso file name.
Windows 10 32bit only support IA32 efi, your machine may be x86_64 uefi (amd64 uefi), so this distro can't boot and will show this message.

For Hiren's BootCD HBCD_PE_x64.iso has been tested in UEFI mode.

Besides, you can try a linux iso file, for example ubuntu-20.04-desktop-amd64.iso

@BxOxSxS
Copy link
Contributor

BxOxSxS commented Jul 17, 2020

I have the same for Memtest86-4.3.7.iso and ipxe.iso but works fine with netboot.xyz-efi.iso (v2.0.17), manjaro-gnome-20.0.3-200606-linux56.iso, Windows10_PLx64_2004.iso and HBCD_PE_x64.iso (v1.0.1) Lenovo Ideapad Z580. evrything works fine with legacy mode

@BxOxSxS
Copy link
Contributor

BxOxSxS commented Jul 18, 2020

@ventoy I have tested on laptop Lenovo Ideapad Z570 and Memtest86-4.3.7.iso and ipxe.iso gived same error but with additional information:

ASSERT EFI_ERROR (Status = Invalid Parametr)
ASSERT [Ventoy] /home/share/Ventoy/EDKII/edk2-edk2-stable201911/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllpcationLib.c (813
) : !EFI_ERROR (Status)
No bootfile found for UEFI!
Maybe the image does not suport x64 UEFI

netboot.xyz-efi.iso (v2.0.17), manjaro-gnome-20.0.3-200606-linux56.iso, Windows10_PLx64_2004.iso worked fine.
Hope it would helps

@BxOxSxS
Copy link
Contributor

BxOxSxS commented Jul 24, 2020

@ventoy I still have this error on z580 with ventoy 1.0.16

@ventoy
Copy link
Owner

ventoy commented Jul 25, 2020

@BxOxSxS Please test these ISO files in Virtual Machine (e.g. Vmware) with UEFI mode and to confirm that the ISO file does support UEFI mode.

@BxOxSxS
Copy link
Contributor

BxOxSxS commented Jul 25, 2020

@BxOxSxS Please test these ISO files in Virtual Machine (e.g. Vmware) with UEFI mode and to confirm that the ISO file does support UEFI mode.

I checked and they don't work. So it is impossible to get these ISOs to work with ventoy without enabling legacy support in the bios settings?

@ventoy
Copy link
Owner

ventoy commented Jul 25, 2020

Yes.
Ventoy virtualizes the ISO as a cdrom device and boot it.
So if the ISO doesn't support UEFI mode itself, the boot will fail.

@SaryZainoun
Copy link

Hi All,

I have the same error, I can boot from the same usb, the same iso file and the same Ventoy on asus vivobook but not on asus ROG.

any helpe please

@rderooy
Copy link

rderooy commented Dec 30, 2020

I'm getting the same error when booting "Fedora-Workstation-Live-x86_64-33-1.2.iso" or "pop-os_20.04_amd64_intel_8.iso" on either a new ThinkPad X13 or T14s using Ventoy 1.0.31 UEFI. Secure Boot is disabled in the BIOS on both systems, and the ISO boots just fine if I write it directly to a USB stick with Fedora Image Writer.

Ventoy is able to chain boot Windows 10 (build 2004) just fine on the same systems.

@rengare
Copy link

rengare commented Jan 25, 2021

same here on ThinkPad x13 as for @rderooy
EDIT:
It looks like that version https://github.com/ventoy/Ventoy/releases/tag/v1.0.33 fixes issue with my thinkpad. @rderooy try to use newest version

@eogut
Copy link

eogut commented Feb 4, 2021

same here on ThinkPad x13 as for @rderooy
EDIT:
It looks like that version https://github.com/ventoy/Ventoy/releases/tag/v1.0.33 fixes issue with my thinkpad. @rderooy try to use newest version

I've been trying on a Dell XPS 13 9360 with Ventoy 1.0.34 UEFI running and Memtest86-4.3.7.iso does not work. Getting the same error as @rderooy

@steve6375
Copy link

V4 is legacy version. It does not contain efi boot files.

@rderooy
Copy link

rderooy commented Feb 5, 2021

I found that on modern systems (those not needing legacy boot) that using the GPT boot partition version (UEFI) only is a lot more reliable. With that with recent versions, all seems to work fine.

@eogut
Copy link

eogut commented Feb 5, 2021

Thank you both for your replies. Indeed I have erroneously downloaded memtest v4 because I just read ".iso" and went for it. I have used OSFMount to convert the img file of memtest v8 to iso but I have encountered the same issue. ElementaryOS boots just fine. In Ventoy I had enabled Secure Boot and GPT. I cannot boot into Ventoy with Secure Boot enabled on my machine though, it only boots when I disable Secure Boot in BIOS. Would disabling Secure Boot in Ventoy help? Thanks!

Edit: Disabling Secure Boot didn't help. The only thing that changed is that the " No bootfile found for UEFI!" error was now displayed in 1080p. That's an improvement, I guess? /s

@steve6375
Copy link

You need to make the ISO UEFI64 bootable. You can't just convert things to an ISO and expect them to be bootable!
The easiest thing to do if you don't have a UEFI-bootable Memtest86 ISO is to extract the \EFI\BOOT\BOOTX64.efi file and just copy that to your Ventoy drive. Rename it as MemTest86_64.efi (or something similar).

@eogut
Copy link

eogut commented Feb 5, 2021

I'll be damned... I guess this is a classic error 45, huh? The error sits 45 cm away from the screen, haha.
Interestingly enough, the ISO does contain the efi files as I made sure to convert the whole IMG, which on the other hand is the basis for the creation of a memtest flash drive. Extracting the very same efi file and running that in Ventoy did work! So thanks a ton, @steve6375! By the way, this issue could be closed, couldn't it? I mean things work... as long as the user knows what to do...

@kirvedx
Copy link

kirvedx commented Feb 22, 2021

I've been trying to do something I've done a milliion times before:

  1. Download Debian net installer.
  2. Download non-free firmware archive.
  3. Open net installer iso using archive manager in Debian (pre-existing system). This is also known as file-rolller.
  4. Add firmware packages to the firmware directory.
  5. Boot net installer and install Debian.

This has always worked for me. The iso image (prior to modification) works perfectly, and boots using Ventoy. However, after adding firmware packages Ventoy complains Bootfile not found. Inspection of the filesystem within the iso image shows the boot file(s) - including the UEFI bootfile - in the respective directory.

What's going on here? Is Ventoy checking md5sums and refusing to load an iso that doesn't match or something? If so, please include aflag to stop this check from happening!

@akalongman
Copy link

akalongman commented Feb 22, 2021

@ventoy imho its a bug.
PXL_20210222_164324557.jpg

Installer is Ubuntu 20.04 x64
PXL_20210222_164922309.jpg

@JonnyTech
Copy link

JonnyTech commented Feb 22, 2021

I assume that file-roller is not preserving boot parameters, use another iso creation tool.

@steve6375
Copy link

steve6375 commented Feb 22, 2021

Adding an efi boot file to the directory does not make an iso uefi-bootable.
Does the iso boot from a VM as a virtual DVD? My guess is it does not.
Google for how to make an iso uefi bootable for more info.

@kirvedx
Copy link

kirvedx commented Feb 22, 2021 via email

@vidyli
Copy link

vidyli commented Mar 31, 2021

what is the working solution? check manjaro-gnome, not working.

@dausruddin
Copy link

Is there any solution for this? Getting the same error with Arch Linux.

@steve6375
Copy link

If anyone has an issue - please state full and accurate details.
ISO file name (full exact name)
Ventoy version and details of options chosen when making it (Legacy\MBR\reserved space)
Legacy\UEFI32\UEFI64 boot?
Results when tested on different models\types of x86 computers - amount of RAM, make/model, latest BIOS?
Error description
screenshots if possible
Many thousands of people use Ventoy, the website has a list of tested ISOs. If the ISO is on the tested list, then clearly it is a problem with your particular equipment, so you need to give the details. For instance, it could be that only certain models of PC have this problem with certain specific ISOs.

@dausruddin
Copy link

Sorry for my ignorance. Turned out archlinux-2021.06.01-x86_64 is not compatible. Tried with archlinux-2021.05.01-x86_64 which is listed as compatible and it is working flawlessly.

Thank you.

@DonielMoins
Copy link

Sorry for my ignorance. Turned out archlinux-2021.06.01-x86_64 is not compatible. Tried with archlinux-2021.05.01-x86_64 which is listed as compatible and it is working flawlessly.

Thank you.

Seriously? FFS I just spent hours reinstalling arch just to get this in the end...

@steve6375
Copy link

steve6375 commented Jul 24, 2021

archlinux-2021.06.01-x86_64.iso with Ventoy 1.0.47 boots for me on Lenovo IdeaPad 300 UEFI64 boot.
It gets to the root@archiso ~ # prompt just fine using first boot option. I didn't try install using it though.

@DonielMoins
Copy link

Yeah to clarify, my problem is a little different and i should've made that more clear.
I made a VHD of an arch installation and installed the vtoyboot mod and it keeps on giving me the no UEFI error.

@gabriel-messas
Copy link

I have this same problem. Is there a way to force Ventoy to boot in Legacy mode? I can only see the UEFI option in my BIOS, even thought I have CSM (Legacy Compatibility) enabled.

@steve6375
Copy link

Some bioses have a bug. They do not provide a legacy boot option if there is a fat partition with an /EFI folder on it. In this case, try renaming the efi folder as efixxx, and then see if you get a legacy boot option.

@GrimPixel
Copy link

Hey, I have encountered the same problem and I found that after deleting the "System Volume Information" folder on Ventoy partition of the USB disk, it can boot now.

@SelfRef
Copy link

SelfRef commented Dec 8, 2021

Hey, I have encountered the same problem and I found that after deleting the "System Volume Information" folder on Ventoy partition of the USB disk, it can boot now.

I didn't expect this folder to be an issue. I can confirm it was the reason for some ISOs to not boot (ChimeraOS, Manjaro Gnome). Many thanks!

@kichito
Copy link

kichito commented Dec 17, 2021

para usuarios de habla hispana.

relativo a la imagen iso a utilizar
1.- comprobar que la imagen que tienes sea de 64 bits
https://www.youtube.com/watch?v=F5NFuDCZQ00
2.-verificar que la arquitectura de la imagen iso sea compatible con el procesador

relativo a uefi bios

1.-modo uefi:
la imagen iso,bin, etc debe ser de 64 bits sino no la reconoce
debes activar modo uefi en el bios
las particiones seran gpt

modo bios
puedes poner cualquier imagen en 32 o 64 bits
debes activar modo legacy en el bios-uefi
debes desactivar secure boot en el bios-uefi
puedes usar las particiones gpt o mbr

espero les sirva, pueden usar rufus, ventoy, easy to boot, etc. lo importante es conocer las diferencias entre uefi y bios y tambien entre gpt y mbr.

@Mr-McBride
Copy link

I have the same error with EndeavorOS_Atlantis_neo_21_5.iso using ventoy 1.0.70.

the EndeavorOS iso boots with no issues when on it's on usb, but not through ventoy.

@steve6375
Copy link

EndeavourOS_Atlantis_neo-21_5.iso boots OK using UEFI64 on Ventoy and grubfm.
What exactly is the problem? What system are you booting from? Legacy? UEFi64? etc.

@cloudxone
Copy link

The current release of Slax (slax-64bit-11.2.1.iso) fails to boot using UEFI64 using ventoy with the error message:
"No bootfile found for UEFI! Maybe the image does not support X64 UEFI."

@abhin44
Copy link

abhin44 commented Mar 28, 2022

same error during creating windows 7
plzz help

@Aholicknight
Copy link

I am getting the same error, and I confirmed that the iso has UEFI support. I used Rufus on a new USB with the same iso image, and when I booted to it with UEFI it booted successfully. But when I try to boot it with ventoy it does not boot and says the message "No bootfile found for UEFI".

@DocAciD
Copy link

DocAciD commented May 16, 2022

^^ maybe a lenovo / thinkpad / thinkcentre issue ?

@Aholicknight
Copy link

^^ maybe a lenovo / thinkpad / thinkcentre issue ?

@DocAciD I don't have a Lenovo, ThinkPad or a ThinkCentre

@Suleman-Elahi
Copy link

Getting the same on TinyCoreLiInux (CorePlus)

URL; http://tinycorelinux.net/downloads.html

image

@steve6375
Copy link

The ISO must be UEFI-bootable and have a UEFI64 boot file \EFI\BOOT\BOOTX64.EFI
You can open the ISO in 7zip and look for yourself.
see http://tinycorelinux.net/13.x/x86_64/release/
TinyCorePure64-13.1.iso does UEFI64 boot OK
but CorePure64-13.1.iso does not as it does not contain any EFI boot files

@Suleman-Elahi
Copy link

@steve6375 Okay thanks. But I was actually talking about CorePlus. I see your point, this CorePlus ISO is indeed missing that EFI file.

@vlad54rus
Copy link

Any way to disable UEFI booting capability from Ventoy and only leave legacy? I have some systems which won't offer legacy boot option if UEFI is present at the same time.

@steve6375
Copy link

Delete or rename the \EFI folder on the VTOYEFI partition 2 of the Ventoy drive.

@vlad54rus
Copy link

@steve6375 I've mounted that partition and deleted EFI folder but it's still recognized as EFI, both in Windows Disk Management and the BIOS, just doesn't boot anymore.

@steve6375
Copy link

Maybe because of partition type
You can change the type or just delete the partition

@theotheroracle
Copy link

theotheroracle commented Jul 19, 2023

i have a really weird edge case, i have the lastest ventoy 1.0.93, and on one machine it will boot uefi fine, specifically the gnome-nixos iso, and on my supermicro server, it's giving the no bootfile found for uefi error, so i'm not sure what's happening in this case

( i also tried grub mode and memcache mode, and neither worked, although the grub mode was just stuck on "booting linux lts" )

@theotheroracle
Copy link

guix does boot in uefi though, but it looks to be using a more standard grub install, i'm not sure what the nixos installer is using

@poopybunghole
Copy link

I tried running Windows 10 32Bit version ISO using Ventoy on a Thinkpad X230T and I got the same error, turns out UEFI was configured in BIOS and Windows 10 32bit ISO won't start if UEFI boot is configured, so I changed the bios to boot Legacy mode first and it worked. Doesn't really seem to be a problem with Ventoy as far as I can tell. Although the error could be more helpful.

@steve6375
Copy link

steve6375 commented Jul 24, 2023

There are two sorts of x86 UEFI BIOS firmware, UEFI32-bit and UEFI64-bit.
Most systems have a UEFI64-bit BIOS and so can only UEFI-boot from 64-bit OS's which have a \EFI\BOOT\BOOTX64.EFI boot file (this is on Windows 64 ISOs and Linux 64-bit ISOs).
A few (very few) systems have a UEFI32 BIOS and boot using the \EFI\BOOT\BOOTIA32.EFI file (found in 32-bit Windows ISOs and a few 32-bit Linux ISOs).
So to UEFI boot a Win 64-bit ISO you need a system with a UEFI64 BIOS. To UEFI-boot a WIn32-bit ISO you need a system with a UEFI32 BIOS.
Note that it does not necessarily depend on what CPU you have because some systems have a 64-bit CPU but have a UEFI32 BIOS and so can only be UEFI-installed using source files which have the UEFI32 boot files (e.g. Win10/11 32-bit ISOs).

@pbatard
Copy link

pbatard commented Mar 29, 2024

Got hit with this issue, using the UEFI-Shell-2.2-23H2-RELEASE.iso from https://github.com/pbatard/UEFI-Shell/releases while starting to test for #135.

Unfortunately, this ISO most certainly includes working UEFI bootloaders (and you can see how it is generated, through genisoimage here), so it's rather annoying that it does not appear to work with Ventoy.

Tested in all of normal, grub2 and memdisk mode using Ventoy 1.0.97.

Hopefully, other people can replicate the issue, to confirm that it's not just me, and this issue can be fixed in a future release of Ventoy...

@nabeelr
Copy link

nabeelr commented Apr 5, 2024

Having this issue with Proxmox VE 8.1-2 as well.

@askoa
Copy link

askoa commented Jun 9, 2024

The default UEFI shell provided in espack does not boot with Ventoy either. I just unzipped the latest release file, run sh esp.sh creating an esp.img with UEFI shell provided in the release file. I am not able to boot the generated image using Ventoy. I am getting the error mentioned in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests