Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 0562A223599 for <~alpine/users@lists.alpinelinux.org>; Tue, 30 May 2023 11:24:55 +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 4QVqn130zQzDqMX; Tue, 30 May 2023 11:24:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1685445893; bh=DDtSfs5mK+C3w7OsuI1AJwYPV2eksDJt6jctWAG+NBw=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=mfC5TO3peNzO/OF8otBWvTKRBToZ5TR8s02WSTrI6l0wMqh7TzL/A4V55NdwZLVth BmIAIKy3vJomMyfVkLoDyOpwd364E0BH1weY0yIfVRH4Y4FVlGk3SKIDOBkiJ9LSj0 uKHVlXSZRkvQrJnnD0RWCtdTo7WqK/sGUdLoz3RI= X-Riseup-User-ID: A7E618F76FA8E17397261A08E173155A90046B3567E97CBD2066BA6F9A7F4170 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4QVqn03WhLzFqgQ; Tue, 30 May 2023 11:24:52 +0000 (UTC) Message-ID: Subject: [solved] Install on single partition and without a bootloader From: Ralf Mardorf To: Konstantin Kulikov Cc: ~alpine/users@lists.alpinelinux.org Date: Tue, 30 May 2023 13:24:49 +0200 In-Reply-To: References: <3405c3d90ea2b8ab5c6849f1ee17c87338e86348.camel@riseup.net> <0eab7313f6d23bf05d4e73e7db8aad05ac1bf265.camel@riseup.net> <9fdb3d754556ebb18428904b6edc2b5ddf37d6fc.camel@riseup.net> <7950a075f5329960548a2c8706df8bf3bda254a8.camel@riseup.net> <83435b7879b0fd1bfbdb4d7f2737c5ad8aeead7d.camel@riseup.net> <37693b5c20497122826b09493617276e08ffd007.camel@riseup.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On Tue, 2023-05-30 at 11:05 +0300, Konstantin Kulikov wrote: > > I assume I can uncomment v3.18/community in addition to main, just > > mixing v3.18 and edge doesn't work. Is this correct? >=20 > Yes. There is also testing repo with some more packages. Thank You, at the moment my /etc/apk/repositories does look like this: =E2=80=A2 rocketmouse@archlinux ~=20 $ cat /mnt/m1.alpine/etc/apk/repositories=20 # Warning: Changing the repositories to latest-stable may initiate unexp= ected release upgrades. # http://mirror.bahnhof.net/pub/alpinelinux/v3.18/main #http://mirror.bahnhof.net/pub/alpinelinux/latest-stable/main # http://mirror.bahnhof.net/pub/alpinelinux/v3.18/community #http://mirror.bahnhof.net/pub/alpinelinux/latest-stable/community # # Using the testing repository on stable branches # Warning: Only do this if you're 100% sure what you're doing! # Installing packages from edge that link to something in main or commun= ity usually will not work. # Alpine does not officially support mixing branches this way. # #http://mirror.bahnhof.net/pub/alpinelinux/edge/testing > > Booting Alpine still ends up with the initramfs emergency recovery > > shell > You need to try and mount your root device initramfs shell by hand and > debug from there. It wasn't necessary. However, just in case I ever should need to do this. If startup should end with the messages mount: mounting /dev/nvme0n1p5 on /sysroot failed: No such file or direc= tory Mouting root failed initramfs emergency recovery shell launched. then I need to run mount -t ext4 /dev/nvme0n1p5 /sysroot Is this correct? > Possibly ext4 module is not loaded and you need to add modules=3Dext4 to > your bootloader. This does the trick. =E2=80=A2 rocketmouse@archlinux ~=20 $ grep Alpine /boot/grub/grub.cfg -A 4 menuentry " Alpine Linux" { search --no-floppy --set=3Droot --label m1.alpine linux /boot/vmlinuz-lts root=3D/dev/disk/by-label/m1.alpine ro m= odules=3Dext4 initrd /boot/initramfs-lts } Regards, Ralf