Configure Systems to Mount File Systems at or During Boot

This time I will discuss about partitioning again.

Because not all patisi on Linux have been mounted every time we turn on the computer, it is not rich in practical windows. Every paritisation can be used immediately.

Here’s an example

above is my sdb1 partition mounted on / mnt / kadir before I restart. It appears there are several files in it. Now I restart, and I look again at the contents of the folder from / mnt / kadir, and the results are as below

Logically, it means that it hasn’t been read or it hasn’t been corrupted every time we restart it, now here I will explain how to make the partition stick or every time we restart or shut down our computer.

The first
What we need to know first, we have to know the UUID and our partition type must be ext4, how to check it here

blkid

If we don’t have ext4, change it at

mkfs -t ext4 / dev / sdb1
After we know the ID, we go to

nano / etc / fstab

UUID = a685a0c0-c9e0-4d32-91b8-ff18b12e1143 / mnt / kadir ext4 defaults 0 2
-The first block, UUID, enter the UUID of your partition that is on the BLKid

  • Block the second, where you mount your partition

-The third block, the type of your hard drive, the default Linux is the same

-The fourth block, just fill it with defaults

  • Block fifth, that’s the order he booted in what order, there we place 0 2, meaning he boots number 3.

Thank you
Maybe that’s what I can write this time, as usual, criticism & suggestions are needed in my writing to be better in the future. So, you can contact me via Twitter, Instagram, which is listed at the bottom of my website, or on the criticisms & suggestions menu which is right on the top of my web.

Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *