Saturday, May 4, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5267  / 3 Years ago, tue, november 9, 2021, 12:38:07

I want to install Ubuntu to a 4Gb USB stick, so that I can boot it on other computers, but I heard that a persistent file system never deletes data and so just fills up. This would be a problem as I like to keep Ubuntu up to date, and downloading 100Mb worth of upgrades on a regular basis would fill up the drive quite fast if they never truly overwrote old ones.



So can someone please tell me if this is true and, also, if there are any advantages to using a persistent file system over just installing Ubuntu to the drive.



In addition, would it be possible to install the Ubuntu installer onto a normal installation of Ubuntu - ie, if I used the installer to install to the live stick, would I be able to get the installer back on the USB stick to install it on further machines? It's not really an issue if I can't, but I am curious. Thank you.


More From » installation

 Answers
3

I think the persistent file system only doesn't delete data that already exists in the SquashFS file, ie. what's already there by default. So if you try to uninstall, say, Firefox, then you won't get space. However, if you install a new program, like Pidgin, and then later uninstall Pidgin, then you will free up your space.



So if you're only going to install and not going to remove what you've already installed, then persistence is the best option is to use a persistent file system, because if you do a full install then it'll take up more space.
Full install takes up more space because when you do an install then it uncompresses what was in the (highly compressed) SquashFS filesystem.



If there are some programs in the default ISO that you are not going to use, then I suggest you use UCK (Ubuntu Customization Kit), which lets you customize the Ubuntu ISO, to remove those programs and maybe install/update any programs you want to use. That way all those changes will be in the SquashFS filesystem as well, so everything will be compressed and you'll have more free space left at the end of it.



This is what I have been doing for some time now and it's been working nicely.


[#38498] Tuesday, November 9, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rmiend

Total Points: 292
Total Questions: 101
Total Answers: 111

Location: Azerbaijan
Member since Tue, Aug 9, 2022
2 Years ago
rmiend questions
Tue, Jan 18, 22, 23:52, 2 Years ago
Sat, Sep 17, 22, 15:44, 2 Years ago
;