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


Groups > linux.debian.user > #257026

Re: update-initramfs

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: update-initramfs
Date 2023-04-11 05:00 +0200
Message-ID <GjcoF-1dp8-1@gated-at.bofh.it> (permalink)
References <Gja3v-1c3b-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 10 Apr 2023 at 20:17:11 (-0400), Marc Auslander wrote:
> I'm on Buster.
> 
> In /boot I keep a copy of the current working linux named by appending
> -knowngood to the four files.  My idea is that if an update fails, I
> have a recent working linux.  This is different from vmlinuz.old which
> is the previous kernel version.  The updates in question are not to
> the kernel but to initrd.image of course.
> 
> Suddenly, update-initramfs insists in trying to first update
> initrd.....-knowngood  which of course fails because there are no
> underling file with that name.  This never happened in the past,
> AFAIK. Once it fails it gives up.
> 
> There seems no way to force update-initramfs to update the right kernel.

Perhaps check that "all" hasn't been accidentally inserted:

  $ grep update /etc/initramfs-tools/update-initramfs.conf 
  # Configuration file for update-initramfs(8)
  # update_initramfs [ yes | all | no ]
  # If set to all update-initramfs will update all initramfs
  # If set to no disables any update to initramfs beside kernel upgrade
  update_initramfs=yes
  $ 

A workaround: change the sort order of the backup initrd files
by adding an appropriate prefix, like backup-knowngood-…
so the "real" ones get updated first.

Cheers,
David.

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


Thread

