Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get UEFI booting from USB stick to work?
2017-01-25, 16:29
Post: #1
How to get UEFI booting from USB stick to work?
Hello,

I have been trying to install iPXE on USB stick, so I could start PXE install from Clonezilla server.

But I don't get it working. When I try to write the ISO file taken from the website using Rufus to the USB stick, Rufus tells that the ISO file is not UEFI compatible.

Also, when I have tried to format the memory stick to FAT32 and manually try to start ipxe.efi from shell, I get error message "Could not boot image: Exec format error"

Are there any step By step tutorials how to make UEFI PXE booting working? The BIOS boot option is not available on the Computers, only UEFI.
Find all posts by this user
Quote this message in a reply
2017-01-25, 18:35 (This post was last modified: 2017-01-25 18:37 by NiKiZe.)
Post: #2
RE: How to get UEFI booting from USB stick to work?
take a fat32 drive, NTFS might work but not guranteed

Code:
make bin-x86_64-efi/ipxe.efi
cp bin-x86_64-efi/ipxe.efi /mnt/usb/EFI/Boot/bootx64.efi

this is the default for x64 capable machines, if you machine has a 32-bit efi firmware you will instead need to use the 32bit standard instead (I'm assuming you have x86 based hardware here)

How did you build ipxe.efi which gives you "Could not boot image: Exec format error" or is that the error ipxe gives you when you try to start something else, and if so what is the ipxe.org/ error url that is shown together with that message?

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2017-01-26, 08:16
Post: #3
RE: How to get UEFI booting from USB stick to work?
Thank you for your answer. I just tried the following:

1. Run this command in Linux terminal: make bin-x86_64-efi/ipxe.efi

2. Then copied file ipxe.efi file to the FAT32 formatted USB stick to folder EFI/BOOT/ and renamed file to bootx64.efi.

3. Finally restarted the machine where I tried to start iPXE.

Please have a look at the screenshot for details.

[Image: pxe_starting.png]
Find all posts by this user
Quote this message in a reply
2017-01-26, 14:21
Post: #4
RE: How to get UEFI booting from USB stick to work?
What I found out is that the pxelinux.0 seems not to be compatible here when using UEFI.
Find all posts by this user
Quote this message in a reply
2017-01-27, 02:06
Post: #5
RE: How to get UEFI booting from USB stick to work?
(2017-01-26 08:16)markot Wrote:  Thank you for your answer. I just tried the following:

1. Run this command in Linux terminal: make bin-x86_64-efi/ipxe.efi

2. Then copied file ipxe.efi file to the FAT32 formatted USB stick to folder EFI/BOOT/ and renamed file to bootx64.efi.

3. Finally restarted the machine where I tried to start iPXE.

Please have a look at the screenshot for details.

[Image: pxe_starting.png]

pxelinux.0 is probably a PXE binary.
In EFI mode you can only execute ipxe scripts and other EFI binaries, what is it that is your end goal here?

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2017-01-27, 10:46
Post: #6
RE: How to get UEFI booting from USB stick to work?
I will later check if I can do something on the Clonezilla server if starting iPXE using UEFI. I think something can be configured.

Managed to install image from Clonezilla using Clonezilla Live on USB stick instead.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)