Received: from mail-24429.protonmail.ch (mail-24429.protonmail.ch [109.224.244.29]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id CFD1F225D76 for <~alpine/users@lists.alpinelinux.org>; Sun, 23 Mar 2025 21:14:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1742764473; x=1743023673; bh=fXVFyiT8AezdQWWUJ6GrvkD812d1TpZodzQA4aMr6sA=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=Rqby+jMH5QjCa+sq7AkWKFuOaPEhtguMjkOqXL8yzOjAzSNdGTXPoS5mmGn9vRcJT JFN/07TIBCmU00VLx7aqf9lHQk07SXBr4GE/cdSi/rVK6HJbUfimZapXWb7cuN0XSk ynWBYuYFIqyMMU5hl+1ofFWWkkI+TedE40iSQVeblXgiehb3Z5iE/+5SrEMpMVKOB3 rQX9dxaLJf9yFUi9yJhl73untrZo0NK0MkhhqPGUIL3pDQ8gcgaZOlMSC76Bs2JDmr +iopRSCj0Ij1fsE6ycD0vGAY8BuiJ/l8VHPvnjDsTFLw5jG9TiUfgqCufWkJvrStEH I/lg/U07qrd7Q== Date: Sun, 23 Mar 2025 21:14:26 +0000 To: "~alpine/users@lists.alpinelinux.org" <~alpine/users@lists.alpinelinux.org> From: Ellis Leaf Subject: Unable to unlock luks encrypted disks with GRUB Message-ID: Feedback-ID: 63635450:user:proton X-Pm-Message-ID: b5cb3eaacca427405815a44bf43b480e33d49ad0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! I'm trying to install Alpine for the first time, following (mostly) the guide [1] on Alpine's wiki, and [2] on Arch0s wiki. However, I'm encountering some problems with GRUB's configuration. The most annoying and problematic one is that the keyboard layout does not change with the keymap command, both in the config script and from the GRUB rescue shell. Another problem, which might be causing the first one, is that, before I get the password prompt, I get the error "Unknown command 'terminal_input'". I get the same error for the command "normal", after unlocking the disk fails. Also, I'm unable to generate the keyboard layout from inside Alpine, because ckbcomp is missing some files under /usr/share/X11/xkb. I've both tried with a layout generated from my Gentoo system, and one generated from Alpine after copying the necessary files from Gentoo. (Although as expected they where identical) I'd be happy to generate one with files from Alpine's repos but I can't seem to figure out what package provides them. I should also note that I'm trying to setup LUKS2. I know this might be problematic, but I'm confident this is not related. The following is my version of grub-pre.cfg (I'm not sure what the preferred way of sharing code is, hope this is okay): set root=3D(memdisk) set prefix=3D($root)/ terminal_input at_keyboard keymap /it.gkb set crypto_uuid=3D2ed3a90d791e4f8884c19e5d4b035d26 cryptomount -u $crypto_uuid set root=3D'lvmid/0sLPCC-...-3bAQqZ/n3gOdv-...-GHqKbi' set prefix=3D($root)/boot/grub insmod normal normal Does anyone have any idea of what I might be doing wrong? Thank you in advance :) .:| orsetto ~}> -- [1] https://wiki.alpinelinux.org/wiki/LVM_on_LUKS [2] https://wiki.archlinux.org/title/GRUB/Tips_and_tricks#Manual_configurat= ion_of_core_image_for_early_boot