I have /home directory in the separate partition. But, I have two users in my system. I want to create a separate partition for one of these user.

partition1 : /home
partition2 : /home/user1

Partition1 for all user except user1. user1's data will be stored in partiton2(/home/user1). I will keep username same for partition mounting point so it should not affect any application and configuration.

  1. If I divide current home partition into two partitions.
  2. Copy all /home/user1 data into newly created partition2.
  3. And change mount point of partition2 to /home/user1.

Will it work?
Or any other better way to do it?

Purpose behind doing this is, I want to encrypt one user's partition.


You should be able to use the instructions here for this.

The only difference; you will be mounting your new partition as you say in 3.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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