Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Ubuntu 12.10 on my SSD. /dev/sda1. No other partitions. No swap.

Then I went about reading how to optimize usage, and have come to the conclusion I want my /home, /var and /tmp mounted on my hard disk drive. I don't have it mounted yet, but I have a line in my fstab that lists the UUID of my HDD and has it (/dev/sdb1) mounted in /media/hdd. Hard disk too, no partitions. Just plain disk space.

I do NOT want to create partitions on either my SSD or HDD. All I want however, is to move my /tmp, /home and /var partitions to my HDD.

What are my options to do this cleanly, preferably without using a LiveCD to login? (I am imagining I could use a LiveCD, literally do

mv /home /media/hdd/home
ln -s /media/hdd/home /home

mv /var /media/hdd/var
ln -s /media/hdd/var /var

mv /tmp /media/hdd/tmp
ln -s /media/hdd/tmp /tmp

What about permissions?

Is my thinking correct? Can I somehow use a mount --bind option to achieve the same?

share|improve this question
up vote 1 down vote accepted

The example you described in your question is going to be the only way I know how to do this without creating individual partitions on your HDD.

share|improve this answer
All right, I will just go with that. Thanks ! – Hari Sundararajan Mar 21 '13 at 13:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.