2

This question already has an answer here:

How do I make permanent the changing of my /home folder

I changed the /home folder using this command:

sudo mount /dev/sda2 /home

It works fine but, when I restart, the change is lost.

¿ How do I make it permanent ?

marked as duplicate by heemayl, Terrance, Pilot6, user68186, Takkat Jul 25 '17 at 13:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

For any mount to be permanent, it needs to go in your fstab file.

sudo vim /etc/fstab

You can read this post if you need more details on how to edit your fstab file.

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