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


Groups > linux.debian.user > #257065

Re: update-initramfs

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

Show all headers | View raw


On Tue 11 Apr 2023 at 10:51:19 (-0400), Marc Auslander wrote:
> On 4/10/2023 11:00 PM, David Wright wrote:
> > 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.
[ … ]
> thanks but that's the first thing I checked - it's yes, not all.  But
> my backup names contain the current version string.
> 
> I'm not sure about the sort order hack.  My goal is to have
> update-grub see the knowngood as a bootable linux and include it in
> the boot menu. That's also why .bak of initrd isn't good enough - I
> need a complete copy.

Oh, so it's update-grub calling update-initramfs, which could
complicate things.

Quite honestly, I don't see why you want to make what are essentially
backup files into part of the working set for both Grub and initramfs,
meaning they have to process duplicate files.

Any time you have a set of files that you're happy with, why not just
copy them to another directory, like /boot/backups/, adding suitable
suffixes. With Grub's flexibility, it's very easy to boot from those
copies instead. Press e at the blue screen, and tweak the filenames.
If you forget where they are or what they're called, press c instead
and go hunting with ls.

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