Linux downloading procedure analysis linux downloading. # The df-h command is used to specify the disk and the disk has been bound to the corresponding directory. the command # fdisk-l shows how to view all the disk partitions. the partitioning procedure is www.2cto. com1 is based on the number of magnetic bars and disk division... information & nbsp; |
Linux downloading procedure analysis linux downloading. # The df-h command is used to specify the disk and the disk has been bound to the corresponding directory. the command # fdisk-l displays all disk partitions.
Partitioning procedure: www.2cto.com 1 determines whether the disk has been fully divided based on the number of magnetic bars and disk division. if the disk has been fully divided, you must release the disk before partitioning. 2. take the sda disk as an example # fdisk/dev/sda 3 n (new) 4 select l (logical disk) 5 and press enter directly, default start position 6 input end position 7 input p view Division 8 input w save or input q not save directly exit
The above completes the subsequent execution of the disk partition # It is very important that partprobe update the current partition table to the kernel. Otherwise, you will be able to see it after the partition is restarted. www.2cto.com # mkfs. ext3/dev/sda6 format new partition # mkdir/home/test # mount/dev/sda6/home/test mount (the mount path should not be in the root directory, the path under the root directory will be mounted to the default partition) in this case, use df-h to check whether the newly created partition is mounted and then delete partition 1 first unmount the Mount path # umount/dev/sda6 2 delete the partition # fdisk/dev/sda 3 input d (delete)) press Enter 4 and enter 11 (number 11 indicates the new partition number code). press enter to delete the partition and perform subsequent operations # partprobe to update the current partition table to the kernel, otherwise, you can only view the partition after it is restarted.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service