<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Andjames</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Andjames"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Andjames"/>
	<updated>2026-04-30T19:18:16Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Create_UEFI_boot_USB&amp;diff=14495</id>
		<title>Talk:Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Create_UEFI_boot_USB&amp;diff=14495"/>
		<updated>2018-02-14T14:59:48Z</updated>

		<summary type="html">&lt;p&gt;Andjames: /* UEFI boot the easy way */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;del&amp;gt;Ideally, gummiboot [systemd-boot] should be replaced by grub2 now that it has been consumed by systemd.&lt;br /&gt;
--[[User:OxR463|OxR463]] 19:52, 2 June 2017 (UTC)&amp;lt;/del&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hopefully I&#039;m putting this in the correct spot, but I for one would also like to see instructions on configuring a UEFI bootable USB assuming there&#039;s already a boot manager such as rEFInd on the target system.[[User:Siernan|Regards, Siernan]] ([[User talk:Siernan|talk]]) 23:13, 14 August 2017 (UTC)&lt;br /&gt;
&lt;br /&gt;
== UEFI boot the easy way ==&lt;br /&gt;
&lt;br /&gt;
I recently had a requirement for a small secure and complete Linux on a USB stick.&lt;br /&gt;
In order to make it &amp;quot;future proof&amp;quot; the usb should be UEFI bootable.&lt;br /&gt;
And as regular backups are needed the system should be a small as possible.&lt;br /&gt;
&lt;br /&gt;
So after weeks of trial and error I discovered this:&lt;br /&gt;
&lt;br /&gt;
In order to make the USB UEFI bootable issue the command:&lt;br /&gt;
&lt;br /&gt;
[[export USE_EFI=YES]]&lt;br /&gt;
&lt;br /&gt;
before running setup-alpine.&lt;br /&gt;
&lt;br /&gt;
Shrinking the root partition was slightly more complex.&lt;br /&gt;
Edit the &amp;quot;/sbin/setup-disk&amp;quot; script and change line 970 ( or thereabouts ) &lt;br /&gt;
from:&lt;br /&gt;
    [[local root_size=]]&lt;br /&gt;
to:&lt;br /&gt;
    local root_size=${ROOT_SIZE}&lt;br /&gt;
Then&lt;br /&gt;
  [[export SWAP_SIZE=0]]&lt;br /&gt;
  [[export ROOT_SIZE=750]]&lt;br /&gt;
&lt;br /&gt;
Before running setup-alpine as normal.&lt;br /&gt;
&lt;br /&gt;
Then you have a less than 1GB fully fuctioning command line Linux&lt;br /&gt;
which is boots UEFI only.&lt;br /&gt;
&lt;br /&gt;
The setup script creates an annoying dummy swap file in /dev/sdX2&lt;br /&gt;
which can be safely removed.&lt;/div&gt;</summary>
		<author><name>Andjames</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Create_UEFI_boot_USB&amp;diff=14494</id>
		<title>Talk:Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Create_UEFI_boot_USB&amp;diff=14494"/>
		<updated>2018-02-14T14:59:14Z</updated>

		<summary type="html">&lt;p&gt;Andjames: /* UEFI boot the easy way */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;del&amp;gt;Ideally, gummiboot [systemd-boot] should be replaced by grub2 now that it has been consumed by systemd.&lt;br /&gt;
--[[User:OxR463|OxR463]] 19:52, 2 June 2017 (UTC)&amp;lt;/del&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hopefully I&#039;m putting this in the correct spot, but I for one would also like to see instructions on configuring a UEFI bootable USB assuming there&#039;s already a boot manager such as rEFInd on the target system.[[User:Siernan|Regards, Siernan]] ([[User talk:Siernan|talk]]) 23:13, 14 August 2017 (UTC)&lt;br /&gt;
&lt;br /&gt;
== UEFI boot the easy way ==&lt;br /&gt;
&lt;br /&gt;
I recently had a requirement for a small secure and complete Linux on a USB stick.&lt;br /&gt;
In order to make it &amp;quot;future proof&amp;quot; the usb should be UEFI bootable.&lt;br /&gt;
And as regular backups are needed the system should be a small as possible.&lt;br /&gt;
&lt;br /&gt;
So after weeks of trial and error I discovered this:&lt;br /&gt;
&lt;br /&gt;
In order to make the USB UEFI bootable issue the command:&lt;br /&gt;
&lt;br /&gt;
[[export USE_EFI=YES]]&lt;br /&gt;
&lt;br /&gt;
before running setup-alpine.&lt;br /&gt;
&lt;br /&gt;
Shrinking the root partition was slightly more complex.&lt;br /&gt;
Edit the &amp;quot;/sbin/setup-disk&amp;quot; script and change line 970 ( or thereabouts ) &lt;br /&gt;
from:&lt;br /&gt;
    [[local root_size=]]&lt;br /&gt;
to:&lt;br /&gt;
    [[local root_size=${ROOT_SIZE}]]&lt;br /&gt;
Then&lt;br /&gt;
  [[export SWAP_SIZE=0]]&lt;br /&gt;
  [[export ROOT_SIZE=750]]&lt;br /&gt;
&lt;br /&gt;
Before running setup-alpine as normal.&lt;br /&gt;
&lt;br /&gt;
Then you have a less than 1GB fully fuctioning command line Linux&lt;br /&gt;
which is boots UEFI only.&lt;br /&gt;
&lt;br /&gt;
The setup script creates an annoying dummy swap file in /dev/sdX2&lt;br /&gt;
which can be safely removed.&lt;/div&gt;</summary>
		<author><name>Andjames</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Create_UEFI_boot_USB&amp;diff=14493</id>
		<title>Talk:Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Create_UEFI_boot_USB&amp;diff=14493"/>
		<updated>2018-02-14T14:56:48Z</updated>

		<summary type="html">&lt;p&gt;Andjames: /* UEFI boot the easy way */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;del&amp;gt;Ideally, gummiboot [systemd-boot] should be replaced by grub2 now that it has been consumed by systemd.&lt;br /&gt;
--[[User:OxR463|OxR463]] 19:52, 2 June 2017 (UTC)&amp;lt;/del&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hopefully I&#039;m putting this in the correct spot, but I for one would also like to see instructions on configuring a UEFI bootable USB assuming there&#039;s already a boot manager such as rEFInd on the target system.[[User:Siernan|Regards, Siernan]] ([[User talk:Siernan|talk]]) 23:13, 14 August 2017 (UTC)&lt;br /&gt;
&lt;br /&gt;
== UEFI boot the easy way ==&lt;br /&gt;
&lt;br /&gt;
I recently had a requirement for a small secure and complete Linux on a USB stick.&lt;br /&gt;
In order to make it &amp;quot;future proof&amp;quot; the usb should be UEFI bootable.&lt;br /&gt;
And as regular backups are needed the system should be a small as possible.&lt;br /&gt;
&lt;br /&gt;
So after weeks of trial and error I discovered this:&lt;br /&gt;
&lt;br /&gt;
In order to make the USB UEFI bootable issue the command:&lt;br /&gt;
&lt;br /&gt;
[[export USE_EFI=YES]]&lt;br /&gt;
&lt;br /&gt;
before running setup-alpine.&lt;br /&gt;
&lt;br /&gt;
Shrinking the root partition was slightly more complex.&lt;br /&gt;
Edit the &amp;quot;/sbin/setup-disk&amp;quot; script and change line 970 ( or thereabouts ) &lt;br /&gt;
from:&lt;br /&gt;
    [[local root_size=]]&lt;br /&gt;
to:&lt;br /&gt;
    local root_size=${ROOT_SIZE}&lt;br /&gt;
Then&lt;br /&gt;
  [[export SWAP_SIZE=0]]&lt;br /&gt;
  [[export ROOT_SIZE=750]]&lt;br /&gt;
&lt;br /&gt;
Before running setup-alpine as normal.&lt;br /&gt;
&lt;br /&gt;
Then you have a less than 1GB fully fuctioning command line Linux&lt;br /&gt;
which is boots UEFI only.&lt;br /&gt;
&lt;br /&gt;
The setup script creates an annoying dummy save file in /dev/sdX2&lt;br /&gt;
which can be safely removed.&lt;/div&gt;</summary>
		<author><name>Andjames</name></author>
	</entry>
</feed>