Question : Ubuntu, How do I mount a second drive to my home directory?

Ubuntu 10.04 x64

Is there a simple script that I can execute automatically at the startup to make my second drive my home directory?

My second drive is blank and formatted to ext4

So basically I would like my 1st hard drive to hold everything except my home folder

I would like my 2nd drive to be /home/

let me know if you need me to run any commands


Drive 1 = /dev/sda1  (main drive)
Drive 2 = /dev/sdb1  (usb removeable)



Why would I want to make a usb drive my home folder? I'm waiting for my hard drive caddy tray to get here in the mail, so in the meantime I have my second drive connected via USB.

Answer : Ubuntu, How do I mount a second drive to my home directory?

Random Solutions  
 
programming4us programming4us