while maintaining the original settings in persistent?

Code: Select all
dd if=/dev/zero bs=1M count=400 >> ./persistent.copy
Code: Select all
mkdir mnt
sudo mount persistent.file ./mnt -o loop
sudo resize2fs /dev/loop0
sudo umount persistent.file
Code: Select all
losetup --list
Code: Select all
mount persistent.copy ./mnt -o loop
NTFS signature is missing.
Failed to mount '/dev/loop7': Invalid argument
The device '/dev/loop7' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Code: Select all
mkdir mnt
mkdir: cannot create directory ‘mnt’: No space left on device
What NTFS signature and NTFS file system has to do with salix persistent file?mount persistent.copy ./mnt -o loop
NTFS signature is missing.
Failed to mount '/dev/loop7': Invalid argument
The device '/dev/loop7' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Search meWhat NTFS signature and NTFS file system has to do with salix persistent file?
Somehow I could not copy the persistent back-up from the HD back to the USB stick.mimosa wrote:When you say you are unable to copy it back - is that because of lack of space? If so you could remove the new one you created (back it up if you like).
But perhaps it is simpler to just stick with the new one now.
You can also mount the backup of the old one (the same procedure as above) and get at the files in it that way, but that will be more use for data than settings.