Can I Share a Home Partition on a Multi Boot USB Drive





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I have a pendrive made using mkusb.



It has the standard Persistent setup with ISO9660 OS partition, boot, casper-rw and usbdata partitions.



I would like to add a Full install Ubuntu partition and a /home partition.



I may also add some iso's to boot later.



How can I share the home partition between the various OS?










share|improve this question































    1















    I have a pendrive made using mkusb.



    It has the standard Persistent setup with ISO9660 OS partition, boot, casper-rw and usbdata partitions.



    I would like to add a Full install Ubuntu partition and a /home partition.



    I may also add some iso's to boot later.



    How can I share the home partition between the various OS?










    share|improve this question



























      1












      1








      1








      I have a pendrive made using mkusb.



      It has the standard Persistent setup with ISO9660 OS partition, boot, casper-rw and usbdata partitions.



      I would like to add a Full install Ubuntu partition and a /home partition.



      I may also add some iso's to boot later.



      How can I share the home partition between the various OS?










      share|improve this question
















      I have a pendrive made using mkusb.



      It has the standard Persistent setup with ISO9660 OS partition, boot, casper-rw and usbdata partitions.



      I would like to add a Full install Ubuntu partition and a /home partition.



      I may also add some iso's to boot later.



      How can I share the home partition between the various OS?







      grub2 partitioning usb live-usb






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 15 at 11:28







      C.S.Cameron

















      asked Feb 15 at 11:26









      C.S.CameronC.S.Cameron

      5,03711029




      5,03711029






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Sharing home Partition on a Multiple Boot USB



          /home and home-rw may share a partition on a bootable USB drive, offering a link between Full and Persistent installs to the same USB. This also allows multiple installs and bootable ISOs to each have a home folder greater than 4GB each.




          • Using mkusb, install Ubuntu to a 4GB pendrive as a Live install, (no persistence, important). Use default settings


          • Using mkusb, install Ubuntu to a 32GB pendrive as a Persistent install, Use default settings but allow 21GB for persistence.


          • Shrink partition 5 to 7GB and add 2 more ext4 partitions.


          • Remove casper-rw label from Partition 5.


          • Make a copy of 32GB Partition 3 /boot/grub/grub.cfg.


          • Plug in both pendrives and boot into the 4GB drive.


          • Select Install.


          • At "Something else" select the 32GB drive for boot loader.


          • Select partition 7, change to ext4, Format and /.


          • Select partition 6, change to ext4, Format and /home.


          • Select "Install now" and complete installation.


          • Open the 32GB pendrive in GParted.


          • Change the label of Partition 5 back to casper-rw.


          • Change the label of Partition 6 to home-rw.



          enter image description here




          • Open the copied grub.cfg and copy any menuentries you want to use.


          • Paste the selected menuentries into Partition 7 /etc/grub.d/40_custom/


          • Run sudo update-grub from the Full install.


          • You may add as many Users as you have OS.


          • The same username can share a home folder between installs as long as the flavor of Ubuntu is the same, Ubuntu version may vary.







          share|improve this answer
























          • +1. Good instructions :-) I have a question: Are you able to boot this system in both UEFI and BIOS mode? I did it this way: Install the installed system in BIOS mode and write the bootloader to the root partition of the installed system (not to the head of the drive). This will not overwrite the boot system of mkusb. In such a system there is one more step: copy grub.cfg from the installed system (after all your steps) to the location in partition #3. But if you are happy with either boot mode (only UEFI or only BIOS), your instructions will work and are easier to maintain.

            – sudodus
            Feb 15 at 12:11











          • Yesterday I got turned around and installed to root of the drive. I had to copy menuentries from a saved original mkusb grub.cfg to /etc/grub.d/40_custom and update-grub. Drive is using grub.cfg from sdc7. I did not format sdc3 in Something else, grub.cfg from sdc3 is not being used. Everything seems to be working fine BIOS and UEFI. Will keep experimenting.

            – C.S.Cameron
            Feb 16 at 3:50












          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          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%2f1118485%2fcan-i-share-a-home-partition-on-a-multi-boot-usb-drive%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Sharing home Partition on a Multiple Boot USB



          /home and home-rw may share a partition on a bootable USB drive, offering a link between Full and Persistent installs to the same USB. This also allows multiple installs and bootable ISOs to each have a home folder greater than 4GB each.




          • Using mkusb, install Ubuntu to a 4GB pendrive as a Live install, (no persistence, important). Use default settings


          • Using mkusb, install Ubuntu to a 32GB pendrive as a Persistent install, Use default settings but allow 21GB for persistence.


          • Shrink partition 5 to 7GB and add 2 more ext4 partitions.


          • Remove casper-rw label from Partition 5.


          • Make a copy of 32GB Partition 3 /boot/grub/grub.cfg.


          • Plug in both pendrives and boot into the 4GB drive.


          • Select Install.


          • At "Something else" select the 32GB drive for boot loader.


          • Select partition 7, change to ext4, Format and /.


          • Select partition 6, change to ext4, Format and /home.


          • Select "Install now" and complete installation.


          • Open the 32GB pendrive in GParted.


          • Change the label of Partition 5 back to casper-rw.


          • Change the label of Partition 6 to home-rw.



          enter image description here




          • Open the copied grub.cfg and copy any menuentries you want to use.


          • Paste the selected menuentries into Partition 7 /etc/grub.d/40_custom/


          • Run sudo update-grub from the Full install.


          • You may add as many Users as you have OS.


          • The same username can share a home folder between installs as long as the flavor of Ubuntu is the same, Ubuntu version may vary.







          share|improve this answer
























          • +1. Good instructions :-) I have a question: Are you able to boot this system in both UEFI and BIOS mode? I did it this way: Install the installed system in BIOS mode and write the bootloader to the root partition of the installed system (not to the head of the drive). This will not overwrite the boot system of mkusb. In such a system there is one more step: copy grub.cfg from the installed system (after all your steps) to the location in partition #3. But if you are happy with either boot mode (only UEFI or only BIOS), your instructions will work and are easier to maintain.

            – sudodus
            Feb 15 at 12:11











          • Yesterday I got turned around and installed to root of the drive. I had to copy menuentries from a saved original mkusb grub.cfg to /etc/grub.d/40_custom and update-grub. Drive is using grub.cfg from sdc7. I did not format sdc3 in Something else, grub.cfg from sdc3 is not being used. Everything seems to be working fine BIOS and UEFI. Will keep experimenting.

            – C.S.Cameron
            Feb 16 at 3:50
















          1














          Sharing home Partition on a Multiple Boot USB



          /home and home-rw may share a partition on a bootable USB drive, offering a link between Full and Persistent installs to the same USB. This also allows multiple installs and bootable ISOs to each have a home folder greater than 4GB each.




          • Using mkusb, install Ubuntu to a 4GB pendrive as a Live install, (no persistence, important). Use default settings


          • Using mkusb, install Ubuntu to a 32GB pendrive as a Persistent install, Use default settings but allow 21GB for persistence.


          • Shrink partition 5 to 7GB and add 2 more ext4 partitions.


          • Remove casper-rw label from Partition 5.


          • Make a copy of 32GB Partition 3 /boot/grub/grub.cfg.


          • Plug in both pendrives and boot into the 4GB drive.


          • Select Install.


          • At "Something else" select the 32GB drive for boot loader.


          • Select partition 7, change to ext4, Format and /.


          • Select partition 6, change to ext4, Format and /home.


          • Select "Install now" and complete installation.


          • Open the 32GB pendrive in GParted.


          • Change the label of Partition 5 back to casper-rw.


          • Change the label of Partition 6 to home-rw.



          enter image description here




          • Open the copied grub.cfg and copy any menuentries you want to use.


          • Paste the selected menuentries into Partition 7 /etc/grub.d/40_custom/


          • Run sudo update-grub from the Full install.


          • You may add as many Users as you have OS.


          • The same username can share a home folder between installs as long as the flavor of Ubuntu is the same, Ubuntu version may vary.







          share|improve this answer
























          • +1. Good instructions :-) I have a question: Are you able to boot this system in both UEFI and BIOS mode? I did it this way: Install the installed system in BIOS mode and write the bootloader to the root partition of the installed system (not to the head of the drive). This will not overwrite the boot system of mkusb. In such a system there is one more step: copy grub.cfg from the installed system (after all your steps) to the location in partition #3. But if you are happy with either boot mode (only UEFI or only BIOS), your instructions will work and are easier to maintain.

            – sudodus
            Feb 15 at 12:11











          • Yesterday I got turned around and installed to root of the drive. I had to copy menuentries from a saved original mkusb grub.cfg to /etc/grub.d/40_custom and update-grub. Drive is using grub.cfg from sdc7. I did not format sdc3 in Something else, grub.cfg from sdc3 is not being used. Everything seems to be working fine BIOS and UEFI. Will keep experimenting.

            – C.S.Cameron
            Feb 16 at 3:50














          1












          1








          1







          Sharing home Partition on a Multiple Boot USB



          /home and home-rw may share a partition on a bootable USB drive, offering a link between Full and Persistent installs to the same USB. This also allows multiple installs and bootable ISOs to each have a home folder greater than 4GB each.




          • Using mkusb, install Ubuntu to a 4GB pendrive as a Live install, (no persistence, important). Use default settings


          • Using mkusb, install Ubuntu to a 32GB pendrive as a Persistent install, Use default settings but allow 21GB for persistence.


          • Shrink partition 5 to 7GB and add 2 more ext4 partitions.


          • Remove casper-rw label from Partition 5.


          • Make a copy of 32GB Partition 3 /boot/grub/grub.cfg.


          • Plug in both pendrives and boot into the 4GB drive.


          • Select Install.


          • At "Something else" select the 32GB drive for boot loader.


          • Select partition 7, change to ext4, Format and /.


          • Select partition 6, change to ext4, Format and /home.


          • Select "Install now" and complete installation.


          • Open the 32GB pendrive in GParted.


          • Change the label of Partition 5 back to casper-rw.


          • Change the label of Partition 6 to home-rw.



          enter image description here




          • Open the copied grub.cfg and copy any menuentries you want to use.


          • Paste the selected menuentries into Partition 7 /etc/grub.d/40_custom/


          • Run sudo update-grub from the Full install.


          • You may add as many Users as you have OS.


          • The same username can share a home folder between installs as long as the flavor of Ubuntu is the same, Ubuntu version may vary.







          share|improve this answer













          Sharing home Partition on a Multiple Boot USB



          /home and home-rw may share a partition on a bootable USB drive, offering a link between Full and Persistent installs to the same USB. This also allows multiple installs and bootable ISOs to each have a home folder greater than 4GB each.




          • Using mkusb, install Ubuntu to a 4GB pendrive as a Live install, (no persistence, important). Use default settings


          • Using mkusb, install Ubuntu to a 32GB pendrive as a Persistent install, Use default settings but allow 21GB for persistence.


          • Shrink partition 5 to 7GB and add 2 more ext4 partitions.


          • Remove casper-rw label from Partition 5.


          • Make a copy of 32GB Partition 3 /boot/grub/grub.cfg.


          • Plug in both pendrives and boot into the 4GB drive.


          • Select Install.


          • At "Something else" select the 32GB drive for boot loader.


          • Select partition 7, change to ext4, Format and /.


          • Select partition 6, change to ext4, Format and /home.


          • Select "Install now" and complete installation.


          • Open the 32GB pendrive in GParted.


          • Change the label of Partition 5 back to casper-rw.


          • Change the label of Partition 6 to home-rw.



          enter image description here




          • Open the copied grub.cfg and copy any menuentries you want to use.


          • Paste the selected menuentries into Partition 7 /etc/grub.d/40_custom/


          • Run sudo update-grub from the Full install.


          • You may add as many Users as you have OS.


          • The same username can share a home folder between installs as long as the flavor of Ubuntu is the same, Ubuntu version may vary.








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 15 at 11:27









          C.S.CameronC.S.Cameron

          5,03711029




          5,03711029













          • +1. Good instructions :-) I have a question: Are you able to boot this system in both UEFI and BIOS mode? I did it this way: Install the installed system in BIOS mode and write the bootloader to the root partition of the installed system (not to the head of the drive). This will not overwrite the boot system of mkusb. In such a system there is one more step: copy grub.cfg from the installed system (after all your steps) to the location in partition #3. But if you are happy with either boot mode (only UEFI or only BIOS), your instructions will work and are easier to maintain.

            – sudodus
            Feb 15 at 12:11











          • Yesterday I got turned around and installed to root of the drive. I had to copy menuentries from a saved original mkusb grub.cfg to /etc/grub.d/40_custom and update-grub. Drive is using grub.cfg from sdc7. I did not format sdc3 in Something else, grub.cfg from sdc3 is not being used. Everything seems to be working fine BIOS and UEFI. Will keep experimenting.

            – C.S.Cameron
            Feb 16 at 3:50



















          • +1. Good instructions :-) I have a question: Are you able to boot this system in both UEFI and BIOS mode? I did it this way: Install the installed system in BIOS mode and write the bootloader to the root partition of the installed system (not to the head of the drive). This will not overwrite the boot system of mkusb. In such a system there is one more step: copy grub.cfg from the installed system (after all your steps) to the location in partition #3. But if you are happy with either boot mode (only UEFI or only BIOS), your instructions will work and are easier to maintain.

            – sudodus
            Feb 15 at 12:11











          • Yesterday I got turned around and installed to root of the drive. I had to copy menuentries from a saved original mkusb grub.cfg to /etc/grub.d/40_custom and update-grub. Drive is using grub.cfg from sdc7. I did not format sdc3 in Something else, grub.cfg from sdc3 is not being used. Everything seems to be working fine BIOS and UEFI. Will keep experimenting.

            – C.S.Cameron
            Feb 16 at 3:50

















          +1. Good instructions :-) I have a question: Are you able to boot this system in both UEFI and BIOS mode? I did it this way: Install the installed system in BIOS mode and write the bootloader to the root partition of the installed system (not to the head of the drive). This will not overwrite the boot system of mkusb. In such a system there is one more step: copy grub.cfg from the installed system (after all your steps) to the location in partition #3. But if you are happy with either boot mode (only UEFI or only BIOS), your instructions will work and are easier to maintain.

          – sudodus
          Feb 15 at 12:11





          +1. Good instructions :-) I have a question: Are you able to boot this system in both UEFI and BIOS mode? I did it this way: Install the installed system in BIOS mode and write the bootloader to the root partition of the installed system (not to the head of the drive). This will not overwrite the boot system of mkusb. In such a system there is one more step: copy grub.cfg from the installed system (after all your steps) to the location in partition #3. But if you are happy with either boot mode (only UEFI or only BIOS), your instructions will work and are easier to maintain.

          – sudodus
          Feb 15 at 12:11













          Yesterday I got turned around and installed to root of the drive. I had to copy menuentries from a saved original mkusb grub.cfg to /etc/grub.d/40_custom and update-grub. Drive is using grub.cfg from sdc7. I did not format sdc3 in Something else, grub.cfg from sdc3 is not being used. Everything seems to be working fine BIOS and UEFI. Will keep experimenting.

          – C.S.Cameron
          Feb 16 at 3:50





          Yesterday I got turned around and installed to root of the drive. I had to copy menuentries from a saved original mkusb grub.cfg to /etc/grub.d/40_custom and update-grub. Drive is using grub.cfg from sdc7. I did not format sdc3 in Something else, grub.cfg from sdc3 is not being used. Everything seems to be working fine BIOS and UEFI. Will keep experimenting.

          – C.S.Cameron
          Feb 16 at 3:50


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118485%2fcan-i-share-a-home-partition-on-a-multi-boot-usb-drive%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

          How to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?