My SSD(sdb) in mounted on / and HDD(sda) on /home. I want to unmount my HDD from /home and mount it on /home/naufil/Desktop. Please let me know step by step. I don't want my ubuntu to crash
- 113
1 Answers
This link gives you the principles to follow if you want to try to do this. I suggest you don’t try to mount your home drive but symlink it instead.
Backup your system. This could go wrong.
I think you need to work in a live environment. (Using install media and choose “Try Ubuntu”)
You will need to make the following directories on the system partition:
- /home
- /home/naufil
- /home/naufil/Desktop
You will need to copy the hidden directories and files from your home partition to /home/naufil
You will need to edit your /etc/fstab file so that the home partition mounts at somewhere like /mnt/home
You will need to place a symlink in /home/naufil/Desktop that points to /mnt/home/home/naufil
I cannot guarantee that this will work as expected or that it will achieve what you are looking for since it’s a rather odd thing to want to do.
- 1,973