From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IBA5FDRdXWExEQEAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 10:24:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AG32DzRdXWHLBgAA1q6Kng (envelope-from ) for ; Wed, 06 Oct 2021 08:24:20 +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 BAEE112E71 for ; Wed, 6 Oct 2021 10:24:19 +0200 (CEST) Received: from localhost ([::1]:53146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mY2Dq-0002Dq-Sb for larch@yhetil.org; Wed, 06 Oct 2021 04:24:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY2DP-000233-Vx for help-guix@gnu.org; Wed, 06 Oct 2021 04:23:51 -0400 Received: from ipv6-s02.spamexperts.axc.nl ([2a0b:7280:100:0:407:60ff:fe00:20aa]:43448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY2DM-0007hZ-5G for help-guix@gnu.org; Wed, 06 Oct 2021 04:23:51 -0400 Received: from ipv6-vserver42.axc.nl ([2a0b:7280:100:0:429:b0ff:fe00:2096] helo=vserver42.axc.nl) by s02.spamexperts.axc.nl with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1mY2DD-0003Og-Ff; Wed, 06 Oct 2021 10:23:42 +0200 Received: from mail.axc.nl ([185.182.56.42]) by vserver42.axc.nl with esmtp (Exim 4.94.2) (envelope-from ) id 1mY2DC-005VWT-4f; Wed, 06 Oct 2021 10:23:38 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 06 Oct 2021 10:23:38 +0200 From: Thomas Danckaert To: "pelzflorian (Florian Pelz)" Subject: Re: repair broken boot record In-Reply-To: <20211005110432.hgjwehtz7gb2436n@pelzflorian.localdomain> References: <0dd640415db388dd78cfbd1e8174ea65@thomasdanckaert.be> <20211001065344.3ofpdgnxusvgj4ac@pelzflorian.localdomain> <2d6ff1739c954b939be941d34ef6c856@thomasdanckaert.be> <20211005110432.hgjwehtz7gb2436n@pelzflorian.localdomain> User-Agent: Roundcube Webmail/1.4.2 Message-ID: <7bd51847fd4893941b9850f345d00f5d@thomasdanckaert.be> X-Sender: post@thomasdanckaert.be PrimaryMX: Accepted email from trusted host. Hint: This skips spam scanning so make sure other host is not vulnerable SPFCheck: Server passes SPF test, -30 Spam score X-Relay-Host: 185.182.56.42 SpamTally: Final spam score: -109 X-AuthUser: X-Originating-IP: 2a0b:7280:100:0:429:b0ff:fe00:2096 X-SpamExperts-Domain: vserver42.axc.nl X-SpamExperts-Username: 2a0b:7280:100:0:429:b0ff:fe00:2096 X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.02) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT/ftKYzceDqlzW1o+I6/fl9PUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5xRmvMUiFVy6h+8kaOxQh+DIg7Q/pF9LBl74h9tGOXY+vzf oWFDueiB0AlxLIIDbbc+Vy93rN8A3gjMe8JEA/IASsYM8qJNuxTYEOBR7bDm/iTg127TqHZDxA/k ZB41Rh/17sxadddDOquHzUKfRLUg5ZuxPE4nrdt31pd1IZUzuNBxlNqG373fzbKnGSufaHF5xBHk CMCjMposz65/e+f6Yd89w9s3g0ypnyjHWx3ZYL6TsyKmJacxy2ZB3l/KIDPFtivW+648fff2kH7q wSRxi+fgeAmxPvK9eg25cp9LrSKcYolrKezJPhCI9zCIE5CT1wEKPcWNt8KXVm/l2obHkhqbiTdT lYcOHnVgVGtCG/QUVs8i7IO7gY+W/tTnAragVzxEUDRYseMBVXDP7KlgL4QFy0eB/isP83e9uHLE BeHTPI/rzJIRbhotX0RECi60kIln9Nb+UrWmzfku+FiQj7kxzD2YSQadThILqbNNMg9Xu+rM7Frw bGkvilYrrAYOE30trLv28spkrqk8saf2RMQ8kYoqEJrxk63t+5lodHIRhR40OqtfdKO75mh35XPE Xht9Wd7KVnNcAPwsTf3NtBZsWgKy84rdrAiG157ty1g8LjFpo0oGxjYtWxBw9j9IuSl8qIDPBWDT j2Se27WtxNpNdD3iIysLPgJOROHiFFw9X+QaeUgfM8Rzvb2J9qrPidNmHPxjLTQhn9cX6mrOX0vb OV1GC4tWSdMEfX0qZtZcYflIMbaTJGx1xg/L1K2wHr5Oi947Mh12CMom+0PQJWlp9WPKg4abNNq8 7OmVNG7sCRIr1gQ32jyyS5jrdGVUVmzeR/Ern1z0fWsvL0XNPAlbDjazCbhs7qBpykynMrDwFuIQ Kn0NjAT/bO9gf8qaeeamFkiQwlaCbSvZVvJuBDuo+FobdeXVllCA/hQOUCUKRK6Obnxr/EH5cLWQ Jzoe9Gory97ytKcl8m2vCNJ8ELH1utqYxpVVHJUK1MCC1x0hmHhv2aUtKThYpFRgbBuEb1oPsy0t DNmYBCwluUqLjriqtRT4ju5r3SqiX+pzSEc0Bli4t+U+/ipKBLy6AjHJJ8slNEAaYitUH/s60iid X-Report-Abuse-To: spam@s01.spamexperts.axc.nl Received-SPF: pass client-ip=2a0b:7280:100:0:407:60ff:fe00:20aa; envelope-from=post@thomasdanckaert.be; helo=ipv6-s02.spamexperts.axc.nl X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-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: , Cc: help-guix@gnu.org 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=1633508659; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=SU1H21KxI5FI+nuWr+h4Epc7a6RaBOA6sqGhA7ApCfo=; b=bt2HqAmgFeIbHDZkmVr2s+RgWP5m0pzcAIk8q8McQU9mp7ABK9q5m3qsmiRHaFEzfq9wW8 J7VXjKxiKq+YPIrNw7m8Ehv976aoAPxaZxNnOmJL4Gm37kSL8ORNEQLzxogvsMzs/ecqhM RD2w4Llza+WseOvHHac9lMNdb550Oi18uG0jLhDxr3qmW0s0bfkQS58yB9uE94b22C720a 4s88YSIZFvKwozBOSLC9dTAVfaD6A8M3d7zEIdYc+wJ6tb93UiA1OGNLktMaaN63d7KeuN exInOja+miMLsluNm1GlUxKymdLlxdppM8f4XX1ZASMhRVF5r3++Ryyq13Bz4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633508659; a=rsa-sha256; cv=none; b=Bgm9nHUrkaEzIQpcFyNptJCHOlOWUmZ7m/XHdzwjfNCYGNDO0Vs3zk4L5XUySlY262/C9n diJVVv0AyGRDEsJXDgr57iaVBfjOWDOTHQ06ZOt9CAqoojHrBS3ISZChJt04PAGdatgtLU B6CGr5ifK37n5bqwqQ2TO3sYw8BpUcg9HRy6nceeEm/x/kyYM2sOrSP9LRO5ju0XnE1jMQ hnOvOJ/RUzVS/ii3mPnE+4NQRaOBchUNRuPxFhs5m8qHiQvzLElKmhlURJBxoTnCnA1Nzi VdoNG/pe+a7aQIU+V/nTN9FDPH2hVwG5rBohw7VTHCnqTY7wv8ZexALsngk1Dg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -2.41 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: BAEE112E71 X-Spam-Score: -2.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8sWyvyH9tVNV On 2021-10-05 13:04, pelzflorian (Florian Pelz) wrote: > On Tue, Oct 05, 2021 at 11:28:50AM +0200, Thomas Danckaert wrote: >> In one of the final >> steps, where guix tries to install the bootloader, I get the error: >> >> /gnu/store/.../grub/i386-pc/modinfo.sh doesn't exist. Please specify >> --target or --directory. > > This is strange. When you reconfigure, Guix should print the > grub-install command that was used, which should include both --target > and --directory. The full message is: guix system: error: '/gnu/store/v77n5m....grub-efi-2.06/sbin/grub-install --boot-directory //boot --bootloader-id=Guix --efi-directory=/boot/efi' exited with status 1; output follows: /gnu/store/.../grub-install: error: /gnu/store/.../lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory' Note that the grub-install command doens't contain '--target' or '--directory'. (Also: my system is x64, and this seems to be for i386. Should there be a --target=x64_86-efi somewhere?) > However, perhaps the chroot is at fault: Before chrooting to, let’s > say, /mnt with chroot /mnt, you need to have mounted the /dev/sdXy > file system with EFI on it (that which is declared in your config.scm) > to /mnt/boot/efi. I have in my config 'target /boot/efi'. My EFI partition is /dev/sda1. If I mount it like # mount /dev/sda1 /mnt2 (/mnt2 because I already have my /dev/sda3 partition with guix at /mnt) I find the following layout: /mnt2/EFI/ EFI grub Guix what would be the correct bind mount? I tried # mount --bind /mnt2/EFI /boot/efi so I now have /boot/efi/ EFI grub Guix Any idea if that is the desired layout? thanks! Thomas