Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to put /home, /var, /opt and /tmp on /dev/sda2 and /root on /dev/sda1 when installing Ubuntu.

My PC has an 8GB integrated SSD, and I would like to use it to speed up boot time and application loading, but I want to save everything else onto a single partition.

I do not want to put /home, /var, /opt and /tmp on separate partitions.

Is this feasible? How do I go about accomplishing this? Something with symlinks?

share|improve this question
What about everything else? Where should that go? –  netcoder Jul 24 '12 at 17:34
add comment

1 Answer

Install with just /home on the other disk, then boot into recovery mode, go to the root shell, and move those other directories to /home and replace them with symlinks to their new location in /home.

mv /var /home/
ln -s /home/var/ /var
share|improve this answer
add comment

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.