<?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=Runlevel5</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=Runlevel5"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Runlevel5"/>
	<updated>2026-05-03T15:16:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Ppc64le&amp;diff=17210</id>
		<title>Ppc64le</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Ppc64le&amp;diff=17210"/>
		<updated>2020-04-13T09:28:40Z</updated>

		<summary type="html">&lt;p&gt;Runlevel5: Add links for Raptor systems&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is used to describe the [https://en.wikipedia.org/wiki/Ppc64 ppc64le] port.&lt;br /&gt;
&lt;br /&gt;
= Testing (for developers) =&lt;br /&gt;
&lt;br /&gt;
The hosting sponsor for the &#039;&#039;&#039;ppc64le&#039;&#039;&#039; port operates a miniCloud service, which provides ppc64le images to Alpine for testing.&lt;br /&gt;
&lt;br /&gt;
View [http://openpower.ic.unicamp.br/minicloud/ their] website for more info.&lt;br /&gt;
&lt;br /&gt;
= Hardware =&lt;br /&gt;
 &lt;br /&gt;
You can buy [https://en.wikipedia.org/wiki/POWER8 POWER8] or [https://en.wikipedia.org/wiki/POWER9 POWER9] hardware from IBM or from other vendors. For example, the &#039;&#039;&#039;Raptor Computing System Blackbird&#039;&#039;&#039; workstation is reasonably priced, competitive when compared to similar x86 servers, and is fully supported by the ppc64le port.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following are the &#039;&#039;&#039;IBM&#039;&#039;&#039; machine models that would support Alpine Linux:&lt;br /&gt;
* IBM Power System S821LC  [http://www-03.ibm.com/systems/power/hardware/s821lc/index.html]&lt;br /&gt;
* IBM Power System S822LC for Big Data [http://www-03.ibm.com/systems/power/hardware/s822lc-big-data/index.html]&lt;br /&gt;
* IBM Power System S822LC for Commercial Computing [http://www-03.ibm.com/systems/power/hardware/s822lc-commercial/index.html]&lt;br /&gt;
* IBM Power System S822LC for High Performance Computing [IBM Power System S822LC for High Performance Computing]&lt;br /&gt;
* IBM Power System S812L and S822L [http://www-03.ibm.com/systems/power/hardware/s812l-s822l/index.html]&lt;br /&gt;
* IBM Power System S824L [http://www-03.ibm.com/systems/power/hardware/s824l/index.html]&lt;br /&gt;
* IBM Power System S812 [http://www-03.ibm.com/systems/power/hardware/s812/index.html]&lt;br /&gt;
* IBM Power System S822 [http://www-03.ibm.com/systems/power/hardware/s822/index.html]&lt;br /&gt;
* IBM Power System S814 [http://www-03.ibm.com/systems/power/hardware/s814/index.html]&lt;br /&gt;
* IBM Power System S824 [http://www-03.ibm.com/systems/power/hardware/s824/index.html]&lt;br /&gt;
* IBM Power Enterprise Systems for the cloud [http://www-03.ibm.com/systems/power/hardware/enterprise-cloud/index.html]&lt;br /&gt;
* IBM Power System E850C [http://www-03.ibm.com/systems/power/hardware/e850c/index.html]&lt;br /&gt;
* IBM Power System E850 [http://www-03.ibm.com/systems/power/hardware/e850/index.html]&lt;br /&gt;
* IBM Power System E870 [http://www-03.ibm.com/systems/power/hardware/e870/index.html]&lt;br /&gt;
* IBM Power System E880 [http://www-03.ibm.com/systems/power/hardware/e880/index.html]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Raptor Computing System&#039;&#039;&#039; also has machines:&lt;br /&gt;
* Talos II [https://www.raptorcs.com/content/base/products.html]&lt;br /&gt;
* Blackbird [https://www.raptorcs.com/content/base/products.html]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tyan&#039;&#039;&#039; also has machines:&lt;br /&gt;
* Tyan TN76-BP016 &lt;br /&gt;
* Tyan GT75-BP012&lt;br /&gt;
* Tyan TN71-BP012&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Open Power&#039;&#039;&#039; machines:&lt;br /&gt;
* Rackspace Barreleye [https://www.nextplatform.com/2015/10/19/rackspace-forges-first-barreleye-openpower-servers/]&lt;br /&gt;
* Google Zaius [https://cloudplatform.googleblog.com/2016/10/introducing-Zaius-Google-and-Rackspaces-open-server-running-IBM-POWER9.html]&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
The Alpine 3.11.5 ppc64le ISO is available [http://dl-cdn.alpinelinux.org/alpine/v3.11/releases/ppc64le/alpine-standard-3.11.5-ppc64le.iso here].&lt;br /&gt;
&lt;br /&gt;
The user login is &#039;&#039;&#039;root&#039;&#039;&#039; with no password.&lt;br /&gt;
&lt;br /&gt;
== Booting Alpine from CDROM using qemu ==&lt;br /&gt;
&lt;br /&gt;
To start qemu using the Alpine ISO as cdrom, you can use a command similar to:&lt;br /&gt;
 $ sudo qemu-system-ppc64 -device spapr-vlan,netdev=net0,mac=4C:45:42:45:79:F7 -netdev bridge,br=br0,id=net0 -enable-kvm -m 8G -smp 16,sockets=16,cores=1,threads=1 -nodefaults -nographic -serial stdio -cdrom alpine-standard-3.11.5-ppc64le.iso &lt;br /&gt;
&lt;br /&gt;
== Installing Alpine to hard-disk using qemu ==&lt;br /&gt;
&lt;br /&gt;
Create a disk to install Alpine on it:&lt;br /&gt;
 $ qemu-img create alpine_disk.img 16G&lt;br /&gt;
&lt;br /&gt;
Start qemu attaching the created disk and using Alpine ISO as cdrom. Here is an example of the qemu command:&lt;br /&gt;
 $ sudo qemu-system-ppc64 -hda alpine_disk.img -device spapr-vlan,netdev=net0,mac=4C:45:42:45:79:F7 -netdev bridge,br=br0,id=net0 -enable-kvm -m 8G -smp 16,sockets=16,cores=1,threads=1 -nodefaults -nographic -serial stdio -cdrom alpine-standard-3.11.5-ppc64le.iso&lt;br /&gt;
&lt;br /&gt;
Run the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; script:&lt;br /&gt;
 $ setup-alpine&lt;br /&gt;
&lt;br /&gt;
After running the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; script, select the disk (in this example, &#039;&#039;&#039;sda&#039;&#039;&#039;) when the following configuration appears:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Available disks are:&lt;br /&gt;
sda   (17.2 GB QEMU     QEMU HARDDISK)&lt;br /&gt;
Which disk(s) would you like to use? (or &#039;?&#039; for help or &#039;none&#039;) [none] : sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked how you would like to use the disk, select &#039;&#039;&#039;sys&#039;&#039;&#039;, and select &#039;&#039;&#039;yes&#039;&#039;&#039; when asked whether to erase the disk.&lt;br /&gt;
&lt;br /&gt;
NOTE: [https://gitlab.alpinelinux.org/alpine/aports/issues/11384 The grub-ieee1275 and sfdisk are not included in ISO]. Internet connection is required to complete the setup.&lt;br /&gt;
 &lt;br /&gt;
The installation will format the disk properly.  After this finishes, type &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Booting Alpine from CDROM using qemu and saving modifications between reboots ==&lt;br /&gt;
&lt;br /&gt;
When using Alpine in this mode, you need to use Alpine Local Backup (&amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt;) to save your modifications between reboots.  This requires some writable medium, usually removable.&lt;br /&gt;
&lt;br /&gt;
Create a disk to save Alpine modifications: &lt;br /&gt;
 $ qemu-img create alpine_disk.img 8G &lt;br /&gt;
&lt;br /&gt;
Start qemu attaching the created disk and using Alpine ISO as cdrom. Here is the example of the qemu command:&lt;br /&gt;
 $ sudo qemu-system-ppc64 -hda alpine_disk.img -device spapr-vlan,netdev=net0,mac=4C:45:42:45:79:F7 -netdev bridge,br=br0,id=net0 -enable-kvm -m 8G -smp 16,sockets=16,cores=1,threads=1 -nodefaults -nographic -serial stdio -cdrom alpine-standard-3.11.5-ppc64le.iso &lt;br /&gt;
&lt;br /&gt;
Format the attached disk and add it to the {{path|/etc/fstab}} file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ apk add e2fsprogs  &lt;br /&gt;
$ mkfs.ext4 /dev/sda  &amp;lt;br&amp;gt;&lt;br /&gt;
$ echo &amp;quot;/dev/sda        /media/sda      ext4    noauto,rw 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab  &amp;lt;br&amp;gt;&lt;br /&gt;
$ mkdir /media/sda  &amp;lt;br&amp;gt;&lt;br /&gt;
$ mkdir /media/sda/cache &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; to write to the attached disk, setting &amp;lt;code&amp;gt;LBU_MEDIA=sda&amp;lt;/code&amp;gt; in the {{path|/etc/lbu/lbu.conf}} file.&lt;br /&gt;
&lt;br /&gt;
Run the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; command, and select the following configurations when asked:&lt;br /&gt;
* Enter where to store configs: &amp;lt;code&amp;gt;(&#039;floppy&#039;, &#039;sda&#039;, &#039;usb&#039; or &#039;none&#039;) [none]: sda &amp;lt;/code&amp;gt;&lt;br /&gt;
* Enter apk cache directory &amp;lt;code&amp;gt;(or &#039;?&#039; or &#039;none&#039;) [/media/sda/cache]: /media/sda/cache&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last step is to commit the changes:&lt;br /&gt;
 $ lbu commit &lt;br /&gt;
&lt;br /&gt;
After performing these configurations, you can reboot Alpine and the modifications will be saved. The next time a change happens, you just need to run the &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt; command, as the configurations are already done.&lt;br /&gt;
&lt;br /&gt;
It is important to know that, by default, &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; only cares about modifications in {{path|/etc}} and its subfolders, with the exception of {{path|/etc/init.d}}!&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[Alpine_local_backup|Alpine local backup]] - For more information about how to use &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; and how to include a new folder to backup.&lt;br /&gt;
&lt;br /&gt;
= Reference =&lt;br /&gt;
 * ABI - https://openpowerfoundation.org/?resource_lib=64-bit-elf-v2-abi-specification-power-architecture&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware]]&lt;/div&gt;</summary>
		<author><name>Runlevel5</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Ppc64le&amp;diff=17209</id>
		<title>Ppc64le</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Ppc64le&amp;diff=17209"/>
		<updated>2020-04-13T09:24:49Z</updated>

		<summary type="html">&lt;p&gt;Runlevel5: Update installation instructions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is used to describe the [https://en.wikipedia.org/wiki/Ppc64 ppc64le] port.&lt;br /&gt;
&lt;br /&gt;
= Testing (for developers) =&lt;br /&gt;
&lt;br /&gt;
The hosting sponsor for the &#039;&#039;&#039;ppc64le&#039;&#039;&#039; port operates a miniCloud service, which provides ppc64le images to Alpine for testing.&lt;br /&gt;
&lt;br /&gt;
View [http://openpower.ic.unicamp.br/minicloud/ their] website for more info.&lt;br /&gt;
&lt;br /&gt;
= Hardware =&lt;br /&gt;
 &lt;br /&gt;
You can buy [https://en.wikipedia.org/wiki/POWER8 POWER8] or [https://en.wikipedia.org/wiki/POWER9 POWER9] hardware from IBM or from other vendors. For example, the &#039;&#039;&#039;Raptor Computing System Blackbird&#039;&#039;&#039; workstation is reasonably priced, competitive when compared to similar x86 servers, and is fully supported by the ppc64le port.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following are the &#039;&#039;&#039;IBM&#039;&#039;&#039; machine models that would support Alpine Linux:&lt;br /&gt;
* IBM Power System S821LC  [http://www-03.ibm.com/systems/power/hardware/s821lc/index.html]&lt;br /&gt;
* IBM Power System S822LC for Big Data [http://www-03.ibm.com/systems/power/hardware/s822lc-big-data/index.html]&lt;br /&gt;
* IBM Power System S822LC for Commercial Computing [http://www-03.ibm.com/systems/power/hardware/s822lc-commercial/index.html]&lt;br /&gt;
* IBM Power System S822LC for High Performance Computing [IBM Power System S822LC for High Performance Computing]&lt;br /&gt;
* IBM Power System S812L and S822L [http://www-03.ibm.com/systems/power/hardware/s812l-s822l/index.html]&lt;br /&gt;
* IBM Power System S824L [http://www-03.ibm.com/systems/power/hardware/s824l/index.html]&lt;br /&gt;
* IBM Power System S812 [http://www-03.ibm.com/systems/power/hardware/s812/index.html]&lt;br /&gt;
* IBM Power System S822 [http://www-03.ibm.com/systems/power/hardware/s822/index.html]&lt;br /&gt;
* IBM Power System S814 [http://www-03.ibm.com/systems/power/hardware/s814/index.html]&lt;br /&gt;
* IBM Power System S824 [http://www-03.ibm.com/systems/power/hardware/s824/index.html]&lt;br /&gt;
* IBM Power Enterprise Systems for the cloud [http://www-03.ibm.com/systems/power/hardware/enterprise-cloud/index.html]&lt;br /&gt;
* IBM Power System E850C [http://www-03.ibm.com/systems/power/hardware/e850c/index.html]&lt;br /&gt;
* IBM Power System E850 [http://www-03.ibm.com/systems/power/hardware/e850/index.html]&lt;br /&gt;
* IBM Power System E870 [http://www-03.ibm.com/systems/power/hardware/e870/index.html]&lt;br /&gt;
* IBM Power System E880 [http://www-03.ibm.com/systems/power/hardware/e880/index.html]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Raptor Computing System&#039;&#039;&#039; also has machines:&lt;br /&gt;
* Talos II &lt;br /&gt;
* Blackbird&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tyan&#039;&#039;&#039; also has machines:&lt;br /&gt;
* Tyan TN76-BP016 &lt;br /&gt;
* Tyan GT75-BP012&lt;br /&gt;
* Tyan TN71-BP012&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Open Power&#039;&#039;&#039; machines:&lt;br /&gt;
* Rackspace Barreleye [https://www.nextplatform.com/2015/10/19/rackspace-forges-first-barreleye-openpower-servers/]&lt;br /&gt;
* Google Zaius [https://cloudplatform.googleblog.com/2016/10/introducing-Zaius-Google-and-Rackspaces-open-server-running-IBM-POWER9.html]&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
The Alpine 3.11.5 ppc64le ISO is available [http://dl-cdn.alpinelinux.org/alpine/v3.11/releases/ppc64le/alpine-standard-3.11.5-ppc64le.iso here].&lt;br /&gt;
&lt;br /&gt;
The user login is &#039;&#039;&#039;root&#039;&#039;&#039; with no password.&lt;br /&gt;
&lt;br /&gt;
== Booting Alpine from CDROM using qemu ==&lt;br /&gt;
&lt;br /&gt;
To start qemu using the Alpine ISO as cdrom, you can use a command similar to:&lt;br /&gt;
 $ sudo qemu-system-ppc64 -device spapr-vlan,netdev=net0,mac=4C:45:42:45:79:F7 -netdev bridge,br=br0,id=net0 -enable-kvm -m 8G -smp 16,sockets=16,cores=1,threads=1 -nodefaults -nographic -serial stdio -cdrom alpine-standard-3.11.5-ppc64le.iso &lt;br /&gt;
&lt;br /&gt;
== Installing Alpine to hard-disk using qemu ==&lt;br /&gt;
&lt;br /&gt;
Create a disk to install Alpine on it:&lt;br /&gt;
 $ qemu-img create alpine_disk.img 16G&lt;br /&gt;
&lt;br /&gt;
Start qemu attaching the created disk and using Alpine ISO as cdrom. Here is an example of the qemu command:&lt;br /&gt;
 $ sudo qemu-system-ppc64 -hda alpine_disk.img -device spapr-vlan,netdev=net0,mac=4C:45:42:45:79:F7 -netdev bridge,br=br0,id=net0 -enable-kvm -m 8G -smp 16,sockets=16,cores=1,threads=1 -nodefaults -nographic -serial stdio -cdrom alpine-standard-3.11.5-ppc64le.iso&lt;br /&gt;
&lt;br /&gt;
Run the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; script:&lt;br /&gt;
 $ setup-alpine&lt;br /&gt;
&lt;br /&gt;
After running the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; script, select the disk (in this example, &#039;&#039;&#039;sda&#039;&#039;&#039;) when the following configuration appears:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Available disks are:&lt;br /&gt;
sda   (17.2 GB QEMU     QEMU HARDDISK)&lt;br /&gt;
Which disk(s) would you like to use? (or &#039;?&#039; for help or &#039;none&#039;) [none] : sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked how you would like to use the disk, select &#039;&#039;&#039;sys&#039;&#039;&#039;, and select &#039;&#039;&#039;yes&#039;&#039;&#039; when asked whether to erase the disk.&lt;br /&gt;
&lt;br /&gt;
NOTE: [https://gitlab.alpinelinux.org/alpine/aports/issues/11384 The grub-ieee1275 and sfdisk are not included in ISO]. Internet connection is required to complete the setup.&lt;br /&gt;
 &lt;br /&gt;
The installation will format the disk properly.  After this finishes, type &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Booting Alpine from CDROM using qemu and saving modifications between reboots ==&lt;br /&gt;
&lt;br /&gt;
When using Alpine in this mode, you need to use Alpine Local Backup (&amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt;) to save your modifications between reboots.  This requires some writable medium, usually removable.&lt;br /&gt;
&lt;br /&gt;
Create a disk to save Alpine modifications: &lt;br /&gt;
 $ qemu-img create alpine_disk.img 8G &lt;br /&gt;
&lt;br /&gt;
Start qemu attaching the created disk and using Alpine ISO as cdrom. Here is the example of the qemu command:&lt;br /&gt;
 $ sudo qemu-system-ppc64 -hda alpine_disk.img -device spapr-vlan,netdev=net0,mac=4C:45:42:45:79:F7 -netdev bridge,br=br0,id=net0 -enable-kvm -m 8G -smp 16,sockets=16,cores=1,threads=1 -nodefaults -nographic -serial stdio -cdrom alpine-standard-3.11.5-ppc64le.iso &lt;br /&gt;
&lt;br /&gt;
Format the attached disk and add it to the {{path|/etc/fstab}} file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ apk add e2fsprogs  &lt;br /&gt;
$ mkfs.ext4 /dev/sda  &amp;lt;br&amp;gt;&lt;br /&gt;
$ echo &amp;quot;/dev/sda        /media/sda      ext4    noauto,rw 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab  &amp;lt;br&amp;gt;&lt;br /&gt;
$ mkdir /media/sda  &amp;lt;br&amp;gt;&lt;br /&gt;
$ mkdir /media/sda/cache &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; to write to the attached disk, setting &amp;lt;code&amp;gt;LBU_MEDIA=sda&amp;lt;/code&amp;gt; in the {{path|/etc/lbu/lbu.conf}} file.&lt;br /&gt;
&lt;br /&gt;
Run the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; command, and select the following configurations when asked:&lt;br /&gt;
* Enter where to store configs: &amp;lt;code&amp;gt;(&#039;floppy&#039;, &#039;sda&#039;, &#039;usb&#039; or &#039;none&#039;) [none]: sda &amp;lt;/code&amp;gt;&lt;br /&gt;
* Enter apk cache directory &amp;lt;code&amp;gt;(or &#039;?&#039; or &#039;none&#039;) [/media/sda/cache]: /media/sda/cache&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last step is to commit the changes:&lt;br /&gt;
 $ lbu commit &lt;br /&gt;
&lt;br /&gt;
After performing these configurations, you can reboot Alpine and the modifications will be saved. The next time a change happens, you just need to run the &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt; command, as the configurations are already done.&lt;br /&gt;
&lt;br /&gt;
It is important to know that, by default, &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; only cares about modifications in {{path|/etc}} and its subfolders, with the exception of {{path|/etc/init.d}}!&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[Alpine_local_backup|Alpine local backup]] - For more information about how to use &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; and how to include a new folder to backup.&lt;br /&gt;
&lt;br /&gt;
= Reference =&lt;br /&gt;
 * ABI - https://openpowerfoundation.org/?resource_lib=64-bit-elf-v2-abi-specification-power-architecture&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware]]&lt;/div&gt;</summary>
		<author><name>Runlevel5</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Ppc64le&amp;diff=17208</id>
		<title>Ppc64le</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Ppc64le&amp;diff=17208"/>
		<updated>2020-04-13T09:19:46Z</updated>

		<summary type="html">&lt;p&gt;Runlevel5: Add Raptor CS systems&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is used to describe the [https://en.wikipedia.org/wiki/Ppc64 ppc64le] port.&lt;br /&gt;
&lt;br /&gt;
= Testing (for developers) =&lt;br /&gt;
&lt;br /&gt;
The hosting sponsor for the &#039;&#039;&#039;ppc64le&#039;&#039;&#039; port operates a miniCloud service, which provides ppc64le images to Alpine for testing.&lt;br /&gt;
&lt;br /&gt;
View [http://openpower.ic.unicamp.br/minicloud/ their] website for more info.&lt;br /&gt;
&lt;br /&gt;
= Hardware =&lt;br /&gt;
 &lt;br /&gt;
You can buy [https://en.wikipedia.org/wiki/POWER8 POWER8] or [https://en.wikipedia.org/wiki/POWER9 POWER9] hardware from IBM or from other vendors. For example, the &#039;&#039;&#039;Raptor Computing System Blackbird&#039;&#039;&#039; workstation is reasonably priced, competitive when compared to similar x86 servers, and is fully supported by the ppc64le port.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following are the &#039;&#039;&#039;IBM&#039;&#039;&#039; machine models that would support Alpine Linux:&lt;br /&gt;
* IBM Power System S821LC  [http://www-03.ibm.com/systems/power/hardware/s821lc/index.html]&lt;br /&gt;
* IBM Power System S822LC for Big Data [http://www-03.ibm.com/systems/power/hardware/s822lc-big-data/index.html]&lt;br /&gt;
* IBM Power System S822LC for Commercial Computing [http://www-03.ibm.com/systems/power/hardware/s822lc-commercial/index.html]&lt;br /&gt;
* IBM Power System S822LC for High Performance Computing [IBM Power System S822LC for High Performance Computing]&lt;br /&gt;
* IBM Power System S812L and S822L [http://www-03.ibm.com/systems/power/hardware/s812l-s822l/index.html]&lt;br /&gt;
* IBM Power System S824L [http://www-03.ibm.com/systems/power/hardware/s824l/index.html]&lt;br /&gt;
* IBM Power System S812 [http://www-03.ibm.com/systems/power/hardware/s812/index.html]&lt;br /&gt;
* IBM Power System S822 [http://www-03.ibm.com/systems/power/hardware/s822/index.html]&lt;br /&gt;
* IBM Power System S814 [http://www-03.ibm.com/systems/power/hardware/s814/index.html]&lt;br /&gt;
* IBM Power System S824 [http://www-03.ibm.com/systems/power/hardware/s824/index.html]&lt;br /&gt;
* IBM Power Enterprise Systems for the cloud [http://www-03.ibm.com/systems/power/hardware/enterprise-cloud/index.html]&lt;br /&gt;
* IBM Power System E850C [http://www-03.ibm.com/systems/power/hardware/e850c/index.html]&lt;br /&gt;
* IBM Power System E850 [http://www-03.ibm.com/systems/power/hardware/e850/index.html]&lt;br /&gt;
* IBM Power System E870 [http://www-03.ibm.com/systems/power/hardware/e870/index.html]&lt;br /&gt;
* IBM Power System E880 [http://www-03.ibm.com/systems/power/hardware/e880/index.html]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Raptor Computing System&#039;&#039;&#039; also has machines:&lt;br /&gt;
* Talos II &lt;br /&gt;
* Blackbird&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tyan&#039;&#039;&#039; also has machines:&lt;br /&gt;
* Tyan TN76-BP016 &lt;br /&gt;
* Tyan GT75-BP012&lt;br /&gt;
* Tyan TN71-BP012&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Open Power&#039;&#039;&#039; machines:&lt;br /&gt;
* Rackspace Barreleye [https://www.nextplatform.com/2015/10/19/rackspace-forges-first-barreleye-openpower-servers/]&lt;br /&gt;
* Google Zaius [https://cloudplatform.googleblog.com/2016/10/introducing-Zaius-Google-and-Rackspaces-open-server-running-IBM-POWER9.html]&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
The Alpine 3.7.0 ppc64le ISO is available [http://rsync.alpinelinux.org/alpine/v3.7/releases/ppc64le/alpine-vanilla-3.7.0-ppc64le.iso here].&lt;br /&gt;
&lt;br /&gt;
The user login is &#039;&#039;&#039;root&#039;&#039;&#039; with no password.&lt;br /&gt;
&lt;br /&gt;
== Booting Alpine from CDROM using qemu ==&lt;br /&gt;
&lt;br /&gt;
To start qemu using the Alpine ISO as cdrom, you can use a command similar to:&lt;br /&gt;
 $ sudo qemu-system-ppc64 -device spapr-vlan,netdev=net0,mac=4C:45:42:45:79:F7 -netdev bridge,br=br0,id=net0 -enable-kvm -m 8G -smp 16,sockets=16,cores=1,threads=1 -nodefaults -nographic -serial stdio -cdrom alpine-vanilla-3.7.0.ppc64le.iso &lt;br /&gt;
&lt;br /&gt;
== Installing Alpine to hard-disk using qemu ==&lt;br /&gt;
&lt;br /&gt;
Create a disk to install Alpine on it:&lt;br /&gt;
 $ qemu-img create alpine_disk.img 16G&lt;br /&gt;
&lt;br /&gt;
Start qemu attaching the created disk and using Alpine ISO as cdrom. Here is an example of the qemu command:&lt;br /&gt;
 $ sudo qemu-system-ppc64 -hda alpine_disk.img -device spapr-vlan,netdev=net0,mac=4C:45:42:45:79:F7 -netdev bridge,br=br0,id=net0 -enable-kvm -m 8G -smp 16,sockets=16,cores=1,threads=1 -nodefaults -nographic -serial stdio -cdrom alpine-vanilla-3.7.0-ppc64le.iso&lt;br /&gt;
&lt;br /&gt;
Run the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; script:&lt;br /&gt;
 $ setup-alpine&lt;br /&gt;
&lt;br /&gt;
After running the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; script, select the disk (in this example, &#039;&#039;&#039;sda&#039;&#039;&#039;) when the following configuration appears:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Available disks are:&lt;br /&gt;
sda   (17.2 GB QEMU     QEMU HARDDISK)&lt;br /&gt;
Which disk(s) would you like to use? (or &#039;?&#039; for help or &#039;none&#039;) [none] : sda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked how you would like to use the disk, select &#039;&#039;&#039;sys&#039;&#039;&#039;, and select &#039;&#039;&#039;yes&#039;&#039;&#039; when asked whether to erase the disk.&lt;br /&gt;
&lt;br /&gt;
The installation will format the disk properly.  After this finishes, type &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Booting Alpine from CDROM using qemu and saving modifications between reboots ==&lt;br /&gt;
&lt;br /&gt;
When using Alpine in this mode, you need to use Alpine Local Backup (&amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt;) to save your modifications between reboots.  This requires some writable medium, usually removable.&lt;br /&gt;
&lt;br /&gt;
Create a disk to save Alpine modifications: &lt;br /&gt;
 $ qemu-img create alpine_disk.img 8G &lt;br /&gt;
&lt;br /&gt;
Start qemu attaching the created disk and using Alpine ISO as cdrom. Here is the example of the qemu command:&lt;br /&gt;
 $ sudo qemu-system-ppc64 -hda alpine_disk.img -device spapr-vlan,netdev=net0,mac=4C:45:42:45:79:F7 -netdev bridge,br=br0,id=net0 -enable-kvm -m 8G -smp 16,sockets=16,cores=1,threads=1 -nodefaults -nographic -serial stdio -cdrom alpine-vanilla-3.7.0-ppc64le.iso  &lt;br /&gt;
&lt;br /&gt;
Format the attached disk and add it to the {{path|/etc/fstab}} file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ apk add e2fsprogs  &lt;br /&gt;
$ mkfs.ext4 /dev/sda  &amp;lt;br&amp;gt;&lt;br /&gt;
$ echo &amp;quot;/dev/sda        /media/sda      ext4    noauto,rw 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab  &amp;lt;br&amp;gt;&lt;br /&gt;
$ mkdir /media/sda  &amp;lt;br&amp;gt;&lt;br /&gt;
$ mkdir /media/sda/cache &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; to write to the attached disk, setting &amp;lt;code&amp;gt;LBU_MEDIA=sda&amp;lt;/code&amp;gt; in the {{path|/etc/lbu/lbu.conf}} file.&lt;br /&gt;
&lt;br /&gt;
Run the &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; command, and select the following configurations when asked:&lt;br /&gt;
* Enter where to store configs: &amp;lt;code&amp;gt;(&#039;floppy&#039;, &#039;sda&#039;, &#039;usb&#039; or &#039;none&#039;) [none]: sda &amp;lt;/code&amp;gt;&lt;br /&gt;
* Enter apk cache directory &amp;lt;code&amp;gt;(or &#039;?&#039; or &#039;none&#039;) [/media/sda/cache]: /media/sda/cache&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last step is to commit the changes:&lt;br /&gt;
 $ lbu commit &lt;br /&gt;
&lt;br /&gt;
After performing these configurations, you can reboot Alpine and the modifications will be saved. The next time a change happens, you just need to run the &amp;lt;code&amp;gt;lbu commit&amp;lt;/code&amp;gt; command, as the configurations are already done.&lt;br /&gt;
&lt;br /&gt;
It is important to know that, by default, &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; only cares about modifications in {{path|/etc}} and its subfolders, with the exception of {{path|/etc/init.d}}!&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[Alpine_local_backup|Alpine local backup]] - For more information about how to use &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt; and how to include a new folder to backup.&lt;br /&gt;
&lt;br /&gt;
= Reference =&lt;br /&gt;
 * ABI - https://openpowerfoundation.org/?resource_lib=64-bit-elf-v2-abi-specification-power-architecture&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware]]&lt;/div&gt;</summary>
		<author><name>Runlevel5</name></author>
	</entry>
</feed>