Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #265139
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: GRUB -- Debian overrides? (but on original thread topic, not so much) |
| Date | 2023-12-22 06:40 +0100 |
| Message-ID | <HNGql-ffb0-3@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <HMUOJ-eLqm-1@gated-at.bofh.it> <HMXWh-eNBt-3@gated-at.bofh.it> <HNyVP-favU-7@gated-at.bofh.it> <HNCwp-fcNZ-5@gated-at.bofh.it> <HNEox-fdXd-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu 21 Dec 2023 at 22:19:47 (-0500), Felix Miata wrote: > David Wright composed on 2023-12-21 19:20 (UTC-0600): > > On Thu 21 Dec 2023 at 21:38:46 (+0000), Mark Fletcher wrote: > > >> My very first attempt involved using Debian's > >> /boot partition as the /boot partition for LFS as well, so installing > >> LFS's kernel (6.4.12 IIRC) alongside Debian's, but I quickly learned > >> the folly of that when I saw the mess update-grub made of that... > > > What sort of mess? I would have thought Grub would ignore excess > > kernels dropped into /boot. > > It doesn't exactly ignore. This is from a rather old Dell MBR booting > with Grub Legacy installed (but rarely actually used to boot Bullseye): [ … ] > Found kernel: /boot/vmlinuz > Found kernel: /boot/vmlinuz-prv2 > Found kernel: /boot/vmlinuz-prv > Found kernel: /boot/vmlinuz-cur > Found kernel: /boot/vmlinuz-5.10.0-26-amd64 > Found kernel: /boot/vmlinuz-5.10.0-23-amd64 > Found kernel: /boot/vmlinuz-5.10.0-20-amd64 > Found kernel: /boot/vmlinuz-5.10.0-18-amd64 > Found kernel: /boot/vmlinuz-5.10.0-14-amd64 > Found kernel: /boot/vmlinuz-5.10.0-13-amd64 > Found kernel: /boot/vmlinuz-5.10.0-11-amd64 > Found kernel: /boot/vmlinuz-5.10.0-9-amd64 > Updating /boot/grub/menu.lst ... done [ … ] > Newer PCs with grub-efi exhibit similar behavior, but all here that actually > have grub-efi installed already have current kernel. Mine is a bullseye BIOS-booting laptop with the previously listed /boot directory. I copied a couple of kernels and initrds from the bookworm RCs in partition noah04, and then ran grub-mkconfig. Stderr shows: Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.1.0-13-686 Found initrd image: /boot/initrd.img-6.1.0-13-686 Found linux image: /boot/vmlinuz-6.1.0-10-686 Found initrd image: /boot/initrd.img-6.1.0-10-686 Found linux image: /boot/vmlinuz-5.10.0-26-686 Found initrd image: /boot/initrd.img-5.10.0-26-686 Found linux image: /boot/vmlinuz-5.10.0-25-686 Found initrd image: /boot/initrd.img-5.10.0-25-686 Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. Found Debian GNU/Linux 12 (bookworm) on /dev/sda4 done All the Debian kernels installed from linux-image-….deb packages are found by Grub, and appear in the usual array of prefix10 menuentries. Also, both the bookworm kernels are found by os-prober, as shown by the previously posted zgrep result: listing, and appear in the usual array of prefix30 menuentries. But something about the hd-media installer kernel/initrd seems to prevent Grub from finding them and constructing a menuentry. We know that the LFS kernel is detected by Debian's os-prober, but only that Grub makes a "mess" when given the opportunity of finding the LFS kernel in the same /boot as the Debian ones. What exactly is this mess? Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
GRUB -- Debian overrides? Or maybe I just don't understand it well... Mark Fletcher <mark27q1@gmail.com> - 2023-12-18 21:40 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Richmond <dnomhcir@gmx.com> - 2023-12-18 22:00 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Felix Miata <mrmazda@earthlink.net> - 2023-12-18 23:20 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Mark Fletcher <mark27q1@gmail.com> - 2023-12-20 01:30 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Felix Miata <mrmazda@earthlink.net> - 2023-12-20 03:50 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... David Wright <deblis@lionunicorn.co.uk> - 2023-12-20 07:10 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Felix Miata <mrmazda@earthlink.net> - 2023-12-20 08:00 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Mark Fletcher <mark27q1@gmail.com> - 2023-12-21 22:40 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Mark Fletcher <mark27q1@gmail.com> - 2023-12-21 23:00 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... David Wright <deblis@lionunicorn.co.uk> - 2023-12-22 02:30 +0100
Re: GRUB -- Debian overrides? (but on original thread topic, not so much) Felix Miata <mrmazda@earthlink.net> - 2023-12-22 04:30 +0100
Re: GRUB -- Debian overrides? (but on original thread topic, not so much) David Wright <deblis@lionunicorn.co.uk> - 2023-12-22 06:40 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Mark Fletcher <mark27q1@gmail.com> - 2023-12-22 12:30 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... David Wright <deblis@lionunicorn.co.uk> - 2023-12-27 06:00 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... "Roy J. Tellason, Sr." <roy@rtellason.com> - 2023-12-20 17:10 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Mark Fletcher <mark27q1@gmail.com> - 2023-12-21 22:40 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Felix Miata <mrmazda@earthlink.net> - 2023-12-22 01:40 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Greg Wooledge <greg@wooledge.org> - 2023-12-22 01:50 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Mark Fletcher <mark27q1@gmail.com> - 2023-12-21 23:50 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2023-12-22 08:50 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Mark Fletcher <mark27q1@gmail.com> - 2023-12-22 12:00 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Mark Fletcher <mark27q1@gmail.com> - 2023-12-22 12:50 +0100
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well... Felix Miata <mrmazda@earthlink.net> - 2023-12-22 15:20 +0100
csiph-web