0_Linux _ Virtual Machine installation and 0_linux Virtual Machine Installation
1 partition type:
Primary partition: up to four
Extended partitions: a maximum of one partition can be created. A maximum of four partitions can be added to a primary partition. data cannot be written, but logical partitions cannot be created.
Logical partition:
2 format (objective: to write a file system to the hard disk)
Formatting (Advanced formatting) is also called logical formatting. According to the user-selected File System (FAT16 FAT32 NTFS EXT2 EXT3 EXT4, etc.), write specific data in a specific area of the disk, in the partition, partition a disk space used to store file allocation tables, directory tables, and other disk space for file management.
Partition: divides a large hard disk into a small hard disk.
Format: write data to the file system. Function 1: Split the hard disk into equal-size data blocks. Function 2: Create an inode list;
When searching for a file, you can use the inode to find the file and find that the file exists among the several data blocks. This allows you to open the data block, take out the data, and piece it together into the desired file.
3. Hardware Device File Name
A-d and a-p represent the hard disk number, and the numbers below represent the Partition Number.
Popular SATA hard drive Interfaces
Logical partitions always start from 5, because 1 ~ 4 is left to the primary partition and extended partition.
4. assign a drive letter for windows mounting in linux
The mount point must be an empty directory.
The/boot directory is partitioned separately to save data during startup. You can use ext4
Each directory has its own hard disk space.
The initial logon location of the Administrator is/root/; for common users, it is/home/XXX/