Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #219687

Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old} symlinks in the root dir?

From Felix Miata <mrmazda@earthlink.net>
Newsgroups linux.debian.user
Subject Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old} symlinks in the root dir?
Date 2020-03-01 19:10 +0100
Message-ID <zFBcl-8kR-1@gated-at.bofh.it> (permalink)
References <zFf29-2T3-1@gated-at.bofh.it> <zFlqV-6RG-3@gated-at.bofh.it> <zFwPn-5zN-3@gated-at.bofh.it> <zFx8J-5Gf-3@gated-at.bofh.it> <zFztT-7eC-5@gated-at.bofh.it>
Organization less than infinite

Show all headers | View raw


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/

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

What's the purpose of initrd.img{,.old} and vmlinuz{,.old} symlinks  in the root dir? Mikhail Morfikov <mmorfikov@gmail.com> - 2020-02-29 19:30 +0100
  Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? David Wright <deblis@lionunicorn.co.uk> - 2020-03-01 02:20 +0100
    Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? Brian <ad44@cityscape.co.uk> - 2020-03-01 14:30 +0100
      Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? Felix Miata <mrmazda@earthlink.net> - 2020-03-01 14:50 +0100
        Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? Brian <ad44@cityscape.co.uk> - 2020-03-01 17:20 +0100
          Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? Cindy Sue Causey <butterflybytes@gmail.com> - 2020-03-01 17:40 +0100
          Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? Felix Miata <mrmazda@earthlink.net> - 2020-03-01 19:10 +0100
    Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? Mikhail Morfikov <mmorfikov@gmail.com> - 2020-03-01 15:20 +0100
      Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? David Wright <deblis@lionunicorn.co.uk> - 2020-03-01 17:10 +0100
        Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? Mikhail Morfikov <mmorfikov@gmail.com> - 2020-03-01 18:00 +0100
  Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? mick crane <mick.crane@gmail.com> - 2020-03-01 17:20 +0100
    Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? Mikhail Morfikov <mmorfikov@gmail.com> - 2020-03-01 18:20 +0100
      Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? David Wright <deblis@lionunicorn.co.uk> - 2020-03-05 18:40 +0100
  Re: What's the purpose of initrd.img{,.old} and vmlinuz{,.old}  symlinks in the root dir? songbird <songbird@anthive.com> - 2020-03-01 20:40 +0100

csiph-web