From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?
Date: Wed, 23 Dec 2020 00:37:01 -0500 [thread overview]
Message-ID: <X+LXfbPD+ceU/vYI@waltdnes.org> (raw)
In-Reply-To: <rrugbe$mie$1@ciao.gmane.io>
On Wed, Dec 23, 2020 at 04:16:46AM -0000, 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 on the USB key also. Though boot time might be
> slightly slower that way, it won't affect performance after that.
The point of this excercise is to bypass UEFI BIOS as much as
possible. The machine will happily automatically boot from the Gentoo
minimal install USB key, which I believe is grub, so that works. And
the minimal install does indeed recognize /dev/sda, which is why I was
able to install linux in the first place. What I'm looking for is the
grub "recipie" to automatically hand off control to /dev/sda1 at bootup.
This will require leaving a USB key permanently in one of the 6 USB
ports in the back of the machine.
I've been using lilo for 20 years plus, so I don't have a clue about
grub and how it works. I generally have 2 kernels available on the lilo
boot menu, "production" and "experimental". I test the "expermental"
kernel for a while before copying it over the "production" kernel. My
menu normally waits up to 15 seconds. If no keypress, it defaults to
the "production" kernel. Grub would need to load one of
/boot/kernel.experimental or /boot/kernel.production. I could
re-arrange the layout if necessary. Here's my current /boot layout...
[d531][waltdnes][~] ll /boot
total 18412
drwxr-xr-x 2 root root 4096 Dec 22 21:42 .
drwxr-xr-x 21 root root 4096 Oct 24 12:14 ..
-rw-r--r-- 1 root root 0 Oct 11 19:55 .keep
-rw-r--r-- 1 root root 0 Oct 13 05:57 .keep_sys-boot_lilo-0
-rw------- 1 root root 139264 Dec 22 21:42 .map
-rw-r--r-- 1 root root 2979997 Dec 21 19:31 System.map.experimental
-rw-r--r-- 1 root root 2991033 Oct 13 06:03 System.map.production
-rw-r--r-- 1 root root 512 Oct 13 06:04 boot.0800
-rw-r--r-- 1 root root 90538 Dec 21 19:31 config.experimental
-rw-r--r-- 1 root root 90579 Oct 13 06:03 config.production
-rw-r--r-- 1 root root 6214192 Dec 21 19:31 kernel.experimental
-rw-r--r-- 1 root root 6271536 Oct 13 06:03 kernel.production
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
next prev parent reply other threads:[~2020-12-23 5:37 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-23 4:05 [gentoo-user] Is a USB-key-to-hard-drive-tap-dance-boot possible? Walter Dnes
2020-12-23 4:16 ` [gentoo-user] " Grant Edwards
2020-12-23 5:37 ` Walter Dnes [this message]
2020-12-23 12:44 ` Michael
2020-12-24 22:49 ` Dan Egli
2020-12-25 16:41 ` Walter Dnes
2020-12-25 18:24 ` Neil Bothwick
2020-12-27 1:07 ` antlists
2020-12-27 2:01 ` Dale
2020-12-27 4:21 ` [gentoo-user] " Thomas Mueller
2020-12-27 9:45 ` [gentoo-user] " Neil Bothwick
2020-12-25 18:45 ` Jorge Almeida
2020-12-25 19:17 ` Walter Dnes
2020-12-25 19:32 ` Jorge Almeida
2020-12-25 20:55 ` Walter Dnes
2020-12-25 21:01 ` Jorge Almeida
2020-12-25 21:04 ` Jorge Almeida
2020-12-25 21:07 ` Neil Bothwick
2020-12-25 22:38 ` Dale
2020-12-25 23:02 ` Neil Bothwick
2020-12-25 23:15 ` Dale
2020-12-25 22:24 ` Peter Humphrey
2020-12-26 19:33 ` Dan Egli
2020-12-23 12:46 ` [gentoo-user] " Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=X+LXfbPD+ceU/vYI@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox