Pendrive with Persistent Partion out of space in OS partition
Solution 1:
Persistent live drives are more sensitive than standard installed systems
Persistent live systems can use a file or partition for persistence, a casper-rw
file (as created by most tools) or a casper-rw
partition (as created by mkusb). The file system in the casper-rw
file or partition is vulnerable to corruption. That said, there are ways to keep a persistent live system running.
Avoid filling the system's storage (the
casper-rw
partition).Allow the system to shut down completely (flushing the buffers in RAM to the casper-rw partition). Never unplug the USB drive while the computer is running. I'm sure you know this, but sometimes it is difficult to wait, and it is a common cause of failure.
Avoid general update & upgrade. Only install necessary extra program packages, do the tweaks and keep 'what is absolutely necessary' up to date.
If you want a major update & upgrade, keep/backup the
.../upper/home
directory (in thecasper-rw
partition) and create a new system (with mkusb using a new iso file) and after that copy.../upper/home
to the newcasper-rw
partition. Do this when booted live-only.Back up the
casper-rw
partition at regular intervals. Backup and restore scripts are bundled with mkusb. Do this when booted live-only.-
Remember to backup also the data files in the
usbdata
partition (if you have such a partition).See the following links,
help.ubuntu.com/community/mkusb
help.ubuntu.com/community/mkusb/persistent
More differences between persistent live and installed systems
The persistent live systems are compared to systems installed into a USB pendrive in the same way as into an internal drive.
Both systems are portable between computers. A persistent live system is more portable, because it is set up with a vast amount of hardware drivers. An installed system should be installed without proprietary drivers to be portable.
A persistent live system needs less drive space because a lot of program packages are stored in a compressed file system. On the other hand it needs more RAM because the compressed file system is expanded into RAM.
A persistent live system performs less write operations but an installed system can be tweaked to reduce the writing to avoid excessive wear of the memory cells. See this link.
A persistent live system cannot use new kernels. Normal program packages can be updated & upgraded. An installed system can be completely updated & upgraded.
You can install (an installed system) with disk encryption. In principle, a persistent live system in not encrypted, there is not even a log in feature, but you arrive directly at the desktop environment.
-
A Ubuntu persistent live system can boot in both UEFI and BIOS mode, while an installed system is normally created for either UEFI or BIOS mode, but not both. It is possible to tweak an installed system to boot in both UEFI and BIOS mode according to the following link,
help.ubuntu.com/community/Installation/UEFI-and-BIOS