在Ubuntu 22.04的live server镜像中,应该使用哪个squashfs文件?

我发现Ubuntu 22.04镜像中的squashfs文件与之前的版本有很大不同。 在挂载ISO后,casper目录下没有filesystem.squashfs文件。 相反,会有5个不同的squashfs文件,包括:
  • 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
有一个 filesystem.manifest,但没有相应的 filesystem.squashfs
它们之间有什么区别/关系,哪个或哪些应该用来获取与以前版本的 filesystem.squashfs 相似的内容?

你可以尝试使用7z l命令来列出每个.squashfs压缩档案的内容。 - mpb
1个回答

好的,casper/ubuntu-server-minimal.squashfs。就是这个。 进入chroot,在里面安装了一些东西,再次压缩文件系统并创建了ISO文件。完美无缺!