<?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=Bazooka07</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=Bazooka07"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Bazooka07"/>
	<updated>2026-05-06T07:58:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Raspberry_Pi&amp;diff=14139</id>
		<title>Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Raspberry_Pi&amp;diff=14139"/>
		<updated>2017-11-08T22:02:15Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: /* Persistent Installation on RPi3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation]]&lt;br /&gt;
This tutorial will help you install Alpine Linux on your Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
This section will help you format and partition your SD card:&lt;br /&gt;
&lt;br /&gt;
# [http://alpinelinux.org/downloads/ Download] Alpine for Raspberry Pi tarball which is named as &amp;lt;code&amp;gt;alpine-rpi-&amp;lt;version&amp;gt;-armhf.rpi.tar.gz&amp;lt;/code&amp;gt;.  You will need version 3.2.0 or greater if you have a Raspberry Pi 2.&lt;br /&gt;
# Mount your SD card to your workstation&lt;br /&gt;
# Use [https://en.wikipedia.org/wiki/GNOME_Disks gnome-disks] or [http://linux.die.net/man/8/fdisk fdisk] to create a FAT32 partition.  If you are using fdisk, the FAT32 partition type is called &#039;&#039;W95 FAT32 (LBA)&#039;&#039; and its ID is 0xC.&lt;br /&gt;
# Mark the newly created partition as bootable and save&lt;br /&gt;
# Mount the previously created partition&lt;br /&gt;
# Extract the tarball contents to your FAT32 partition&lt;br /&gt;
# Unmount the SD Card.&lt;br /&gt;
{{note| Due to a bug (#7024), you might want to add a &amp;quot;usercfg.txt&amp;quot; file (which is included by config.txt) with &amp;lt;code&amp;gt;enable_uart&amp;amp;#61;1&amp;lt;/code&amp;gt; written in it. Otherwise, the error message &amp;quot;Can&#039;t open /dev/ttyS0&amp;quot; will repeatedly be written to the console.}}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Alpine Linux will be installed as [[Installation#Installation_Handbook|diskless mode]], hence you need to use [[Alpine local backup|Alpine Local Backup (lbu)]] to save your modifications between reboots.  Follow these steps to install Alpine Linux:&lt;br /&gt;
&lt;br /&gt;
# Insert the SD Card into the Raspberry Pi and turn it on&lt;br /&gt;
# Login into the Alpine system as root.  Leave the password empty.&lt;br /&gt;
# Type &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt;&lt;br /&gt;
# Once the installation is complete, commit the changes by typing &amp;lt;code&amp;gt;lbu commit -d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt; to verify that the installation was indeed successful.&lt;br /&gt;
&lt;br /&gt;
== Post Installation ==&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
&lt;br /&gt;
Upon installation, make sure that your system is up-to-date:&lt;br /&gt;
&lt;br /&gt;
{{cmd|apk update&lt;br /&gt;
apk upgrade}}&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to save the changes:&lt;br /&gt;
&lt;br /&gt;
{{cmd|lbu commit -d}}&lt;br /&gt;
&lt;br /&gt;
=== Clock-related error messages ===&lt;br /&gt;
&lt;br /&gt;
During the booting time, you might notice errors related to the hardware clock.  The Raspberry Pi does not have&lt;br /&gt;
a hardware clock and therefore you need to disable the hwclock daemon and enable swclock:&lt;br /&gt;
&lt;br /&gt;
{{cmd|rc-update add swclock boot    # enable the software clock&lt;br /&gt;
rc-update del hwclock boot    # disable the hardware clock}}&lt;br /&gt;
&lt;br /&gt;
Since Raspberry Pi does not have a clock, the Alpine Linux needs to know what the time is by using a&lt;br /&gt;
[https://en.wikipedia.org/wiki/Network_Time_Protocol Network Time Protocol (NTP)] daemon.  Make sure that you a&lt;br /&gt;
NTP daemon installed and running.  If you are not sure, then you can install NTP client by running the following&lt;br /&gt;
command:&lt;br /&gt;
&lt;br /&gt;
{{cmd|setup-ntp}}&lt;br /&gt;
&lt;br /&gt;
Busybox NTP client might be the most lightweight solution.  Save the changes and reboot, once the NTP software is&lt;br /&gt;
installed and running:&lt;br /&gt;
&lt;br /&gt;
{{cmd|lbu commit -d&lt;br /&gt;
reboot}}&lt;br /&gt;
&lt;br /&gt;
After reboot, make sure that the &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; command outputs the correct date and time.&lt;br /&gt;
&lt;br /&gt;
=== X11 Setup ===&lt;br /&gt;
Here are what you need if you want to try and run a single X11 application like a browser kiosk or maybe even a desktop: ​{{cmd|setup-xorg-base &lt;br /&gt;
​apk add xf86-video-fbdev xf86-input-mouse xf86-input-keyboard dbus ​set​xkbmap&lt;br /&gt;
rc-update ​​add dbus}}&lt;br /&gt;
&lt;br /&gt;
Also edit the default X11 module config: /etc/X11/xorg.conf.d/20-modules.conf&lt;br /&gt;
{{cmd|Section &amp;quot;Module&amp;quot;&lt;br /&gt;
    Load &amp;quot;fbdevhw&amp;quot;&lt;br /&gt;
    Load &amp;quot;fb&amp;quot;&lt;br /&gt;
    Load &amp;quot;shadow&amp;quot;&lt;br /&gt;
    Load &amp;quot;shadowfb&amp;quot;&lt;br /&gt;
    Load &amp;quot;dbe&amp;quot;&lt;br /&gt;
    Load &amp;quot;glx&amp;quot;&lt;br /&gt;
    Disable &amp;quot;dri&amp;quot;&lt;br /&gt;
EndSection}}&lt;br /&gt;
&lt;br /&gt;
Commit your changes:&lt;br /&gt;
{{cmd|lbu_commit -d}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to run a browser or desktop. (Guides may follow)&lt;br /&gt;
&lt;br /&gt;
If setup-xorg-base gives you an error regarding rc-update that fails to add mdev to sysinit just run:&lt;br /&gt;
{{cmd|rc-update mdev sysinit}}&lt;br /&gt;
to add it manually. If you skip this the next time you reboot your Raspberry Pi the screen maybe will not display anything on screen.&lt;br /&gt;
&lt;br /&gt;
== Persistent storage ==&lt;br /&gt;
&lt;br /&gt;
=== Loopback image with overlayfs ===&lt;br /&gt;
&lt;br /&gt;
The install is in disk-less mode and forces everything into memory, if you want additional storage we need to create loop-back storage onto the SD mounted with overlayfs.&lt;br /&gt;
&lt;br /&gt;
First make the sd-card writable again and change fstab to always do so:&lt;br /&gt;
{{cmd|mount /media/mmcblk0p1 -o rw,remount&lt;br /&gt;
sed -i &#039;s/vfat\ ro,/vfat\ rw,&#039; /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
Create the loop-back file, this example is 1 GB:&lt;br /&gt;
&lt;br /&gt;
{{cmd|dd if&amp;amp;#61;/dev/zero of&amp;amp;#61;/media/mmcblk0p1/persist.img bs&amp;amp;#61;1024 count&amp;amp;#61;0 seek&amp;amp;#61;1048576}}&lt;br /&gt;
&lt;br /&gt;
Install the ext utilities:&lt;br /&gt;
&lt;br /&gt;
{{cmd|apk add e2fsprogs}}&lt;br /&gt;
&lt;br /&gt;
Format the loop-back file:&lt;br /&gt;
&lt;br /&gt;
{{cmd|mkfs.ext4 /media/mmcblk0p1/persist.img}}&lt;br /&gt;
&lt;br /&gt;
Mount the storage: &lt;br /&gt;
&lt;br /&gt;
{{cmd|echo &amp;quot;/media/mmcblk0p1/persist.img /media/persist ext4 rw,relatime,errors&amp;amp;#61;remount-ro 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
mkdir /media/persist &lt;br /&gt;
mount -a}}&lt;br /&gt;
&lt;br /&gt;
Make the overlay folders, we are doing /usr here, but you can do /home or anything else:&lt;br /&gt;
&lt;br /&gt;
{{cmd|mkdir /media/persist/usr &lt;br /&gt;
mkdir /media/persist/.work &lt;br /&gt;
echo &amp;quot;overlay /usr overlay lowerdir&amp;amp;#61;/usr,upperdir&amp;amp;#61;/media/persist/usr,workdir&amp;amp;#61;/media/persist/.work 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab &lt;br /&gt;
mount -a}}&lt;br /&gt;
&lt;br /&gt;
Your /etc/fstab should look something like this:&lt;br /&gt;
{{Cmd|/dev/cdrom      /media/cdrom    iso9660 noauto,ro 0 0&lt;br /&gt;
/dev/usbdisk    /media/usb      vfat    noauto,ro 0 0&lt;br /&gt;
/dev/mmcblk0p1 /media/mmcblk0p1 vfat rw,relatime,fmask&amp;amp;#61;0022,dmask&amp;amp;#61;0022,errors&amp;amp;#61;remount-ro 0 0&lt;br /&gt;
/media/mmcblk0p1/persist.img /media/persist ext4 rw,relatime,errors&amp;amp;#61;remount-ro 0 0&lt;br /&gt;
overlay /usr overlay lowerdir&amp;amp;#61;/usr,upperdir&amp;amp;#61;/media/persist/usr,workdir&amp;amp;#61;/media/persist/.work 0 0}}&lt;br /&gt;
&lt;br /&gt;
Now commit the changes: (optionally remove the e2fsprogs, but it does contain repair tools)&lt;br /&gt;
{{cmd|lbu_commit -d}}&lt;br /&gt;
&lt;br /&gt;
Remember with this setup, if you install things and you have done this overlay for /usr, you must not commit the &#039;apk add&#039;, otherwise while it boots it will try and install it to memory and not to the persist storage.&lt;br /&gt;
&lt;br /&gt;
If you do want to install something small at boot you can use `apk add` and `lbu commit -d`.&lt;br /&gt;
&lt;br /&gt;
If it is something a bit bigger then you can use `apk add` but then not commit it, it will be persistent (in /user), but do check everything you need is in that directory and not in folders you have not made persistent.&lt;br /&gt;
&lt;br /&gt;
=== Traditional disk-based (sys) installation ===&lt;br /&gt;
&lt;br /&gt;
{{Warning|This isn&#039;t yet supported by the Alpine setup scripts for Raspberry Pi. It requires manual intervention, and might break.}}&lt;br /&gt;
&lt;br /&gt;
It is also possible to switch to a fully disk-based installation: this is not yet formally supported, but can be done somewhat manually. This frees all the memory otherwise needed for the root filesystem, allowing more installed packages.&lt;br /&gt;
&lt;br /&gt;
Split your SD card into two partitions: the FAT32 boot partition described above (in this example it&#039;ll be &amp;lt;code&amp;gt;mmcblk0p1&amp;lt;/code&amp;gt;) , and a second partition to hold the root filesystem (here it&#039;ll be &amp;lt;code&amp;gt;mmcblk0p2&amp;lt;/code&amp;gt;). Boot and configure your diskless system as above, then create a root filesystem:&lt;br /&gt;
&lt;br /&gt;
{{cmd|apk add e2fsprogs&lt;br /&gt;
mkfs.ext4 /dev/mmcblk0p2}}&lt;br /&gt;
&lt;br /&gt;
Now do a disk install via a mountpoint. The &amp;lt;code&amp;gt;setup-disk&amp;lt;/code&amp;gt; script will give some errors about syslinux/extlinux, but you can ignore these: the Raspberry Pi doesn&#039;t need this to boot anyway.&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;mkdir /stage&lt;br /&gt;
mount /dev/mmcblk0p2 /stage&lt;br /&gt;
setup-disk -o /media/mmcblk0p1/MYHOSTNAME.apkovl.tar.gz /stage&lt;br /&gt;
# (ignore errors about syslinux/extlinux)&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Add a line to &amp;lt;code&amp;gt;/stage/etc/fstab&amp;lt;/code&amp;gt; to mount the Pi&#039;s boot partition again:&lt;br /&gt;
&lt;br /&gt;
{{cmd|/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0}}&lt;br /&gt;
&lt;br /&gt;
Now add a &amp;lt;code&amp;gt;root=/dev/mmcblk0p2&amp;lt;/code&amp;gt; parameter to the Pi&#039;s boot command line, either &amp;lt;code&amp;gt;cmdline-rpi2.txt&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cmdline-rpi.txt&amp;lt;/code&amp;gt; depending on model:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;mount -o remount,rw /media/mmcblk0p1&lt;br /&gt;
sed -i &#039;$ s/$/ root=\/dev\/mmcblk0p2/&#039; /media/mmcblk0p1/cmdline-rpi2.txt&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
You might also consider &amp;lt;code&amp;gt;overlaytmpfs=yes&amp;lt;/code&amp;gt; here, which will cause the underlying SD card root filesystem to be mounted read-only, with an overlayed tmpfs for modifications which will be discarded on shutdown.&lt;br /&gt;
&lt;br /&gt;
Beware, though, that &amp;lt;b&amp;gt;the contents of /boot will be ignored when the Pi boots&amp;lt;/b&amp;gt;: it will use the kernel, initramfs, and modloop images from the FAT32 boot partition. To update the kernel, initfs or modules, you will need to manually (generate and) copy these to the boot partition or you could use bind mount so that manually copy the files to boot partition is not needed.&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;echo /media/mmcblk0p1/boot /boot none defaults,bind 0 0 &amp;gt; /etc/fstab&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Persistent Installation on RPi3 ===&lt;br /&gt;
&lt;br /&gt;
See this page : https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi&lt;br /&gt;
&lt;br /&gt;
See https://forum.alpinelinux.org/comment/1084#comment-1084&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Create a bootable SDHC from a Mac]]&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Raspberry_Pi&amp;diff=14138</id>
		<title>Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Raspberry_Pi&amp;diff=14138"/>
		<updated>2017-11-08T22:01:57Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: /* Persistent Installation on RPi3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation]]&lt;br /&gt;
This tutorial will help you install Alpine Linux on your Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
This section will help you format and partition your SD card:&lt;br /&gt;
&lt;br /&gt;
# [http://alpinelinux.org/downloads/ Download] Alpine for Raspberry Pi tarball which is named as &amp;lt;code&amp;gt;alpine-rpi-&amp;lt;version&amp;gt;-armhf.rpi.tar.gz&amp;lt;/code&amp;gt;.  You will need version 3.2.0 or greater if you have a Raspberry Pi 2.&lt;br /&gt;
# Mount your SD card to your workstation&lt;br /&gt;
# Use [https://en.wikipedia.org/wiki/GNOME_Disks gnome-disks] or [http://linux.die.net/man/8/fdisk fdisk] to create a FAT32 partition.  If you are using fdisk, the FAT32 partition type is called &#039;&#039;W95 FAT32 (LBA)&#039;&#039; and its ID is 0xC.&lt;br /&gt;
# Mark the newly created partition as bootable and save&lt;br /&gt;
# Mount the previously created partition&lt;br /&gt;
# Extract the tarball contents to your FAT32 partition&lt;br /&gt;
# Unmount the SD Card.&lt;br /&gt;
{{note| Due to a bug (#7024), you might want to add a &amp;quot;usercfg.txt&amp;quot; file (which is included by config.txt) with &amp;lt;code&amp;gt;enable_uart&amp;amp;#61;1&amp;lt;/code&amp;gt; written in it. Otherwise, the error message &amp;quot;Can&#039;t open /dev/ttyS0&amp;quot; will repeatedly be written to the console.}}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Alpine Linux will be installed as [[Installation#Installation_Handbook|diskless mode]], hence you need to use [[Alpine local backup|Alpine Local Backup (lbu)]] to save your modifications between reboots.  Follow these steps to install Alpine Linux:&lt;br /&gt;
&lt;br /&gt;
# Insert the SD Card into the Raspberry Pi and turn it on&lt;br /&gt;
# Login into the Alpine system as root.  Leave the password empty.&lt;br /&gt;
# Type &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt;&lt;br /&gt;
# Once the installation is complete, commit the changes by typing &amp;lt;code&amp;gt;lbu commit -d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt; to verify that the installation was indeed successful.&lt;br /&gt;
&lt;br /&gt;
== Post Installation ==&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
&lt;br /&gt;
Upon installation, make sure that your system is up-to-date:&lt;br /&gt;
&lt;br /&gt;
{{cmd|apk update&lt;br /&gt;
apk upgrade}}&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to save the changes:&lt;br /&gt;
&lt;br /&gt;
{{cmd|lbu commit -d}}&lt;br /&gt;
&lt;br /&gt;
=== Clock-related error messages ===&lt;br /&gt;
&lt;br /&gt;
During the booting time, you might notice errors related to the hardware clock.  The Raspberry Pi does not have&lt;br /&gt;
a hardware clock and therefore you need to disable the hwclock daemon and enable swclock:&lt;br /&gt;
&lt;br /&gt;
{{cmd|rc-update add swclock boot    # enable the software clock&lt;br /&gt;
rc-update del hwclock boot    # disable the hardware clock}}&lt;br /&gt;
&lt;br /&gt;
Since Raspberry Pi does not have a clock, the Alpine Linux needs to know what the time is by using a&lt;br /&gt;
[https://en.wikipedia.org/wiki/Network_Time_Protocol Network Time Protocol (NTP)] daemon.  Make sure that you a&lt;br /&gt;
NTP daemon installed and running.  If you are not sure, then you can install NTP client by running the following&lt;br /&gt;
command:&lt;br /&gt;
&lt;br /&gt;
{{cmd|setup-ntp}}&lt;br /&gt;
&lt;br /&gt;
Busybox NTP client might be the most lightweight solution.  Save the changes and reboot, once the NTP software is&lt;br /&gt;
installed and running:&lt;br /&gt;
&lt;br /&gt;
{{cmd|lbu commit -d&lt;br /&gt;
reboot}}&lt;br /&gt;
&lt;br /&gt;
After reboot, make sure that the &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; command outputs the correct date and time.&lt;br /&gt;
&lt;br /&gt;
=== X11 Setup ===&lt;br /&gt;
Here are what you need if you want to try and run a single X11 application like a browser kiosk or maybe even a desktop: ​{{cmd|setup-xorg-base &lt;br /&gt;
​apk add xf86-video-fbdev xf86-input-mouse xf86-input-keyboard dbus ​set​xkbmap&lt;br /&gt;
rc-update ​​add dbus}}&lt;br /&gt;
&lt;br /&gt;
Also edit the default X11 module config: /etc/X11/xorg.conf.d/20-modules.conf&lt;br /&gt;
{{cmd|Section &amp;quot;Module&amp;quot;&lt;br /&gt;
    Load &amp;quot;fbdevhw&amp;quot;&lt;br /&gt;
    Load &amp;quot;fb&amp;quot;&lt;br /&gt;
    Load &amp;quot;shadow&amp;quot;&lt;br /&gt;
    Load &amp;quot;shadowfb&amp;quot;&lt;br /&gt;
    Load &amp;quot;dbe&amp;quot;&lt;br /&gt;
    Load &amp;quot;glx&amp;quot;&lt;br /&gt;
    Disable &amp;quot;dri&amp;quot;&lt;br /&gt;
EndSection}}&lt;br /&gt;
&lt;br /&gt;
Commit your changes:&lt;br /&gt;
{{cmd|lbu_commit -d}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to run a browser or desktop. (Guides may follow)&lt;br /&gt;
&lt;br /&gt;
If setup-xorg-base gives you an error regarding rc-update that fails to add mdev to sysinit just run:&lt;br /&gt;
{{cmd|rc-update mdev sysinit}}&lt;br /&gt;
to add it manually. If you skip this the next time you reboot your Raspberry Pi the screen maybe will not display anything on screen.&lt;br /&gt;
&lt;br /&gt;
== Persistent storage ==&lt;br /&gt;
&lt;br /&gt;
=== Loopback image with overlayfs ===&lt;br /&gt;
&lt;br /&gt;
The install is in disk-less mode and forces everything into memory, if you want additional storage we need to create loop-back storage onto the SD mounted with overlayfs.&lt;br /&gt;
&lt;br /&gt;
First make the sd-card writable again and change fstab to always do so:&lt;br /&gt;
{{cmd|mount /media/mmcblk0p1 -o rw,remount&lt;br /&gt;
sed -i &#039;s/vfat\ ro,/vfat\ rw,&#039; /etc/fstab}}&lt;br /&gt;
&lt;br /&gt;
Create the loop-back file, this example is 1 GB:&lt;br /&gt;
&lt;br /&gt;
{{cmd|dd if&amp;amp;#61;/dev/zero of&amp;amp;#61;/media/mmcblk0p1/persist.img bs&amp;amp;#61;1024 count&amp;amp;#61;0 seek&amp;amp;#61;1048576}}&lt;br /&gt;
&lt;br /&gt;
Install the ext utilities:&lt;br /&gt;
&lt;br /&gt;
{{cmd|apk add e2fsprogs}}&lt;br /&gt;
&lt;br /&gt;
Format the loop-back file:&lt;br /&gt;
&lt;br /&gt;
{{cmd|mkfs.ext4 /media/mmcblk0p1/persist.img}}&lt;br /&gt;
&lt;br /&gt;
Mount the storage: &lt;br /&gt;
&lt;br /&gt;
{{cmd|echo &amp;quot;/media/mmcblk0p1/persist.img /media/persist ext4 rw,relatime,errors&amp;amp;#61;remount-ro 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
mkdir /media/persist &lt;br /&gt;
mount -a}}&lt;br /&gt;
&lt;br /&gt;
Make the overlay folders, we are doing /usr here, but you can do /home or anything else:&lt;br /&gt;
&lt;br /&gt;
{{cmd|mkdir /media/persist/usr &lt;br /&gt;
mkdir /media/persist/.work &lt;br /&gt;
echo &amp;quot;overlay /usr overlay lowerdir&amp;amp;#61;/usr,upperdir&amp;amp;#61;/media/persist/usr,workdir&amp;amp;#61;/media/persist/.work 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab &lt;br /&gt;
mount -a}}&lt;br /&gt;
&lt;br /&gt;
Your /etc/fstab should look something like this:&lt;br /&gt;
{{Cmd|/dev/cdrom      /media/cdrom    iso9660 noauto,ro 0 0&lt;br /&gt;
/dev/usbdisk    /media/usb      vfat    noauto,ro 0 0&lt;br /&gt;
/dev/mmcblk0p1 /media/mmcblk0p1 vfat rw,relatime,fmask&amp;amp;#61;0022,dmask&amp;amp;#61;0022,errors&amp;amp;#61;remount-ro 0 0&lt;br /&gt;
/media/mmcblk0p1/persist.img /media/persist ext4 rw,relatime,errors&amp;amp;#61;remount-ro 0 0&lt;br /&gt;
overlay /usr overlay lowerdir&amp;amp;#61;/usr,upperdir&amp;amp;#61;/media/persist/usr,workdir&amp;amp;#61;/media/persist/.work 0 0}}&lt;br /&gt;
&lt;br /&gt;
Now commit the changes: (optionally remove the e2fsprogs, but it does contain repair tools)&lt;br /&gt;
{{cmd|lbu_commit -d}}&lt;br /&gt;
&lt;br /&gt;
Remember with this setup, if you install things and you have done this overlay for /usr, you must not commit the &#039;apk add&#039;, otherwise while it boots it will try and install it to memory and not to the persist storage.&lt;br /&gt;
&lt;br /&gt;
If you do want to install something small at boot you can use `apk add` and `lbu commit -d`.&lt;br /&gt;
&lt;br /&gt;
If it is something a bit bigger then you can use `apk add` but then not commit it, it will be persistent (in /user), but do check everything you need is in that directory and not in folders you have not made persistent.&lt;br /&gt;
&lt;br /&gt;
=== Traditional disk-based (sys) installation ===&lt;br /&gt;
&lt;br /&gt;
{{Warning|This isn&#039;t yet supported by the Alpine setup scripts for Raspberry Pi. It requires manual intervention, and might break.}}&lt;br /&gt;
&lt;br /&gt;
It is also possible to switch to a fully disk-based installation: this is not yet formally supported, but can be done somewhat manually. This frees all the memory otherwise needed for the root filesystem, allowing more installed packages.&lt;br /&gt;
&lt;br /&gt;
Split your SD card into two partitions: the FAT32 boot partition described above (in this example it&#039;ll be &amp;lt;code&amp;gt;mmcblk0p1&amp;lt;/code&amp;gt;) , and a second partition to hold the root filesystem (here it&#039;ll be &amp;lt;code&amp;gt;mmcblk0p2&amp;lt;/code&amp;gt;). Boot and configure your diskless system as above, then create a root filesystem:&lt;br /&gt;
&lt;br /&gt;
{{cmd|apk add e2fsprogs&lt;br /&gt;
mkfs.ext4 /dev/mmcblk0p2}}&lt;br /&gt;
&lt;br /&gt;
Now do a disk install via a mountpoint. The &amp;lt;code&amp;gt;setup-disk&amp;lt;/code&amp;gt; script will give some errors about syslinux/extlinux, but you can ignore these: the Raspberry Pi doesn&#039;t need this to boot anyway.&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;mkdir /stage&lt;br /&gt;
mount /dev/mmcblk0p2 /stage&lt;br /&gt;
setup-disk -o /media/mmcblk0p1/MYHOSTNAME.apkovl.tar.gz /stage&lt;br /&gt;
# (ignore errors about syslinux/extlinux)&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Add a line to &amp;lt;code&amp;gt;/stage/etc/fstab&amp;lt;/code&amp;gt; to mount the Pi&#039;s boot partition again:&lt;br /&gt;
&lt;br /&gt;
{{cmd|/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0}}&lt;br /&gt;
&lt;br /&gt;
Now add a &amp;lt;code&amp;gt;root=/dev/mmcblk0p2&amp;lt;/code&amp;gt; parameter to the Pi&#039;s boot command line, either &amp;lt;code&amp;gt;cmdline-rpi2.txt&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cmdline-rpi.txt&amp;lt;/code&amp;gt; depending on model:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;mount -o remount,rw /media/mmcblk0p1&lt;br /&gt;
sed -i &#039;$ s/$/ root=\/dev\/mmcblk0p2/&#039; /media/mmcblk0p1/cmdline-rpi2.txt&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
You might also consider &amp;lt;code&amp;gt;overlaytmpfs=yes&amp;lt;/code&amp;gt; here, which will cause the underlying SD card root filesystem to be mounted read-only, with an overlayed tmpfs for modifications which will be discarded on shutdown.&lt;br /&gt;
&lt;br /&gt;
Beware, though, that &amp;lt;b&amp;gt;the contents of /boot will be ignored when the Pi boots&amp;lt;/b&amp;gt;: it will use the kernel, initramfs, and modloop images from the FAT32 boot partition. To update the kernel, initfs or modules, you will need to manually (generate and) copy these to the boot partition or you could use bind mount so that manually copy the files to boot partition is not needed.&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;echo /media/mmcblk0p1/boot /boot none defaults,bind 0 0 &amp;gt; /etc/fstab&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Persistent Installation on RPi3 ===&lt;br /&gt;
&lt;br /&gt;
See this page : https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi&lt;br /&gt;
See https://forum.alpinelinux.org/comment/1084#comment-1084&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Create a bootable SDHC from a Mac]]&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14129</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14129"/>
		<updated>2017-11-07T08:44:25Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: /* POST-INSTALLATION */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
