Received: from mx0.riseup.net (mx0.riseup.net [198.252.153.6]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 426732235B8 for <~alpine/users@lists.alpinelinux.org>; Sun, 28 May 2023 10:30:19 +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 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4QTZfx3mv1z9tJm for <~alpine/users@lists.alpinelinux.org>; Sun, 28 May 2023 10:30:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1685269817; bh=wVHQECWnomgu6rpTgCMMvc4r+77k6jRm/yeamhamIrk=; h=Subject:From:To:Date:In-Reply-To:References:From; b=npB1n0Vv1AVOfuiUPgHU7SYDSx5U6RhKHnq/xml/YIzKHYbYAsI2h+T1IheqoGV30 EOlGk+52K2YNeEJv8CpYhv5pj6RpuPDlGqf9b5GNzIvRfGKv9Gn99g5Au15Ers8gpZ UMiMUR57N+JU3HWD1Q4fxL4sZR+Q8sXywJ4W0iOA= X-Riseup-User-ID: CA3BC9806D1C4F1368B04B58CAFDDBC7A4CE281E0E3130B1D36221B0140869AD Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4QTZfw664xzFqjD for <~alpine/users@lists.alpinelinux.org>; Sun, 28 May 2023 10:30:16 +0000 (UTC) Message-ID: <7950a075f5329960548a2c8706df8bf3bda254a8.camel@riseup.net> Subject: Re: Install on single partition and without a bootloader From: Ralf Mardorf To: ~alpine/users@lists.alpinelinux.org Date: Sun, 28 May 2023 12:30:14 +0200 In-Reply-To: References: <3405c3d90ea2b8ab5c6849f1ee17c87338e86348.camel@riseup.net> <0eab7313f6d23bf05d4e73e7db8aad05ac1bf265.camel@riseup.net> <9fdb3d754556ebb18428904b6edc2b5ddf37d6fc.camel@riseup.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On Sun, 2023-05-28 at 12:03 +0200, Ralf Mardorf wrote: > # chroot /mnt/m1.alpine/ /bin/sh -i > =C2=A0=C2=A0 / # mkinitfs -c /etc/mkinitfs/mkinitfs.conf -b / $(ls /lib/m= odules/) > =C2=A0=C2=A0 /bin/sh: mkinitfs: not found > =C2=A0=C2=A0 / # /sbin/mkinitfs -c /etc/mkinitfs/mkinitfs.conf -b / $(ls = /lib/modules/)=20 > =C2=A0=C2=A0 =3D=3D> initramfs: creating /boot/initramfs-lts > =C2=A0=C2=A0 /sbin/mkinitfs: line 132: depmod: not found Hi, I was forced to push the reset button. I wonder what mistake I've done and why the above happened, before I made it even more worse. At the moment I can't risk to be forced to reset the machine again, since I've got some work to do. Any pointers to reduce the risk using a chroot are welcome. What are the easiest steps to run mkinitfs -c /etc/mkinitfs/mkinitfs.conf -b / 6.1.30-0-lts ? Keep in mind that when booting Alpine into the initramfs emergency recovery shell it also doesn't find the command mkinitfs. Regards, Ralf