On Fri, Feb 16, 2024 at 06:43:19PM -0600, Albretch Mueller wrote:
> On 2/16/24, to...@tuxteam.de <to...@tuxteam.de> wrote:
> > On Fri, Feb 16, 2024 at 01:44:22PM -0600, Albretch Mueller wrote:

[...]

> > What is a "simple page" and what does "pixelation" mean in this
> > context? Or is that irrelevant?
> 
>  A relatively simple, js-based web page  I meant to say.

Ah. A browser trying to render some thing from "out there". I see.

> >> have searched and found out is that I will have to un/repack initramfs
> >> ..., but I haven't found a relatively safe, complete procedure.
> >>
> >> How can you update the initramfs on read-only media?
> >
> > You can't. Initramfs resides in the boot medium. To update it,
> > you have to write to said medium.
> 
>  Right on the Debian Kernel Handbook they tell you you may use
> "initramfs hooks" for such things:
> 
>  
> https://kernel-team.pages.debian.net/kernel-handbook/ch-update-hooks.html#s-initramfs-hooks
> 
>  even though I couldn't find exactly the
> "/etc/initramfs/post-update.d/" directory used by  update-initramfs
> for post update hook options, I notice what seems to be a bunch of
> those in:
> 
>  /usr/share/initramfs-tools/hooks/

AFAIK, those are rather to modify the result of the initramfs
build in various ways (e.g. include additional software in the
image, configure things in a different way, etc.). They are
invoked at different steps in the build process.

What you need, as others have said, is to rebuild your write-only
medium. You can tell mkinitramfs to deposit its result in a regular
file (option -o, the man page). How it goes to that read-only
medium is left as an exercise to the reader (unless you tell us
how you build that in the first place, that is :-)

Usually it goes to somewhere /boot/initramfs.img, if /boot is mounted
properly.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to