Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?
Date: Fri, 25 Dec 2020 16:41:22
Message-Id: X+YWHwnKIxnzQDtb@waltdnes.org
In Reply to: Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible? by Dan Egli
1 On Thu, Dec 24, 2020 at 03:49:35PM -0700, Dan Egli wrote
2 > I see your problem, I think. You don't have your ESP mounted, so
3 > grub can't write the EFI files to it. You are likely trying to use
4 > grub with grub-install /dev/sda. That won't work for EFI.
5 >
6 > mkdir /boot/efi
7 > mount -t vfat /dev/sda1 /boot/efi
8 > grub-install --target=x86_64-efi --efi-directory=/boot/efi
9 > grub-mkconfig -o /boot/grub/grub.cfg
10 >
11 > you MAY need to add --removable to the grub-install line. Some EFI
12 > setups prefer that.
13
14 I have this sinking feeling in my stomach that I need to blow away
15 the install (after scp'ing config files to my desktop) and start over.
16 There is no room for another partition. Apparently, using fdisk (like I
17 did) to partition a GPT system is begging for problems down the road.
18
19 After 20 years on linux, I've been reduced to a newbie. BIOS boot,
20 Lilo, and fdisk served me well for 2 decades. Now I'm going to have to
21 learn UEFI, grub, and parted all at once. I'll start a new thread
22 tomorrow once I have my config files copied off. Then I'll install UEFI
23 mode properly.
24
25 --
26 Walter Dnes <waltdnes@××××××××.org>
27 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible? Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible? Jorge Almeida <jjalmeida@×××××.com>
Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible? Dan Egli <dan@×××××××××××.site>