From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GAMBEaawVmFLwQAAgWs5BA (envelope-from ) for ; Fri, 01 Oct 2021 08:54:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GOF3DKawVmF6CQAAbx9fmQ (envelope-from ) for ; Fri, 01 Oct 2021 06:54:30 +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 8C3903293F for ; Fri, 1 Oct 2021 08:54:29 +0200 (CEST) Received: from localhost ([::1]:50020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWCRA-0002X5-KN for larch@yhetil.org; Fri, 01 Oct 2021 02:54:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWCQf-0002Wq-5V for help-guix@gnu.org; Fri, 01 Oct 2021 02:53:58 -0400 Received: from pelzflorian.de ([5.45.111.108]:60574 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWCQd-0006Sv-1W for help-guix@gnu.org; Fri, 01 Oct 2021 02:53:56 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id C4C813606B2; Fri, 1 Oct 2021 08:53:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1633071232; bh=Yi1o1x4l+/Dkwuf/nwqz4YtJ7e9wUBJOmNheXLUMbTs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=yZCeI+6Wid+CUdH0GIS/cRvqJmi5gujbjZcuffh18XRhnY2c9XQApcIIT5CB+PINh w3/I7kn5/x6aNBP0G5DhCIIZyNxKa+FdiiXzwGurqRvpI8XFDLBZi+eZpv94lRI835 n4zqNUXVSEs5sEJZ79Uf/b96Ioqv6FifJKfnzcho= Date: Fri, 1 Oct 2021 08:53:44 +0200 From: "pelzflorian (Florian Pelz)" To: Thomas Danckaert Subject: Re: repair broken boot record Message-ID: <20211001065344.3ofpdgnxusvgj4ac@pelzflorian.localdomain> References: <0dd640415db388dd78cfbd1e8174ea65@thomasdanckaert.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0dd640415db388dd78cfbd1e8174ea65@thomasdanckaert.be> Received-SPF: pass client-ip=5.45.111.108; envelope-from=pelzflorian@pelzflorian.de; helo=mail.pelzflorian.de 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, 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=1633071270; 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:dkim-signature; bh=DzmL4tC0rcREjMBIHT2b7WMelGjpRdi3d31hpqyjHfg=; b=ByKgotmyyxaXqgHMxixk8R0czt49N+ywdVAYpxscMzQnoZ9/KYkF7qn6ypKojTWFGXz02t eAyzXesddDlxSUYKnH0x4J+iaE9sOFmM4EJ1VT0ngKwQAzeUHq1ZEJuL2Lv7dxNRStO+dL RSGyoLnG/8seV6A0c8CNnLWb6UMfEZq0CIQWV5TDi3jMj6xZypWQTGCXujiEuEmKrX546V nd9zDLg8/RAM4yZwKt2UaZn6A7Eiyp3EbscYuY6CUPGPcPa1naVkuWkK6ecYLoC7Eji0pG mB7s0AvLoFJRWW58r+yn3RZfthdzncIEq5a+jXwjTP9gfXG/qrxax/iX/nlXEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633071270; a=rsa-sha256; cv=none; b=Cxtlcz+nboqeCKRO0zdRwwHh3hVCyPWQN++9C+GQrC8FT1lwO6hcEQoX85wQrtlrytyGUD TY4NwTVfIj44iLpFlsr925ASaSK9wNhxI2kXXpAOJFQCDp6cMhEZIrhYakU5g/Nmhak1P3 AgAzXyIGL3pKxOXL3rjWZmRTXYa3lj+YEyoSMUW7iqzAHwCxJEeEWeCDZ+omp3M7xXXFAw FreZP/iFK/OMUPqzlD/KDyI0rIBYVZTBKzrDbXV2f0Ze33dAPj1pElU8zrzbobIvX9FwSq lmqprPOQ8PK1XM3kIAS0GiARKQmBt42XxH3+PXEAE3xyFwjBGnge/qP9mPqoJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=yZCeI+6W; 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-Spam-Score: -1.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=yZCeI+6W; 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: 8C3903293F X-Spam-Score: -1.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: kcnEE0DYeKrV 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