Mail archive

[alpine-user] Installing in data mode

From: Alexander Iliev <>
Date: Wed, 6 May 2015 01:33:11 +0300


I知 trying out alpine linux and I really like most of the design choices.

However I知 having trouble installing alpine linux in data mode. I致e read several times [1], [2], [3], [4], [5] and [6] and it looks like I知 missing something.

What I知 trying to achieve is a run-from-ram system (booting from CDROM if possible) and having my disk mounted as /var and also storing lbu and apk cache in a subdirectory under /var. I知 trying to set this up in a virtual machine.

What I致e tried:

* setup-alpine;
* setup-disk -m data;
* googling.

The setup-lbu part of the setup-alpine script failed consistently when I tried to point it to a partition or a pre-mounted directory. It seemed to have worked once I attached a floppy image and pointed it there, but then it looks like nothing gets actually installed or lbu backed up.

I tried `setup-disk -m data -s 0 /mnt` with pre-created and pre-mounted partitions (/dev/sda2 on /mnt, /dev/sda1 on /mnt/mydata) and it created a whole filesystem hierarchy in /mnt, while I was aiming at having /dev/sda2 as /var only.

The wiki documentation IMO is pretty confusing regarding the different installation modes. For example I don稚 understand whether I *must* install the OS to disk (although I want it in data mode) or I could run it from the CDROM (ISO) while having my modifications (root password, installed packages) loaded?

I assume that I致e misread and/or misunderstood some bits from the wiki, any help will be greatly appreciated!


alexander iliev
Received on Wed May 06 2015 - 01:33:11 GMT