Received: from mail-vk1-xa34.google.com (mail-vk1-xa34.google.com [IPv6:2607:f8b0:4864:20::a34]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id E561A2235A0 for <~alpine/users@lists.alpinelinux.org>; Sun, 28 May 2023 08:41:09 +0000 (UTC) Received: by mail-vk1-xa34.google.com with SMTP id 71dfb90a1353d-456d241fcdcso520627e0c.0 for <~alpine/users@lists.alpinelinux.org>; Sun, 28 May 2023 01:41:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685263267; x=1687855267; 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=XxOX2gz0DJo5+aPPI1h7M0p2308Hxh+sHIEPTk+Yc1U=; b=aK+Y7GLcc7/AFHyB/9Ky3I4N0arBh/C3AqtSMUBTfRbyymqIQoPTBWglGD2pbf55JG AbVpqD3q9xa8pwo8ism9KaoRwefvZ7aCm1uXbkQlaQ+knSUwM6NwbCz9WBoC05mv6f80 dLB5iC+qx7BgqMH7x2Ofq+FZdQ6TPl/Kf6LYvsGbIWqRXHSIPtBuszPAoVMFVsZoVn0L WrslckbPhbQe9U8M67A7u8u0mpbRrCkQBSdfe3d3Ne/IoqL0fgt3UGDyTdNdF3sJw6bJ MGG9F14AnIGAd5U6ORvVXzye8mEJOa01eAqNacVgzvReZphLigJ9zOfrAW9fx/8tTdY3 Q+iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685263267; x=1687855267; 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=XxOX2gz0DJo5+aPPI1h7M0p2308Hxh+sHIEPTk+Yc1U=; b=YebQY8zV4442E4x1DjnxSZMFIEjj4DhMqQBAp+/IYrlMI+Ma0X1R2OOMulIb+5KCeQ +skZ/KaCNkijPPE7oUxqnZw8SjL77N4gWdbGrV3q6qKqsyNmy2xTCeuJiRrGPN1Wj+mR RYljy/NxJZ3GdNstgVWGwaSXjY+LwtwMrEtbWCh1j/T+BQqqfhh/sAP72KyoRwXjJP/t njYeQ3E4gojgM+jjxCo4npq174YMvQ4N6PXvOoaGcedlJkLSpPZAlNkx/3nDPvd8gE4g P0gNfBztHkd9rjkSfh+dMsNhiwrFtSGsoQ0gs8svLaWtJLlsdXYWleq3ncEszs/VCAAG Qd3g== X-Gm-Message-State: AC+VfDwm7qkZMIWv44eniLr+9JqJwV239C/m+4bQgHsbYpxs1SsVHwyM 1eTdW3RX1Lc0jHwH7/OoUqxTSKhVqZT61iqw0DY= X-Google-Smtp-Source: ACHHUZ7FXSGpCtBXjvNPA9p+RN1uz97PeOpmoQQ17IYQQIUYCaUiu7QMClXDt/NsXPcqrLL95mkxq75qWPlF/M6gSUI= X-Received: by 2002:a1f:5f91:0:b0:44f:a955:aaac with SMTP id t139-20020a1f5f91000000b0044fa955aaacmr1472006vkb.6.1685263266959; Sun, 28 May 2023 01:41:06 -0700 (PDT) MIME-Version: 1.0 References: <3405c3d90ea2b8ab5c6849f1ee17c87338e86348.camel@riseup.net> <0eab7313f6d23bf05d4e73e7db8aad05ac1bf265.camel@riseup.net> <9fdb3d754556ebb18428904b6edc2b5ddf37d6fc.camel@riseup.net> In-Reply-To: <9fdb3d754556ebb18428904b6edc2b5ddf37d6fc.camel@riseup.net> From: Konstantin Kulikov Date: Sun, 28 May 2023 11:40:56 +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 > mount: mounting {LABEL,UUID} [...] on /sysroot failed: No such file or di= rectory > Mounting root failed. > initramfs emergency recovery shell launched. Either you got wrong uuid or nvme/filesystem modules didn't get packed into initramfs. Try mounting manually in an emergency shell and see what happens. mkinitfs can be run from chroot or from host system using -b flag, similar to apk. That works even across architectures. [ ok ] > can't open /dev/tty1: No such file or directory > can't open /dev/tty2: No such file or directory > can't open /dev/tty3: No such file or directory > can't open /dev/tty4: No such file or directory > can't open /dev/tty5: No such file or directory > can't open /dev/tty6: No such file or directory > can't open /dev/tty1: No such file or directory > can't open /dev/tty2: No such file or directory > [...] Looks like system starts, but init can't find console to spawn login(1) on. I'm not familiar with systemd, but reading its manpage i think it sets up /dev/console. Try replacing tty1 with console in /etc/inittab > # chroot /mnt/m1.alpine/ > chroot: failed to run command =E2=80=98/bin/bash=E2=80=99: No such fil= e or directory You need to specify command to run in chroot, in case of alpine it's /bin/s= h.