Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can I make a usb key , support efi boot & pcbios
2016-07-13, 13:06
Post: #1
can I make a usb key , support efi boot & pcbios
hi

How can I make a usb to support boot efi or double boot the efi and pcbios?
Find all posts by this user
Quote this message in a reply
2016-07-19, 04:49
Post: #2
RE: can I make a usb key , support efi boot & pcbios
(2016-07-13 13:06)zulinfi Wrote:  hi

How can I make a usb to support boot efi or double boot the efi and pcbios?

I believe the standard solution to this involves creating a hybrid partition table (GPT + MBR on the same disk). I'm thinking you might be able to put GRUB in the MBR (for BIOS iPXE) along with the .EFI iPXE binary inside of an EFI system partition. It definitely wouldn't be pretty.

I haven't personally used iPXE on a UEFI machine yet, so what I said above might be incorrect.
Find all posts by this user
Quote this message in a reply
2016-08-02, 19:15
Post: #3
RE: can I make a usb key , support efi boot & pcbios
There is no need for a GPT partitiontable to have a usb drive being efi bootable.

Some steps

1. make bin/ipxe.usb
2. cat bin/ipxe.usb > /dev/sdx (the usb device)
3. fdisk /dev/sdX
4. create a new partition, change to partition type 0x0c
5. mkfs.vfat the new partition (partitionnumber should be 1)
6. mount and create EFI/boot directory
7. make bin-x86_64-efi/ipxe.efi
8. copy bin-x86_64-efi/ipxe.efi to EFI/boot/bootx64.efi
9. unmount and sync

And you are ready to go

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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