Received: from mail-vk1-xa32.google.com (mail-vk1-xa32.google.com [IPv6:2607:f8b0:4864:20::a32]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 9AC8C223598 for <~alpine/users@lists.alpinelinux.org>; Mon, 29 May 2023 05:25:23 +0000 (UTC) Received: by mail-vk1-xa32.google.com with SMTP id 71dfb90a1353d-456e4f4ea83so805384e0c.3 for <~alpine/users@lists.alpinelinux.org>; Sun, 28 May 2023 22:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685337922; x=1687929922; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=8zCG3jkVJ3KzZiLbdHxS/4L+688eWWFoNRdhrEawoU4=; b=dzgymeLMzcIpdNx7I8rAIftnjU2ZUMpxsTzs3soFnTe13r9H75MF1I6rdpvW/MzxFb AJPiVxan4wIV09X8Sh2Yv8LZHlHfNuJpN1mcFryc9MYdzuOhV8r9wceA8VD1xZSkqbGG 4ySuc/9Cj6qHcdiCWRL15iwTZ+qGFZJ7YT3xJCqvlWNQKRHOiILjnvIyx6FHdz2JCDVl sVGyh7FxRtWn7i9s3xFyQkFusZdjlQcNQ+T9oAUDMrzMrvH3KDrjNp+Ej9yrTiXbGu43 FdxdcZ6rnIYIoINrWKzZJnWh3HRb6tmnLt0YdInqERPA5ybZ5QWkzYBOjLjshV0xxwsc kiWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685337922; x=1687929922; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8zCG3jkVJ3KzZiLbdHxS/4L+688eWWFoNRdhrEawoU4=; b=b1nfGOeOa5Pq5cmtGa+HbEgjCI4SsC1Y2veFwpojkVsjmty4Gr1loDgAl0WBg3O3CQ Cz4D74eAlyofQmcIeHyT2UNCdmmXz7oQJk1d4r09xN+5Zo+32zp680aa/KTWJVQnOekt 6FKQegjnQ18QJoZOdr6Fx3+prWmySJyuZzL21/x3AqAfshHr+I9K905/fGOSngcET3JT H79yhiCbnhtfULC+KbE+9aV1AiXIj+GfAeUSZrQNkr05kAKI5M6zlxCXIzwaIto0pnXq TBmB1JFfLFNYEDgpgDgXaEXJ63BJuCiBXvI+Msr+LiZ/Nv5cXXn4rY1RMBPo8nqFzI2i dfBQ== X-Gm-Message-State: AC+VfDypgoOzWXEoo6OU6Mvhcn7lbH934n865Fzc6G8xLslbaN8mrUM3 jrxDSmdo/w7lOOZhTlr+EfF0uvW5HpwisFRm+7DhhecfTKo= X-Google-Smtp-Source: ACHHUZ4GH2/79ypYBfbR3hP8Un8BLyuFf03+pSDdF2Rj4eWQwB1inKNjyPiPG8swwoNNtONlwPzWfJNJOJ76UhAcX3U= X-Received: by 2002:a1f:43ca:0:b0:44f:ef57:c49a with SMTP id q193-20020a1f43ca000000b0044fef57c49amr1930744vka.11.1685337921808; Sun, 28 May 2023 22:25:21 -0700 (PDT) MIME-Version: 1.0 References: <3405c3d90ea2b8ab5c6849f1ee17c87338e86348.camel@riseup.net> <0eab7313f6d23bf05d4e73e7db8aad05ac1bf265.camel@riseup.net> <9fdb3d754556ebb18428904b6edc2b5ddf37d6fc.camel@riseup.net> <7950a075f5329960548a2c8706df8bf3bda254a8.camel@riseup.net> <83435b7879b0fd1bfbdb4d7f2737c5ad8aeead7d.camel@riseup.net> In-Reply-To: <83435b7879b0fd1bfbdb4d7f2737c5ad8aeead7d.camel@riseup.net> From: Konstantin Kulikov Date: Mon, 29 May 2023 08:25:10 +0300 Message-ID: Subject: Re: Install on single partition and without a bootloader To: Ralf Mardorf Cc: ~alpine/users@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > # chroot /mnt/m1.alpine/ /bin/sh -i > / # mkinitfs -c /etc/mkinitfs/mkinitfs.conf -b / $(ls /lib/modules/) > /bin/sh: mkinitfs: not found > / # /sbin/mkinitfs -c /etc/mkinitfs/mkinitfs.conf -b / $(ls /lib/modul= es/) > =3D=3D> initramfs: creating /boot/initramfs-lts > /sbin/mkinitfs: line 132: depmod: not found Use /bin/sh -l. /etc/profile does not get sources unless you're running a login shell so PATH from your host system gets inherited and alpine expects a different one. > =E2=80=A2 root@archlinux /home/rocketmouse > # apk add --root /mnt/m1.alpine/ fix linux-lts > fetch http://mirror.bahnhof.net/pub/alpinelinux/v3.18/main/x86_64/APKI= NDEX.tar.gz > fetch http://mirror.bahnhof.net/pub/alpinelinux/edge/main/x86_64/APKIN= DEX.tar.gz > ERROR: unable to select packages: > fix (no such package): > required by: world[fix] > Mixing release and edge repositories is not supported by alpine. Choose one= . > > =E2=80=A2 root@archlinux /home/rocketmouse > # apk fix --root /mnt/m1.alpine/ linux-lts > (1/1) [APK unavailable, skipped] Reinstalling linux-lts (6.1.30-r0) > OK: 452 MiB in 54 packages Maybe caused by mixing repos. Fix your /etc/apk/repositories and /etc/apk/world and run apk upgrade -a