22.04 reducing iso size
Peter Silva
peter at bsqt.homeip.net
Wed Nov 29 14:26:36 UTC 2023
I don't think you can just omit /usr/lib/firmware entirely. it has
microcode for processors
and parts of the motherboard... so you would have to trim carefully... I
would keep at least the amd/ and intel/ sub-directories... would have to
look at the rest of them one at a time...
I'm not saying it's not possible, I just think omitting it outright will
result in something that will not boot.
On Wed, Nov 29, 2023 at 9:16 AM Jerry Geis <jerry.geis at gmail.com> wrote:
> Hi all - Trying to reduce the size of 22.04 iso such that I can "remotely"
> issue commands to replace the OS, it reboots, downloads the iso in ram and
> installs, reboots and now Ubuntu and not CentOS.
>
> I am using the hwe kernel - so first I remove all kernel files no hwe
> (initrd and vmlinuz) basically
>
> I took a huge stab and just removed /pool - this seems ok - did a couple
> tests and the install works (it seems).
>
> This gets me down to 1.3M in size. Still just slightly too much.
>
> After looking at remaining files all there is that I can make a BIG stab
> at is
> ubuntu-server-minimal.ubuntu-server.installer.squashfs
>
> it has /usr/lib/firmware
>
> I will not be using any wireless devices - so I think I can remove that.
>
> Is this a "viable" strategy to pursue ? if so the file goes from 473M down
> to 95M.
>
> Will this work if I correctly remake the squashfs ?
>
> Thanks
>
> Jerry
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20231129/777482db/attachment.html>
More information about the ubuntu-users
mailing list