Score:1

Install Ubuntu onto an external SSD using VirtualBox?

ae flag

So, I have a 240GB (external)SSD, onto which I'd like to install Ubuntu. Now, after reading a few posts on doing exactly this, I see that one of the common issues people face while doing this is that GRUB gets installed on the internal drive rather than the external one. This makes the the external SSD unbootable on other computers. On top of that, it seems that the internal drive becomes unbootable as well and requires a GRUB reinstall/reconfiguration. So, I was wondering if it were possible to install Ubuntu onto the external drive in the following way:

  1. Create a new VirtualBox VM with no virtual hard disk
  2. Give the VM access to USB ports
  3. Start the VM using an Ubuntu .iso file
  4. Plug in the target external SSD
  5. Install Ubuntu onto the external SSD

Would this work? I really don't want to remove my internal SSD for the installation process. (I've got a MacBook and its quite a pain)

ChanganAuto avatar
us flag
You don't need to remove the internal drive but it can be useful in certain circumstances. If it can be disabled in firmware (UEFI) that's as good as removing it. And no, your idea of using Virtualbox is nonsensical. Either create a VM in which case the location of the virtual drive doesn't matter or do a proper install which has nothing to do with virtualization.
oldfred avatar
cn flag
See this with several work arounds: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1396379 and more details: Remove esp flag from Windows before install to second or external drive - Tim Richardson https://askubuntu.com/questions/16988/how-do-i-install-ubuntu-to-a-usb-key-without-using-startup-disk-creator & https://askubuntu.com/questions/1296065/dual-booting-w10-ubuntu-with-2-separate-ssds-in-uefi-mode/1296153#1296153
N0rbert avatar
zw flag
No, @mikewhatever . Please read https://www.virtualbox.org/manual/ch09.html#rawdisk before posting wrong ideas.
C.S.Cameron avatar
cn flag
Sudodus has created an Ubuntu 20.04 image file designed for external drives. It runs on both BIOS and UEFI computers. it can be flashed to an external drive using dd, Etcher, UNetbootin, etc. https://askubuntu.com/questions/1300454/easy-full-install-usb-that-boots-both-bios-and-uefi
Score:0
ht flag

Well I don't think that this question is too much of nonsens, I am currently trying the same solution. I tried to make bootsticks with the new versions of Ubuntu several times, as I was also interested in trying ROS and using Virtual box which needed new kernel. No flasher worked, neither rufus balenaEchter, the one on an older Ubuntu version, also the modification of the safe loader by specifying the boot destination was unsucessfull. But as I used VirualBox on my Windows machine with limited HDD, Ubuntu was loading and installing fine, but the stick never booted correctly to the install menu. For bad luck there is also no Ubuntu.exe installer so it is also impossible to install the system from the Windows System. Today I wanted to try to create an boot DVD bought the rolins but faced the lack of a DVD burner, thought I would still have one but that was on my even older laptop....

Artur Meinild avatar
vn flag
This does not really answer the question. If you have a different question, you can ask it by clicking [Ask Question](https://askubuntu.com/questions/ask). To get notified when this question gets new answers, you can [follow this question](https://meta.stackexchange.com/q/345661). Once you have enough [reputation](https://askubuntu.com/help/whats-reputation), you can also [add a bounty](https://askubuntu.com/help/privileges/set-bounties) to draw more attention to this question. - [From Review](/review/late-answers/1268734)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.