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

2020-03-05 Thread David Wright
On Sun 01 Mar 2020 at 18:11:07 (+0100), Mikhail Morfikov wrote: > On 01/03/2020 17:15, mick crane wrote: > > On 2020-02-29 18:17, Mikhail Morfikov wrote > > > >> vmlinuz -> boot/vmlinuz-5.4.0-4-amd64 > >> lrwxrwxrwx   1 root   root   24 2020-02-24 00:37:53 > >> vmlinuz.old ->

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

2020-03-01 Thread songbird
Mikhail Morfikov wrote: ... > Also, I'm trying to configure refind EFI boot manager, and basically I do= > n't > want to change its config file with each kernel update (the numbers in th= > e file > names change). that's exactly what i've been doing. they work fine no matter where they end up

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

2020-03-01 Thread Felix Miata
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

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

2020-03-01 Thread Mikhail Morfikov
On 01/03/2020 17:15, mick crane wrote: > On 2020-02-29 18:17, Mikhail Morfikov wrote > >> 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 >> > > .old is pointing to a newer kernel ? > > mick >

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

2020-03-01 Thread Mikhail Morfikov
On 01/03/2020 16:53, David Wright wrote: > I've read here that Grub can decrypt LUKS, but currently only v1, > at least in buster, so no help to you. Actually grub supports LUKSv2[1], but I haven't tried it yet. [1]:

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

2020-03-01 Thread Cindy Sue Causey
On 3/1/20, Brian wrote: > 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

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

2020-03-01 Thread mick crane
On 2020-02-29 18:17, Mikhail Morfikov wrote 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 .old is pointing to a newer kernel ? mick -- Key ID4BFEBB31

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

2020-03-01 Thread Brian
On Sun 01 Mar 2020 at 08:41:09 -0500, Felix Miata wrote: > Brian composed on 2020-03-01 13:26 (UTC): > > > On Sat 29 Feb 2020 at 19:15:12 -0600, David Wright wrote: > > >> On Sat 29 Feb 2020 at 19:17:39 (+0100), Mikhail Morfikov wrote: > > >>> # ls -al / > >>> ... > >>> lrwxrwxrwx 1

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

2020-03-01 Thread David Wright
On Sun 01 Mar 2020 at 15:09:34 (+0100), Mikhail Morfikov wrote: > On 01/03/2020 02:15, David Wright wrote: > > They're a convenience. If you want them kept in /boot, then edit > > /etc/kernel-img.conf and linux-update-symlinks will recreate them > > there when the kernel is updated. Ditto if you

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

2020-03-01 Thread Mikhail Morfikov
On 01/03/2020 02:15, David Wright wrote: > They're a convenience. If you want them kept in /boot, then edit > /etc/kernel-img.conf and linux-update-symlinks will recreate them > there when the kernel is updated. Ditto if you want them removed. I didn't know there's even such an option. But yes,

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

2020-03-01 Thread Felix Miata
Brian composed on 2020-03-01 13:26 (UTC): > On Sat 29 Feb 2020 at 19:15:12 -0600, David Wright wrote: >> On Sat 29 Feb 2020 at 19:17:39 (+0100), Mikhail Morfikov wrote: >>> # ls -al / >>> ... >>> lrwxrwxrwx 1 root root 29 2020-02-14 17:22:18 initrd.img -> >>>

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

2020-03-01 Thread Brian
On Sat 29 Feb 2020 at 19:15:12 -0600, David Wright wrote: > On Sat 29 Feb 2020 at 19:17:39 (+0100), Mikhail Morfikov wrote: > > 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 > >

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

2020-02-29 Thread David Wright
On Sat 29 Feb 2020 at 19:17:39 (+0100), Mikhail Morfikov wrote: > 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 / > ... >

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

2020-02-29 Thread Mikhail Morfikov
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