Skip to content

Instantly share code, notes, and snippets.

@unixfox
Last active May 25, 2024 19:25
Show Gist options
  • Save unixfox/05d661094e646947c4b303f19f9bae11 to your computer and use it in GitHub Desktop.
Save unixfox/05d661094e646947c4b303f19f9bae11 to your computer and use it in GitHub Desktop.
Install Alpine Linux on Oracle Cloud ARM VPS with Ubuntu pre-installed

Better tutorial (a little bit more complicated): https://gist.github.com/karolba/a3f1c5f8d50c67f5a19e6c8f38e53e12


  1. Download the "virtual" type aarch64 ISO file from https://www.alpinelinux.org/downloads/ with wget
  2. Execute sudo dd if=alpine.iso of=/dev/sda
  3. On the Oracle Cloud panel, setup a console connection and connect to the serial console.
  4. Execute sudo reboot
  5. When Alpine is launched and you are logged in as root, execute these commands in the serial console:
mkdir /media/setup
cp -a /media/sda/* /media/setup
mkdir /lib/setup
cp -a /.modloop/* /lib/setup
/etc/init.d/modloop stop
umount /dev/sda
mv /media/setup/* /media/sda/
mv /lib/setup/* /.modloop/
  1. Complete the setup with setup-alpine
@miyu4u
Copy link

miyu4u commented Jun 8, 2023

You are best. this correctly work for me. i used this guide at amd micro x86_64 instance, it works. be careful in disk erase sequence setup-alpine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment