Format & Mount Linux Partitions
Learn to format file systems and mount disk partitions in Linux CentOS 8. In the previous two videos, we learned to create MBR and GPT disk partitions. We can only use those partition after we format them and mount them with the file system. In Linux we can use swap space when the amount of RAM or the physical memory is full.If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. In windows, we have swap file instead of swap partition and the swap is required in windows. Without the swap space, the windows will not boot. While in Linux, we have swap partition instead of swap file. Here, swap space is optional and the swap partition is fixed size. To make the swap partition, we use the command: sudo mkswap [partition] To deactivate the swap partition, we use following command: sudo swapoff [partition] In Linux, the most commonly used file systems are ext4 and xfs. ext4 is the default file system in most of the Linux distros, while xfs is the default file system Red Hat Enterprise Distros. For the ext4 file system, we use following command: sudo mke2fs -T ext4 [partition] For the xfs file system, we use following command: sudo mkfs.xfs [partition] To mount the partition, we need to define the mount point or mount directory for each partition. We can either use root directory '/' or 'mnt' directory inside root directory to create the mount points. Then we use following command to mount the partition. sudo mount [partition] [mount point] To unmount the partition, we use following command: sudo umount [mount point] MBR partition: https://www.youtube.com/watch?v=sh3tLXTpCVw GPT partition: https://www.youtube.com/watch?v=5fncLIKfywk Linux CentOS 8 tutorials: https://www.youtube.com/watch?v=59u_GBLJ1WI&list=PLTGb7Fhy-jx_z9CMD8Vb0uVXYjlWXJirn Facebook: https://www.facebook.com/techvitals/
Download
0 formatsNo download links available.