<div dir="ltr">I don't think you can just omit /usr/lib/firmware entirely.  it has microcode for processors<div>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...</div><div>I'm not saying it's not possible, I just think omitting it outright will result in something that will not boot.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 29, 2023 at 9:16 AM Jerry Geis <<a href="mailto:jerry.geis@gmail.com">jerry.geis@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">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.<div><br></div><div>I am using the hwe kernel - so first I remove all kernel files no hwe (initrd and vmlinuz) basically</div><div><br></div><div>I took a huge stab and just removed /pool - this seems ok - did a couple tests and the install works (it seems).</div><div><br></div><div>This gets me down to 1.3M in size. Still just slightly too much.</div><div><br></div><div>After looking at remaining files all there is that I can make a BIG stab at is </div><div>ubuntu-server-minimal.ubuntu-server.installer.squashfs<br></div><div><br></div><div>it has /usr/lib/firmware</div><div><br></div><div>I will not be using any wireless devices - so I think I can remove that.</div><div><br></div><div>Is this a "viable" strategy to pursue ? if so the file goes from 473M down to 95M.  </div><div><br></div><div>Will this work if I correctly remake the squashfs ?</div><div><br></div><div>Thanks</div><div><br></div><div>Jerry</div></div>
-- <br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</blockquote></div>