== PREPARATION ==&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card with size of 16Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named &#039;&#039;&#039;usercfg.txt&#039;&#039;&#039; with the unique line :&lt;br /&gt;
&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
&lt;br /&gt;
== INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
So, execute the following commands :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the best method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his hardware clock. So, synchronize with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk0p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the unused symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the right place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;br /&gt;
&lt;br /&gt;
If a hard disk is connected via usb, you can replace above /dev/mmcblk0p2 by /dev/sda1, for example.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t like sed and regular expressions, you can use nano editor after executing the following command :&lt;br /&gt;
&lt;br /&gt;
apk add nano&lt;br /&gt;
&lt;br /&gt;
== POST-INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi (RPI) has no battery to keep the time updated. So, we need to enable the right service to  synchronize with a ntp server:&lt;br /&gt;
&lt;br /&gt;
* rc-update del hwclock boot&lt;br /&gt;
* rc-update add swclock boot&lt;br /&gt;
* service hwclock stop&lt;br /&gt;
* service swclock start&lt;br /&gt;
&lt;br /&gt;
Update and upgrade the system :&lt;br /&gt;
&lt;br /&gt;
* apk update&lt;br /&gt;
* apk upgrade&lt;br /&gt;
&lt;br /&gt;
If you want a cool editor (&#039;&#039;vim&#039;&#039;), a files manager (&#039;&#039;mc&#039;&#039;), which tasks are running (&#039;&#039;htop&#039;&#039;), which services are starting on  the boot process, add the right packages :&lt;br /&gt;
&lt;br /&gt;
* apk add vim mc htop&lt;br /&gt;
* htop&lt;br /&gt;
* rc-update&lt;br /&gt;
&lt;br /&gt;
The RPI 3B has wifi on board for networking. So, start service for the encrypted key on wpa2 protocol :&lt;br /&gt;
&lt;br /&gt;
* apk add wpa_supplicant&lt;br /&gt;
* rc-update add wpa_supplicant boot&lt;br /&gt;
* service wpa_supplicant start&lt;br /&gt;
* setup-interface (&#039;&#039;replace IP address by dhcp for all the interfaces if necessary, select the SSID network for wifi and add password&#039;&#039;)&lt;br /&gt;
* ip addr (&#039;&#039;to know the IP address for all interfaces&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
If you want to connect on your remote RPI via ssh, an additional user (&#039;&#039;foo&#039;&#039;) and sudo package are required because it&#039;s forbidden to conect as root :&lt;br /&gt;
&lt;br /&gt;
* apk add sudo&lt;br /&gt;
* adduser foo&lt;br /&gt;
* adduser foo wheel&lt;br /&gt;
* visudo (&#039;&#039;uncomment line #82 with &amp;quot;wheel ALL=(ALL) ALL&amp;quot;. If vim is installed, save the changes by typing &amp;quot;Esc :x&amp;quot;&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14128</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14128"/>
		<updated>2017-11-07T08:41:43Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: /* POST-INSTALLATION */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
== PREPARATION ==&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card with size of 16Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named &#039;&#039;&#039;usercfg.txt&#039;&#039;&#039; with the unique line :&lt;br /&gt;
&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
&lt;br /&gt;
== INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
So, execute the following commands :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the best method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his hardware clock. So, synchronize with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk0p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the unused symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the right place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;br /&gt;
&lt;br /&gt;
If a hard disk is connected via usb, you can replace above /dev/mmcblk0p2 by /dev/sda1, for example.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t like sed and regular expressions, you can use nano editor after executing the following command :&lt;br /&gt;
&lt;br /&gt;
apk add nano&lt;br /&gt;
&lt;br /&gt;
== POST-INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi (RPI) has no battery to keep the time updated. So, we need to enable the right service to  synchronize with a ntp server:&lt;br /&gt;
&lt;br /&gt;
* rc-update del hwclock boot&lt;br /&gt;
* rc-update add swclock boot&lt;br /&gt;
* service hwclock stop&lt;br /&gt;
* service swclock start&lt;br /&gt;
&lt;br /&gt;
Update and upgrade the system :&lt;br /&gt;
&lt;br /&gt;
* apk update&lt;br /&gt;
* apk upgrade&lt;br /&gt;
&lt;br /&gt;
If you want a cool editor (&#039;&#039;vim&#039;&#039;), a files manager (&#039;&#039;mc&#039;&#039;), which tasks are running (&#039;&#039;htop&#039;&#039;), which services are starting on  the boot process, add the right packages :&lt;br /&gt;
&lt;br /&gt;
* apk add vim mc htop&lt;br /&gt;
* rc-update&lt;br /&gt;
&lt;br /&gt;
The RPI 3B has wifi for networking. So, start service for the encrypted key on wpa2 protocol :&lt;br /&gt;
&lt;br /&gt;
* apk add wpa_supplicant&lt;br /&gt;
* rc-update add wpa_supplicant boot&lt;br /&gt;
* service wpa_supplicant start&lt;br /&gt;
* setup-interface (&#039;&#039;replace IP address by dhcp for all the interfaces if necessary, select the SSID network for wifi and add password&#039;&#039;)&lt;br /&gt;
* ip addr (&#039;&#039;to know the IP address for all interfaces&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
If you want to connect on your remote RPI via ssh, an additional user (&#039;&#039;foo&#039;&#039;) and sudo package are required because it&#039;s forbidden to conect as root :&lt;br /&gt;
&lt;br /&gt;
* apk add sudo&lt;br /&gt;
* adduser foo&lt;br /&gt;
* adduser foo wheel&lt;br /&gt;
* visudo (&#039;&#039;uncomment line #82 with &amp;quot;wheel ALL=(ALL) ALL&amp;quot;. If vim is installed, save the changes by typing &amp;quot;Esc :x&amp;quot;&#039;&#039;)&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14126</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14126"/>
		<updated>2017-11-07T08:13:44Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: /* INSTALLATION */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
== PREPARATION ==&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card with size of 16Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named &#039;&#039;&#039;usercfg.txt&#039;&#039;&#039; with the unique line :&lt;br /&gt;
&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
&lt;br /&gt;
== INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
So, execute the following commands :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the best method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his hardware clock. So, synchronize with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk0p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the unused symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the right place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;br /&gt;
&lt;br /&gt;
If a hard disk is connected via usb, you can replace above /dev/mmcblk0p2 by /dev/sda1, for example.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t like sed and regular expressions, you can use nano editor after executing the following command :&lt;br /&gt;
&lt;br /&gt;
apk add nano&lt;br /&gt;
&lt;br /&gt;
== POST-INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
Must be continued ....&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14125</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14125"/>
		<updated>2017-11-07T08:10:23Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: /* PREPARATION */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
== PREPARATION ==&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card with size of 16Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named &#039;&#039;&#039;usercfg.txt&#039;&#039;&#039; with the unique line :&lt;br /&gt;
&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
&lt;br /&gt;
== INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
So, execute the following commands :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the best method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his hardware clock. So, synchronize with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk2p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the useful symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the good place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;br /&gt;
&lt;br /&gt;
If a hard disk is connected via usb, you can replace above /dev/mmcblk0p2 by /dev/sda1, for example.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t like sed and regular expressions, you can use nano editor after executing the following command :&lt;br /&gt;
&lt;br /&gt;
apk add nano&lt;br /&gt;
&lt;br /&gt;
== POST-INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
Must be continued ....&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14123</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14123"/>
		<updated>2017-11-06T22:19:00Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: /* INSTALLATION */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
== PREPARATION ==&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card of size of 16Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named &#039;&#039;&#039;usercfg.txt&#039;&#039;&#039; with the unique line :&lt;br /&gt;
&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
&lt;br /&gt;
== INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
So, execute the following commands :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the best method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his hardware clock. So, synchronize with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk2p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the useful symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the good place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;br /&gt;
&lt;br /&gt;
If a hard disk is connected via usb, you can replace above /dev/mmcblk0p2 by /dev/sda1, for example.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t like sed and regular expressions, you can use nano editor after executing the following command :&lt;br /&gt;
&lt;br /&gt;
apk add nano&lt;br /&gt;
&lt;br /&gt;
== POST-INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
Must be continued ....&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14122</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14122"/>
		<updated>2017-11-06T22:17:26Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: /* PREPARATION */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
== PREPARATION ==&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card of size of 16Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named &#039;&#039;&#039;usercfg.txt&#039;&#039;&#039; with the unique line :&lt;br /&gt;
&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
&lt;br /&gt;
== INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
So, execute the following commands :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the best method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his hardware clock. So, synchronize with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk2p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the useful symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the good place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;br /&gt;
&lt;br /&gt;
If a hard disk is connected via usb, you can replace above /dev/mmcblk0p2 by /dev/sda1, for example.&lt;br /&gt;
&lt;br /&gt;
== POST-INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
Must be continued ....&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14121</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14121"/>
		<updated>2017-11-06T22:16:41Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: /* INSTALLATION */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
== PREPARATION ==&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card of size of 16Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named usercfg.txt with the unique line :&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
So, execute the following commands :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the best method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his hardware clock. So, synchronize with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk2p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the useful symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the good place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;br /&gt;
&lt;br /&gt;
If a hard disk is connected via usb, you can replace above /dev/mmcblk0p2 by /dev/sda1, for example.&lt;br /&gt;
&lt;br /&gt;
== POST-INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
Must be continued ....&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14120</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14120"/>
		<updated>2017-11-06T22:14:57Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
== PREPARATION ==&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card of size of 16Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named usercfg.txt with the unique line :&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
So, execute the following commands :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the better method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his clock. So, synchro with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk2p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the useful symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the good place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;br /&gt;
&lt;br /&gt;
If a hard disk is connected via usb, you can replace above /dev/mmcblk0p2 by /dev/sda1, for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== POST-INSTALLATION ==&lt;br /&gt;
&lt;br /&gt;
Must be continued ....&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14119</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14119"/>
		<updated>2017-11-06T22:10:20Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card of size of 16Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named usercfg.txt with the unique line :&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
&lt;br /&gt;
So, execute the following commands :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the better method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his clock. So, synchro with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk2p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the useful symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the good place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14118</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14118"/>
		<updated>2017-11-06T22:09:53Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card of size of 16Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16).&lt;br /&gt;
&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named usercfg.txt with the unique line :&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
So, execute the following command :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the better method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his clock. So, synchro with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk2p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the useful symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the good place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14117</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14117"/>
		<updated>2017-11-06T22:08:14Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card of size of 16Go or more, create 2 partitions :&lt;br /&gt;
* First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
* Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16)&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named usercfg.txt with the unique line :&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
So, execute the following command :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the better method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his clock. So, synchro with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk2p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the useful symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the good place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14116</id>
		<title>Classic install or sys mode on Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Classic_install_or_sys_mode_on_Raspberry_Pi&amp;diff=14116"/>
		<updated>2017-11-06T22:06:28Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: Installation in classic mode on the Raspberry Pi (sys mode)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Howto for classic installation or &amp;quot;sys mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This method works with a desktop PC under Ubuntu and other linuxes&lt;br /&gt;
&lt;br /&gt;
Download archive of Alpinelinux for Rasperry Pi :&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
&lt;br /&gt;
On a class 10 sd-card, create 2 partitions&lt;br /&gt;
First in fat16 with size of 128Ko. Check boot and lba flags&lt;br /&gt;
Second in ext4 with the remaining place&lt;br /&gt;
&lt;br /&gt;
Eject and insert your SD-card to recognize all the partitions&lt;br /&gt;
&lt;br /&gt;
Now go inside the first partition (fat16)&lt;br /&gt;
Untar the archive with tar:&lt;br /&gt;
tar zxvf ~/Download/alpine-rpi-3.6.2-armhf.tar.gz&lt;br /&gt;
Because a bug, it&#039;s recommended to add in the partition  a file named usercfg.txt with the unique line :&lt;br /&gt;
enable_uart=1&lt;br /&gt;
&lt;br /&gt;
Eject properly the sd card, insert it in the Raspberry Pi, plug a usb keyboard, an HDMI and a network cables, and power on.&lt;br /&gt;
As a prompt is displaying, connect as root without password.&lt;br /&gt;
So, execute the following command :&lt;br /&gt;
* setup-alpine (&#039;&#039;set the mapping keyboard, the timezone, how to connect to the network (dhcp is the better method), say &amp;quot;no&amp;quot; at &amp;quot;save config&amp;quot; and cache&#039;&#039;)&lt;br /&gt;
* apk update&lt;br /&gt;
* apk add chrony (&#039;&#039;Raspberry Pi has no battery for his clock. So, synchro with a ntp server&#039;&#039;)&lt;br /&gt;
* service chronyd restart&lt;br /&gt;
* mount /dev/mmcblk2p2 /mnt (&#039;&#039;The second partition in ext4 format where Alpinuxlinux is installing in sys mode&#039;&#039;)&lt;br /&gt;
* setup -m sys /mnt&lt;br /&gt;
* mount -o remount,rw /dev/mmcblk0p1 (&#039;&#039;An update in the first partition is required for the next reboot&#039;&#039;)&lt;br /&gt;
* rm -f /media/mmcblk0p1/boot/* (&#039;&#039;clean up the boot folder in the first partition to drop unused files&#039;&#039;)&lt;br /&gt;
* cd /mnt (&#039;&#039;We are in the second partition&#039;&#039;)&lt;br /&gt;
* rm boot/boot (&#039;&#039;Drop the useful symbolink link&#039;&#039;)&lt;br /&gt;
* mv boot/* /media/mmcblk0p1/boot/ (&#039;&#039;Move the image and init ram for AlpineLinux at the good place&#039;&#039;)&lt;br /&gt;
* rm -Rf boot&lt;br /&gt;
* mkdir media/mmcblk1p1 (&#039;&#039;It&#039;s the mount point for the first partition on the next reboot&#039;&#039;)&lt;br /&gt;
* ln -s media/mmcblkp1/boot boot (&#039;&#039;Don&#039;t worry about the error&#039;&#039;)&lt;br /&gt;
* echo &amp;quot;/dev/mmcblk0p1 /media/mmcblk0p1 vfat defaults 0 0&amp;quot; &amp;gt;&amp;gt; etc/fstab (&#039;&#039;Update /etc/fstab&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/cdrom/d&#039; etc/fstab (&#039;&#039;Of course, you don&#039;t have any cdrom or floppy on the Raspberry Pi&#039;&#039;)&lt;br /&gt;
* sed -i &#039;/floppy/d&#039; etc/fstab&lt;br /&gt;
* sed -i &#039;/edge/s/^#//&#039; etc/apk/repositories (&#039;&#039;Enable the repository for the community if you want vim, mc, php, apache, nginx, ...&#039;&#039;)&lt;br /&gt;
* cd /media/mmcblk0p1&lt;br /&gt;
* sed -i &#039;s/^/root=\/dev\/mmcblk0p2 /&#039; cmdline.txt (&#039;&#039;Tell for the next boot that the root filesystem is on the second partition&#039;&#039;)&lt;br /&gt;
* reboot &lt;br /&gt;
&lt;br /&gt;
That works on Raspberry Pi 3B and 1B. But if you have the 1B version, let&#039;s be very, very patient (several tens of minutes)&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Tutorials_and_Howtos&amp;diff=14115</id>
		<title>Tutorials and Howtos</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Tutorials_and_Howtos&amp;diff=14115"/>
		<updated>2017-11-06T21:24:47Z</updated>

		<summary type="html">&lt;p&gt;Bazooka07: /* Raspberry Pi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:package_edutainment.svg|right|link=]]&lt;br /&gt;
{{TOC left}}&lt;br /&gt;
&#039;&#039;&#039;Welcome to Tutorials and Howtos, a place of basic and advanced configuration tasks for your Alpine Linux.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The tutorials are hands-on and the reader is expected to try and achieve the goals described in each step, possibly with the help of a good example. The output in one step is the starting point for the following step.&lt;br /&gt;
&lt;br /&gt;
Howtos are smaller articles explaining how to perform a particular task with Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
We encourage people to send in both complete articles as well as requesting topics to be covered. If you think you have the skills and knowledge to write an Alpine Linux related article please do so on this Wiki. If you want to request a topic, please add your request in this page&#039;s [[Talk:Tutorials_and_Howtos|Discussion]].&lt;br /&gt;
&lt;br /&gt;
{{Clear}}&lt;br /&gt;
== Storage ==&lt;br /&gt;
&lt;br /&gt;
* [[Alpine local backup|Alpine local backup (lbu)]] &#039;&#039;(Permanently store your modifications in case your box needs reboot)&#039;&#039; &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
** [[Back Up a Flash Memory Installation]] &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
** [[Manually editing a existing apkovl]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up disks manually]] &amp;lt;!-- Installation and Storage --&amp;gt;&lt;br /&gt;
* [[Setting up a software RAID array]]&lt;br /&gt;
&amp;lt;!-- ** [[Setting up a /var partition on software IDE raid1]]  Obsolete, Installation and Storage --&amp;gt; &lt;br /&gt;
* [[Raid Administration]]&lt;br /&gt;
* [[Setting up encrypted volumes with LUKS]]&lt;br /&gt;
* [[Setting up LVM on LUKS]]&lt;br /&gt;
* [[Setting up Logical Volumes with LVM]]&lt;br /&gt;
** [[Setting up LVM on GPT-labeled disks]]&lt;br /&gt;
** [[Installing on GPT LVM]]&lt;br /&gt;
* [[Filesystems|Formatting HD/Floppy/Other]] &amp;lt;!-- just a stub --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up iSCSI]]&lt;br /&gt;
** [[iSCSI Raid and Clustered File Systems]]&lt;br /&gt;
* [[Setting up NBD]]&lt;br /&gt;
* [[High performance SCST iSCSI Target on Linux software Raid]] &#039;&#039;(deprecated)&#039;&#039; &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
* [[Linux iSCSI Target (TCM)]]&lt;br /&gt;
* [[Disk Replication with DRBD]] &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Burning ISOs]] &amp;lt;!-- just some links now --&amp;gt;&lt;br /&gt;
* [[Partitioning and Bootmanagers]]&lt;br /&gt;
* [[Migrating data]]&lt;br /&gt;
* [[Create a bootable SDHC from a Mac]]&lt;br /&gt;
* [[Alpine on ARM]]&lt;br /&gt;
&lt;br /&gt;
== Networking ==&lt;br /&gt;
&lt;br /&gt;
* [[Configure Networking]]&lt;br /&gt;
* [[Connecting to a wireless access point]]&lt;br /&gt;
* [[Bonding]]&lt;br /&gt;
* [[Vlan]]&lt;br /&gt;
* [[Bridge]]&lt;br /&gt;
* [[OpenVSwitch]]&lt;br /&gt;
* [[How to configure static routes]]&lt;br /&gt;
&lt;br /&gt;
* [[Alpine Wall]] - [[How-To Alpine Wall]] - [[Alpine Wall User&#039;s Guide]] &#039;&#039;(a new firewall management framework)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[PXE boot]]&lt;br /&gt;
&lt;br /&gt;
* [[Using serial modem]]&lt;br /&gt;
* [[Using HSDPA modem]]&lt;br /&gt;
* [[Setting up Satellite Internet Connection]]&lt;br /&gt;
* [[Using Alpine on Windows domain with IPSEC isolation]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a ssh-server]] &#039;&#039;(Using ssh is a good way to administer your box remotely)&#039;&#039; &amp;lt;!-- Server and Networking --&amp;gt;&lt;br /&gt;
* [[How to setup a wireless access point]] &#039;&#039;(Setting up Secure Wireless AP w/ WPA encryption with bridge to wired network)&#039;&#039;&lt;br /&gt;
* [[Setting up a OpenVPN server with Alpine]] &#039;&#039;(Allowing single users or devices to remotely connect to your network)&#039;&#039;&lt;br /&gt;
&amp;lt;!-- [[Using Racoon for Remote Sites]] is a different VPN tunnelling method, but that article is just a stub --&amp;gt;&lt;br /&gt;
* [[Experiences with OpenVPN-client on ALIX.2D3]]  &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Generating SSL certs with ACF]] &amp;lt;!-- Generating SSL certs with ACF 1.9 --&amp;gt;&lt;br /&gt;
* [[Setting up unbound DNS server]]&lt;br /&gt;
* [[Setting up nsd DNS server]]&lt;br /&gt;
* [[TinyDNS Format]]&lt;br /&gt;
* [[Fault Tolerant Routing with Alpine Linux]] &amp;lt;!-- solution --&amp;gt;&lt;br /&gt;
* [[Freeradius Active Directory Integration]]&lt;br /&gt;
* [[Multi_ISP]] &#039;&#039;(Dual-ISP setup with load-balancing and automatic failover)&#039;&#039;&lt;br /&gt;
* [[OwnCloud]] &#039;&#039;(Installing OwnCloud)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Seafile: setting up your own private cloud]]&lt;br /&gt;
&lt;br /&gt;
== Post-Install ==&lt;br /&gt;
&amp;lt;!-- If you edit this, please coordinate with Installation#Post-Install and Developer_Documentation#Package_management.  Note that these three sections are not exact duplicates. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Alpine Linux package management|Package Management (apk)]] &#039;&#039;(How to add/remove packages on your Alpine)&#039;&#039;&lt;br /&gt;
   &amp;lt;!-- [[Alpine Linux package management#Local_Cache|How to enable APK caching]] --&amp;gt;&lt;br /&gt;
** [[Comparison with other distros]]&lt;br /&gt;
* [[Alpine local backup|Alpine local backup (lbu)]] &#039;&#039;(Permanently store your modifications in case your box needs reboot)&#039;&#039;&lt;br /&gt;
** [[Back Up a Flash Memory Installation]] &amp;lt;!-- new --&amp;gt;&lt;br /&gt;
** [[Manually editing a existing apkovl]]&lt;br /&gt;
* [[Alpine Linux Init System|Init System (OpenRC)]] &#039;&#039;(Configure a service to automatically boot at next reboot)&#039;&#039;&lt;br /&gt;
** [[Multiple Instances of Services]]&lt;br /&gt;
   &amp;lt;!-- [[Writing Init Scripts]] --&amp;gt;&lt;br /&gt;
* [[Alpine setup scripts#setup-xorg-base|Setting up Xorg]]&lt;br /&gt;
* [[Upgrading Alpine]]&lt;br /&gt;
&amp;lt;!-- Obsolete&lt;br /&gt;
 [[Upgrading Alpine - v1.9.x]]&lt;br /&gt;
 [[Upgrading Alpine - CD v1.8.x]]&lt;br /&gt;
 [[Upgrading Alpine - HD v1.8.x]]&lt;br /&gt;
 [[Upgrade to repository main|Upgrading to signed repositories]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a ssh-server]] &#039;&#039;(Using ssh is a good way to administer your box remotely)&#039;&#039;&lt;br /&gt;
* [[setup-acf]] &#039;&#039;(Configures ACF (webconfiguration) so you can manage your box through https)&#039;&#039;&lt;br /&gt;
* [[Changing passwords for ACF|Changing passwords]]&lt;br /&gt;
* [[Ansible]] &#039;&#039;(Configuration management)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Enable Serial Console on Boot]]&lt;br /&gt;
&amp;lt;!-- Obsolete?&lt;br /&gt;
* [[Error message on boot: Address space collision: host bridge window conflicts with Adaptor ROM]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* [[How to get regular stuff working]] &#039;&#039;some notes on need-to-know topics&#039;&#039;&lt;br /&gt;
* [[Installing Oracle Java]]&lt;br /&gt;
* [[Rsnapshot|Setting up periodic backups with &amp;lt;samp&amp;gt;rsnapshot&amp;lt;/samp&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
== Virtualization==&lt;br /&gt;
&lt;br /&gt;
* [[Xen Dom0]] &#039;&#039;(Setting up Alpine as a dom0 for Xen hypervisor)&#039;&#039;&lt;br /&gt;
* [[Xen Dom0 on USB or SD]]&lt;br /&gt;
* [[Create Alpine Linux PV DomU]]&lt;br /&gt;
* [[Xen PCI Passthrough]]&lt;br /&gt;
* [[Xen LiveCD]]&lt;br /&gt;
* [[qemu]]&lt;br /&gt;
* [[KVM]] &#039;&#039;(Setting up Alpine as a KVM hypervisor)&#039;&#039;&lt;br /&gt;
* [[LXC]] &#039;&#039;(Setting up a Linux container in Alpine Linux)&#039;&#039;&lt;br /&gt;
* [[Docker]]&lt;br /&gt;
* [[Install_Alpine_on_VirtualBox]]&lt;br /&gt;
&lt;br /&gt;
== Desktop Environment ==&lt;br /&gt;
&lt;br /&gt;
* [[Awesome(wm) Setup]]&lt;br /&gt;
* [[EyeOS]] &#039;&#039;(Cloud Computing Desktop)&#039;&#039;&lt;br /&gt;
* [[Gnome Setup]]&lt;br /&gt;
* [[MATE|MATE Setup]]&lt;br /&gt;
* [[Oneye]] &#039;&#039;(Cloud Computing Desktop - Dropbox Alternative)&#039;&#039;&lt;br /&gt;
* [[Owncloud]] &#039;&#039;(Cloud Computing Desktop - Dropbox Alternative)&#039;&#039;&lt;br /&gt;
** (to be merged with [[OwnCloud]] &#039;&#039;(Your personal Cloud for storing and sharing your data on-line)&#039;&#039;)&lt;br /&gt;
* [[Remote Desktop Server]]&lt;br /&gt;
* [[Suspend on LID close]]&lt;br /&gt;
* [[XFCE Setup]] and [[Xfce Desktop|Desktop Ideas]]&lt;br /&gt;
* [[Installing Adobe flash player for Firefox]]&lt;br /&gt;
* [[Sound Setup]]&lt;br /&gt;
* [[Printer Setup]]&lt;br /&gt;
* [[Default applications]]&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi ==&lt;br /&gt;
&lt;br /&gt;
* [[Raspberry Pi|Raspberry Pi (Installation)]]&lt;br /&gt;
* [[Classic install or sys mode on Raspberry Pi]]&lt;br /&gt;
* [[RPI Video Receiver]] &#039;&#039;(network video decoder using Rasperry Pi and omxplayer)&#039;&#039;&lt;br /&gt;
* [[Linux Router with VPN on a Raspberry Pi]]&lt;br /&gt;
* [[Raspberry Pi 3 - Configuring it as wireless access point -AP Mode]]&lt;br /&gt;
* [[Raspberry Pi 3 - Setting Up Bluetooth]]&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
&lt;br /&gt;
=== Telephony ===&lt;br /&gt;
* [[Setting up Zaptel/Asterisk on Alpine]]&lt;br /&gt;
** [[Setting up Streaming an Asterisk Channel]]&lt;br /&gt;
* [[Freepbx on Alpine Linux]]&lt;br /&gt;
* [[FreePBX_V3]] &#039;&#039;(FreeSWITCH, Asterisk GUI web acces tool)&#039;&#039;&lt;br /&gt;
* [[2600hz]] &#039;&#039;(FreeSWITCH, Asterisk GUI web access tool)&#039;&#039;&lt;br /&gt;
* [[Kamailio]] &#039;&#039;(SIP Server, formerly OpenSER)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Mail ===&lt;br /&gt;
* [[Hosting services on Alpine]] &#039;&#039;(Hosting mail, webservices and other services)&#039;&#039;&lt;br /&gt;
** [[Hosting Web/Email services on Alpine]]&lt;br /&gt;
* [[ISP Mail Server HowTo]] &amp;lt;!-- solution, Mail --&amp;gt;&lt;br /&gt;
** [[ISP Mail Server Upgrade 2.x]]&lt;br /&gt;
** [[ISP Mail Server 2.x HowTo]] &#039;&#039;(Beta, please test)&#039;&#039;&lt;br /&gt;
** [[ISP Mail Server 3.x HowTo]]&lt;br /&gt;
* [[Roundcube]] &#039;&#039;(Webmail system)&#039;&#039;&lt;br /&gt;
* [[Setting up postfix with virtual domains]]&lt;br /&gt;
* [[Protecting your email server with Alpine]]&lt;br /&gt;
* [[Setting up clamsmtp]]&lt;br /&gt;
* [[Setting up dovecot with imap and ssl]]&lt;br /&gt;
* [[relay email to gmail (msmtp, mailx, sendmail]]&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
* [[Lighttpd]]&lt;br /&gt;
** [[Lighttpd Https access]]&lt;br /&gt;
** [[Setting Up Lighttpd with PHP]]&lt;br /&gt;
** [[Setting Up Lighttpd With FastCGI]]&lt;br /&gt;
* [[Cherokee]]&lt;br /&gt;
* [[Nginx]]&lt;br /&gt;
* [[Nginx as reverse proxy with acme (letsencrypt)]]&lt;br /&gt;
* [[Apache]]&lt;br /&gt;
** [[Apache with php-fpm]]&lt;br /&gt;
** [[Setting Up Apache with PHP]]&lt;br /&gt;
** [[Apache authentication: NTLM Single Signon]]&lt;br /&gt;
&lt;br /&gt;
* [[High Availability High Performance Web Cache]] &#039;&#039;(uCarp + HAProxy for High Availability Services such as Squid web proxy)&#039;&#039; &amp;lt;!-- solution, Server --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up Transparent Squid Proxy]] &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
** [[SqStat]] &#039;&#039;(Script to look at active squid users connections)&#039;&#039;&lt;br /&gt;
** [[Obtaining user information via SNMP]] &#039;&#039;(Using squark-auth-snmp as a Squid authentication helper)&#039;&#039; &amp;lt;!-- Networking and Server, &amp;lt;== Using squark-auth-snmp --&amp;gt;&lt;br /&gt;
* [[Setting up Explicit Squid Proxy]]&lt;br /&gt;
&lt;br /&gt;
* [[Drupal]] &#039;&#039;(Content Management System (CMS) written in PHP)&#039;&#039;&lt;br /&gt;
* [[WordPress]] &#039;&#039;(Web software to create website or blog)&#039;&#039;&lt;br /&gt;
* [[MediaWiki]] &#039;&#039;(Free web-based wiki software application)&#039;&#039;&lt;br /&gt;
* [[DokuWiki]]&lt;br /&gt;
* [[Darkhttpd]]&lt;br /&gt;
* [[Tomcat]]&lt;br /&gt;
&lt;br /&gt;
=== Other Servers ===&lt;br /&gt;
* [[Setting up a ssh-server]] &#039;&#039;(Using ssh is a good way to administer your box remotely)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a nfs-server]]&lt;br /&gt;
* [[Setting up a samba-server]] &#039;&#039;(standard file sharing)&#039;&#039;&lt;br /&gt;
* [[Setting up a samba-ad-dc]] &#039;&#039;(Active Directory compatible domain controller)&#039;&#039;&lt;br /&gt;
* [[Phpizabi]] &#039;&#039;(Social Networking Platform)&#039;&#039;&lt;br /&gt;
* [[Statusnet]] &#039;&#039;(Microblogging Platform)&#039;&#039;&lt;br /&gt;
* [[Pastebin]] &#039;&#039;(Pastebin software application)&#039;&#039;&lt;br /&gt;
* [[Setting up Transmission (bittorrent) with Clutch WebUI]]&lt;br /&gt;
&lt;br /&gt;
* [[Patchwork]] &#039;&#039;(Patch review management system)&#039;&#039;&lt;br /&gt;
* [[Redmine]] &#039;&#039;(Project management system)&#039;&#039;&lt;br /&gt;
* [[Request-Tracker]] &#039;&#039;(Ticket system)&#039;&#039;&lt;br /&gt;
* [[OsTicket]] &#039;&#039;(Ticket system)&#039;&#039;&lt;br /&gt;
* [[Setting up trac wiki|Trac]] &#039;&#039;(Enhanced wiki and issue tracking system for software development projects)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Cgit]]&lt;br /&gt;
** [[Setting up a git repository server with gitolite and cgit]] &amp;lt;!-- doesn&#039;t exist yet --&amp;gt;&lt;br /&gt;
* [[Roundcube]] &#039;&#039;(Webmail system)&#039;&#039;&lt;br /&gt;
* [[Glpi]] &#039;&#039;(Manage inventory of technical resources)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[How to setup a Alpine Linux mirror]]&lt;br /&gt;
* [[Cups]]&lt;br /&gt;
* [[NgIRCd]] &#039;&#039;(Server for Internet Relay Chat/IRC)&#039;&#039;&lt;br /&gt;
* [[How To Setup Your Own IRC Network]] &#039;&#039;(Using {{Pkg|charybdis}} and {{Pkg|atheme-iris}})&#039;&#039;&lt;br /&gt;
* [[OpenVCP]] &#039;&#039;(VServer Control Panel)&#039;&#039;&lt;br /&gt;
* [[Mahara]] &#039;&#039;(E-portfolio and social networking system)&#039;&#039;&lt;br /&gt;
* [[Chrony and GPSD | Using chrony, gpsd, and a garmin LVC 18 as a Stratum 1 NTP source ]]&lt;br /&gt;
* [[Sending SMS using gnokii]]&lt;br /&gt;
* [[IPTV How To|Internet Protocol television (IPTV)]]&lt;br /&gt;
&lt;br /&gt;
=== Monitoring ===&lt;br /&gt;
* Setting up [[collectd]]&lt;br /&gt;
* [[Traffic monitoring]] &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up traffic monitoring using rrdtool (and snmp)]] &amp;lt;!-- Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up monitoring using rrdtool (and rrdcollect)]]&lt;br /&gt;
* [[Setting up Cacti|Cacti]] &#039;&#039;(Front-end for rrdtool networking monitor)&#039;&#039;&lt;br /&gt;
* [[LTTng]] &#039;&#039;(Kernel and userspace tracing)&#039;&#039;&lt;br /&gt;
* [[Setting up Zabbix|Zabbix]] &#039;&#039;(Monitor and track the status of network services and hardware)&#039;&#039;&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039; &amp;lt;!-- draft, solution, Networking and Monitoring and Server --&amp;gt;&lt;br /&gt;
** [[Setting up NRPE daemon]] &#039;&#039;(Performs remote Nagios checks)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Setting up Smokeping|Smokeping]] &#039;&#039;(Network latency monitoring)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
** [[Setting up MRTG and Smokeping to Monitor Bandwidth Usage and Network Latency]]&lt;br /&gt;
* [[Setting Up Fprobe And Ntop|Ntop]] &#039;&#039;(NetFlow collection and analysis using a remote fprobe instance)&#039;&#039; &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Cvechecker]] &#039;&#039;(Compare installed packages for Common Vulnerabilities Exposure)&#039;&#039; &amp;lt;!-- Monitoring and Security --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[IP Accounting]] &amp;lt;!-- Networking and Monitoring --&amp;gt;&lt;br /&gt;
* [[Obtaining user information via SNMP]] &#039;&#039;(Using squark-auth-snmp as a Squid authentication helper)&#039;&#039; &amp;lt;!-- Networking and Server, &amp;lt;== Using squark-auth-snmp --&amp;gt;&lt;br /&gt;
* [[SqStat]] &#039;&#039;(Script to look at active squid users connections)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Piwik]] &#039;&#039;(A real time web analytics software program)&#039;&#039;&lt;br /&gt;
* [[Awstats]] &#039;&#039;(Free log file analyzer)&#039;&#039;&lt;br /&gt;
* [[Intrusion Detection using Snort]]&lt;br /&gt;
** [[Intrusion Detection using Snort, Sguil, Barnyard and more]]&lt;br /&gt;
* [[Dglog]] &#039;&#039;(Log analyzer for the web content filter DansGuardian)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [[Webmin]] &#039;&#039;(A web-based interface for Linux system)&#039;&#039;&lt;br /&gt;
* [[PhpPgAdmin]] &#039;&#039;(Web-based administration tool for PostgreSQL)&#039;&#039;&lt;br /&gt;
* [[PhpMyAdmin]] &#039;&#039;(Web-based administration tool for MYSQL)&#039;&#039;&lt;br /&gt;
* [[PhpSysInfo]] &#039;&#039;(A simple application that displays information about the host it&#039;s running on)&#039;&#039;&lt;br /&gt;
* [[Linfo]]&lt;br /&gt;
&lt;br /&gt;
* [[Setting up lm_sensors]]&lt;br /&gt;
&lt;br /&gt;
* [[ZoneMinder video camera security and surveillance]]&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Shell]]&lt;br /&gt;
* [[:Category:Programming]]&lt;br /&gt;
* [[Running glibc programs]]&lt;br /&gt;
* [[:Category:Drivers]]&lt;br /&gt;
* [[:Category:Multimedia]]&lt;br /&gt;
* [[Kernel Modesetting]]&lt;br /&gt;
* [[CPU frequency scaling]]&lt;br /&gt;
&lt;br /&gt;
== Complete Solutions ==&lt;br /&gt;
* [[DIY Fully working Alpine Linux for Allwinner and Other ARM SOCs]]&lt;br /&gt;
* [[Replacing non-Alpine Linux with Alpine remotely]]&lt;br /&gt;
* [[High performance SCST iSCSI Target on Linux software Raid]]&lt;br /&gt;
* [[Fault Tolerant Routing with Alpine Linux]]&lt;br /&gt;
* [[Experiences with OpenVPN-client on ALIX.2D3]]&lt;br /&gt;
* [[Building a cloud with Alpine Linux]]&lt;br /&gt;
&lt;br /&gt;
* [[ISP Mail Server HowTo]] &#039;&#039;(Postfix+PostfixAdmin+DoveCot+Roundcube+ClamAV+Spamd - A full-serivce ISP mail server)&#039;&#039;&lt;br /&gt;
** [[ISP Mail Server Upgrade 2.x]]&lt;br /&gt;
** [[ISP Mail Server 2.x HowTo]] &#039;&#039;(Beta, please test)&#039;&#039;&lt;br /&gt;
* [[High Availability High Performance Web Cache]] &#039;&#039;(uCarp + HAProxy for High Availability Services such as Squid web proxy)&#039;&#039;&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039; &amp;lt;!-- draft --&amp;gt;&lt;br /&gt;
* [[Streaming Security Camera Video with VLC]]&lt;br /&gt;
* [[Dynamic Multipoint VPN (DMVPN)]] combined with [[Small_Office_Services]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
This does not attempt to be complete. Is it useful to have these listed here? I find them more accessible if grouped with their topics; also, an up-to-date list of all Draft or Obsolete pages can be found at [[Project:Wiki maintenance]].&lt;br /&gt;
&lt;br /&gt;
== Drafts ==&lt;br /&gt;
Currently unfinished/works-in-progress.&lt;br /&gt;
* [[Using Racoon for Remote Sites]]&lt;br /&gt;
* [[Setting up Transparent Squid Proxy]] &#039;&#039;(Covers Squid proxy and URL Filtering system)&#039;&#039;&lt;br /&gt;
** [[Obtaining user information via SNMP]] &#039;&#039;(Using the Squark Squid authentication helper)&#039;&#039; [!-- no longer a draft --]&lt;br /&gt;
* [[Setting up Streaming an Asterisk Channel]]&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;(Nagios + OpenAudit and related components)&#039;&#039;&lt;br /&gt;
* [[Intrusion Detection using Snort]] &#039;&#039;(Installing and configuring Snort and related applications on Alpine 2.0.x)&#039;&#039;&lt;br /&gt;
* [[IP Accounting]] &#039;&#039;(Installing and configuring pmacct for IP Accounting, Netflow/sFlow collector)&#039;&#039;&lt;br /&gt;
* [[Disk Replication with DRBD]]&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bazooka07</name></author>
	</entry>
</feed>