OS installation onto USB stick > Best filesystem to use ? >
by Noob-Tech-Ninja from LinuxQuestions.org on (#6EBHF)
Hi there guys
I was hoping that you could help me out with a couple of questions
for a new project that I'm doing, please.
Background:
I want to set up a new Linux OS installation on a USB stick.
I've just bought a brand new 64 GB USB stick (USB 3)
I was intending to partition the drive into x2 (roughly) equal partitions
of approx 32 GB each, one for the OS and one for my data.
This won't be a live installation, I'd prefer a more standard OS installation.
I've done this in the past, and used either EXT2 / EXT3 / EXT 4 as a filesystem.
And found EXT2 quite slow.
My current USB stick with Linux on it (a 32 GB / USB drive) has been experiencing
frequent crashes, so I thought a fresh start would be a good idea.
This was set up using EXT4 as follows:
16 GB = OS
12 GB = Data
My use case would be general OS usage, web browsing, with a fair bit of large
media file usage.
I've used puppy Linux in the past, and although its quite good
I do miss the bells and whistles of something more modern and user friendly.
So I'd probably use Ubuntu 22.04 LTS with XFCE as the DE
Questions:
1. What is the best filesystem to use on a USB stick for a Linux installation ?
2. Would you prevent or disable journaling on the filesystem ?
3. I intend to disable the SWAP partition, would you agree ?
4. Is there anyway to move most of the OS into RAM ?
4.1. How would I do this ?
5. Is there anything else I need to consider ?
I have had a good search online for answers to this question, however there is
a lot of old and conflicting information out there now.
I was hoping for some clarity.
TIA for any help or advice.
I was hoping that you could help me out with a couple of questions
for a new project that I'm doing, please.
Background:
I want to set up a new Linux OS installation on a USB stick.
I've just bought a brand new 64 GB USB stick (USB 3)
I was intending to partition the drive into x2 (roughly) equal partitions
of approx 32 GB each, one for the OS and one for my data.
This won't be a live installation, I'd prefer a more standard OS installation.
I've done this in the past, and used either EXT2 / EXT3 / EXT 4 as a filesystem.
And found EXT2 quite slow.
My current USB stick with Linux on it (a 32 GB / USB drive) has been experiencing
frequent crashes, so I thought a fresh start would be a good idea.
This was set up using EXT4 as follows:
16 GB = OS
12 GB = Data
My use case would be general OS usage, web browsing, with a fair bit of large
media file usage.
I've used puppy Linux in the past, and although its quite good
I do miss the bells and whistles of something more modern and user friendly.
So I'd probably use Ubuntu 22.04 LTS with XFCE as the DE
Questions:
1. What is the best filesystem to use on a USB stick for a Linux installation ?
2. Would you prevent or disable journaling on the filesystem ?
3. I intend to disable the SWAP partition, would you agree ?
4. Is there anyway to move most of the OS into RAM ?
4.1. How would I do this ?
5. Is there anything else I need to consider ?
I have had a good search online for answers to this question, however there is
a lot of old and conflicting information out there now.
I was hoping for some clarity.
TIA for any help or advice.