Upgrade Persistent Flash Drive from 16.04 to 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I have a Persistent USB that I made using UNetbootin.
Home directory is just how I want it.
What is the best way to upgrade the drive from 16.04 to 18.04?







share|improve this question
























    up vote
    1
    down vote

    favorite












    I have a Persistent USB that I made using UNetbootin.
    Home directory is just how I want it.
    What is the best way to upgrade the drive from 16.04 to 18.04?







    share|improve this question






















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I have a Persistent USB that I made using UNetbootin.
      Home directory is just how I want it.
      What is the best way to upgrade the drive from 16.04 to 18.04?







      share|improve this question












      I have a Persistent USB that I made using UNetbootin.
      Home directory is just how I want it.
      What is the best way to upgrade the drive from 16.04 to 18.04?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 19 at 19:08









      C.S.Cameron

      3,7741924




      3,7741924




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Persistent Flash Drive Upgrade



          About the best we can do for a Persistent upgrade is reinstall program files and copy the existing home directory.
          User installed programs are listed in synaptic, make a copy, they will need to be reinstalled.
          The usual method of copying and syncing home folders is with rsync.



          Unetbootin's Persistence file is casper-rw, it is the only thing that ever changes on a persistent USB.
          Casper-rw can not be reused from version to version of 'buntu, as all user installed programs need to be reinstalled.
          Casper-rw contains the standard set of folders for Ubuntu including the home folder.
          The home folder contains all of the users private data, desktop, documents, downloads, pictures, Browser favorites, etc.
          The home folder can be recycled from 'buntu version to 'buntu version.
          The home folder can be located in it's own persistence file named home-rw.



          Method to extract home-rw file from casper-rw file.



          Create or copy a casper-rw file, size to suit home directory up to 4GB, rename to home-rw.



          Locate the home-rw file in the root of the persistent USB, along side of the casper-rw file.



          Make directories in which to mount the persistence files



          sudo mkdir /media/casper
          sudo mkdir /media/home


          Mount the persistence files



          sudo mount -o loop casper-rw /media/casper/
          sudo mount -o loop home-rw /media/home/


          Run



          sudo rsync -Hva --progress /media/casper/upper/home/ubuntu /media/home/


          Delete the home folder from casper-rw or rename it as backup.



          Next version upgrade just copy the home-rw file to the new install before first booting of the USB.



          Persistent installs that use persistent casper-rw partitions, (ie mkusb), can similarly be upgraded, make sure the path in rsync is correct.



          Grsync



          Rsync is a little bit scary like dd, a little ignorance can go a long way.
          Grsync adds a GUI to rsync to make it a little less scary.
          I usually use Grsync when working with home directories.



          Grsync






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026497%2fupgrade-persistent-flash-drive-from-16-04-to-18-04%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            Persistent Flash Drive Upgrade



            About the best we can do for a Persistent upgrade is reinstall program files and copy the existing home directory.
            User installed programs are listed in synaptic, make a copy, they will need to be reinstalled.
            The usual method of copying and syncing home folders is with rsync.



            Unetbootin's Persistence file is casper-rw, it is the only thing that ever changes on a persistent USB.
            Casper-rw can not be reused from version to version of 'buntu, as all user installed programs need to be reinstalled.
            Casper-rw contains the standard set of folders for Ubuntu including the home folder.
            The home folder contains all of the users private data, desktop, documents, downloads, pictures, Browser favorites, etc.
            The home folder can be recycled from 'buntu version to 'buntu version.
            The home folder can be located in it's own persistence file named home-rw.



            Method to extract home-rw file from casper-rw file.



            Create or copy a casper-rw file, size to suit home directory up to 4GB, rename to home-rw.



            Locate the home-rw file in the root of the persistent USB, along side of the casper-rw file.



            Make directories in which to mount the persistence files



            sudo mkdir /media/casper
            sudo mkdir /media/home


            Mount the persistence files



            sudo mount -o loop casper-rw /media/casper/
            sudo mount -o loop home-rw /media/home/


            Run



            sudo rsync -Hva --progress /media/casper/upper/home/ubuntu /media/home/


            Delete the home folder from casper-rw or rename it as backup.



            Next version upgrade just copy the home-rw file to the new install before first booting of the USB.



            Persistent installs that use persistent casper-rw partitions, (ie mkusb), can similarly be upgraded, make sure the path in rsync is correct.



            Grsync



            Rsync is a little bit scary like dd, a little ignorance can go a long way.
            Grsync adds a GUI to rsync to make it a little less scary.
            I usually use Grsync when working with home directories.



            Grsync






            share|improve this answer
























              up vote
              1
              down vote



              accepted










              Persistent Flash Drive Upgrade



              About the best we can do for a Persistent upgrade is reinstall program files and copy the existing home directory.
              User installed programs are listed in synaptic, make a copy, they will need to be reinstalled.
              The usual method of copying and syncing home folders is with rsync.



              Unetbootin's Persistence file is casper-rw, it is the only thing that ever changes on a persistent USB.
              Casper-rw can not be reused from version to version of 'buntu, as all user installed programs need to be reinstalled.
              Casper-rw contains the standard set of folders for Ubuntu including the home folder.
              The home folder contains all of the users private data, desktop, documents, downloads, pictures, Browser favorites, etc.
              The home folder can be recycled from 'buntu version to 'buntu version.
              The home folder can be located in it's own persistence file named home-rw.



              Method to extract home-rw file from casper-rw file.



              Create or copy a casper-rw file, size to suit home directory up to 4GB, rename to home-rw.



              Locate the home-rw file in the root of the persistent USB, along side of the casper-rw file.



              Make directories in which to mount the persistence files



              sudo mkdir /media/casper
              sudo mkdir /media/home


              Mount the persistence files



              sudo mount -o loop casper-rw /media/casper/
              sudo mount -o loop home-rw /media/home/


              Run



              sudo rsync -Hva --progress /media/casper/upper/home/ubuntu /media/home/


              Delete the home folder from casper-rw or rename it as backup.



              Next version upgrade just copy the home-rw file to the new install before first booting of the USB.



              Persistent installs that use persistent casper-rw partitions, (ie mkusb), can similarly be upgraded, make sure the path in rsync is correct.



              Grsync



              Rsync is a little bit scary like dd, a little ignorance can go a long way.
              Grsync adds a GUI to rsync to make it a little less scary.
              I usually use Grsync when working with home directories.



              Grsync






              share|improve this answer






















                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                Persistent Flash Drive Upgrade



                About the best we can do for a Persistent upgrade is reinstall program files and copy the existing home directory.
                User installed programs are listed in synaptic, make a copy, they will need to be reinstalled.
                The usual method of copying and syncing home folders is with rsync.



                Unetbootin's Persistence file is casper-rw, it is the only thing that ever changes on a persistent USB.
                Casper-rw can not be reused from version to version of 'buntu, as all user installed programs need to be reinstalled.
                Casper-rw contains the standard set of folders for Ubuntu including the home folder.
                The home folder contains all of the users private data, desktop, documents, downloads, pictures, Browser favorites, etc.
                The home folder can be recycled from 'buntu version to 'buntu version.
                The home folder can be located in it's own persistence file named home-rw.



                Method to extract home-rw file from casper-rw file.



                Create or copy a casper-rw file, size to suit home directory up to 4GB, rename to home-rw.



                Locate the home-rw file in the root of the persistent USB, along side of the casper-rw file.



                Make directories in which to mount the persistence files



                sudo mkdir /media/casper
                sudo mkdir /media/home


                Mount the persistence files



                sudo mount -o loop casper-rw /media/casper/
                sudo mount -o loop home-rw /media/home/


                Run



                sudo rsync -Hva --progress /media/casper/upper/home/ubuntu /media/home/


                Delete the home folder from casper-rw or rename it as backup.



                Next version upgrade just copy the home-rw file to the new install before first booting of the USB.



                Persistent installs that use persistent casper-rw partitions, (ie mkusb), can similarly be upgraded, make sure the path in rsync is correct.



                Grsync



                Rsync is a little bit scary like dd, a little ignorance can go a long way.
                Grsync adds a GUI to rsync to make it a little less scary.
                I usually use Grsync when working with home directories.



                Grsync






                share|improve this answer












                Persistent Flash Drive Upgrade



                About the best we can do for a Persistent upgrade is reinstall program files and copy the existing home directory.
                User installed programs are listed in synaptic, make a copy, they will need to be reinstalled.
                The usual method of copying and syncing home folders is with rsync.



                Unetbootin's Persistence file is casper-rw, it is the only thing that ever changes on a persistent USB.
                Casper-rw can not be reused from version to version of 'buntu, as all user installed programs need to be reinstalled.
                Casper-rw contains the standard set of folders for Ubuntu including the home folder.
                The home folder contains all of the users private data, desktop, documents, downloads, pictures, Browser favorites, etc.
                The home folder can be recycled from 'buntu version to 'buntu version.
                The home folder can be located in it's own persistence file named home-rw.



                Method to extract home-rw file from casper-rw file.



                Create or copy a casper-rw file, size to suit home directory up to 4GB, rename to home-rw.



                Locate the home-rw file in the root of the persistent USB, along side of the casper-rw file.



                Make directories in which to mount the persistence files



                sudo mkdir /media/casper
                sudo mkdir /media/home


                Mount the persistence files



                sudo mount -o loop casper-rw /media/casper/
                sudo mount -o loop home-rw /media/home/


                Run



                sudo rsync -Hva --progress /media/casper/upper/home/ubuntu /media/home/


                Delete the home folder from casper-rw or rename it as backup.



                Next version upgrade just copy the home-rw file to the new install before first booting of the USB.



                Persistent installs that use persistent casper-rw partitions, (ie mkusb), can similarly be upgraded, make sure the path in rsync is correct.



                Grsync



                Rsync is a little bit scary like dd, a little ignorance can go a long way.
                Grsync adds a GUI to rsync to make it a little less scary.
                I usually use Grsync when working with home directories.



                Grsync







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 19 at 19:11









                C.S.Cameron

                3,7741924




                3,7741924



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026497%2fupgrade-persistent-flash-drive-from-16-04-to-18-04%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

                    `kcmshell` modules relation with `/usr/share/applications`

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491