Lesson 8 Question and Suggestion

I just went through lesson 8 a few times…love your video, it has nice graphics and very professional looking! If I could offer one bit of constructive criticism for future ones…please slow it down a little as you’re going through each step so it’s easier to see. We beginners just can’t keep up. :joy:

The main question that I have about the whole process of moving your home folder to another drive is a high level one… why would you do it? For what purpose would this be an advantage?



Hello @Gr82blanda!
Thank you for your kind words!
Your comment was mentioned by another student and I agree. Some areas do speed up. I initially aimed it as an intermediate tutorial, but then Jeff and I decided to give you ladies and gentlemen a glimpse of what is to come (in terms of options). :slight_smile:

The reason for replacing the home folder has a number of functionalities, depending on the situation. One is if you installed your Linux on a small drive and you find yourself running out of space, fast. In that scenario, you won’t have any limitations.

A second functionality is when you reinstall your OS or when you change distribution (which revolves around the Debian/Ubuntu, such as Mint, Zorin, etc.) - all your settings can be automatically moved, provided you tell your new distro where to look for the home folder.

This approach can be used to persistently mount additional drives in a variety of areas - without ever having to risk disconnection (i.e. when you save projects). For example, inside the fstab file, I placed in /home as the mounting point. You can easily select another folder, like your Desktop, and have it available there without it ever losing connection or “forgetting” to mount.


Thank you…I understood the first two things you mentioned. A little fuzzy on the 3rd. Is this how you would be able to access files on both systems if you set up a dual boot with say Linux and Windows?


Linux automatically recognizes Windows filesystems, so you don’t need to do anything for that.
The fstab file is the drive-mapping blueprint that tells Linux what drive to attach and under which folder. Say you have 3 drives. One Windows, one Linux, and one for your Data/Projects. You can use the fstab to steadily mount your Projects drive onto a desired location and make sure it stays there.


How do I “undo” whatever I did in following along partway in Lesson 8… I tried to undo, but I think I may be at a “wipe it and start over”. I was fascinated and very interested, but now I have errors when I “sudo apt update”, and a bunch of .properties files at the root directory. Removed Brave, but its still trying to do something in update. Tried to remove Calibre Library and yet the file remains. I even now have a google file and I want NOTHING to do with google. Am I beyond help?

Hello @elleneia!
Do you happen to have the file fstab.backup stored in your etc folder?

I thought I was “backing out” of following along before getting to that point. I only see fstab in /etc

Okay, that is good! Which point did you stop at?

When I look at my command line history, I executed “sudo apt update && sudo apt upgrade -y” and “sudo apt autoremove”. Looks like I halted at “sudo apt install gparted” and that seemed far enough over my head…
Just before doing class 8 I installed and was using Brave, but when I listed contents of my home directory I saw lots of things that I had no explanation for… Proceeded to attempt to “get back to square one”, but… here I am!

In that scenario, you did not do any damage to your system, so there’s no need to worry!

The sudo apt update and upgrade options do not leave any kind of remnants on your Home folder. However, the Brave installation might drop a verification key.

Did you use the Brave Installation script we have under the #tutorials category in this forum?

I did not see that until AFTER… here is the instruction I followed:
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo “deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main”|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install brave-browser

That looks about right. What extra files are you seeing in your Home folder? Can you take a photo?

This is what I was used to seeing (I did get Dropbox happily operating… Waiting for initial sync of 500+ GB was my problem)

From my Dell laptop, no Dropbox yet…

That’s quite the population you got there!
I assure you that nor Lesson 8 or the Brave Installation left this swarm of files! :laughing:

This appears to be the result of some form of Android support installation. In this scenario, I would recommend you execute (in terminal):

sudo rm *.properties

I put in sudo just in case those files were created via a sudo/root installation process.

Then you can open your home folder on your file manager and select all the files that you see extra. It’s safe to remove everything else to make it look exactly as your former version. All DropBox files are inside the DropBox folder, so you need not worry about that. :smiley:

Try to avoid deleting any hidden files (the ones that start with a dot).

And yes, don’t delete your DropBox folder on your other system, obviously!

OK! I am not sure how to “select” other files to remove… I think all of the following should go:
‘Caliber Library’

Just “rm assets”, for instance? With sudo preceding?
" rm: cannot remove ‘assets’: is a directory

Removed all of the listed items but the directories. How do I get rid of those? (sudo did not change the rm result.)

Nice work!
For the directories to be removed, you’ll need the “r” option:

rm -rf

And add the name of the folder.
r = recursive (works for folders on multiple levels)
f = force so that it doesn’t ask you on every file.

That worked! There are still errors upon updating:

These did not appear before my big messup here!! Thank you SO MUCH for the help! I will learn!! :slight_smile: