wiki:UefiBuild

Instrucciones para construir los ficheros de UEFI

$ cd /tmp
$ cat grub.cfg
loadfont unicode
insmod efi_gop
set gfxterm_font=unicode
terminal_output gfxterm

menuentry "corepure64" {
  linux /boot/vmlinuz64 quiet
  initrd /boot/corepure64.gz
}

$ grub-mkimage --format=x86_64-efi --output=BOOTX64.EFI --config=/tmp/grub.cfg --prefix=/EFI/BOOT part_gpt part_msdos fat ext2 hfs hfsplus iso9660 udf ufs1 ufs2 zfs chain linux boot appleldr ahci configfile normal regexp minicmd reboot halt search search_fs_file search_fs_uuid search_label gfxterm gfxmenu efi_gop efi_uga all_video loadbios gzio echo true probe loadenv bitmap_scale font cat help ls png jpeg tga test at_keyboard usb_keyboard

$ dd if=/dev/zero of=efiboot.img bs=1K count=1440
$ mkdosfs -F 12 efiboot.img
$ mkdir /tmp/image
$ sudo mount efiboot.img /tmp/image
$ sudo mkdir -p /tmp/image/EFI/BOOT
$ sudo cp BOOTX64.EFI /tmp/image/EFI/BOOT
$ sudo umount /tmp/image

[copy existing corepure64 iso files somewhere]
$ cp efiboot.img /somewhere/boot/isolinux
$ mkisofs -pad -l -r -J -V CorePure64 -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -eltorito-alt-boot -e boot/isolinux/efiboot.img -boot-hide-rr-moved -o newCorePure64.iso somewhere

https://help.ubuntu.com/community/UEFIBooting#Setting_up_GRUB2_.28U.29EFI

http://www.rodsbooks.com/efi-bootloaders/

Last modified 19 months ago Last modified on May 5, 2016, 1:44:01 PM