relocate Home directpry to sdb1 second drive

Asked by Harold Heinbaugh

don't know the proper code to mount the /home dir on sdb1.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

Use UUIDs, instead of device names. You can get the UUID with:

sudo blkid

Then run:

gksudo gedit /etc/fstab

add:

UUID=77012de8-b5c3-4558-9c32-405887d2f2a8 /home ext4 defaults 0 2

YOUR UUID WILL BE DIFFERENT. COPY THE ONE FOR SDB1 FROM THE OUTPUT OF BLKID EARLIER.

Reboot to test :)

Revision history for this message
Harold Heinbaugh (hheinbaugh2) said :
#2

Thanks actionparsnip, that solved my question.