How do I create a bootable live usb that uses ext4 opposed to iso-9660, squashfs and casper












0















I have a 64GB USB disk.



From the ubuntu official ISO images I would like to know how to create a bootable live USB that uses ext4 instead of iso-9660 fs, squashfs, and casper. Preferably with a seperate /home partiton.



Preferable I would like the USB to be bootable for both the legacy BIOS process and the EFI boot process.



As far as I know BIOS boot requires a MBR to be created and written and EFI boot requires a EFI partition.



So I imagine the final USB block device should have three partions (/home on a partion by itself)




  • EFI partition

  • ext4 partition (for /)

  • ext4 partition (for /home)


So how can I create such a live USB from the downloadable ISO images?










share|improve this question



























    0















    I have a 64GB USB disk.



    From the ubuntu official ISO images I would like to know how to create a bootable live USB that uses ext4 instead of iso-9660 fs, squashfs, and casper. Preferably with a seperate /home partiton.



    Preferable I would like the USB to be bootable for both the legacy BIOS process and the EFI boot process.



    As far as I know BIOS boot requires a MBR to be created and written and EFI boot requires a EFI partition.



    So I imagine the final USB block device should have three partions (/home on a partion by itself)




    • EFI partition

    • ext4 partition (for /)

    • ext4 partition (for /home)


    So how can I create such a live USB from the downloadable ISO images?










    share|improve this question

























      0












      0








      0


      1






      I have a 64GB USB disk.



      From the ubuntu official ISO images I would like to know how to create a bootable live USB that uses ext4 instead of iso-9660 fs, squashfs, and casper. Preferably with a seperate /home partiton.



      Preferable I would like the USB to be bootable for both the legacy BIOS process and the EFI boot process.



      As far as I know BIOS boot requires a MBR to be created and written and EFI boot requires a EFI partition.



      So I imagine the final USB block device should have three partions (/home on a partion by itself)




      • EFI partition

      • ext4 partition (for /)

      • ext4 partition (for /home)


      So how can I create such a live USB from the downloadable ISO images?










      share|improve this question














      I have a 64GB USB disk.



      From the ubuntu official ISO images I would like to know how to create a bootable live USB that uses ext4 instead of iso-9660 fs, squashfs, and casper. Preferably with a seperate /home partiton.



      Preferable I would like the USB to be bootable for both the legacy BIOS process and the EFI boot process.



      As far as I know BIOS boot requires a MBR to be created and written and EFI boot requires a EFI partition.



      So I imagine the final USB block device should have three partions (/home on a partion by itself)




      • EFI partition

      • ext4 partition (for /)

      • ext4 partition (for /home)


      So how can I create such a live USB from the downloadable ISO images?







      boot live-usb






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 5 at 22:11









      JarlJarl

      1377




      1377






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Full Install to USB - BIOS/UEFI



          Mkusb makes a great base for a USB drive able to boot from both BIOS and UEFI, https://help.ubuntu.com/community/mkusb :




          • Use mkusb to make a Live system on the Installer USB, (2GB or larger).


          • Use mkusb to make a Persistent system on the Target USB, (8GB or larger), using default settings with up to 25GB persistence, (remaining NTFS partition is used as Windows accessible data partition).



          enter image description here




          • As soon as mkusb finishes, open GParted and delete sdx4, the ISO9660 partition and expand sdx5 into the recovered space, sdx being the device name of the Target drive.


          • Create a extra ext4 partition sdx6 for /home if desired.



          enter image description here




          • Unplug or remove HDD before proceeding further, (optional but recommended, highly recommended if it is running in UEFI mode).


          • Boot Installer drive, select Try.


          • Insert Target drive



          Start Install Ubuntu...




          • Select "Something else".


          • Select sdx5, (on the target drive), and click Change.



          enter image description here




          • Select Use as: ext4, Format and Mount point: /.


          Don't touch any other partitions (unless adding a /home partition to sdx6).




          • Select sdx5 as Device for boot loader installation.


          • Complete installation.


          • Cut grub.cfg from sdx5/boot/grub and paste to sdx3/boot/grub, overwriting the existing grub.cfg file.


          • Boot the target drive and run sudo update-grub to add all drives to boot menu.


          • Do not install any propriety drivers, (ie Nvidia), on pre-18.04 installs.







          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',
            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%2f1107281%2fhow-do-i-create-a-bootable-live-usb-that-uses-ext4-opposed-to-iso-9660-squashfs%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














            Full Install to USB - BIOS/UEFI



            Mkusb makes a great base for a USB drive able to boot from both BIOS and UEFI, https://help.ubuntu.com/community/mkusb :




            • Use mkusb to make a Live system on the Installer USB, (2GB or larger).


            • Use mkusb to make a Persistent system on the Target USB, (8GB or larger), using default settings with up to 25GB persistence, (remaining NTFS partition is used as Windows accessible data partition).



            enter image description here




            • As soon as mkusb finishes, open GParted and delete sdx4, the ISO9660 partition and expand sdx5 into the recovered space, sdx being the device name of the Target drive.


            • Create a extra ext4 partition sdx6 for /home if desired.



            enter image description here




            • Unplug or remove HDD before proceeding further, (optional but recommended, highly recommended if it is running in UEFI mode).


            • Boot Installer drive, select Try.


            • Insert Target drive



            Start Install Ubuntu...




            • Select "Something else".


            • Select sdx5, (on the target drive), and click Change.



            enter image description here




            • Select Use as: ext4, Format and Mount point: /.


            Don't touch any other partitions (unless adding a /home partition to sdx6).




            • Select sdx5 as Device for boot loader installation.


            • Complete installation.


            • Cut grub.cfg from sdx5/boot/grub and paste to sdx3/boot/grub, overwriting the existing grub.cfg file.


            • Boot the target drive and run sudo update-grub to add all drives to boot menu.


            • Do not install any propriety drivers, (ie Nvidia), on pre-18.04 installs.







            share|improve this answer






























              1














              Full Install to USB - BIOS/UEFI



              Mkusb makes a great base for a USB drive able to boot from both BIOS and UEFI, https://help.ubuntu.com/community/mkusb :




              • Use mkusb to make a Live system on the Installer USB, (2GB or larger).


              • Use mkusb to make a Persistent system on the Target USB, (8GB or larger), using default settings with up to 25GB persistence, (remaining NTFS partition is used as Windows accessible data partition).



              enter image description here




              • As soon as mkusb finishes, open GParted and delete sdx4, the ISO9660 partition and expand sdx5 into the recovered space, sdx being the device name of the Target drive.


              • Create a extra ext4 partition sdx6 for /home if desired.



              enter image description here




              • Unplug or remove HDD before proceeding further, (optional but recommended, highly recommended if it is running in UEFI mode).


              • Boot Installer drive, select Try.


              • Insert Target drive



              Start Install Ubuntu...




              • Select "Something else".


              • Select sdx5, (on the target drive), and click Change.



              enter image description here




              • Select Use as: ext4, Format and Mount point: /.


              Don't touch any other partitions (unless adding a /home partition to sdx6).




              • Select sdx5 as Device for boot loader installation.


              • Complete installation.


              • Cut grub.cfg from sdx5/boot/grub and paste to sdx3/boot/grub, overwriting the existing grub.cfg file.


              • Boot the target drive and run sudo update-grub to add all drives to boot menu.


              • Do not install any propriety drivers, (ie Nvidia), on pre-18.04 installs.







              share|improve this answer




























                1












                1








                1







                Full Install to USB - BIOS/UEFI



                Mkusb makes a great base for a USB drive able to boot from both BIOS and UEFI, https://help.ubuntu.com/community/mkusb :




                • Use mkusb to make a Live system on the Installer USB, (2GB or larger).


                • Use mkusb to make a Persistent system on the Target USB, (8GB or larger), using default settings with up to 25GB persistence, (remaining NTFS partition is used as Windows accessible data partition).



                enter image description here




                • As soon as mkusb finishes, open GParted and delete sdx4, the ISO9660 partition and expand sdx5 into the recovered space, sdx being the device name of the Target drive.


                • Create a extra ext4 partition sdx6 for /home if desired.



                enter image description here




                • Unplug or remove HDD before proceeding further, (optional but recommended, highly recommended if it is running in UEFI mode).


                • Boot Installer drive, select Try.


                • Insert Target drive



                Start Install Ubuntu...




                • Select "Something else".


                • Select sdx5, (on the target drive), and click Change.



                enter image description here




                • Select Use as: ext4, Format and Mount point: /.


                Don't touch any other partitions (unless adding a /home partition to sdx6).




                • Select sdx5 as Device for boot loader installation.


                • Complete installation.


                • Cut grub.cfg from sdx5/boot/grub and paste to sdx3/boot/grub, overwriting the existing grub.cfg file.


                • Boot the target drive and run sudo update-grub to add all drives to boot menu.


                • Do not install any propriety drivers, (ie Nvidia), on pre-18.04 installs.







                share|improve this answer















                Full Install to USB - BIOS/UEFI



                Mkusb makes a great base for a USB drive able to boot from both BIOS and UEFI, https://help.ubuntu.com/community/mkusb :




                • Use mkusb to make a Live system on the Installer USB, (2GB or larger).


                • Use mkusb to make a Persistent system on the Target USB, (8GB or larger), using default settings with up to 25GB persistence, (remaining NTFS partition is used as Windows accessible data partition).



                enter image description here




                • As soon as mkusb finishes, open GParted and delete sdx4, the ISO9660 partition and expand sdx5 into the recovered space, sdx being the device name of the Target drive.


                • Create a extra ext4 partition sdx6 for /home if desired.



                enter image description here




                • Unplug or remove HDD before proceeding further, (optional but recommended, highly recommended if it is running in UEFI mode).


                • Boot Installer drive, select Try.


                • Insert Target drive



                Start Install Ubuntu...




                • Select "Something else".


                • Select sdx5, (on the target drive), and click Change.



                enter image description here




                • Select Use as: ext4, Format and Mount point: /.


                Don't touch any other partitions (unless adding a /home partition to sdx6).




                • Select sdx5 as Device for boot loader installation.


                • Complete installation.


                • Cut grub.cfg from sdx5/boot/grub and paste to sdx3/boot/grub, overwriting the existing grub.cfg file.


                • Boot the target drive and run sudo update-grub to add all drives to boot menu.


                • Do not install any propriety drivers, (ie Nvidia), on pre-18.04 installs.








                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 6 at 6:04

























                answered Jan 6 at 3:22









                C.S.CameronC.S.Cameron

                4,46911028




                4,46911028






























                    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%2f1107281%2fhow-do-i-create-a-bootable-live-usb-that-uses-ext4-opposed-to-iso-9660-squashfs%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

                    How to change which sound is reproduced for terminal bell?

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

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents