How to run full ubuntu installation from external hard drive?

Solution 1:

Should be possible if you can set up the drive to be the primary HDD in your bios. I run 12.10 on my eee pc using an 8gb SD card as primary HDD because the SSD is too small.

Solution 2:

First you should unmount any other exteral drives connected to your laptop in order to avoid mishaps. Simply plug them out.

Now that your external HDD is the only connected external drive you can start the installation from your LiveCD/USB. When you are asked for the preferred partition tabel configuration select the option to configure the partition table manually ("advanced" in newer verions "something else"). You can now change the device from your internal HDD (usually sda) to your external HDD sd"something" (easiest way to figure out what is what in this case ist to look for the capacity) Now you have to create a partition table for your external harddrive. here create a partition for /(root), a swap partition (in case your ram runs out of memory this partition will be used to extend the hardware-RAM, you can skip this if you have above 16GB, they will barely fill up), a /home partition (this is where your personal data will be saved) and VERY IMPORTANT the location of the bootloader.

The location of the bootloader HAS TO BE on the external drive as well. If you install in on the internal HDD GRUB (the bootloader) wont recognize the OS installed on the external drive. Messing this up takes quite a time to repair. So check carefully at this point.

After that your Masterbootrecord is complete and you can proceed with the installation normally.

As mentioned, your bios boot priority finally has to be changed to look for the OS on the external drive first.

Solution 3:

On a mac, it is pretty much the same, but to boot from your external HDD at the end, reboot the mac, when it ding, press and hold option until you see you internal HDD, make sure your external HDD is connected and wait for your external HDD to be found, then select your external HDD.

Warning: you need to have a USB mouse and keyboard, Apple bluetooth keyboard and mouse will not work once you boot ubuntu and may not work when selecting drives.

FYI: this is tested using the iMac running Mac OS X Snow Leopard.

I found out about this trick when I was trying to boot my ubuntu liveCD