Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 262D92235A0 for <~alpine/users@lists.alpinelinux.org>; Fri, 26 May 2023 17:41:54 +0000 (UTC) Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4QSXKs14fkzDqCL; Fri, 26 May 2023 17:41:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1685122913; bh=SefSXyboZHu5fwAxpLsv/ydquf0Bwb7W6bH/dvDMw20=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=TA29ElqQpF8Y0nTfyCS7YVHtSGpXgU7XjOgiS9pxhRzpNCtEIELWqM3rcgVx2QY78 +VIClQBb7+Z0VWPh0wJ+XK1SyySV2KrYe8X1+NpwRlGTi/SzqQNm6d7CkWI66nSkL9 hPD72ojS5piF9IArfSkKc5xNLdYY8xaAwsrSEbec= X-Riseup-User-ID: C37FEB69F9D60C72E96FB6B2A94553E67B04BC3CB0DF7643991C246A4B1314F1 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4QSXKr2GRTzFpmm; Fri, 26 May 2023 17:41:52 +0000 (UTC) Message-ID: <3405c3d90ea2b8ab5c6849f1ee17c87338e86348.camel@riseup.net> Subject: Re: Install on single partition and without a bootloader From: Ralf Mardorf To: Konstantin Kulikov Cc: ~alpine/users@lists.alpinelinux.org Date: Fri, 26 May 2023 19:41:49 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On Fri, 2023-05-26 at 19:23 +0300, Konstantin Kulikov wrote: >=20 > I'd say it's easier to install manually using apk like this: > apk add --root /mnt --initdb --allow-untrusted --repository > https://mirror.yandex.ru/mirrors/alpine/edge/main alpine-base >=20 > Most distros ship apk-tools in their repos so you don't need to do it > from alpine. Thank You, yes, it's in the Arch repos. $ pacman -Si apk-tools | head -5 Repository : extra Name : apk-tools Version : 2.12.11-1 Description : Alpine Package Keeper - package manager for alpine Architecture : x86_64 > This skips one important thing however - populating > /etc/runlevels/{sysinit,boot,shutdown}. > For bubblewrap/unshare/chroot purposes you don't need it. > But if you do, you can fill it manually from any working alpine > installation. I'm not sure if I understand you correctly. After booting the ISO /etc/runlevels/ holds the empty directories default/ and nonetwork/. The content of the directories boot/, shutdown/ and sysinit/ are symbolic links against scripts in /etc/init.d. When booted into the ISO, should I copy the items to the Alpine PC install? Regards, Ralf