update-initramfs Marc Auslander <marcslists@gmail.com> - 2023-04-11 02:30 +0200
  Re: update-initramfs David Wright <deblis@lionunicorn.co.uk> - 2023-04-11 05:00 +0200
    Re: update-initramfs Marc Auslander <marcslists@gmail.com> - 2023-04-11 17:10 +0200
      Re: update-initramfs davidson <davidson@freevolt.org> - 2023-04-11 19:40 +0200
        Re: update-initramfs Michel Verdier <mv524@free.fr> - 2023-04-11 21:00 +0200
          Re: update-initramfs davidson <davidson@freevolt.org> - 2023-04-11 21:50 +0200
            Re: update-initramfs davidson@freevolt.org - 2023-04-11 22:00 +0200
              Re: update-initramfs zithro <slack@rabbit.lu> - 2023-04-11 22:20 +0200
                Re: update-initramfs David Wright <deblis@lionunicorn.co.uk> - 2023-04-12 04:10 +0200
            Re: update-initramfs Michel Verdier <mv524@free.fr> - 2023-04-12 04:40 +0200
              Re: update-initramfs The Wanderer <wanderer@fastmail.fm> - 2023-04-12 13:40 +0200
                Re: update-initramfs Michel Verdier <mv524@free.fr> - 2023-04-12 13:50 +0200
                Re: update-initramfs The Wanderer <wanderer@fastmail.fm> - 2023-04-12 14:00 +0200
                Re: update-initramfs David Wright <deblis@lionunicorn.co.uk> - 2023-04-12 22:50 +0200
                Re: update-initramfs Michel Verdier <mv524@free.fr> - 2023-04-13 04:20 +0200
                Re: update-initramfs David Wright <deblis@lionunicorn.co.uk> - 2023-04-13 21:00 +0200
                Re: update-initramfs Charles Curley <charlescurley@charlescurley.com> - 2023-04-13 22:40 +0200
                Re: update-initramfs David Wright <david@lionunicorn.co.uk> - 2023-04-15 00:50 +0200
                Re: update-initramfs Michael Stone <mstone@debian.org> - 2023-04-13 22:50 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver David <curmudgeon@telaman.net.au> - 2023-04-14 23:40 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver Brian <ad44@cityscape.co.uk> - 2023-04-15 00:20 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver The Wanderer <wanderer@fastmail.fm> - 2023-04-15 00:30 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Jeremy Ardley <jeremy@ardley.org> - 2023-04-15 00:40 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are  using the wrong driver Charles Curley <charlescurley@charlescurley.com> - 2023-04-15 01:00 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver Brian <ad44@cityscape.co.uk> - 2023-04-15 01:00 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver The Wanderer <wanderer@fastmail.fm> - 2023-04-15 01:10 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver Brian <ad44@cityscape.co.uk> - 2023-04-15 01:20 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver The Wanderer <wanderer@fastmail.fm> - 2023-04-15 01:30 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver Brian <ad44@cityscape.co.uk> - 2023-04-15 13:40 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Jeremy Ardley <jeremy@ardley.org> - 2023-04-15 01:10 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Brian <ad44@cityscape.co.uk> - 2023-04-15 01:20 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Bret Busby <bret@busby.net> - 2023-04-15 01:50 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are  using the wrong driver David <curmudgeon@telaman.net.au> - 2023-04-15 01:50 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver "Andrew M.A. Cater" <amacater@einval.com> - 2023-04-15 12:10 +0200
                Pillow fight [was: EPSON ET M 1120 ...] <tomas@tuxteam.de> - 2023-04-15 12:20 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver "Thomas Schmitt" <scdbackup@gmx.net> - 2023-04-15 13:00 +0200
                On strange threads [was: EPSON ET M 1120 new printer...] <tomas@tuxteam.de> - 2023-04-15 15:40 +0200
                Re: On strange threads [was: EPSON ET M 1120 new printer...] Brian <ad44@cityscape.co.uk> - 2023-04-15 21:50 +0200
                Re: On strange threads [was: EPSON ET M 1120 new printer...] <tomas@tuxteam.de> - 2023-04-16 07:40 +0200
                Re: On strange threads [was: EPSON ET M 1120 new printer...] davidson <davidson@freevolt.org> - 2023-04-16 09:10 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Brian <ad44@cityscape.co.uk> - 2023-04-15 13:50 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Bret Busby <bret@busby.net> - 2023-04-15 22:00 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Bret Busby <bret@busby.net> - 2023-04-15 22:30 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Jeffrey Walton <noloader@gmail.com> - 2023-04-16 00:20 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Bret Busby <bret@busby.net> - 2023-04-16 01:40 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are  using the wrong driver Curt <curty@free.fr> - 2023-04-22 16:30 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver chris <tknchris@gmail.com> - 2023-04-22 16:40 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver David <curmudgeon@telaman.net.au> - 2023-04-15 01:30 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver <tomas@tuxteam.de> - 2023-04-23 11:20 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver <tomas@tuxteam.de> - 2023-04-23 11:50 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are using the wrong driver Stefan Monnier <monnier@iro.umontreal.ca> - 2023-04-15 00:40 +0200
                Re: EPSON ET M 1120   new printer: If You can read this, you are  using the wrong driver Brian <ad44@cityscape.co.uk> - 2023-04-15 14:00 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Jeffrey Walton <noloader@gmail.com> - 2023-04-29 13:50 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Greg Wooledge <greg@wooledge.org> - 2023-05-01 13:40 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver Thomas Hochstein <thh@thh.name> - 2023-05-01 14:40 +0200
                Re: EPSON ET M 1120 new printer: If You can read this, you are using  the wrong driver gene heskett <gheskett@shentel.net> - 2023-05-01 15:30 +0200
        Re: update-initramfs davidson <davidson@freevolt.org> - 2023-04-12 13:00 +0200
          Re: update-initramfs davidson@freevolt.org - 2023-04-12 13:00 +0200
      Re: update-initramfs David Wright <deblis@lionunicorn.co.uk> - 2023-04-11 22:10 +0200
  Re: update-initramfs zithro <slack@rabbit.lu> - 2023-04-11 15:30 +0200
    Re: update-initramfs Marc Auslander <marcslists@gmail.com> - 2023-04-11 17:00 +0200
      Re: update-initramfs zithro <slack@rabbit.lu> - 2023-04-11 18:10 +0200

csiph-web