1

I know that there are many sources available online regarding the installation of a bootable Ubuntu on an external HDD. Many of them are difficult to translate for the computer-technical illiterate such as myself. My goal is to partition a 160GB storage device that I had lying around and I would like to install a bootable for kali linux, ubuntu, and mint, but also allocate some space on the drive that will allow me to save information -- which I guess is known as a live or persistent.

  1. Do I partition the HDD before using the Linux USB Loader program to create the live boot file? What should be the size for each of the 3 partitions?

  2. Is the .iso file saved on a separate partition than the profile/settings that I wish to maintain as the "persistent" data?

  3. Are there any hazards or limitations to installing multiple bootables on one drive?

This is the allocated HDD from the terminal:

/dev/disk4s2
/dev/disk4s3
/dev/disk4s4
/dev/disk4s5

Would the install command be grub-install --boot-directory=/mnt/boot /dev/disk4s? If not, please explain why it is not.

Kalle Richter
  • 6,180
  • 21
  • 70
  • 103
wellington
  • 111
  • 4
  • If doing a full install, that will install grub to MBR, but you have to use Something Else to make sure grub is installed to sdb or whatever external drive is. See third or if you have blank disk for details: http://askubuntu.com/questions/343268/how-to-use-manual-partitioning-during-installation And you want this screen to choose where to install the grub2 boot loader which is only available with Something Else or manual install https://help.ubuntu.com/community/Grub2/Installing#Installing_Ubuntu_to_a_Specific_Partition_.28.22Something_Else.22.29: – oldfred Mar 23 '16 at 23:02

2 Answers2

2
  1. Essentially you will create 4 EXT4 partitions, 3 for your 3 distributions and 1 for data, commonly accessed by all 3. Use that data partition as /home for all 3, and install grub on MBR

  2. You are not saving any iso, you are actually installing them as on internal hdd

  3. Kindly ensure that, the ext hdd case has sufficient ventilation, to avoid disk wear and tear real fast

All you need are the iso live disks and install normally as you install Linux, selecting the correct hdd.

In case you want just multi bootable installation images, then you may use Yumi from http://www.pendrivelinux.com/yumi-multiboot-usb-creator/

Hope it helps

  • Thanks Arijit, for clarifying everything for me. I didn't want to have to do this more than once. What should be the size of the 3 partitions? – wellington Mar 21 '16 at 18:12
  • Ideally Ubuntu and Mint will be happy with 30GB each, Kali wants more, maybe 35-40GB, rest is your data. Regards – Arijit Chatterjee Mar 21 '16 at 18:23
  • Will the 30-40GB partition maintain my user profile? So that each time I boot up one of the OS's it will pick up where I left off? The reason I ask is because when I previously used Ubuntu on a thumb drive, it was always a fresh boot and didn't store any files that I would try to save. – wellington Mar 21 '16 at 19:54
  • That is the difference between a full install and a live installer in live mode. Even with persistence on the live installer only some data can be saved. Is system BIOS/MBR or UEFI/gpt? With grub on drive you also can directly boot ISO which is another live installer. If BIOS and you just want ISO: http://askubuntu.com/questions/388382/multi-partition-multi-os-bootable-usb/388484#388484 – oldfred Mar 21 '16 at 21:47
  • If I wanted to do a full install, one that would save all my data so that it would perform the same way any normal desktop does, what would I need to do? Do I need to setup grub on my external hdd? – wellington Mar 22 '16 at 02:02
  • Yes, 30-40 GB is enough for user profile and software updates too. Just follow my reply step by step, feel free to ask if find difficulties, all the best. It's just like another installation, so don't worry. – Arijit Chatterjee Mar 22 '16 at 02:34
  • How do I install grub on MBR? Sorry for being difficult, but this is new arena for me. – wellington Mar 22 '16 at 02:36
  • It means when you see grub install location option, go for the option where you see sda/hda/sdb/hdb like this, without any numerical after the 3 letters. – Arijit Chatterjee Mar 22 '16 at 02:41
  • Yes, Arijit is correct, this is the proper way to do it. You should allocate 30 GB for each OS' root, which leaves 70 GB for /home, which is plenty. – Aaron Franke Mar 23 '16 at 23:43
  • I tried using Yumi to setup a multiboot. After installing each .iso file to the drive, I tried booting it up on my Mac, but it was not visible. Why? – wellington Mar 24 '16 at 17:49
  • Are you trying with an USB Flash drive? Then it should be formatted with Fat32, not ExFat, the latter won't work with Yumi. How's your multi install external Hdd doing? Here is a solution for you http://www.insanelymac.com/forum/topic/297124-guide-creating-a-multi-os-multiboot-usb-install-drive-osxwindowslinux/ – Arijit Chatterjee Mar 24 '16 at 18:11
0

Document all that you do, because it may very well blow up, as it did for me. You will likely have to do it all over again. Or, you may want to buy a bigger hard drive and repeat the entire process. Document it!