4

I found the squashfs file in Ubuntu 22.04 image pretty much different from previous releases. There is no filesystem.squashfs file under the casper directory after mounting the ISO. Instead, there will be 5 different squashfs files including:

  • casper/ubuntu-server-minimal.squashfs
  • casper/ubuntu-server-minimal.ubuntu-server.installer.generic-hwe.squashfs
  • casper/ubuntu-server-minimal.ubuntu-server.installer.generic.squashfs
  • casper/ubuntu-server-minimal.ubuntu-server.installer.squashfs
  • casper/ubuntu-server-minimal.ubuntu-server.squashfs

There is a filesystem.manifest but no corresponding filesystem.squashfs.

What's the difference/relationship between them and which one or ones should be used to get the similar contents as filesystem.squashfs of previous releases?

BeastOfCaerbannog
  • 12,964
  • 10
  • 49
  • 77
Ali Zhang
  • 41
  • 2
  • You could try using `7z l` to list the contents of each of the `.squashfs` archives. – mpb May 02 '23 at 00:41

1 Answers1

3

OK, casper/ubuntu-server-minimal.squashfs.This is the one. Got into chroot, installed stuff inside, squashed the filesystem again and created the ISO. Works like a charm!!

BeastOfCaerbannog
  • 12,964
  • 10
  • 49
  • 77
Soutrik
  • 31
  • 3