DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to run a live usb system with a persistent volume greater than 4gb. If I use pendrivelinux , some distros give me the option to add a 4gb persistent casper file. The problem is that I can't go higher than that.
I know that Tails OS does have a script to do this once you install it on a usb drive but I don't think the persistent volume saves desktop settings and changes.
I've tried with Debian, Elementary and Mint. I'm posting on Debian sub-forum because my ideal distro would be debian or mostly-debian distro (like crunchbang).
The problem that I encounter and the tutorials I've read say that the proper procedure is to create a 2nd partition (ext2, ext3 or ext4) and then boot the system using the 2nd partition as the persistent volume. The partition is supposed to be labelled casper-rw.
When I do try to boot up, I either get a black screen or it boots without the persistent volume.
My ideal live usb distro would be a minimal Debian live usb with persistent volume so I can add whatever I want to it.
Any help with this? The existing answers and tutorials I've read haven't been of any help.
The standard method is to just create the Live CD on a flash drive. After booting it to test, boot another system that has GParted on it and shrink the partition on which you have the Live CD to a little larger than the actual filesystem data, then create another partition and format it ext2, 3 or 4 and for Ubuntu/Mint etc., name it casper-rw. I don't use Debian so I'm not sure the casper-rw will work. Some Debian user might be able to tell you.
After reading those articles it seems they key component is labeling the partition as casper-rw. It doesn't seem to matter what filesystem format you choose so long as it supports >4GB. If you need that persistent filesystem accessible from a wide variety of OS then choose a widely supported FS like exFAT (which supports 64GB partitions and is rw in all major operating systems). Otherwise, go with your preference. Any partition tool should work e.g. Gparted or parted.
Since that's the case it should work just fine with Debian. I'll play with it myself on a 32GB flash drive.
It doesn't seem to matter what filesystem format you choose so long as it supports <4GB
I'd have to disagree with that as far as using it for persistence, at least according to the Ubuntu site below under Creating casper-rw filesystem. Post back your results if you try it on Debian.
Quote:
NOTE: This example uses the ext3 file system, but almost any file system should work. Among the file systems which won't work are VFAT and NTFS
http://cosmolinux.no-ip.org/raconetl...rsistence.html
I did it in this way, only took the Debian 8.1 and put it on a 8 GB stick.
Suppose it would make a 4 GB partition (can't remember if it occurred me..) then take QParted and adjust the size using this partition tool.
I tried the stick on 2 PC's, works perfectly.
Use it as a spare "disk" to boot our data server when the boot disk has a problem; webdav/Apache/SSH are also installed and every works as if it was the original hard disk... Settings are persistent as it should be.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.