How to locate compressed Linux file system with Ubuntu Server 21.10?

Asked by Dustin Chapman

I would like to create a custom disc image based on the Ubuntu Server 21.10 ISO [1]. When reaching the "Extracting the original disk..." screen, Cubic fails to analyze the original disk image because it is "Unable to locate the compressed Linux File system". Looking in syslog, Cubic seems to be searching explicitly for "filesystem.squashfs", which is no longer included in the Ubuntu Server ISO. Is there a way to update which squashfs file is used?

[1] https://mirror.math.princeton.edu/pub/ubuntu-iso/impish/ubuntu-21.10-live-server-amd64.iso

Question information

Language:
English Edit question
Status:
Solved
For:
Cubic Edit question
Assignee:
No assignee Edit question
Solved by:
Cubic PPA
Solved:
Last query:
Last reply:
Revision history for this message
Cubic PPA (cubic-wizard) said :
#1

Dustin,

Do you happen to know where 21.10 server keeps the squashfs file?
(If you do, it would save me some analysis work).

I will need to modify Cubic to :
1. Search for the correct file
2. Extract this file
3. Generate the new ISO, placing the new squashfs file in the correct location

This may not be trivial, so I can't promise a quick turn-around.

There is also the possibility that the 21.10 ISO server completely changed everything, in which case it will be even more work to fix.

Revision history for this message
Dustin Chapman (dchapman) said :
#2

Thanks for the reply. There are multiple squashfs files, still in the casper directory.

```
dustin@bob:~/cubic/test$ find . -iname '*.squashfs'
./source-disk/casper/ubuntu-server-minimal.squashfs
./source-disk/casper/ubuntu-server-minimal.ubuntu-server.installer.generic.squashfs
./source-disk/casper/ubuntu-server-minimal.ubuntu-server.installer.squashfs
./source-disk/casper/ubuntu-server-minimal.ubuntu-server.squashfs
```

Revision history for this message
Cubic PPA (cubic-wizard) said :
#3

OK, thanks.

I'll look into it further.

Feel free to create a bug report.

Revision history for this message
Best Cubic PPA (cubic-wizard) said :
#4

Fix for Bug #1949237 released in Cubic version 2021.11-62.

Revision history for this message
Dustin Chapman (dchapman) said :
#5

Thanks Cubic PPA, that solved my question.