From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 570AA1382C5 for ; Sat, 26 Dec 2020 19:33:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DCD4E0A6E; Sat, 26 Dec 2020 19:33:26 +0000 (UTC) Received: from newideatest.site (jupiter.newideatest.site [209.141.58.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 525ECE0A02 for ; Sat, 26 Dec 2020 19:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newideatest.site; s=main; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WMfcElhIS+//cUVHmggQTiqAzxpdgUKXKaCYrLVhBGE=; b=Iw7h1WixjAkCZ9Mr2aYpmp2Dnu vJtIRhbG6T5yUKLBCVA0KIij94jPDeQDGRfmj8kuOLdHjzSS6yb4VuGBHALkBrU1nFSM/oar13xZg wPw/lSBd1cIHui8WecuRcf3Ci8tOyWO+25dlh7NytOVq0Jhg0a8lO2S1EJTwgQuU02bdNZC0ka4yK nwBAPsfwbXXao2fGtwmWjAIjEFvioK8XdB41M+ZqZotIEap3g3b1it9cYLQwxAJoV/IHiAMOUqIo5 9Ye2dDuM8My885UesTryoAhHnkoUgFtMnwXUpaLGrezyeqnJHLMa50nOv272Yi+THqNBCTDV+tkof bTLett6g==; Received: from 71.sub-174-248-157.myvzw.com ([174.248.157.71] helo=[192.168.43.101]) by newideatest.site with esmtpsa (TLS1.3:ECDHE_SECP384R1__RSA_PSS_RSAE_SHA384__CHACHA20_POLY1305:256) (Exim 4.93) (envelope-from ) id 1ktFJL-00EEzo-FU; Sat, 26 Dec 2020 19:33:07 +0000 Subject: Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible? To: gentoo-user@lists.gentoo.org, Walter Dnes References: From: Dan Egli Message-ID: <8366e453-3b4e-c5a9-3288-cc792d5f8029@newideatest.site> Date: Sat, 26 Dec 2020 12:33:21 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: unscanned primary on newideatest.site (); Sat, 26 Dec 2020 19:33:07 +0000 X-Archives-Salt: e9a0fbed-5856-458b-b527-db6d91533af0 X-Archives-Hash: d3b8350e9af5bc345f0f2fbe8db93b0b On 12/25/2020 9:41 AM, Walter Dnes wrote: > On Thu, Dec 24, 2020 at 03:49:35PM -0700, Dan Egli wrote >> I see your problem, I think. You don't have your ESP mounted, so >> grub can't write the EFI files to it. You are likely trying to use >> grub with grub-install /dev/sda. That won't work for EFI. >> >> mkdir /boot/efi >> mount -t vfat /dev/sda1 /boot/efi >> grub-install --target=x86_64-efi --efi-directory=/boot/efi >> grub-mkconfig -o /boot/grub/grub.cfg >> >> you MAY need to add --removable to the grub-install line. Some EFI >> setups prefer that. > I have this sinking feeling in my stomach that I need to blow away > the install (after scp'ing config files to my desktop) and start over. > There is no room for another partition. Apparently, using fdisk (like I > did) to partition a GPT system is begging for problems down the road. > > After 20 years on linux, I've been reduced to a newbie. BIOS boot, > Lilo, and fdisk served me well for 2 decades. Now I'm going to have to > learn UEFI, grub, and parted all at once. I'll start a new thread > tomorrow once I have my config files copied off. Then I'll install UEFI > mode properly. > One thing you could try is using gparted to shrink the partition ever so slightly. It doesn't need to be big at all. The standard windows EFI partition is 100MB! That's it. It's not a matter of using FDisk, as I did too. It's just a matter of remembering to make the partition. -- Dan Egli From my Test Server