Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-27 Thread Neil Bothwick
On Sun, 27 Dec 2020 01:07:58 +, antlists wrote: > > UEFI is dead simple, and you can use gdisk, which is the GPT variant > > of fdisk. So that only leave the boot manager to learn, and if you > > don't already know GRUB, I'd say start with something simpler. > > > > > I got the impression

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-26 Thread Dale
antlists wrote: > On 25/12/2020 18:24, Neil Bothwick wrote: >> On Fri, 25 Dec 2020 11:41:03 -0500, Walter Dnes wrote: >> >>>    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

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-26 Thread antlists
On 25/12/2020 18:24, Neil Bothwick wrote: On Fri, 25 Dec 2020 11:41:03 -0500, Walter Dnes wrote: 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

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-26 Thread Dan Egli
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.

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Dale
Neil Bothwick wrote: > On Fri, 25 Dec 2020 16:38:13 -0600, Dale wrote: > >>> You can also use systemd-boot, a separate package for OpenRC users, >>> which I have used without an initramfs. systemd-boot is very >>> lightweight and only requires a two line config for each kernel, plus >>> a two line

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Neil Bothwick
On Fri, 25 Dec 2020 16:38:13 -0600, Dale wrote: > > You can also use systemd-boot, a separate package for OpenRC users, > > which I have used without an initramfs. systemd-boot is very > > lightweight and only requires a two line config for each kernel, plus > > a two line general config (timeout

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Dale
Neil Bothwick wrote: > On Fri, 25 Dec 2020 15:55:23 -0500, Walter Dnes wrote: > >> One other thing, looking at the docs, it seems that refind requires >> initrd. Am I reading it correctly? If so, I may as well go with grub. >> Grub usually requires setting up stuff once. Initrd requires

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Peter Humphrey
On Friday, 25 December 2020 19:17:24 GMT Walter Dnes wrote: > On Fri, Dec 25, 2020 at 06:45:42PM +, Jorge Almeida wrote > > > Learning about UEFI: https://www.rodsbooks.com/refind/ > > Suggestion: forget about grub; refind is the way to go (link above) > > Also: you don't need parted; gdisk

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Neil Bothwick
On Fri, 25 Dec 2020 15:55:23 -0500, Walter Dnes wrote: > One other thing, looking at the docs, it seems that refind requires > initrd. Am I reading it correctly? If so, I may as well go with grub. > Grub usually requires setting up stuff once. Initrd requires running > more often. While

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Jorge Almeida
On Fri, Dec 25, 2020 at 9:01 PM Jorge Almeida wrote: > > On Fri, Dec 25, 2020 at 8:55 PM Walter Dnes wrote: > > > > > > The initrd documentation can be a bit overwhelming. Still, much better I meant "The refind documentation", of course.

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Jorge Almeida
On Fri, Dec 25, 2020 at 8:55 PM Walter Dnes wrote: > > > One other thing, looking at the docs, it seems that refind requires > initrd. Am I reading it correctly? If so, I may as well go with grub. > Grub usually requires setting up stuff once. Initrd requires running > more often. > No. I

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Walter Dnes
On Fri, Dec 25, 2020 at 07:32:42PM +, Jorge Almeida wrote > On Fri, Dec 25, 2020 at 7:17 PM Walter Dnes wrote: > > > > > Thanks for the pointers. Are there any changes I have to make in my > > linux kernel to boot UEFI? Note; legacy BIOS boot is *NOT* an option > > on my new Dell

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Jorge Almeida
On Fri, Dec 25, 2020 at 7:17 PM Walter Dnes wrote: > > Thanks for the pointers. Are there any changes I have to make in my > linux kernel to boot UEFI? Note; legacy BIOS boot is *NOT* an option > on my new Dell XPS8940. It's UEFI boot only. > I'm not sure that it is really necessary for

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Walter Dnes
On Fri, Dec 25, 2020 at 06:45:42PM +, Jorge Almeida wrote > Learning about UEFI: https://www.rodsbooks.com/refind/ > Suggestion: forget about grub; refind is the way to go (link above) > Also: you don't need parted; gdisk is fine if you're OK with fdisk Thanks for the pointers. Are there

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Jorge Almeida
On Fri, Dec 25, 2020 at 4:41 PM Walter Dnes wrote: > > 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

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Neil Bothwick
On Fri, 25 Dec 2020 11:41:03 -0500, Walter Dnes wrote: > 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

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-25 Thread Walter Dnes
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

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-24 Thread Dan Egli
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. Try this (as root): mkdir /boot/efi mount -t vfat /dev/sda1 /boot/efi grub-install --target=x86_64-efi

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-23 Thread Michael
On Wednesday, 23 December 2020 05:37:01 GMT Walter Dnes wrote: > On Wed, Dec 23, 2020 at 04:16:46AM -, Grant Edwards wrote > > > Does the UEFI BIOS recognize that /dev/sda1 exists, but just isn't > > bootable? If yes, then it should be possible to install Grub on a USB > > key and boot a

Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-22 Thread Walter Dnes
On Wed, Dec 23, 2020 at 04:16:46AM -, Grant Edwards wrote > Does the UEFI BIOS recognize that /dev/sda1 exists, but just isn't > bootable? If yes, then it should be possible to install Grub on a USB > key and boot a kernel on /dev/sda1. It might be simpler to just put > the kernel and initrd

[gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?

2020-12-22 Thread Grant Edwards
On 2020-12-23, Walter Dnes wrote: > Situation; I have a Dell XPS8940 with that abomination known as > UEFI, and no "legacy boot". UEFI claims there are no bootable > partitions on the hard drive (/dev/sda). Yet it will automatically > boot up properly from a USB key (/dev/sdb) with Gentoo