Linux disk partitioning and mounting (detailed steps)

Step 1: Add a new hard drive
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Next step: restart the virtual machine

Insert picture description here
Insert picture description here

Step 2: Partition

Insert picture description hereInsert picture description here

Insert picture description here

Insert picture description here
Insert picture description here
Insert picture description here

Step 3: Format

Insert picture description here
Insert picture description here
Insert picture description hereStep 4: Mount (Create a directory first and mount to the directory you created)

Insert picture description here
Insert picture description here

In this way, the mounting is complete, but when you restart the virtual machine, the mounting relationship will be gone, so here we need to set up automatic mounting

Step 5: Set up automatic mounting

Automount instructions
Insert picture description here
Insert picture description here
Insert picture description hereInsert picture description here

Insert picture description here

The partitioning and mounting of the disk is now complete

Guess you like

Origin blog.csdn.net/weixin_46457946/article/details/113448313
Recommended