Forum › Forums › New users › New Users and General Questions › LiveUSB – Small size of home folder
Tagged: live usb size home
- This topic has 11 replies, 4 voices, and was last updated Apr 26-11:57 am by Anonymous.
-
AuthorPosts
-
April 7, 2019 at 1:01 am #20186
Anonymous
Hello,
I installed Antix base with the dedicated tool on an 8G usb flash drive, and I realize that I don’t have the full size of the drive at my disposal. If I look at Isblk, I have this:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 610M 1 loop /live/linux loop1 7:1 0 3,5G 0 loop /live/persist-root loop2 7:2 0 940M 0 loop /home sdb 8:16 1 7,6G 0 disk ├─sdb1 8:17 1 7,6G 0 part /live/boot-dev └─sdb2 8:18 1 50M 0 part /media/antiX-uefi sr0 11:0 1 1024M 0 romWe can see that my Home is about 1 giga, and yesterday, I ran out of space.
About my installation, what I did afterwards was that I created a new profile, then I deleted the demo profile.
I don’t figure out how to free space, with gparted.My question is, how do I get all the space or do I have to reinstall my USB flash drive? (not a problem)
thank you
April 7, 2019 at 2:42 am #20188Anonymous
::So, I did a persistence configuration and resized my home. It’s good but it could be better. What I would like is to have the minimum space for root and maximum space for my home.
Now I have this:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 610M 1 loop /live/linux loop1 7:1 0 3,5G 0 loop /live/persist-root loop2 7:2 0 2G 0 loop /home sdb 8:16 1 7,6G 0 disk ├─sdb1 8:17 1 7,6G 0 part /live/boot-dev └─sdb2 8:18 1 50M 0 part /media/antiX-uefi sr0 11:0 1 1024M 0 romOn 8G usb, how could I have, let’s say a 2G (or 2.5G) /root and a 5.5G (or 5G) for /home size? I guess it’s the best I can get. Yes, I would like the maximum free space for /home, to store a lot of files.
Thanks,
April 7, 2019 at 3:05 am #20190Member
fatmac
::You could just do a regular install to your 8GB pendrive, that will leave you all available space for your files.
(I use an 8GB SDHC card in one of my laptops.)You can remove the ‘saved admin space’ & gain a little extra space, by using tune2fs.
sudo tune2fs -m 0 /dev/sd?Linux (& BSD) since 1999
April 7, 2019 at 3:20 am #20191Anonymous
::Thank you, but there’s something I don’t understand anymore. Why a live usb? What is the best way to have a portable Antix? If I do a regular install, I have to deal with partitions, isn’t it? What about swap?
I’m afraid I haven’t figured it out yet.April 7, 2019 at 12:52 pm #20206Anonymous
::I don’t have the full size of the drive at my disposal.
It’s an 8 gig storage device.
Currently, 2.7 gig is occupied by files.
In spacefm filemanger or rox-riler, if you browse to
~/live-usb-storage/
you could (currently, per your screenshot) write 4.86 gig additional files.“live-usb-storage” is a mapping, a mountpoint, enabling you to easily access the remaining space on the
drive.
(more accurately, it’s the remaining space available within the formatted partition, aka sdb1)April 7, 2019 at 1:14 pm #20210Anonymous
::thank you, I checked my Home folder but there is no live-usb-storage/.
There is a live-usb-storage/ inside the Demo home folder, but this folder is empty as I deleted this account and created a new one that I use now. It is possible to create this live-usb-storage/ in my home folder?
I will try, with Live-usb-storage/ as it is in the old demo folder.April 7, 2019 at 1:48 pm #20214Anonymous
::Live-usb-storage
Per my understanding, that feature should be accessible even when persistence is not currently enabled
and
a “~/Live-usb-storage/” directory should be visible to any (every) user
but
the feature must be globally enabled, either by appending dostore to the bootline
or by choosing same (dostore) via the options dropdown selectbox presented on the antiX LegacyBIOS bootscreen.During your next boot, if you choose “dostore”, any/every logged in user should have available a “~/Live-usb-storage/” directory. If for some reason you later wish “no user account should see a Live-usb-storage directory”, you can toggle off the feature by electing nostore during boot. When changed (toggled enabled, or disabled) this setting is sticky, continues to be applied across subsequent boots until/unless you again elect to toggle it.
ps:
If, asRoot, you browse to /live/boot-dev/Live-usb-storage/*
you can note that a subdirectory exists for each user account
(each user who has logged in while ‘dostore’ is/was in effect).
I am mentioning this because IIRC the contents a of given L-u-s subdirectory
are not disturbed (scrubbed, deleted) when the associated user account is deleted.
If your now-deleted “demo” user had files stored therein, only root user can
now access (and/or delete) those stranded files.April 7, 2019 at 1:54 pm #20215Anonymous
April 13, 2019 at 3:48 am #20436Anonymous
::You could just do a regular install to your 8GB pendrive, that will leave you all available space for your files.
(I use an 8GB SDHC card in one of my laptops.)…Hello,
I reinstalled everything this morning, using a standard installation on my USB-8G, and it’s just so much better.
No problems with passwords, because with the persistent usb live creator, it wasn’t easy with azerty keyboards, I had already failed because of that, impossible to enter your password, still not recognized afterwards.
Now, all space available.
Thank you Fatmac, why make it complicated when you can make it simple.April 26, 2019 at 11:00 am #20729Membergreyowl
::I am interested in this topic and have a question:
What is the difference between a “regular install” vs how you installed it initially?
Please explain the procedure for a “regular install”. What option do you use when installing on the pin drive?Dell Latitude D620 laptop with antiX 22 (64 bit)
April 26, 2019 at 11:52 am #20732Anonymous
::greyowl, the wording in this topic is misleading.
In the original post, screenshot indicates “loop0” ~~ indicative of a liveboot (NOT installed-to-disk) scenario.re: Please explain the procedure for a “regular install”.
Instead, I’ll mention that “regular install” to flash media drive (you called it a ‘pin drive’?) is non-ideal.April 26, 2019 at 11:57 am #20733Anonymous
::Hello,
the standard installation is very simple, like a normal installation on a computer but you just have to choose the entired USB flash drive as your destination /root.
No swap.
Choose your language, keyboard, profile creation, password.
Simple. -
AuthorPosts
- You must be logged in to reply to this topic.