best Linux filesystem for reliability? [Porteus USB stick]
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
best Linux filesystem for reliability? [Porteus USB stick]
I'm getting my feet wet with Porteus, because I want a live, small, fast Unix to boot from a US stick - esp. to use for emergencies when Windows damages my system again with an "update". I mainly want to use just Firefox and a Thunderbird-like email client. This is for a ~1 yr old laptop, 8GB and Ryzen 5.
I've been using a file container on a FAT32 boot-stick for persistence of FF and emails, etc; and also to go back and forth with Windows transferring FF password files and so forth. But that's crashed twice, so I am almost exclusively interested now in reliability. A Linux filesystem apparently means having no more file data-container to crash. So which Linux filesystem should I format the stick to? I've read discussions on their forum, which were very involved but there was no conclusion. A simple answer will do, it doesn't have to be perfect.
The crash would have little to do with filesystem I'd think. Using a live with persistence has some unique issues. Not sure what all filesystems can be used.
The second part is using a usb flash drive. Not dependable at all.
If one bought a high end high speed usb flash drive or better still maybe a mechanical drive they could do a full install of some OS and keep it fully updated. Otherwise maybe use a dvd booted OS like Clear Linux if all you want to do is use Firefox.
I'm getting my feet wet with Porteus, because I want a live, small, fast Unix to boot from a US stick - esp. to use for emergencies when Windows damages my system again with an "update".
I do hope you have all your data on an external HDD, incase windoze decides to wipe your internal HDD.
I'd suggest using a puppy, any puppy (linux). They are generally small and can run loaded entirely into your ram. https://puppylinux.com/download.html
Quote:
So which Linux filesystem should I format the stick to?
Windoze does not, usually, recognise the existance of linux partitions, so be careful how you format the usb..
I have transfered information from files created in the linux OS to a windoze OS by placing the data of a usb formatted to NTFS (file system). You might also find usb formatted to NTFS works for you.
Common problems with 'some' windows updates are turning on hibernation without asking/informing the user and turning on Secure Boot. Linux systems will not mount a hibernated partition and some Linux systems will not boot with Secure Boot on. Not sure either is related to your problem but more details on exactly what you mean by 'crashed'. What exactly happened? The computer just froze and you couldn't do anything or some other problem.
Common problems with 'some' windows updates are turning on hibernation without asking/informing the user and turning on Secure Boot. Linux systems will not mount a hibernated partition and some Linux systems will not boot with Secure Boot on. Not sure either is related to your problem but more details on exactly what you mean by 'crashed'. What exactly happened? The computer just froze and you couldn't do anything or some other problem.
Thank you, what happens sporadically (~once per week) is that the container file apparently becomes unusable (corrupted?) and upon my next login the saved data and configurations are all gone. I also get the error msg that the container file is read only - which makes no sense since it had been written to several times previously.
I have Porteus set to save state only when I logoff/shutdown. Sometimes, but not always, the system might hang at shutdown. At other times, there is no indication that my container file is now gone bad, until I discover such at next login.
I got the idea somewhere that some filesystems might be self-repairing, which seems surprising but would seem to be very useful.
I've discovered by trying F2FS that I can't use F2FS with Porteus. It is not recognized.
I also get the error msg that the container file is read only
That usually happens when there is corruption, the read only business. Your using a windows (FAT32) filesystem so I you can run dosfsck if you have another Linux or run whatever windows uses. I don't use Porteus although I have put it on a USB so can't give any detailed help. Did you use the method explained at the link below to create your 'save' file, official installation guide.
As mentioned above, if you are going to use the flash drive to transfer between Porteus and some windows system, having a Linux filesystem on the usb will create a problem as a default windows system will not be able to read much less write to the filesystem. There is 3rd party software available although I don't know how reliable it is.
I use EasyOs on a Sandisk USB.
EasyOS has option
'Copy to RAM and disable all drives'.
So far so good, very stable.
When I want to save something, I switch on and mount an external drive.
The only thing I dislike is I loose my VPN protection (which I paid for, stuck for 3 years). I try to make the VPN work, but then the container doesn't.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.