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


Groups > linux.debian.user > #219659

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

From Mikhail Morfikov <mmorfikov@gmail.com>
Newsgroups linux.debian.user
Subject What's the purpose of initrd.img{,.old} and vmlinuz{,.old} symlinks in the root dir?
Date 2020-02-29 19:30 +0100
Message-ID <zFf29-2T3-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I have an encrypted (LUKSv2) LVM setup with a separate unencrypted /boot/
partition. When I install a new kenrel in the system, the following symlinks are
created in the root directory (/):

	# ls -al /
	...
	lrwxrwxrwx   1 root   root           29 2020-02-14 17:22:18 initrd.img -> boot/initrd.img-5.4.0-4-amd64
	lrwxrwxrwx   1 root   root           27 2020-02-24 00:37:53 initrd.img.old -> boot/initrd.img-5.5.4-amd64
	...
	lrwxrwxrwx   1 root   root           26 2020-02-14 17:22:18 vmlinuz -> boot/vmlinuz-5.4.0-4-amd64
	lrwxrwxrwx   1 root   root           24 2020-02-24 00:37:53 vmlinuz.old -> boot/vmlinuz-5.5.4-amd64

So I have a question here: what's the purpose of the links?

Also, I'm trying to configure refind EFI boot manager, and basically I don't
want to change its config file with each kernel update (the numbers in the file
names change).

Wouldn't be better to create the links under /boot/ dir instead (or in addition
to the already existing ones, if they serve any purpose)? 

Back to linux.debian.user | Previous | Next — 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