I just want to ask what "/" and "/home" means? What if I format my PC and re-install Ubuntu? Does it affect the / and /home directory? I want to protect my files in case Ubuntu crashes and I need to re-install or format. or I will make another partition where I can save my files so it cannot be deleted when I format my pc?
In simple word
/ is the root partition where Ubuntu stores it's system file where as
/home is home partition where home directory of users is create.
If you want to protect your personal files during re-installation or in some other circumstances , you can install
/home in two different partition.
- Durring installtion in Installtion Type window select Something Else
- After this you can edit your partition if you needed.
- Select the partition on which you wnat to use as
/and select Mount point as
- Once you're done deleting, resizing, and creating partitions, select the partition on which you want to use as
/homeand select Mount point as
/home. (Before going to next stem make sure both partition is of
- Click on Forward to proceed the installation.
You don't format your PC, you format the harddisk, or one or more partitions on that disk. Formatting means erasing everything. So you lose everything on that partition.
When you install Linux, you can decide to put everything on one partition. In that case
/home are on the same partition. Formatting that partition means erasing your home folder. When you create a special partition for
/home, this won't happen. When reinstalling you need to specify to use that partition for
/home. I haven't done this, but you probably have to create a new user (andie2), because I think Ubuntu won't let you use an existing user when installing.
Best advice: make a backup of your home folder on an external harddisk. Use rsync or a backup tool, to make sure you copy all, including hidden files and folders.