Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id AEF6DCA0FF6 for ; Sat, 2 Sep 2023 04:53:55 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcIdg-0000cR-Ke; Sat, 02 Sep 2023 00:53:40 -0400 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 1qcIde-0000cG-VQ for grub-devel@gnu.org; Sat, 02 Sep 2023 00:53:38 -0400 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qcIdc-0004QF-OY for grub-devel@gnu.org; Sat, 02 Sep 2023 00:53:38 -0400 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50079d148aeso4628788e87.3 for ; Fri, 01 Sep 2023 21:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693630414; x=1694235214; darn=gnu.org; h=content-disposition:mime-version:mail-followup-to:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Ei09YeiNzLqStK3EdGpm8iu2S7nytebM7ykY0mkRVMA=; b=mE9D9OYgD7kByQX3+wFrIgoDcnysDR1FyoBUukzb4AFUuC8RkGILUY+sbBJ581F3sc hcAYLSvzGR1EyKmmUf1SS7A8XSM6y9vNwqr8Y6Cj1TJMezrdRjilloKxYW3yE9odJUUF BNPohg6dlefTP5EGY8ZmGIkEB1QZMCeKi4CyC5xBagI7wGhV7H0sbOFgZmq6GL37gi8q MD1rd1XERwY+jVxcrTlXoZR0oC6qPnkCFPCREidjBJoi6ATmyZNFtxuszJwjnhnFC4je PlCdnYyl9zbSIWEr/BThGOkINtfu1ctTAWz3Ps2DwMeRFJhYJq1oCNCxyMaM08qlqdnS 1Nug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693630414; x=1694235214; h=content-disposition:mime-version:mail-followup-to:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ei09YeiNzLqStK3EdGpm8iu2S7nytebM7ykY0mkRVMA=; b=HJ+esfe7ShSsW6ofHzcLn8pMCfqTzkNE9zfuyT89jq41gSJydcm1E6srELX15etfzE bVR3d12aBTu4c2FSVB8Wxbtpd+nvL9w/A5LQ/gX43W6foOsnBeBlB50McMewWs+5wTgP EV/rPo3gw2jkCSasZxQ8CTTuSP9XpJIauXOkSX7sedXf994wN6uG4KH/Zc2TLrRAiXmV +RTLUxlFvXYt8y/TNo/YkvOOCG6/J9v9cBSaj6cIrFHoA1cTlK03OYTaLdaisJjYh/mc HUvHfzixBCCOG7teIXmVQzuZsEp9xfDESVjlgS7/d7HVpr9nK2pBk2mCkjJrwbak+yj0 uf0w== X-Gm-Message-State: AOJu0YwIx3ffpKIHxGJPv6fVyJGFf/oD+Hxe0jy/FfWQ38gjKAnuZ3T5 5vIPiRTBX9HANd/s5QLN4yiIhFJDvJE= X-Google-Smtp-Source: AGHT+IH9X6hWlzK1JmdB2DaJNZtE7WMF0v6CD+Gs6eXoD7mSVCV15KMQzkgDs8aDOn6CQg33Z6vVnw== X-Received: by 2002:a19:4343:0:b0:500:83d0:a0ee with SMTP id m3-20020a194343000000b0050083d0a0eemr2271741lfj.69.1693630413945; Fri, 01 Sep 2023 21:53:33 -0700 (PDT) Received: from dj3ntoo (161.sub-97-139-114.myvzw.com. [97.139.114.161]) by smtp.gmail.com with ESMTPSA id w11-20020aa7d28b000000b0052565298bedsm2876334edq.34.2023.09.01.21.53.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Sep 2023 21:53:33 -0700 (PDT) Date: Fri, 1 Sep 2023 23:53:28 -0500 From: Oskari Pirhonen To: grub-devel@gnu.org Subject: A question about --removable Message-ID: Mail-Followup-To: grub-devel@gnu.org MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=xxc3ncoredxx@gmail.com; helo=mail-lf1-x133.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-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The development of GNU GRUB Content-Type: multipart/mixed; boundary="===============7233454599706552580==" Errors-To: grub-devel-bounces+grub-devel=archiver.kernel.org@gnu.org Sender: grub-devel-bounces+grub-devel=archiver.kernel.org@gnu.org --===============7233454599706552580== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="spP3iR+lpcBBc/QZ" Content-Disposition: inline --spP3iR+lpcBBc/QZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Recently me and a few others were helping someone in #gentoo on libera.chat with their Gentoo install. Things were going smoothly up until rebooting into the fresh installation. Instead of getting GRUB, it kept booting straight into the UEFI menu. After scratching our heads a bit, we tried `grub-install --efi-directory=/boot --removable` which worked. (The default Gentoo installation, if you go by the Handbook, sets up /boot as the ESP) I have GRUB installed the "normal way", but I just tried it with that and it seems to work for me. My machine is a ThinkPad T14 Gen 1 (AMD version). I don't know what machine the person we were helping with has, but both use the x86_64-efi target. Is there a reason `--removable` is not the default behavior? Maybe I'm missing something, but IMO it would provide a better user experience to not have to go through the headache of having to figure out that it is `--removable` which was holding you back. - Oskari --spP3iR+lpcBBc/QZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQfOU+JeXjo4uxN6vCp8he9GGIfEQUCZPK/xAAKCRCp8he9GGIf EeHiAP0UchVmduoaH+XHrUX0HQwOaWNY6/FN0AToPtSZ7PsVwgEA/ZeIeXJ0Q0L3 HvsyRo3E/d/P+uoU7JgAoiIeboF7Ygc= =ns6E -----END PGP SIGNATURE----- --spP3iR+lpcBBc/QZ-- --===============7233454599706552580== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KR3J1Yi1kZXZl bCBtYWlsaW5nIGxpc3QKR3J1Yi1kZXZlbEBnbnUub3JnCmh0dHBzOi8vbGlzdHMuZ251Lm9yZy9t YWlsbWFuL2xpc3RpbmZvL2dydWItZGV2ZWwK --===============7233454599706552580==--