From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wG7KC8QPqmD4hAEAgWs5BA (envelope-from ) for ; Sun, 23 May 2021 10:18:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wAh2B8QPqmBjLQAA1q6Kng (envelope-from ) for ; Sun, 23 May 2021 08:18:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9D460BA3D for ; Sun, 23 May 2021 10:18:11 +0200 (CEST) Received: from localhost ([::1]:51232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkitT-0003j5-64 for larch@yhetil.org; Sun, 23 May 2021 03:51:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljyAy-0005fW-Pe for help-guix@gnu.org; Fri, 21 May 2021 01:58:25 -0400 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:35385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljyAv-0004Cp-L3 for help-guix@gnu.org; Fri, 21 May 2021 01:58:24 -0400 Received: by mail-lf1-x131.google.com with SMTP id x19so27987127lfa.2 for ; Thu, 20 May 2021 22:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=9LXZnQ1gvSfvXYUPWBRNYtw6MkK+5u90edPjLXx5I0Q=; b=XHCaXOKrXTEp5aXQbmRbsgJ+I5s2aT1A4i28lycTkc8bdm4JgJb0x/FJWI44m3cuuu guRz2MrLYgkiIvzetwNWnYMb94TMfCQl6mMsZFP+XeBBq1DmAgIejEMjS4XzlPYCyQtl t3XDtoNZ+P/7wUE9QVUYzTZUyqMQDTyDpm1XQdksfiXMcI0Vp2dJChDaTb+cjMi7Kr0n wg8jnxql+QEprlK1sEO4U2J9x8YUM8QMB0syxZo/QqQzv28GGT2ymgcyJHBwVcDOYUmI VUOgjFPvbfAd/Ik5HvkxP54SvwWx1WQ+lE6PYH72g9b0Pq8sdBPhkNCrb0y6MwxYesCH 3tLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=9LXZnQ1gvSfvXYUPWBRNYtw6MkK+5u90edPjLXx5I0Q=; b=MvKUOILtBMtCGljA7f0o259mWbQm23rCEQe/IB6ssx/tm0rsLUxjFLPGMA1je8bHsg aK2iLG+bxM9zydEkHO61kEOH5MNrqnIgkPKwSyLw8uqpJcPOAMIWzk/9bsg+UlV4Nrtz SDJlWIRuKch6vZo6klH4awYJWJ+p1H2Da5PpA3Y8/aEWeKhssSQ3OkDM7cZd95C5f5wc fCcJqmf/zH3NWjd6BTUJxCEeRAYYoBTdd40TpEK0iikVUlmgOM8p9M7jOGYZ10lgw1TB BLyze0+M+yd7dFX9ZhBi/+NqoUYW/xXn/q61KzMa+DGvLFoVLnr+0fyBkc8metO0MiTw BEXw== X-Gm-Message-State: AOAM531Y0OsP6JljmQYenaXPxWFZGnbDUlHcNnaqxJIW60cBm5I6+bws EE/Qsw2l66DlBsteu4Ywh3PDwoEWfsz8wnRAsa9AxPWa X-Google-Smtp-Source: ABdhPJwjoyHhbcL2Ft9qyBhGUNlZyqpX8J8+8o3g1DzQEXSGFBywmegZBUFd55qYNBUGW1UIz+47p4NZN5BHYNV6so0= X-Received: by 2002:ac2:41ca:: with SMTP id d10mr1037769lfi.456.1621576698771; Thu, 20 May 2021 22:58:18 -0700 (PDT) MIME-Version: 1.0 From: Nikolay Velyurov Date: Fri, 21 May 2021 08:58:07 +0300 Message-ID: Subject: How to install Guix System on LVM on LUKS? To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=nvelyurov@gmail.com; helo=mail-lf1-x131.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 23 May 2021 03:50:51 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621757891; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9LXZnQ1gvSfvXYUPWBRNYtw6MkK+5u90edPjLXx5I0Q=; b=OmgBTsGVvckReTHkfuBc60U8CRgwr0WJWxs73XL+gky/ZnQxbmBETuoL7P5J7eVyqoaPj1 DVV6XPJ57di0k/cIZPUML1oJ+hM76RaeBV9wbUe21m6TTHcJZ3L2TAJgHkonBDspl4F0Jk 7qCIm1n1Q22cf1pDJnFjZZyYAwnhfvIn/Q7gnO+bd1vcSOl3CCbof3HSp3ckYz4UnCQb7h SM6r/YEAxm1xzLqy2Au+8NYZFUAEUEnhkxMygvTsoPo1EzXy3T77babaGGOUgKhwaL6gzD rMrPOVYKVzg5xOrp6Z0NMqMYNSGt1hDMtT91oeMNJ6YQFRpVsGZoVJD42QanZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621757891; a=rsa-sha256; cv=none; b=oV3lpy5wZmzthzlddI6OMyaJluZ/3I5ReOYAA2VDa+ejeKWiXkBLvlUPnbO9Z1XIQq3EKI qqlmK8yDrvIe+oJmLPCrbnz6mtpUvjBfnFBot+Klm2EDzVJvX1Mns6JVM+fMQkw6Y8T0m+ U1vdQiMb9Zp9VqH+HB1A/j99dM2RwpsgOY5emZgynon/p/Z3ha5XZrvzMn+6S/AVhEZzkf Hc84T+kLcqST7AbMn/JoHaLe44BCysrXg6dG7z6rZSwSBQpwAhJzr3ceNpFgbvJ6dQRGY2 xL9gOjYeU2925wi2pqvYqPnZ4fo6QbVduCII1j25BsWWYG1eoVLw9txuF7txAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=XHCaXOKr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=XHCaXOKr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 9D460BA3D X-Spam-Score: -1.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: Xq4p2qTihWDU Hi geeks, I try to install Guix System on LVM on LUKS. Installation succeeded, but the system can't boot. When powered on, GRUB stops with: > Booting `GNU with Linux-Libre 5.11.15' > error: no such device: /gnu/store/5axms2d6yqx1zqbcjn3cl015cbcaf7i1-linux-= libre-5.11.15/bzImage. > error: file `/gnu/store/5axms2d6yqx1zqbcjn3cl015cbcaf7i1-linux-libre-5.11= .15/bzImage' not found. > error: you need to load the kernel first. > Press any key to continue... Ok, I fixed that problem by doing: > grub> ls > (proc) (hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) > grub> insmod cryptodisk > grub> insmod luks > grub> insmod lvm > grub> cryptomount (hd0,gpt3) > Attempting to decrypt master key... > Enter passphrase for hd0,gpt3 (7bf9bff8229847978d253d7a0ea31ae8): > Slot 0 opened > grub> ls > (crypto0) (proc) (hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (lvm/vg0-home) (l= vm/vg0-root) (lvm/vg0-swap) However, now I get the following error: > Welcome, this is GNU's early boot Guile. > Use '--repl' for an initrd REPL. > > loading kernel modules... > Volume group "vg0" not found > Cannot process volume group vg0 > ice-9/boot-9.scm:1669:16: In procedure raise-exception: > pre-mount actions failed Do I need file-system-dependencies? Is there an example? Help me please... *** Appx.1 Block devices list > Dev GiB Struct Mount point > sda1 .25 fat32 /boot/efi > sda2 .5 ext4 /boot > sda3 15+ luks > mapper/pv0 luks opened =3D lvm physical volume > mapper/vg0-swap 1 swap > mapper/vg0-root 10 ext4 / > mapper/vg0-home 4+ ext4 /home *** Appx.2 config.scm: bootloader, mapped-devices and file-systems > (bootloader (bootloader-configuration > (bootloader grub-efi-bootloader) > (target "/boot/efi"))) > > (mapped-devices > (list (mapped-device > (source "/dev/sda3") > (target "pv0") > (type luks-device-mapping)) > (mapped-device > (source "vg0") > (targets (list "vg0-swap" "vg0-root" "vg0-home")) > (type lvm-device-mapping)))) > > (file-systems (append > (list (file-system > (device "/dev/mapper/vg0-root") > (mount-point "/") > (type "ext4")) > (file-system > (device "/dev/mapper/vg0-home") > (mount-point "/home") > (type "ext4")) > (file-system > (device "/dev/sda2") > (mount-point "/boot") > (type "ext4")) > (file-system > (device "/dev/sda1") > (mount-point "/boot/efi") > (type "vfat"))) > %base-file-systems)) *** Appx.3 grub.cfg: menuentry > menuentry "GNU with Linux-Libre 5.11.15" { > search --file --set /gnu/store/5axms2d6yqx1zqbcjn3cl015cbcaf7i1-linux-l= ibre-5.11.15/bzImage > linux /gnu/store/5axms2d6yqx1zqbcjn3cl015cbcaf7i1-linux-libre-5.11.15/b= zImage --root=3D/dev/mapper/vg0-root --system=3D/gnu/store/my6gn1kqajhi720s= 3x5h1gjj9n2y2hs7-system --load=3D/gnu/store/my6gn1kqajhi720s3x5h1gjj9n2y2hs= 7-system/boot modprobe.blacklist=3Dusbmouse,usbkbd quiet > initrd /gnu/store/vwyf16g511h8ls44fabrqldq3nfhxljw-raw-initrd/initrd.cp= io.gz > } Best regards, Nikolay