Alpine Linux Installation

For packaging stuff for Alpine Linux or Fedora different VMs are running at my home. So far this setup works pretty well as long as I’m able to establish a network connection. With my HTC Desire and an USB cable I used the UMTS/G3 of my mobile provider. Very simple. But this month I reached the quota for the included data traffic of my subscription 10 days before the end of the month.
Better take all needed data with me, meaning use a VM with Alpine Linux on my Laptop or make an installation of Alpine Linux in a seperate parition. Using an Alpine installation in QEMU is well documented. But I decided to give the latter option a try.

I will not go much into details because the whole process is simple and straight-forward. As a reference take a look at this guide for detailled instructions. After booting the machine with an Alpine Linux CD, the first step is to prepare the partition. In this case the parition is /dev/sda2.

apk add e2fsprogs && mkfs.ext3 /dev/sda2

Now mount the partition:

mo unt -t ext3 /dev/sda2 /mnt

For the basic setup just follow the instructions in the guide.

setup-alpine -q

After that the partition can be filled.

setup-disk -m sys /mnt

Now the entry in the GRUP menu is still missing and needs to be added.

Time to reboot and check if it’s working. The entry for Alpine in the menu will need some tweaking but for a test it’s ok.

Then…Kernel panic.

This entry was posted in Alpine Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.