<?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=Aerdan</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=Aerdan"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Aerdan"/>
	<updated>2026-04-30T16:36:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Template:Copying_Alpine_to_Flash&amp;diff=4962</id>
		<title>Template:Copying Alpine to Flash</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Template:Copying_Alpine_to_Flash&amp;diff=4962"/>
		<updated>2011-02-08T09:21:59Z</updated>

		<summary type="html">&lt;p&gt;Aerdan: remove now-irrelevant serial console instructions.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Copy Alpine to a {{{1|Flash Medium}}} ==&lt;br /&gt;
&lt;br /&gt;
# Insert the removable {{{1|flash medium (CF or USB stick)}}} into the computer.&lt;br /&gt;
# Determine the name your computer uses for your {{{1|flash medium}}}. The following step is one way to do this.&lt;br /&gt;
#* After inserting the {{{1|flash medium}}}, run the command:&lt;br /&gt;
#* {{Cmd|dmesg}}&lt;br /&gt;
#* At the end of this command you should see the name of your {{{1|flash medium}}}, likely starting with &amp;quot;sd&amp;quot;. (For example: &amp;quot;sda&amp;quot;).&lt;br /&gt;
#* The remainder of this document will assume that your {{{1|flash medium}}} is called /dev/sda&lt;br /&gt;
&lt;br /&gt;
{{Warning|Be very careful about this. You do not want to mistakenly wipe your hard drive if it&#039;s on /dev/sda}}&lt;br /&gt;
&lt;br /&gt;
=== Format {{{1|Flash Medium}}} ===&lt;br /&gt;
{{Cmd|fdisk /dev/sda}}&lt;br /&gt;
* &#039;&#039;&#039;p&#039;&#039;&#039; Print list of partitions&lt;br /&gt;
* &#039;&#039;&#039;d&#039;&#039;&#039; Delete all partitions (this may take a few steps)&lt;br /&gt;
* &#039;&#039;&#039;n&#039;&#039;&#039; Create a new partition&lt;br /&gt;
* &#039;&#039;&#039;p&#039;&#039;&#039; A primary partition&lt;br /&gt;
* &#039;&#039;&#039;1&#039;&#039;&#039; Partition number 1&lt;br /&gt;
** Use defaults for first and last cylinder (just press [Enter] twice).&lt;br /&gt;
* &#039;&#039;&#039;t&#039;&#039;&#039; Change partition type&lt;br /&gt;
* &#039;&#039;&#039;c&#039;&#039;&#039; Type: Win95 FAT32 (LBA)&lt;br /&gt;
* &#039;&#039;&#039;a&#039;&#039;&#039; Make the partition bootable (set boot flag)&lt;br /&gt;
* &#039;&#039;&#039;1&#039;&#039;&#039; Partition number 1&lt;br /&gt;
* &#039;&#039;&#039;w&#039;&#039;&#039; Write your changes to the device&lt;br /&gt;
&lt;br /&gt;
=== Install Syslinux ===&lt;br /&gt;
{{Note|If the following commands fail due to &#039;No such file or directory&#039;, you may have to remove and reinsert the CF card, or even reboot, to get /dev/sda1 to appear}}&lt;br /&gt;
# Install syslinux and dosfstools. If you have booted from an Alpine CD-ROM, use these commands:&lt;br /&gt;
#* {{Cmd|apk add syslinux dosfstools}}&lt;br /&gt;
#* {{Cmd|{{{|dd if=/usr/share/syslinux/mbr.bin of=/dev/sda}}}}}&lt;br /&gt;
# Format the {{{1|flash medium}}} with a VFAT filesystem:&lt;br /&gt;
#* {{Cmd|mkdosfs -F32 /dev/sda1}}&lt;br /&gt;
#* {{Cmd|syslinux /dev/sda1}}&lt;br /&gt;
#* {{Cmd|mkdir -p /media/sda1}}&lt;br /&gt;
#* {{Cmd|mount -t vfat /dev/sda1 /media/sda1}}&lt;br /&gt;
# Mount the Alpine Linux CD-ROM, and copy the files to the {{{1|flash medium}}}&lt;br /&gt;
#* {{Cmd|mount /media/cdrom}}&lt;br /&gt;
#* {{Cmd|cd /media/cdrom}}&lt;br /&gt;
#* {{Cmd|cp -a .alpine-release * /media/sda1/ }}&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
When your USB device is formatted to other filesystem than fat32, you might have to specify the necessary filesystem modules in boot parameters.&lt;br /&gt;
&lt;br /&gt;
To do so, mount the device, and alter the syslinux.cfg file line from &lt;br /&gt;
 append initrd=/boot/grsec.gz alpine_dev=usbdisk:vfat modules=loop,cramfs,sd-mod,usb-storage quiet&lt;br /&gt;
to&lt;br /&gt;
 append initrd=/boot/grsec.gz alpine_dev=usbdisk:vfat modules=loop,cramfs,sd-mod,usb-storage,ext3 quiet&lt;br /&gt;
&lt;br /&gt;
in case of using ext3 formatted partition. Similar procedure might apply to other filesystems (if they are supported by syslinux or other bootloader of your choice and alpine kernel).&lt;br /&gt;
&lt;br /&gt;
Also, specifying waitusb=X option might help with certain usb devices that take a bit longer to register. X stands for the amount of seconds kernel will wait before looking for the installation media.&lt;/div&gt;</summary>
		<author><name>Aerdan</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Create_a_Bootable_Device&amp;diff=4961</id>
		<title>Create a Bootable Device</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Create_a_Bootable_Device&amp;diff=4961"/>
		<updated>2011-02-08T09:20:34Z</updated>

		<summary type="html">&lt;p&gt;Aerdan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing Alpine on a USB Stick - Manual Process =&lt;br /&gt;
&lt;br /&gt;
This process applies to Alpine Linux 1.9.0 or later. See also: [[Installing Alpine on USB Automated]]&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
In order to follow this document, you will need:&lt;br /&gt;
* Alpine Linux CD-ROM ([[Downloads|Download]] a .iso file containing an Alpine release.)&lt;br /&gt;
* A USB drive (flash, external HD, card reader, etc.)&lt;br /&gt;
&lt;br /&gt;
If you already have a running Linux system (Alpine Linux 2.1.x, Debian, Gentoo, RedHat, etc.), log in as root, insert the Alpine Linux CD-ROM into the running Linux computer, and skip the next section.&lt;br /&gt;
&lt;br /&gt;
== Boot Alpine Linux CD-ROM ==&lt;br /&gt;
# Insert the Alpine Linux CD into a computer.&lt;br /&gt;
# Boot the computer from the Alpine Linux CD-ROM.&lt;br /&gt;
#* This step may require changes to the BIOS settings to select booting from CD. &lt;br /&gt;
# Login with the username &#039;&#039;root&#039;&#039;. No password is needed.&lt;br /&gt;
&lt;br /&gt;
{{Copying Alpine to Flash|USB stick}}&lt;br /&gt;
&lt;br /&gt;
{{Installing_Alpine_see_also}}&lt;/div&gt;</summary>
		<author><name>Aerdan</name></author>
	</entry>
</feed>