Comments (3)
Thank you. The default ZSTD compression level 15 is not too low. However. I shall first try using XZ compression if that gives a significant size saving without much greater decompression time. I shall let you know if a hard-coded patch for ZSTD level 19 is required.
The reason I was looking at ZSTD level 19 was that it was the setting used by Wolflandbuilder 6 by Brett Bogert, a remastersys fork, which worked well for ubuntu 20.04 and Mint 20.x. The resulting iso is less than 4GB and can be copied onto FAT32 partitioned flash drives, and I am able to use the old 4GB flash drives I have.
For Mint 21.x, I had initially tried to use the updated version Wolflandbuilder 7 kindly shared by Brett. The live custom iso (made from a customized Vbox installation) boots up fine, but it crashes during installation ( ubi-prepare crashes) due to some changes in ubuntu 22.04/Mint 21.x .
The custom iso made using Cubic has no problems while installing to another hdd (physical or Vbox). It is however, larger than 4GB, so I am using Ventoy with ex-FAT on 8/16GB flash drives. It would be great if I can stay below the 4GB limit , for the above reasons.
from cubic.
According to the man page, mksquashfs
takes the --comp
option.
Allowed arguments are gzip
(default), lzo
, lz4
, xz
, and zstd
.
If zstd
is supplied as an argument, then an additional option may be supplied, -Xcompression-level COMPRESSION-LEVEL
, where COMPRESSION-LEVEL
can be a value between 1 to 22, and the default is 15.
Other values for the --comp
option have their own specific options:
COMPRESSORS AVAILABLE AND COMPRESSOR SPECIFIC OPTIONS
gzip (default):
-Xcompression-level COMPRESSION-LEVEL
COMPRESSION-LEVEL should be 1 .. 9 (default 9).
-Xwindow-size WINDOW-SIZE
WINDOW-SIZE should be 8 .. 15 (default 15).
-Xstrategy strategy1,strategy2,...,strategyN
Compress using strategy1,strategy2,...,strategyN in turn and choose the best compression. Available strategies: default, filtered, huffman_only, run_length_encoded and fixed.
lzo:
-Xalgorithm ALGORITHM
Where ALGORITHM is one of: lzo1x_1, lzo1x_1_11, lzo1x_1_12, lzo1x_1_15, lzo1x_999 (default).
-Xcompression-level COMPRESSION-LEVEL
COMPRESSION-LEVEL should be 1 .. 9 (default 8) Only applies to lzo1x_999 algorithm.
lz4:
-Xhc
Compress using LZ4 High Compression.
xz:
-Xbcj filter1,filter2,...,filterN
Compress using filter1,filter2,...,filterN in turn (in addition to no filter), and choose the best compression. Available filters: x86, arm, armthumb, powerpc, sparc, ia64.
-Xdict-size DICT-SIZE
Use DICT-SIZE as the XZ dictionary size. The dictionary size can be specified as a percentage of the block size, or as an absolute value. The dictionary size must be less than or equal to the block size and 8192 bytes or larger. It must also be storable in the xz header as either 2^n or as 2^n+2^(n+1). Example dict-sizes are 75%, 50%, 37.5%, 25%, or 32K, 16K, 8K etc.
zstd:
-Xcompression-level COMPRESSION-LEVEL
COMPRESSION-LEVEL should be 1 .. 22 (default 15).
It would become quite complex to capture all of these options in the Cubic UI, so I do not have plans to add this capability into Cubic.
If you are looking for a smaller ISO, you can try the xz
option.
However, if it is very critical, I may be able to give you a small patch to update your personal install of Cubic to hard code Xcompression-level
to 19
. Of course, I won't be able to grantee this wouldn't break any of the other compression options.
from cubic.
If not is possible add an option to configure the compression level settings will be good be Cubic always use maximum compression.
from cubic.
Related Issues (20)
- How do I change Linux MInt's Start Menu Icon in my distribution? HOT 1
- How To Change The DE In The "Live Environment" HOT 1
- Ubuntu Server 22.04 Disable Subiquity Installer HOT 2
- The ubuntu(20.04.5) image containing ros1 made by Cubic deletes the ros1 function package HOT 6
- Compressed ISO used xz are security risk ? HOT 2
- Have problems if editing an Ubuntu noble ISO in an host Ubuntu Focal ? HOT 4
- Ubuntu 24.04 (beta) bootstrapper/installer seemingly crashes under install of live image
- Cubic reference removal from project HOT 4
- Any plans to make cubic properely support ubuntu 24.04? HOT 3
- Cubic breaks iso HOT 2
- Why can't I access the Typical and Minimal packages page? HOT 2
- Missing user after new install of Ubuntu 22.04 HOT 3
- How to customize the Plymouth Splash Screen on Ubuntu 24.04?
- Virtual environment state save HOT 1
- multi-user mode broken on 24.04 variants
- generated .iso doesn't boot once burnt to USB stick
- Cubic doesn't work together with autoinstall identity. HOT 1
- 24.04 Custom ISOs not reflecting snap removals / some installed app icons not displayed HOT 2
- Errors when install cubic on ubuntu 24.04 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cubic.