Bootstrapping Alpine Linux: Difference between revisions
m (Switched apk-tools-static url to https and current (3.18) version. https is necessary as you are downloading something you execute and no other verification takes place.) |
(use link not from repo so it doesn't disappear on pkgrel bumps) |
||
Line 9: | Line 9: | ||
<ol> | <ol> | ||
<li>Download apk-tools-static for your architecture.</li> | <li>Download apk-tools-static for your architecture.</li> | ||
<pre>wget https:// | <pre>wget https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.0/x86_64/apk.static</pre> | ||
<li>Unpack .apk</li> | <li>Unpack .apk</li> |
Revision as of 01:40, 7 June 2023
VPS
This section is to provide a means to bootstrap Alpine Linux on any VPS.
Process
Prepare
- Download apk-tools-static for your architecture.
- Unpack .apk
wget https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.0/x86_64/apk.static
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
- Running a Custom Linux Distribution on a Linode
- 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
- How do I chain boot from grub to syslinux?
- Alpine Linux on Linode
- Installing Alpine Linux in a chroot