It is now possible to extend persistent dat file by using sudo sh ExtendPersistentImg.sh datfile extend_size_mb (see 5. Extend persistent dat file here).
For example:
"That means extend persistent.dat by 2048MB (+2GB), if the old size is 1GB, then it will grow to 3GB after you extend it."
My question is: Is it possible to do the opposite? Downsize persistent.dat?...
Example: Assuming I have a 96GB persistent.dat file, I want to resize to 64GB (65536MB). Can I issue the command below?
So that, in the end, I'd get a persistent dat file reduced to 64GB (65536MB).
For example:
Code:
sudo sh ExtendPersistentImg.sh persistent.dat 2048
"That means extend persistent.dat by 2048MB (+2GB), if the old size is 1GB, then it will grow to 3GB after you extend it."
My question is: Is it possible to do the opposite? Downsize persistent.dat?...
Example: Assuming I have a 96GB persistent.dat file, I want to resize to 64GB (65536MB). Can I issue the command below?
Code:
sudo sh ExtendPersistentImg.sh persistent.dat -32768
So that, in the end, I'd get a persistent dat file reduced to 64GB (65536MB).
OSes: Debian Buster, Ventoy Multi Boot USB with Persistence with Linux Lite, Manjaro, MX Linux, Ubuntu Studio, Zorin and others
HW: ASUS TUF X570-Pro, AMD Ryzen 9 5900X 12-Core, 4200 Mhz, 128 GB RAM, SAMSUNG 980 PRO 2TB PCIe NVMe Gen4 SSD M.2, Intel® Eth Ctler I225-V, Logitech K520 / M510
HW: ASUS TUF X570-Pro, AMD Ryzen 9 5900X 12-Core, 4200 Mhz, 128 GB RAM, SAMSUNG 980 PRO 2TB PCIe NVMe Gen4 SSD M.2, Intel® Eth Ctler I225-V, Logitech K520 / M510