Scriptable custom image for uEFI

3 posts / 0 new
Last post
#1 Sun, 2016-09-18 11:32
DodoFXP
  • DodoFXP's picture
  • Offline
  • Last seen: 1 year 6 months ago
  • Joined: 2016-07-24

Hi,

I was wondering how one would go about creating a custom remix of Alpine that can be installed (sys) onto a USB that boots from uEFI out of the box?
Preferably it would be scripted to be able to reproduce easily in case changes are needed.

My intention is to build a small, proof-of-concept cluster of Minnowboard Turbot boards which needs to boot from USB sticks and needs to work on UEFI.

Cheers,
DodoFXP

Sat, 2016-10-01 23:37
Head_on_a_Stick
  • Head_on_a_Stick's picture
  • Offline
  • Last seen: 1 week 1 day ago
  • Joined: 2016-05-01

You could use the Aports tree to rebuild the kernel image with CONFIG_CMDLINE enabled and the string set to define the root partition & location of the initramfs then create an EFI system partition on the USB stick and copy the kernel image to $ESP/EFI/BOOT/BOOTX64.EFI -- this should boot automatically on UEFI systems.

See http://www.rodsbooks.com/efi-bootloaders/installation.html#alternative-naming & https://www.kernel.org/doc/Documentation/efi-stub.txt for more on this.

EDIT: I have just noticed this page:

https://wiki.alpinelinux.org/wiki/Create_UEFI_boot_USB

I didn't realise Alpine had gummiboot available in the repositories, that method is much simpler.

Thu, 2016-11-10 19:22
clandmeter
  • clandmeter's picture
  • Offline
  • Last seen: 1 month 2 weeks ago
  • Joined: 2011-05-05

We are currently working on adding UEFI support to our boot media.

Stay tuned!

Log in or register to post comments