Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #265137
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: GRUB -- Debian overrides? (but on original thread topic, not so much) |
| Date | 2023-12-22 04:30 +0100 |
| Message-ID | <HNEox-fdXd-1@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <HMSDf-eKfb-3@gated-at.bofh.it> <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> |
| Organization | less than infinite |
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):
# inxi -CSz
System:
Kernel: 5.10.0-23-amd64 arch: x86_64 bits: 64 Desktop: Trinity v: R14.1.1
Distro: Debian GNU/Linux 11 (bullseye)
CPU:
Info: dual core model: Intel Core2 Duo E4400 bits: 64 type: MCP cache:
L2: 2 MiB
Speed (MHz): avg: 2000 min/max: N/A cores: 1: 2000 2: 2000
# apt-get full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-image-5.10.0-11-amd64 linux-image-5.10.0-13-amd64 linux-image-5.10.0-14-amd64 linux-image-5.10.0-18-amd64
linux-image-5.10.0-9-amd64 usb.ids
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
linux-image-5.10.0-26-amd64
The following packages will be upgraded:
linux-image-amd64
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/55.6 MB of archives.
After this operation, 318 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
Selecting previously unselected package linux-image-5.10.0-26-amd64.
(Reading database ... 97500 files and directories currently installed.)
Preparing to unpack .../linux-image-5.10.0-26-amd64_5.10.197-1_amd64.deb ...
Unpacking linux-image-5.10.0-26-amd64 (5.10.197-1) ...
Preparing to unpack .../linux-image-amd64_5.10.197-1_amd64.deb ...
Unpacking linux-image-amd64 (5.10.197-1) over (5.10.179-1) ...
Setting up linux-image-5.10.0-26-amd64 (5.10.197-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.10.0-23-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-5.10.0-23-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-5.10.0-26-amd64
I: /initrd.img is now a symlink to boot/initrd.img-5.10.0-26-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-26-amd64
/etc/kernel/postinst.d/zz-update-grub:
Searching for GRUB installation directory ... found: /boot/grub
WARNING: tempfile is deprecated; consider using mktemp instead.
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
WARNING: tempfile is deprecated; consider using mktemp instead.
Searching for splash image ... none found, skipping ...
dpkg: warning: version 'prv' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv2' has bad syntax: version number does not start with digit
dpkg: warning: version 'cur' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv2' has bad syntax: version number does not start with digit
dpkg: warning: version 'cur' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv2' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv' has bad syntax: version number does not start with digit
dpkg: warning: version 'cur' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv2' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv' has bad syntax: version number does not start with digit
dpkg: warning: version 'cur' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv2' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv' has bad syntax: version number does not start with digit
dpkg: warning: version 'cur' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv2' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv' has bad syntax: version number does not start with digit
dpkg: warning: version 'cur' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv2' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv' has bad syntax: version number does not start with digit
dpkg: warning: version 'cur' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv2' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv' has bad syntax: version number does not start with digit
dpkg: warning: version 'cur' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv2' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv' has bad syntax: version number does not start with digit
dpkg: warning: version 'cur' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv2' has bad syntax: version number does not start with digit
dpkg: warning: version 'prv' has bad syntax: version number does not start with digit
dpkg: warning: version 'cur' has bad syntax: version number does not start with digit
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
Setting up linux-image-amd64 (5.10.197-1) ...
# ln -s vmlinuz-5.10.0-26-amd64 vmlinuz-cur && ln -s initrd.img-5.10.0-26-amd64 initrd-cur
# ls -Gg vml*
lrwxrwxrwx 1 23 Jun 14 2023 vmlinuz -> vmlinuz-5.10.0-23-amd64
-rw-r--r-- 1 6837952 Feb 28 2022 vmlinuz-5.10.0-11-amd64
-rw-r--r-- 1 6840768 Mar 17 2022 vmlinuz-5.10.0-13-amd64
-rw-r--r-- 1 6843648 Apr 29 2022 vmlinuz-5.10.0-14-amd64
-rw-r--r-- 1 6962016 Sep 2 2022 vmlinuz-5.10.0-18-amd64
-rw-r--r-- 1 7008928 Dec 13 2022 vmlinuz-5.10.0-20-amd64
-rw-r--r-- 1 7036256 May 12 2023 vmlinuz-5.10.0-23-amd64
-rw-r--r-- 1 7044672 Sep 29 00:25 vmlinuz-5.10.0-26-amd64
lrwxrwxrwx 1 22 Oct 31 2021 vmlinuz51009 -> vmlinuz-5.10.0-9-amd64
-rw-r--r-- 1 6833568 Sep 30 2021 vmlinuz-5.10.0-9-amd64
lrwxrwxrwx 1 23 Feb 5 2022 vmlinuz51011 -> vmlinuz-5.10.0-11-amd64
lrwxrwxrwx 1 23 Apr 16 2022 vmlinuz51013 -> vmlinuz-5.10.0-13-amd64
lrwxrwxrwx 1 23 Jun 5 2022 vmlinuz51014 -> vmlinuz-5.10.0-14-amd64
lrwxrwxrwx 1 23 Sep 21 2022 vmlinuz51018 -> vmlinuz-5.10.0-18-amd64
lrwxrwxrwx 1 23 Dec 21 22:09 vmlinuz-cur -> vmlinuz-5.10.0-26-amd64
lrwxrwxrwx 1 23 Jun 14 2023 vmlinuz-prv -> vmlinuz-5.10.0-23-amd64
lrwxrwxrwx 1 23 Dec 30 2022 vmlinuz-prv2 -> vmlinuz-5.10.0-20-amd64
#
Newer PCs with grub-efi exhibit similar behavior, but all here that actually
have grub-efi installed already have current kernel.
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata
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