View Full Version : [all variants] Linux Installed, I Want To Create a External HDD From This

December 14th, 2012, 02:30 PM

I have Linux installed on one of my hard drives.
But I have to work for a few weeks by somebody that is just a tiny bit known with MS, from Linux he has never heard of.

So I was thinking to get me an external hdd case for about 20 bucks,
and just boot from the external hdd when I need.

Do I need to buy anything more, or are any special steps required ?

Due to warantee/garanty at the desktop, I rather plug in my Linux hdd extern, then open the case from this person and he might get problems because of this.

I'd hope some one can give me some rough pointers.

Thanks per advance.


December 14th, 2012, 03:40 PM
May be easier to just make a bootable usb flash drive and not deal with an hdd.

December 14th, 2012, 04:33 PM
May be easier to just make a bootable usb flash drive and not deal with an hdd.

Thanks, but I do not have any clue on this, how to achieve that.
And if I will create a bootable usb flash drive, how I will be able to working from the original Linux Distro ?

I mean, I have all my files located already on this Linux hdd,

Any help is appreciated.


December 14th, 2012, 04:48 PM
You would need to build a persistent flash drive big enough to hold your files.


If you do this with an external HDD you need to make it bootable.


December 14th, 2012, 07:37 PM
If you have a larger flash drive you can do a full install to the flash drive. Not quite as speedy as a hard drive, but functional especially if you change settings to reduce writes and have a fair amount of RAM.

Pros & cons of persistent install over direct install to flashdrives - C.S.Cameron

If you do a full install, you can just copy your /home over which has all your user configuration files & your data.

Some do copy entire system but then have major issues with duplicate UUIDs, and have to reinstall grub, edit fstab and change a few other settings to house clean duplicates issues.

Install to external device is like any install, but you have to use Something Else or manual install to get the option to install the grub2 boot loader to the MBR of the external or second drive.

Install to external drive. Also any second drive.
Installer version has not changed much so still a good guide except I do not recommend the separate /boot for most systems. Older systems may need it. And some with very large / (root) partitions. BIOS/MBR not for UEFI

Full install of 12.04 to 64GB USB device C.S.Cameron post #3
Full install of 12.04 to USB device C.S.Cameron post #5

With SSD or Flash drives, Use ext4 without journal:
sudo tune2fs -O ^has_journal /dev/sda1
sudo tune2fs -o discard /dev/sda1
No swap or set swapiness or install 'Dynamic Swap Space Manager' from the Ubuntu Software Center
After installing, change the fstab so that everything gets mounted with noatime.
Make sure BIOS is in AHCI mode for trim to work.
change to noop i/o scheduler