How to increase Home space on Live USB

Forum Forums General Tips and Tricks How to increase Home space on Live USB

  • This topic has 18 replies, 5 voices, and was last updated Sep 7-7:01 am by olsztyn.
Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #26691
    Member
    olsztyn

      Please excuse me such simple question but I was not able to find a way to do it:
      How do I increase Home space on Live USB?
      Specifically:
      Current Home space appears to be 3Gb. Frankly I do not remember where this size has been set up. The entire USB is 32Gb. Since antiX configuration has been greatly customized (enhanced) such as better fonts, etc, creating a new and fresh Live would mean lots of work to re-create all configuration is there any way to extend Home space on Live USB without recreating the entire caboodle?
      Thanks for any tips…

      • This topic was modified 3 years, 8 months ago by olsztyn.

      Live antiX Boot Options (Previously posted by Xecure):
      https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

      #26704
      Moderator
      BobC
        Helpful
        Up
        0
        ::

        I’m no expert, but I think if you are running it live there should be an option on the Live tab of the Control Centre.

        If that won’t do it, you can create an ISO snapshot on the Maintenance tab, and then burn a new Live USB on the Disks tab. When It boots, turn Persistence on, and make them bigger this time.

        #26705
        Member
        rayluo
          Helpful
          Up
          0
          ::

          How do I increase Home space on Live USB?
          Specifically:
          Current Home space appears to be 3Gb. Frankly I do not remember where this size has been set up. The entire USB is 32Gb.

          I’m also relatively new to antiX (been used it for a while, but did not really get into the details until recently). Assuming you are using Live USB without static persistence (like what I do), the “disk” space you see is presumably determined by your remaining RAM. Switching to use static root persistence can probably bypass such “issue”.

          #26706
          Moderator
          christophe
            Helpful
            Up
            0
            ::

            In control centre, select the “live” tab. Then select “Set up persistence.” Here you can increase or decrease the home persistence file size. (Home persistence is always implemented as “Static.”)

            Alternately to doing that, here’s a trick, so to speak, if you’d like to use it:
            If you make use of your Live-usb-storage directory (which is a mount-point to the entire remaining storage of your usb drive), you can have the whole usb storage available, and also have the files in it accessible to any OS that can read an ext4 file system. Using this method also keeps your empty space on the drive as available for when you want to remaster your usb.

            It involves keeping your Documents, Videos, Music, Downloads folders (and any large files/folders) in the Live-usb-storage folder, and making a symlink back to your home folder.

            The way I implement this is to:
            1. open 2 ROX-filer windows, one open to your home folder, the other to /home/demo/Live-usb-storage;
            2. drag (for example) your Videos folder over to Live-usb-storage; when you release your mouse button, select “move;”
            3. now drag this same folder (after it has been moved) back to your home folder FROM Live-usb-storage; this time select “link (relative)”.

            Now that folder & its contents is “really” outside your home persistence file, but it is symbolically linked to your home folder, and the OS treats it like it IS there. So a video player and your file managers will find it in /home/demo/Videos just like before you moved it. (Like a Windows shortcut, I suppose.)

            If you move & link-back all your big files/folders, you’ll never run out of space… until you hit 32 GB, that is.

            (Forgive me if you already know how to make symlinks. It’s just my way of describing the process.)

            But (as to your original question) the “Set Up Persistence” app will make a new home persistence file & upon reboot, antiX will use it as your new homefs. If you go that route, you’ll want to re-open Set-up-persistence after you reboot, and “fix” (delete) the old home persistence file to free up that 3 GB space. (The app walks you through it all very easily.)

            Hope this helps.

            • This reply was modified 3 years, 8 months ago by christophe.

            confirmed antiX frugaler, since 2019

            #26718
            Member
            olsztyn
              Helpful
              Up
              0
              ::

              In control centre, select the “live” tab. Then select “Set up persistence.” Here you can increase or decrease the home persistence file size.

              Thanks you christophe… However I was not referring to persistence. I do use Root Persistence of 1 Gb and in general persistence management is very well implemented to 3Gb. This is shared between Documents, Downloads, etc.
              When I look at Live-USB-Storage, it shows the remaining space of 25 Gb, which works as designed. But my question was about the size of Home, which seems set to 3 Gb and how to enlarge it so there is enough space there.
              So from your guidance I understand that:
              – Home space is determined by setting Home persistence and initially I might have set it as such not explicitly realizing this.
              – Extremely valuable tip you outline is to drag folders from Home to Live-USB-storage, which in effect creates symlinks and effectively increasing the size of Home. This is a great info… Much appreciated…
              Although it is not relevant to my question, I just want to add that a vast majority of my Live USBs are encrypted, but whether encrypted or those which are not, all seem to have Home sized at 3GB.
              I will try setting Home persistence and see if that way I can increase space by sizing such via Control Center Live, but by pointing me to creating symlinks to Live-USB-Storage this is extremely helpful…
              Thanks much and regards.

              Live antiX Boot Options (Previously posted by Xecure):
              https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

              #26720
              Moderator
              BobC
                Helpful
                Up
                0
                ::

                I have a huge homemade flashdrive which I tested last weekend with large unencrypted persistence areas, and if you are running the newest code, persistence can be sized very large.

                #26721
                Member
                olsztyn
                  Helpful
                  Up
                  0
                  ::

                  I have a huge homemade flashdrive which I tested last weekend with large unencrypted persistence areas, and if you are running the newest code, persistence can be sized very large.

                  Yes, indeed. In my testing I noticed as well.
                  I think what I missed was terminology. As christophe outlined in his guide above, the Home space that shows in File manager (e.g. Rox) is nothing else but the size of Home persistence size that was set and system re-booted with F5 – Persistence Home.

                  Live antiX Boot Options (Previously posted by Xecure):
                  https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                  #26728
                  Member
                  olsztyn
                    Helpful
                    Up
                    0
                    ::

                    OK. Did more testing and it seems to me these things are not that straightforward or consistent the way they are working in terms of showing Home space. Luckily thanks to christophe’s tips I can symlink Home folders to Live-USB-Storage…
                    – As I reported my Home space was stubbornly showing 3 Gb
                    – Booted with F5 – Home Persistence and set Home persistence file size to 6 Gb.
                    – Rebooted with just F5 – Root Persistence. Home size stubbornly showing the original 3 Gb
                    – Rebooted with F5 – Home Persistence. Home size showing as 7.8 Gb – neither the original 3 Gb nor the size of Home Persistence as was set (6Gb).
                    – To set these ‘in stone’ I remastered the Live USB, anticipating the increased size of Home
                    – Rebooted the such remastered Live with F5 – Root Persistence. Home size showing back to stubborn original 3Gb
                    – Rebooted with F5 – Persistence All. Home size showing as 7.8 Gb.

                    The result of my testing shows no solid way to ‘set in stone’ increase of Home size through Home Persistence size change unless you boot with F5 – Home Persistence or All and even then the Home size (although increased) is not equal to the size of Home Persistence size set as set up in Control Panel.
                    Unless I am still missing something key it is not clear the way it works…
                    I think Live features of antiX are extremely important and one of the greatest assets of antiX therefore it would be important to streamline the way they work and clarify in documentation.
                    In my case, thanks to tips from christophe I can leave Home size at it it stubbornly insists on and simply symlink to Live-USB-Storage. So I have a workaround at least or run as F5 – Persistence All – however in such case saving persistence content option appears to refer to Root Persistence only (I have persistence as Manual, do not want to automatically save changes).
                    Fantastic features and hopefully will be streamlined in the future…

                    Live antiX Boot Options (Previously posted by Xecure):
                    https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                    #26734
                    Forum Admin
                    anticapitalista
                      Helpful
                      Up
                      0
                      ::

                      Are you running 32 bit version? if so, I think you are restricted by the RAM cut off at 3GB not by the actual size of the space available.
                      To avoid this, you could install a pae kernel, remaster and choose that as th default.

                      Philosophers have interpreted the world in many ways; the point is to change it.

                      antiX with runit - leaner and meaner.

                      #26739
                      Member
                      olsztyn
                        Helpful
                        Up
                        0
                        ::

                        Are you running 32 bit version? if so, I think you are restricted by the RAM cut off at 3GB not by the actual size of the space available.
                        To avoid this, you could install a pae kernel, remaster and choose that as th default.

                        No, actually all these are 64bit. I did not test any 32bit…

                        However, whether I will figure this out to make it solid or not, either way I have a great workaround, which is a fantastic feature in itself from process provided by christophe:

                        It involves keeping your Documents, Videos, Music, Downloads folders (and any large files/folders) in the Live-usb-storage folder, and making a symlink back to your home folder.

                        The way I implement this is to:
                        1. open 2 ROX-filer windows, one open to your home folder, the other to /home/demo/Live-usb-storage;
                        2. drag (for example) your Videos folder over to Live-usb-storage; when you release your mouse button, select “move;”
                        3. now drag this same folder (after it has been moved) back to your home folder FROM Live-usb-storage; this time select “link (relative)”.

                        Now that folder & its contents is “really” outside your home persistence file, but it is symbolically linked to your home folder, and the OS treats it like it IS there. So a video player and your file managers will find it in /home/demo/Videos just like before you moved it. (Like a Windows shortcut, I suppose.)

                        If you move & link-back all your big files/folders, you’ll never run out of space… until you hit 32 GB, that is.

                        The above process appears to overcome Home size flakiness (which appears to me as such unless I am still missing something), with only difference that content of Live-usb-storage is not restricted to the owner (e.g. in my case user=Francis) but rather accessible to any user and system. However in my case this does not matter much as Live USB is usually encrypted and the encryption pertains also to Live-usb-storage.
                        In reference to inconsistencies of reported size of Home I would prefer a possibility that I am still missing something in the process or clarity of it. Such as when having set up a larger (such as 6 Gb) Home persistence file, why the enlarged Home size is not matching after rebooting with F5 – Persistence Home (showing instead 7.8 Gb) or why it is falling back to 3 Gb when rebooting with F5 – Persistence Root.
                        Either way these things can be accomplished, just inconsistencies do confuse me.

                        • This reply was modified 3 years, 8 months ago by olsztyn.

                        Live antiX Boot Options (Previously posted by Xecure):
                        https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                        #26751
                        Forum Admin
                        anticapitalista
                          Helpful
                          Up
                          0
                          ::

                          How much RAM do you have?

                          Philosophers have interpreted the world in many ways; the point is to change it.

                          antiX with runit - leaner and meaner.

                          #26754
                          Member
                          olsztyn
                            Helpful
                            Up
                            0
                            ::

                            On the laptop I am testing all this I have 4 Gb RAM. I will test on other laptops, which have 8 Gb RAM and report the results.

                            Live antiX Boot Options (Previously posted by Xecure):
                            https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                            #26762
                            Member
                            olsztyn
                              Helpful
                              Up
                              0
                              ::

                              Some results:
                              The same Live USB shows the following Home size when booting on three laptops (4G, 6G and 8G) in F5 – Root Persistence mode:

                              Laptop 4G: 3.0 G free / 3.0 G 7 visible (41 hidden) /home/Francis
                              Laptop 6G: 4.6 G
                              Laptop 8G: 6.1 G

                              So indeed, the Home size depends on RAM available, regardless how much is set up for homefs in Home persistence setting in Control Center.
                              I think this explains what appeared to me an inconsistency.
                              Another thing I noticed during setting up of Home persistence homefs on the 8G laptop: the Custom size to chose told me Min 250, Max size 7882, however upon choosing 7000 it came back with insufficient space. Granted I did not delete the old homefs but it is reasonable to assume that if it tells you Max is 7882 then 7000 should fit, but did not…
                              On another topic: Somewhere on setting rootfs (this time) persistence size it popped the Max is 16G root persistence. This was on laptop with 4G RAM…
                              All this testing and experience make it more clear what to expect in terms of behavior and limits.
                              Live features are one of greatest assets of antiX, so hopefully their nuances will be well publicized and more clear…
                              Thank you christophe and anticapitalista for shedding light on this…

                              • This reply was modified 3 years, 8 months ago by olsztyn.

                              Live antiX Boot Options (Previously posted by Xecure):
                              https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                              #26784
                              Moderator
                              christophe
                                Helpful
                                Up
                                0
                                ::

                                olsztyn, are you running 19.b3? I’m noticing strange behavior using it. Perhaps simply because it’s beta, and being worked-on.
                                For example, I tried to create a larger homefs (trying to replicate your situation) from set-up-persistence: the new homefs disappeared upon reboot (instead of being used as new homefs file). (I also posted another similar bug discovery in the beta-3 announcement post.)
                                I’m thinking it’s just because this version is for testing, and you definitely found some strange new behaviors. Perhaps we are in for some new features that aren’t fully implemented yet?
                                In my experience, antiX 17.x live USB persistence works “normal” regarding being true to the documentation (and “common sense”).

                                I’m thinking our problems are just the results of beta testing.

                                • This reply was modified 3 years, 8 months ago by christophe.

                                confirmed antiX frugaler, since 2019

                                #26816
                                Member
                                olsztyn
                                  Helpful
                                  Up
                                  0
                                  ::

                                  are you running 19.b3? I’m noticing strange behavior using it.

                                  Christophe: Sorry for my delayed reply…
                                  The numbers reported in the note directly above it was actually antiX 17.2. But originally when I posed questions on Home size, that same behavior I tested on both 17.2 and 19 B3 and both appeared to work the same way, in the limited scope of my testing. I did not have a chance to create very large homefs as I was testing on USB of 32 Gb size only.
                                  As for the experience you describe of disappearing homefs, my observation is that it seemed to disappear for me when I rebooted with F5 – Persistence Root, but ‘reapeared’ when I booted with F5 – Persistence Home or All. I do not remember if it was experienced with 17.2 or 19 as I assumed it was a normal for antiX behavior, being confused with Home size in the first place. I will try to do some testing tomorrow if I get a chance…

                                  Live antiX Boot Options (Previously posted by Xecure):
                                  https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                                Viewing 15 posts - 1 through 15 (of 19 total)
                                • You must be logged in to reply to this topic.