X-Original-To: alpine-user@mail.alpinelinux.org Delivered-To: alpine-user@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 0C182DC01F2 for ; Tue, 5 May 2015 22:33:23 +0000 (UTC) Received: from smtp.mamul.org (unknown [46.249.80.8]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id B7AC9DC008F for ; Tue, 5 May 2015 22:33:17 +0000 (UTC) Received: by smtp.mamul.org (Postfix, from userid 1101) id 4B59323C2CD6; Wed, 6 May 2015 01:33:13 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on cube.home X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 Received: from rigby.home (router.asus.com [192.168.1.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sasoiliev) by smtp.mamul.org (Postfix) with ESMTPSA id 18CF323C1CE8 for ; Wed, 6 May 2015 01:33:11 +0300 (EEST) From: Alexander Iliev Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: [alpine-user] Installing in data mode Message-Id: <6118B6CD-087D-453B-A2FD-834F278CDCF2@mamul.org> Date: Wed, 6 May 2015 01:33:11 +0300 To: alpine-user@lists.alpinelinux.org X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-Virus-Scanned: ClamAV using ClamSMTP Hi, I=92m trying out alpine linux and I really like most of the design = choices. However I=92m having trouble installing alpine linux in data mode. I=92ve = read several times [1], [2], [3], [4], [5] and [6] and it looks like I=92m= missing something. What I=92m 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=92m trying to set this = up in a virtual machine. What I=92ve 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 =97 I don=92t 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=92ve misread and/or misunderstood some bits from the = wiki, any help will be greatly appreciated! Links: 1. http://wiki.alpinelinux.org/wiki/Installation 2. http://wiki.alpinelinux.org/wiki/Alpine_setup_scripts 3. http://wiki.alpinelinux.org/wiki/Alpine_local_backup 4. http://wiki.alpinelinux.org/wiki/Setting_up_disks_manually 5. http://wiki.alpinelinux.org/wiki/Tutorials_and_Howtos#Storage 6. http://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management Regards, -- alexander iliev --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---