Brian composed on 2020-03-01 16:10 (UTC): > On Sun 01 Mar 2020 at 08:41:09 -0500, Felix Miata wrote:
>> Grub does not like symlinks to un-versioned kernel and initrd in /boot/. > I am probably missing your point but I have just booted successfully > with: > root='hd1,msdos5' > linux /vmlinuz.old root=/dev/sdb5 > initrd /initrd.img.old "Grub" was the wrong word. It looks like dpkg might have been appropriate. Here's where I see the dislike: Canceled hold on linux-image-amd64. # apt dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: ... Use 'apt autoremove' to remove them. The following NEW packages will be installed: linux-image-4.19.0-8-amd64 The following packages have been kept back: grub-legacy The following packages will be upgraded: linux-image-amd64 1 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 48.1 MB of archives. After this operation, 269 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ftp.debian.org/debian buster/main amd64 linux-image-4.19.0-8-amd64 amd64 4.19.98-1 [48.1 MB] Get:2 http://ftp.debian.org/debian buster/main amd64 linux-image-amd64 amd64 4.19+105+deb10u3 [8,120 B] Fetched 48.1 MB in 38s (1,275 kB/s) Reading changelogs... Done Selecting previously unselected package linux-image-4.19.0-8-amd64. (Reading database ... 107064 files and directories currently installed.) Preparing to unpack .../linux-image-4.19.0-8-amd64_4.19.98-1_amd64.deb ... Unpacking linux-image-4.19.0-8-amd64 (4.19.98-1) ... Preparing to unpack .../linux-image-amd64_4.19+105+deb10u3_amd64.deb ... Unpacking linux-image-amd64 (4.19+105+deb10u3) over (4.19+105+deb10u1) ... Setting up linux-image-4.19.0-8-amd64 (4.19.98-1) ... I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.19.0-6-amd64 I: /initrd.img.old is now a symlink to boot/initrd.img-4.19.0-6-amd64 I: /vmlinuz is now a symlink to boot/vmlinuz-4.19.0-8-amd64 I: /initrd.img is now a symlink to boot/initrd.img-4.19.0-8-amd64 /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.19.0-8-amd64 I: The initramfs will attempt to resume from /dev/sda5 I: (UUID=1e43d736-b4a1-4144-8f2f-81f873192d61) I: Set the RESUME variable to override this. /etc/kernel/postinst.d/zz-update-grub: Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... dpkg: warning: version 'prv3' has bad syntax: version number does not start with digit dpkg: warning: version 'prv4' 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 'prv4' 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 'prv3' 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 'prv4' 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 'prv3' 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 'prv4' has bad syntax: version number does not start with digit dpkg: warning: version 'prv3' 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 'prv4' has bad syntax: version number does not start with digit dpkg: warning: version 'prv3' 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 'prv4' has bad syntax: version number does not start with digit dpkg: warning: version 'prv3' 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 'prv4' has bad syntax: version number does not start with digit dpkg: warning: version 'prv3' 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 'prv4' has bad syntax: version number does not start with digit dpkg: warning: version 'prv3' 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 Found kernel: /boot/vmlinuz Found kernel: /boot/vmlinuz-prv4 Found kernel: /boot/vmlinuz-prv3 Found kernel: /boot/vmlinuz-prv2 Found kernel: /boot/vmlinuz-prv Found kernel: /boot/vmlinuz-4.19.0-8-amd64 Found kernel: /boot/vmlinuz-4.19.0-6-amd64 Found kernel: /boot/vmlinuz-4.19.0-5-amd64 Found kernel: /boot/vmlinuz-4.19.0-4-amd64 Found kernel: /boot/vmlinuz-4.9.0-9-amd64 Updating /boot/grub/menu.lst ... done Setting up linux-image-amd64 (4.19+105+deb10u3) ... # ls -lgG /boot/v* lrwxrwxrwx 1 22 Oct 13 20:51 /boot/vmlinuz -> vmlinuz-4.19.0-6-amd64 -rw-r--r-- 1 5213424 Mar 14 2019 /boot/vmlinuz-4.19.0-4-amd64 -rw-r--r-- 1 5217520 Aug 7 2019 /boot/vmlinuz-4.19.0-5-amd64 -rw-r--r-- 1 5270768 Nov 10 19:30 /boot/vmlinuz-4.19.0-6-amd64 -rw-r--r-- 1 5270768 Jan 26 15:01 /boot/vmlinuz-4.19.0-8-amd64 -rw-r--r-- 1 4245280 Apr 12 2019 /boot/vmlinuz-4.9.0-9-amd64 lrwxrwxrwx 1 22 Mar 1 13:01 /boot/vmlinuz-cur -> vmlinuz-4.19.0-8-amd64 lrwxrwxrwx 1 22 Oct 13 20:50 /boot/vmlinuz-prv -> vmlinuz-4.19.0-6-amd64 lrwxrwxrwx 1 22 Jul 8 2019 /boot/vmlinuz-prv2 -> vmlinuz-4.19.0-5-amd64 lrwxrwxrwx 1 22 May 5 2019 /boot/vmlinuz-prv3 -> vmlinuz-4.19.0-4-amd64 lrwxrwxrwx 1 21 May 5 2019 /boot/vmlinuz-prv4 -> vmlinuz-4.9.0-9-amd64 -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/