Difference between revisions of "Bootstrapping Alpine Linux"

From Alpine Linux
Jump to: navigation, search
m (New Section - VPS - Provide a means of bootstrapping Alpine on any VPS)
(simplify with `arch` command)
 
(5 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
This section is to provide a means to bootstrap Alpine Linux on any VPS.
 
This section is to provide a means to bootstrap Alpine Linux on any VPS.
  
 +
== Process ==
 +
 +
=== Prepare ===
 +
<ol>
 +
<li>Download apk-tools-static for your architecture.</li>
 +
<pre>wget http://dl-cdn.alpinelinux.org/alpine/v3.12/main/$(arch)/apk-tools-static-2.10.5-r1.apk</pre>
 +
 +
<li>Unpack .apk</li>
 +
<pre>tar zxf apk-tools-static-*.apk</pre>
 +
 +
</ol>
 +
 +
=== Install ===
 +
<code>sudo ./sbin/apk.static --arch $(arch) -X http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/ -U --allow-untrusted --root /tmp/target --initdb add alpine-base</code>
 +
 +
=== Bootloader ===
 +
 +
 +
== References ==
 +
* [https://www.linode.com/docs/tools-reference/custom-kernels-distros/running-a-custom-linux-distro-on-a-linode-vps Running a Custom Linux Distribution on a Linode]
 +
* [https://www.linode.com/docs/tools-reference/custom-kernels-distros/run-a-custom-compiled-kernel-with-pvgrub Run a Custom Compiled Kernel with PV-GRUB]
 +
* [[Replacing non-Alpine Linux with Alpine remotely]]
 +
* [[Install Alpine on Amazon EC2]]
 +
* [[Install Alpine on coLinux]]
 +
* [[Install Alpine on Rackspace]]
 +
* [[Alpine setup scripts]]
 +
* [http://serverfault.com/questions/98950/how-do-i-chain-boot-from-grub-to-syslinux How do I chain boot from grub to syslinux?]
 +
* [http://uggedal.com/journal/alpine-linux-on-linode/ Alpine Linux on Linode]
 +
* [[Installing Alpine Linux in a chroot]]
  
 
[[Category:Installation]]
 
[[Category:Installation]]
 +
[[Category:Virtualization]]

Latest revision as of 10:48, 10 June 2020


VPS

This section is to provide a means to bootstrap Alpine Linux on any VPS.

Process

Prepare

  1. Download apk-tools-static for your architecture.
  2. wget http://dl-cdn.alpinelinux.org/alpine/v3.12/main/$(arch)/apk-tools-static-2.10.5-r1.apk
  3. Unpack .apk
  4. tar zxf apk-tools-static-*.apk

Install

sudo ./sbin/apk.static --arch $(arch) -X http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/ -U --allow-untrusted --root /tmp/target --initdb add alpine-base

Bootloader

References