From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4OUkKfYaXGFvFAEAgWs5BA (envelope-from ) for ; Tue, 05 Oct 2021 11:29:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QAvMJPYaXGE2AQAAbx9fmQ (envelope-from ) for ; Tue, 05 Oct 2021 09:29:26 +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 DA38813BFB for ; Tue, 5 Oct 2021 11:29:25 +0200 (CEST) Received: from localhost ([::1]:43910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXglH-0007i4-EK for larch@yhetil.org; Tue, 05 Oct 2021 05:29:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXgkx-0007Yy-4H for help-guix@gnu.org; Tue, 05 Oct 2021 05:29:03 -0400 Received: from ipv6-s02.spamexperts.axc.nl ([2a0b:7280:100:0:407:60ff:fe00:20aa]:41458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXgku-0000uc-UL for help-guix@gnu.org; Tue, 05 Oct 2021 05:29:02 -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 1mXgkl-0000qw-Q6; Tue, 05 Oct 2021 11:28:55 +0200 Received: from mail.axc.nl ([185.182.56.42]) by vserver42.axc.nl with esmtp (Exim 4.94.2) (envelope-from ) id 1mXgkk-00FoV9-9u; Tue, 05 Oct 2021 11:28:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 05 Oct 2021 11:28:50 +0200 From: Thomas Danckaert To: "pelzflorian (Florian Pelz)" Subject: Re: repair broken boot record In-Reply-To: <20211001065344.3ofpdgnxusvgj4ac@pelzflorian.localdomain> References: <0dd640415db388dd78cfbd1e8174ea65@thomasdanckaert.be> <20211001065344.3ofpdgnxusvgj4ac@pelzflorian.localdomain> User-Agent: Roundcube Webmail/1.4.2 Message-ID: <2d6ff1739c954b939be941d34ef6c856@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: -60 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.09) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT+P9BHGPYn1W/l9MmRJRSjgPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5xRmvMUiFVy6h+8kaOxQh+DIg7Q/pF9LBl74h9tGOXY+vzf oWFDueiB0AlxLIIDbbc+Vy93rN8A3gjMe8JEA/IA7iH7JfKEdRlL+48jT12LACTg127TqHZDxA/k ZB41Rh/17sxadddDOquHzUKfRLUg5ZuxPE4nrdt31pd1IZUzuNBxlNqG373fzbKnGSufaHF5xBHk CMCjMposz65/e+f6Yd89w9s3g0ypnyjHWx3ZYL6TsyKmJacxy2ZB3l/KIDPFtivW+648fff2kH7q wSRxi+fgeAmxPvK9eg25cp9LrSKcYolrKezJPhCI9zCIE5CT1wEKPcWNt8KXVm/l2obHkhqbiTdT lYcOHnVgVGtCG/QUVs8i7IO7gY+W/tTnAragVzxEUDRYseMBVXDP7KlgL4QFy0eB/isP83e9uHLE BeHTPI/rzJIRbhotX0RECi60kIln9Nb+UrWmzfku+FiQj7kxzD2YSQadThILqbNNMg9Xu+rM7Frw bGkvilYrrAYOE30trLv28spkrqk8saf2RMQ8kYoqEJrxk63t+5lodHIRhR40OqtfdKO75mh35XPE Xht9Wd7KVnNcAPwsTf3NtBZsWgKy84rdrAiG157ty1g8LjFpo0oGxjYtWxBw9j8efQUT1YoNg20b lrzQZQCPxNpNdD3iIysLPgJOROHiFFw9X+QaeUgfM8Rzvb2J9qrPidNmHPxjLTQhn9cX6mrOX0vb OV1GC4tWSdMEfX0qZtZcYflIMbaTJGx1xg/L1K2wHr5Oi947Mh12CMom+0PQJWlp9WPKg4abNNq8 7OmVNMJc0riBMiqt1Jg+Hx3l4h1ciWW+hU4Bi6debnhotBDqPAlbDjazCbhs7qBpykynMrDwFuIQ 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=1633426165; 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=7vWJSWGvA+2JDFm9nMCEzJlVMU1w7wudPgBuLR565fA=; b=DIRI4QJRhGtmJGwL+jFehNvwjhscMQrdmxbYWAvdO5bmj6AWr8yZfiv9u4MgTrYeCZ03z0 FyfL8CJa4vvJ4riaGIoIDrjHGT8zI9RqUjIdRvjeztWu00tlFSDLmnzorv91pgq+nn61Si pEaa7d3AD7izpIvxZVCF9cJD0PkW/MbiK8xDHIsGrQA1rUes0HXfplQSz5LA0z2l8BMk2s VEcl7wK1HbAFiKzMcYcWMva8rv42ppwFBz4CVsbU25vBzsHPTe1J1WQnBVjvnW9DSQ6X9+ AjcXZ4d2+0ge1/rD9YlV31ZyoupG7htFk7mWBTzOox3nkqVtAC6DHQSKmhW+QQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633426165; a=rsa-sha256; cv=none; b=lDDGciMTnns8hoL4/B92PEDTcDbU233BPDC8Kcqmg5481E0pBC4+nJL/NxUwNt0Bfct9BF xktkcacF1nR/7jnke4VckM+Q6heIBPlKR116L4Drrtq1nTd4vKq/Y6aml05wke73GGIxpT lqsm85AQgYh2wrJPcRVjl6hQE05P84GdRwRQ3a1ccHSEc8oBa3mUiAmDUJDbGo/+ToUqyj SFpBIOtpgaec+tbSkmDcnE3+BU01mqxnDny+06XdYSSWu9zvSJC6YEh285e6yja/YVAf8E bev1MrDs1W2TTG8UfBCGObwakCwDVfC54TV9kHGo9NOu72TSUJHAmf2a8A7LeA== 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.81 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: DA38813BFB X-Spam-Score: -2.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9V4tzeimuxx6 Hello Florian, thank you for your help. I managed to chroot into my system, and re-run 'guix system reconfigure' (very useful mailing list discussion on chrooting, I also vote for including it in documentation :) ). 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. Indeed my system uses grub-efi. Could that be related? Can you point me to some specific instructions on how to check/solve efivar issues? Not sure if I need grub-efi, or if it might also work using grub-pc. Until now I've always used grub-efi. (Another thing I noticed (maybe a side effect of chroot?): when I re-run 'guix system reconfigure' it tries to rebuild derivations that are already there in the store from last time, I think.) thank you! Thomas On 2021-10-01 08:53, pelzflorian (Florian Pelz) wrote: > On Thu, Sep 30, 2021 at 09:43:18AM +0200, Thomas Danckaert wrote: >> Hello guix-help, >> >> my system does not boot anymore after a guix pull and system >> reconfigure >> (which did show a warning, see below). It does not even enter the >> GRUB >> stage, I get a "Reboot and Select proper Boot device" instead. I >> think the >> MBR might not have been written correctly (just a hunch, I'm no >> expert...). > > If this system uses no old grub-bootloader but instead EFI > (grub-efi-bootloader), maybe writing the bootloader to the mainboard > failed (it is not only written to disk), perhaps because the mainboard > NVRAM is full and needs to be cleaned with efibootmgr/efivar/such > utilities. > > >> During reconfigure, I did get a warning that my bootloader >> configuration >> used 'target', which is apparently deprecated in favor of 'targets'. >> I >> wasn't paying too much attention, and ignored the warning.... I don't >> know >> if that could be the cause of a missing or incorrect boot record? (In >> that >> case, I suggest this warning should be an ERROR ;-) ) > > No, the old target would fall back to targets. The warning is only a > warning that you should switch to (targets (list "…")). > > > >> I checked using a live USB, and it seems the whole system is still >> there on >> the hard drive. Is there a way to restore my system, keeping the >> existing >> /gnu/store? Or do I have to reinstall from scratch, remove the >> existing >> /gnu/store and rebuild everything (shouldn't be too much work using >> Guix, >> but way less elegant :) ) >> >> Thank you! >> >> Thomas > > I search on Duckduckgo for “site:lists.gnu.org guix chroot”, you > should read there how to chroot into your system so you can > reconfigure. > > Regards, > Florian