Just a heads up, here
I've been meaning to come back here for a few days to address an error that was in an article that I recommended as reading and to follow for the OP (Original Poster)
@Rafaelys , but I wanted to get a solution resolved first.
It relates to #15 on page 1, and I mentioned an article from How-To-Geek here
https://www.howtogeek.com/442101/how-to-move-your-linux-home-directory-to-another-hard-drive/
Usually, I check that a solution referenced in an article works in my own environment, if I am roughly able to reproduce the situation of the Member asking, and that is often the case, as I run 65 - 70 Linux at a time.
Of course, the one time I do not, it comes back and bites me on the arse.
At that time, the article featured the lines a little over halfway down
We’ll use that new empty home directory as the mount point for our filesystem on the new hard drive. We need to unmount it from /mnt and remount it on /home. Note that the command umount doesn’t have an “n” after the “u.”
sudo umount /dev/sdb1
That was incorrect, on the author's part. I spotted it around 19 February, as I was approaching that step, and thought "This may cause problems".
It did ... I was using /dev/sdc11 to setup the new Home partition
Code:
chris@elementaryOS-Hera:/mnt/home$ sudo umount /dev/sdc11
umount: /mnt: target is busy.
That makes sense if you appreciate it - you cannot unmount a Partition or Drive that you are in at the time, you have to first "step outside" that and then unmount it.
I finished the exercise and got the desired solution, but it was a little sloppy.
The article was written by a Dave McKay around October 2019, and I was not sure how I would be responded to, but I contacted How-To-Geek and let them know of the error, and I can report the response was favourable.
I got a nice email back from them, and also one from the Author.
As of yesterday, the part in the article now reads:
But first, we’ll change into the root directory (with cd / ) to make sure we’re not in a directory that is going to be included in the mount or unmount locations.
cd /
sudo umount /dev/sdb1
sudo mount /dev/sdb1 /home/
So the article is fine to follow now.
I tip my hat to both HTG and Dave McKay for their friendly and courteous professionalism, and I am happy to continue directing Members to HTG as one of the good Linux resources available to us, as I have done for some years now.
Regrets to any Members or Readers if my failure to note the former discrepancy sooner caused any inconvenience or apprehensions to you.
Cheers
Chris Turner
wizardfromoz