Foolproof way to Install Ubuntu on an external hdd, independent of other hdds & OSes, w/o unplugging the...












0














The consensus for installing an 100% independent linux on an external hdd, without having any boot record etc interference with any other OSes on any other hdds, is to unplug all your hdds, plug in only the live cd/usb and the destination hdd or flash drive, and install.



Because every time I see a guide for doing it without unplugging the rest of the hdds, it is riddled with comments of how it backfired (exhibit A, exhibit B, plus I tried it a couple of times and gave myself huge headaches and a lot of work afterwards).



I have a Windows laptop that I can't open up, and I don't have access to any PCs.
So I will ask, clearly how else can I, what's the actual way to, easily, with minimal risk of screwing up, with minimal steps, install ubuntu without corrupting my main system or leaving any other traces or dependencies in it?



I would love it if there just was a button for "install everything to this HDD clearly labeled as 'MY External HDD'". OR to download a 16GB pre-installed sector-by-sector ubuntu HDD image that I could "recover" to my external hdd and then resize the data partition accordingly. Because that guarantees not f***ing anything up big time, and it also doesn't require any OS restarts or iso boots for the process.










share|improve this question





























    0














    The consensus for installing an 100% independent linux on an external hdd, without having any boot record etc interference with any other OSes on any other hdds, is to unplug all your hdds, plug in only the live cd/usb and the destination hdd or flash drive, and install.



    Because every time I see a guide for doing it without unplugging the rest of the hdds, it is riddled with comments of how it backfired (exhibit A, exhibit B, plus I tried it a couple of times and gave myself huge headaches and a lot of work afterwards).



    I have a Windows laptop that I can't open up, and I don't have access to any PCs.
    So I will ask, clearly how else can I, what's the actual way to, easily, with minimal risk of screwing up, with minimal steps, install ubuntu without corrupting my main system or leaving any other traces or dependencies in it?



    I would love it if there just was a button for "install everything to this HDD clearly labeled as 'MY External HDD'". OR to download a 16GB pre-installed sector-by-sector ubuntu HDD image that I could "recover" to my external hdd and then resize the data partition accordingly. Because that guarantees not f***ing anything up big time, and it also doesn't require any OS restarts or iso boots for the process.










    share|improve this question



























      0












      0








      0







      The consensus for installing an 100% independent linux on an external hdd, without having any boot record etc interference with any other OSes on any other hdds, is to unplug all your hdds, plug in only the live cd/usb and the destination hdd or flash drive, and install.



      Because every time I see a guide for doing it without unplugging the rest of the hdds, it is riddled with comments of how it backfired (exhibit A, exhibit B, plus I tried it a couple of times and gave myself huge headaches and a lot of work afterwards).



      I have a Windows laptop that I can't open up, and I don't have access to any PCs.
      So I will ask, clearly how else can I, what's the actual way to, easily, with minimal risk of screwing up, with minimal steps, install ubuntu without corrupting my main system or leaving any other traces or dependencies in it?



      I would love it if there just was a button for "install everything to this HDD clearly labeled as 'MY External HDD'". OR to download a 16GB pre-installed sector-by-sector ubuntu HDD image that I could "recover" to my external hdd and then resize the data partition accordingly. Because that guarantees not f***ing anything up big time, and it also doesn't require any OS restarts or iso boots for the process.










      share|improve this question















      The consensus for installing an 100% independent linux on an external hdd, without having any boot record etc interference with any other OSes on any other hdds, is to unplug all your hdds, plug in only the live cd/usb and the destination hdd or flash drive, and install.



      Because every time I see a guide for doing it without unplugging the rest of the hdds, it is riddled with comments of how it backfired (exhibit A, exhibit B, plus I tried it a couple of times and gave myself huge headaches and a lot of work afterwards).



      I have a Windows laptop that I can't open up, and I don't have access to any PCs.
      So I will ask, clearly how else can I, what's the actual way to, easily, with minimal risk of screwing up, with minimal steps, install ubuntu without corrupting my main system or leaving any other traces or dependencies in it?



      I would love it if there just was a button for "install everything to this HDD clearly labeled as 'MY External HDD'". OR to download a 16GB pre-installed sector-by-sector ubuntu HDD image that I could "recover" to my external hdd and then resize the data partition accordingly. Because that guarantees not f***ing anything up big time, and it also doesn't require any OS restarts or iso boots for the process.







      system-installation external-hdd






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 5 at 13:37







      Spectraljump

















      asked Jan 5 at 13:29









      SpectraljumpSpectraljump

      1064




      1064






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Well, hello.



          I have a dual boot (from 2 different drives) Debian/Windows desktop. I suppose the installation process is quite similar in Ubuntu if not identical.



          Follow these steps:




          • Burn your .iso in a thumb drive or a CD/DVD

          • Boot from it (you should read on MBR/GPT on that)

          • Fire up the OS installer (click install)

          • When prompted to select an installation option choose "Something Else" (other options are "Erase disk and install Linux", "Install Linux alongside X", etc.)

          • In "Something Else" you are required to partition the hard drive you're going to use and set a swap partition as well. (Take extra time & care in this step as formating the wrong drive means data loss)

          • IMPORTANT: In the end of the OS installation process, you'll be promted to install/setup Grub (bootloader). Once Grub is installed you'll be asked on which drive you want boot info saved (this defaults to /dev/sda but you most likely don't want it there, you want Grub to install and save it's config ONLY on your external hard drive which means when the drive is connected Grub fires up, and when it's not Windows Bootloader does).


          If all of the above is done properly you'll be able boot in both Linux & Windows without losing any of your data.






          share|improve this answer








          New contributor




          Nick Tritsis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • Long story short, no foolproof way. It's quite simple though and hard to fail, once you fully understand exactly what you're trying to do and how it's done. Feel free to comment for further clarification.
            – Nick Tritsis
            Jan 5 at 13:56






          • 2




            This works well for BIOS installs, but not at all for UEFI installs. Just installed 19.04 to sdb drive and it did not install grub to sdb drive's ESP. So still not fixed for UEFI. See bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1396379 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1229488 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1173457 I always partition in advance and include an ESP on every drive. And then back up sda's ESP. After new install, copy to new drive's ESP & restore backed up ESP to sda. Reset fstab for new efi partition & reinstall grub.
            – oldfred
            2 days ago












          • Thanks for the heads-up! I think I will wait a sec for a laptop I can destroy or use a neighbour's PC for now.
            – Spectraljump
            yesterday












          • And UEFI is such a pain. It took me a long time to figure out how to even be able to boot from USB. Had to enable some kind of "legacy mode" for UEFI, but also disable secure boot (which on one of my laptops' bioses doesn't even exist it seems) to allow usb boot, otherwise it just does what it wants to protect you the sweet innocent user, or lock you out of your own product depending on how you look at it :)
            – Spectraljump
            yesterday













          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%2f1107181%2ffoolproof-way-to-install-ubuntu-on-an-external-hdd-independent-of-other-hdds%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














          Well, hello.



          I have a dual boot (from 2 different drives) Debian/Windows desktop. I suppose the installation process is quite similar in Ubuntu if not identical.



          Follow these steps:




          • Burn your .iso in a thumb drive or a CD/DVD

          • Boot from it (you should read on MBR/GPT on that)

          • Fire up the OS installer (click install)

          • When prompted to select an installation option choose "Something Else" (other options are "Erase disk and install Linux", "Install Linux alongside X", etc.)

          • In "Something Else" you are required to partition the hard drive you're going to use and set a swap partition as well. (Take extra time & care in this step as formating the wrong drive means data loss)

          • IMPORTANT: In the end of the OS installation process, you'll be promted to install/setup Grub (bootloader). Once Grub is installed you'll be asked on which drive you want boot info saved (this defaults to /dev/sda but you most likely don't want it there, you want Grub to install and save it's config ONLY on your external hard drive which means when the drive is connected Grub fires up, and when it's not Windows Bootloader does).


          If all of the above is done properly you'll be able boot in both Linux & Windows without losing any of your data.






          share|improve this answer








          New contributor




          Nick Tritsis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • Long story short, no foolproof way. It's quite simple though and hard to fail, once you fully understand exactly what you're trying to do and how it's done. Feel free to comment for further clarification.
            – Nick Tritsis
            Jan 5 at 13:56






          • 2




            This works well for BIOS installs, but not at all for UEFI installs. Just installed 19.04 to sdb drive and it did not install grub to sdb drive's ESP. So still not fixed for UEFI. See bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1396379 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1229488 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1173457 I always partition in advance and include an ESP on every drive. And then back up sda's ESP. After new install, copy to new drive's ESP & restore backed up ESP to sda. Reset fstab for new efi partition & reinstall grub.
            – oldfred
            2 days ago












          • Thanks for the heads-up! I think I will wait a sec for a laptop I can destroy or use a neighbour's PC for now.
            – Spectraljump
            yesterday












          • And UEFI is such a pain. It took me a long time to figure out how to even be able to boot from USB. Had to enable some kind of "legacy mode" for UEFI, but also disable secure boot (which on one of my laptops' bioses doesn't even exist it seems) to allow usb boot, otherwise it just does what it wants to protect you the sweet innocent user, or lock you out of your own product depending on how you look at it :)
            – Spectraljump
            yesterday


















          1














          Well, hello.



          I have a dual boot (from 2 different drives) Debian/Windows desktop. I suppose the installation process is quite similar in Ubuntu if not identical.



          Follow these steps:




          • Burn your .iso in a thumb drive or a CD/DVD

          • Boot from it (you should read on MBR/GPT on that)

          • Fire up the OS installer (click install)

          • When prompted to select an installation option choose "Something Else" (other options are "Erase disk and install Linux", "Install Linux alongside X", etc.)

          • In "Something Else" you are required to partition the hard drive you're going to use and set a swap partition as well. (Take extra time & care in this step as formating the wrong drive means data loss)

          • IMPORTANT: In the end of the OS installation process, you'll be promted to install/setup Grub (bootloader). Once Grub is installed you'll be asked on which drive you want boot info saved (this defaults to /dev/sda but you most likely don't want it there, you want Grub to install and save it's config ONLY on your external hard drive which means when the drive is connected Grub fires up, and when it's not Windows Bootloader does).


          If all of the above is done properly you'll be able boot in both Linux & Windows without losing any of your data.






          share|improve this answer








          New contributor




          Nick Tritsis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • Long story short, no foolproof way. It's quite simple though and hard to fail, once you fully understand exactly what you're trying to do and how it's done. Feel free to comment for further clarification.
            – Nick Tritsis
            Jan 5 at 13:56






          • 2




            This works well for BIOS installs, but not at all for UEFI installs. Just installed 19.04 to sdb drive and it did not install grub to sdb drive's ESP. So still not fixed for UEFI. See bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1396379 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1229488 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1173457 I always partition in advance and include an ESP on every drive. And then back up sda's ESP. After new install, copy to new drive's ESP & restore backed up ESP to sda. Reset fstab for new efi partition & reinstall grub.
            – oldfred
            2 days ago












          • Thanks for the heads-up! I think I will wait a sec for a laptop I can destroy or use a neighbour's PC for now.
            – Spectraljump
            yesterday












          • And UEFI is such a pain. It took me a long time to figure out how to even be able to boot from USB. Had to enable some kind of "legacy mode" for UEFI, but also disable secure boot (which on one of my laptops' bioses doesn't even exist it seems) to allow usb boot, otherwise it just does what it wants to protect you the sweet innocent user, or lock you out of your own product depending on how you look at it :)
            – Spectraljump
            yesterday
















          1












          1








          1






          Well, hello.



          I have a dual boot (from 2 different drives) Debian/Windows desktop. I suppose the installation process is quite similar in Ubuntu if not identical.



          Follow these steps:




          • Burn your .iso in a thumb drive or a CD/DVD

          • Boot from it (you should read on MBR/GPT on that)

          • Fire up the OS installer (click install)

          • When prompted to select an installation option choose "Something Else" (other options are "Erase disk and install Linux", "Install Linux alongside X", etc.)

          • In "Something Else" you are required to partition the hard drive you're going to use and set a swap partition as well. (Take extra time & care in this step as formating the wrong drive means data loss)

          • IMPORTANT: In the end of the OS installation process, you'll be promted to install/setup Grub (bootloader). Once Grub is installed you'll be asked on which drive you want boot info saved (this defaults to /dev/sda but you most likely don't want it there, you want Grub to install and save it's config ONLY on your external hard drive which means when the drive is connected Grub fires up, and when it's not Windows Bootloader does).


          If all of the above is done properly you'll be able boot in both Linux & Windows without losing any of your data.






          share|improve this answer








          New contributor




          Nick Tritsis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          Well, hello.



          I have a dual boot (from 2 different drives) Debian/Windows desktop. I suppose the installation process is quite similar in Ubuntu if not identical.



          Follow these steps:




          • Burn your .iso in a thumb drive or a CD/DVD

          • Boot from it (you should read on MBR/GPT on that)

          • Fire up the OS installer (click install)

          • When prompted to select an installation option choose "Something Else" (other options are "Erase disk and install Linux", "Install Linux alongside X", etc.)

          • In "Something Else" you are required to partition the hard drive you're going to use and set a swap partition as well. (Take extra time & care in this step as formating the wrong drive means data loss)

          • IMPORTANT: In the end of the OS installation process, you'll be promted to install/setup Grub (bootloader). Once Grub is installed you'll be asked on which drive you want boot info saved (this defaults to /dev/sda but you most likely don't want it there, you want Grub to install and save it's config ONLY on your external hard drive which means when the drive is connected Grub fires up, and when it's not Windows Bootloader does).


          If all of the above is done properly you'll be able boot in both Linux & Windows without losing any of your data.







          share|improve this answer








          New contributor




          Nick Tritsis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer






          New contributor




          Nick Tritsis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered Jan 5 at 13:53









          Nick TritsisNick Tritsis

          214




          214




          New contributor




          Nick Tritsis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          Nick Tritsis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          Nick Tritsis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.












          • Long story short, no foolproof way. It's quite simple though and hard to fail, once you fully understand exactly what you're trying to do and how it's done. Feel free to comment for further clarification.
            – Nick Tritsis
            Jan 5 at 13:56






          • 2




            This works well for BIOS installs, but not at all for UEFI installs. Just installed 19.04 to sdb drive and it did not install grub to sdb drive's ESP. So still not fixed for UEFI. See bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1396379 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1229488 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1173457 I always partition in advance and include an ESP on every drive. And then back up sda's ESP. After new install, copy to new drive's ESP & restore backed up ESP to sda. Reset fstab for new efi partition & reinstall grub.
            – oldfred
            2 days ago












          • Thanks for the heads-up! I think I will wait a sec for a laptop I can destroy or use a neighbour's PC for now.
            – Spectraljump
            yesterday












          • And UEFI is such a pain. It took me a long time to figure out how to even be able to boot from USB. Had to enable some kind of "legacy mode" for UEFI, but also disable secure boot (which on one of my laptops' bioses doesn't even exist it seems) to allow usb boot, otherwise it just does what it wants to protect you the sweet innocent user, or lock you out of your own product depending on how you look at it :)
            – Spectraljump
            yesterday




















          • Long story short, no foolproof way. It's quite simple though and hard to fail, once you fully understand exactly what you're trying to do and how it's done. Feel free to comment for further clarification.
            – Nick Tritsis
            Jan 5 at 13:56






          • 2




            This works well for BIOS installs, but not at all for UEFI installs. Just installed 19.04 to sdb drive and it did not install grub to sdb drive's ESP. So still not fixed for UEFI. See bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1396379 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1229488 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1173457 I always partition in advance and include an ESP on every drive. And then back up sda's ESP. After new install, copy to new drive's ESP & restore backed up ESP to sda. Reset fstab for new efi partition & reinstall grub.
            – oldfred
            2 days ago












          • Thanks for the heads-up! I think I will wait a sec for a laptop I can destroy or use a neighbour's PC for now.
            – Spectraljump
            yesterday












          • And UEFI is such a pain. It took me a long time to figure out how to even be able to boot from USB. Had to enable some kind of "legacy mode" for UEFI, but also disable secure boot (which on one of my laptops' bioses doesn't even exist it seems) to allow usb boot, otherwise it just does what it wants to protect you the sweet innocent user, or lock you out of your own product depending on how you look at it :)
            – Spectraljump
            yesterday


















          Long story short, no foolproof way. It's quite simple though and hard to fail, once you fully understand exactly what you're trying to do and how it's done. Feel free to comment for further clarification.
          – Nick Tritsis
          Jan 5 at 13:56




          Long story short, no foolproof way. It's quite simple though and hard to fail, once you fully understand exactly what you're trying to do and how it's done. Feel free to comment for further clarification.
          – Nick Tritsis
          Jan 5 at 13:56




          2




          2




          This works well for BIOS installs, but not at all for UEFI installs. Just installed 19.04 to sdb drive and it did not install grub to sdb drive's ESP. So still not fixed for UEFI. See bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1396379 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1229488 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1173457 I always partition in advance and include an ESP on every drive. And then back up sda's ESP. After new install, copy to new drive's ESP & restore backed up ESP to sda. Reset fstab for new efi partition & reinstall grub.
          – oldfred
          2 days ago






          This works well for BIOS installs, but not at all for UEFI installs. Just installed 19.04 to sdb drive and it did not install grub to sdb drive's ESP. So still not fixed for UEFI. See bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1396379 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1229488 & bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1173457 I always partition in advance and include an ESP on every drive. And then back up sda's ESP. After new install, copy to new drive's ESP & restore backed up ESP to sda. Reset fstab for new efi partition & reinstall grub.
          – oldfred
          2 days ago














          Thanks for the heads-up! I think I will wait a sec for a laptop I can destroy or use a neighbour's PC for now.
          – Spectraljump
          yesterday






          Thanks for the heads-up! I think I will wait a sec for a laptop I can destroy or use a neighbour's PC for now.
          – Spectraljump
          yesterday














          And UEFI is such a pain. It took me a long time to figure out how to even be able to boot from USB. Had to enable some kind of "legacy mode" for UEFI, but also disable secure boot (which on one of my laptops' bioses doesn't even exist it seems) to allow usb boot, otherwise it just does what it wants to protect you the sweet innocent user, or lock you out of your own product depending on how you look at it :)
          – Spectraljump
          yesterday






          And UEFI is such a pain. It took me a long time to figure out how to even be able to boot from USB. Had to enable some kind of "legacy mode" for UEFI, but also disable secure boot (which on one of my laptops' bioses doesn't even exist it seems) to allow usb boot, otherwise it just does what it wants to protect you the sweet innocent user, or lock you out of your own product depending on how you look at it :)
          – Spectraljump
          yesterday




















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2f1107181%2ffoolproof-way-to-install-ubuntu-on-an-external-hdd-independent-of-other-hdds%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 make a Squid Proxy server?

          Is this a new Fibonacci Identity?

          19世紀