From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6I1BG0EBmWVC3AAAkFu2QA (envelope-from ) for ; Sat, 06 Jan 2024 08:29:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wIaQFEEBmWVjMgAA62LTzQ (envelope-from ) for ; Sat, 06 Jan 2024 08:29:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b="N7Ed4/cd"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=lepiller.eu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704526145; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=m+ffMvWAJYUOHyhjlW0ZW2+tDHWBkf4zlxosspPZWZ0=; b=m9F+xPW3un1X+JneIpH4o7yXsOTtaVjaS0/UbkK/KHOjVaX3KA/q6Dm01dcViyMzCJxa8P 4CvcN5vC+kWzp6mnsHUX8HpQxGx8YB5ySpdhHE+cjm4U4EByDOR9UPRj1BRogSHbLwefEg elO5TlTFIn/zu0xmuzRcS06IRNp6HoMss2GHcaNUBc7eyY9nE96gj/+xzB/+QrklADVzUf 7ctUoX0jVb2RdUHU5Z5hPAx88iXO5JbU2OkyC6slEv26JKhg8gQNZUI+3FehQu8H0vJTzD i4fLnfU9GcttXS8wvRXPqC7JpvfnwLgvS2cdhVRfdqTIM2hCo48OaY2UfDLEhQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704526145; a=rsa-sha256; cv=none; b=bkqkgd6cBXImHdzDWFT9fRyRJ2kYACG3SMVBOcCfYX627ZqW+AQHCIV2meSU+CvPSuFf3s bTn2B3rAi0o67AoE9bZqpKII1MdcH1CZCrXA3rIsgbTG93pwhOF26eqZhDY9u8w4Mzx66u u95RiNaVrnLF3wSu1cwTFd7vaFYQjcytYc54nTtHRFyX+1KYFi7f76PbveAwUOIHyVgG/+ 0aBE8NiXVXicW8z/zIeoJBjYLcOD9rQIA6blm6poI36wHy3IBqRaMDqIx2FlU76ddxZrgU h9v2jOkGyTh5uLudj8FwdmT9IL6mUAw7GeGRLTkIioSoEEsRDM57cBNWDJ5gyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b="N7Ed4/cd"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=lepiller.eu 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 AF9D7663E2 for ; Sat, 6 Jan 2024 08:29:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rM16d-00026U-Gk; Sat, 06 Jan 2024 02:28:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rM16c-00026M-BC for help-guix@gnu.org; Sat, 06 Jan 2024 02:28:30 -0500 Received: from lepiller.eu ([2a00:5884:8208::1] helo=hermes.lepiller.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rM16Z-0001dz-9o for help-guix@gnu.org; Sat, 06 Jan 2024 02:28:30 -0500 Received: from hermes.lepiller.eu (localhost [127.0.0.1]) by hermes.lepiller.eu (OpenSMTPD) with ESMTP id b5f4d3ea; Sat, 6 Jan 2024 07:28:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=4WtIOvWP6zak JoNaHciTduEeW53p51uaZ7CkPuxAA74=; b=N7Ed4/cdoEDSbjbFNR4RNyxLfAYC HWyKjEiJj9TC21enxVESlbjHNzGQLxXGkOgBFQUqtWiTBX2tot3cNiZ+JuzL13YA 9DHVduin0dVJQfhBuX2E1szftxY3rMWkj4NYuV7176Oahan6tXC91/H8xIM8xXIB a5pE/ald/IHyahreYofmaDQVr7hB8H++pT+fkZo54BohozrCaUdXo229Em2SsUdh YgQ4NnssZoYaad18Zk+zONyqjlZjrccr4rabvmDtjMPRQ/LOFs8NEMSm48DxrpcI /2QCjjJlKU7Dh0TfLNZNoB5Ewh2whRKksz9hLvox0vaaO+dcljsvM4Vozg== Received: by hermes.lepiller.eu (OpenSMTPD) with ESMTPSA id a457bf09 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 6 Jan 2024 07:28:18 +0000 (UTC) Date: Sat, 06 Jan 2024 08:28:17 +0100 From: Julien Lepiller To: help-guix@gnu.org, Ian Eure , help-guix Subject: =?UTF-8?Q?Re=3A_Laptop_won=E2=80=99t_boot_after_Guix_install?= User-Agent: K-9 Mail for Android In-Reply-To: <87ttnrnlr6.fsf@retrospec.tv> References: <87ttnrnlr6.fsf@retrospec.tv> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=hermes.lepiller.eu 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.49 X-Spam-Score: -7.49 X-Migadu-Queue-Id: AF9D7663E2 X-Migadu-Scanner: mx12.migadu.com X-TUID: uMHtf+Hk0hvz Hi Ian, Something similar happened to me before=2E After reconfiguring a lot of ti= mes, the firmaware had no space left for EFI variables=2E I didn't notice t= he error message at first because guix system did succeed=2E Maybe you have= some similar errors that don't lead to a failure? What does the last phase= say, when installing the bootloader? Le 6 janvier 2024 04:41:34 GMT+01:00, Ian Eure a =C3= =A9crit=C2=A0: >Hello, > >I have Guix running on one computer already, and wanted to set it up on a= nother, a ThinkPad L390 Yoga=2E This was previously running Debian, but I = wiped it to put Guix on, by running `sudo dd if=3D/dev/urandom of=3D/dev/nv= me0n1 bs=3D1M'=2E After the Guix install, the laptop doesn=E2=80=99t boot = -- the firmware shows a boot device selection menu, rather than bootint int= o Guix=2E The only entry is the internal NVMe SSD, and choosing it does no= thing -- the firmware can=E2=80=99t figure out how to boot from it=2E I tr= ied two other third-party installers based on Guix 1=2E4=2E0, and got the s= ame result=2E The installer boots and runs fine, the install process appea= rs to succeed, but after restarting, the machine doesn=E2=80=99t boot=2E > >This is a very vanilla setup=2E I used the graphical Guix installer, let= it partition things, and have one partition for everything=2E I have no o= ther OS on this computer, I=E2=80=99m not dual-booting, net-booting, or any= thing else exotic=2E > >Secure boot is disabled in the BIOS=2E > >I tried updating the firmware on the laptop and restoring it to the defau= lt settings -- no change=2E > >I tried wiping the partition table again, but using /dev/zero -- no chang= e=2E > >If I boot the installer image and drop into its GRUB menu, I can chainloa= d GRUB off the internal SSD=E2=80=99s ESP, which lets me boot Guix=2E So t= he installation itself is fine, but the bootloader is broken=2E After boot= ing this way, I tried `guix pull' and `sudo guix system reconfigure /etc/co= nfig=2Escm'=2E This also didn=E2=80=99t work -- the machine still will not= boot=2E > >After digging in the ESP, I thought I=E2=80=99d found a clue: the GRUB pa= yload is placed at /EFI/Guix/grubx64=2Eefi, and there=E2=80=99s no /EFI/BOO= T/BOOTX64=2EEFI, which is typically what a UEFI platform would look for to = begin booting the OS=2E But! My existing Guix machine (a ThinkPad X13 Gen= 2 AMD) *does* boot, but *doesn=E2=80=99t* have a /EFI/BOOT/BOOTX64=2EEFI p= ayload, either=2E My Debian machine has /EFI/BOOT/BOOTX64=2EEFI as well as= /EFI/debian/grubx64=2Eefi -- both files have identical contents per sha256= sum=2E But but! The X13 *also* has some Debian files in the ESP, so it=E2= =80=99s not 100% identical to the L390=2E Not sure how those got there=2E = It=E2=80=99s also a former Debian box, but I wiped it, and am surprised to= see anything remaining from that=2E > >My only hypothesis around this is that perhaps the EFI variables are mess= ed up, and resetting BIOS settings doesn=E2=80=99t clear them=2E That might= make the BIOS do something weird in its boot process; or make GRUB think s= ome other OS is installed, and install the bootloader wrong for a single-OS= setup=2E > >Does anyone have any suggestions or advice? Needing a USB stick to boot = the machine is a pain=2E > >Thanks, > > =E2=80=94 Ian >