Under the Linux partition is more troublesome, the more convenient tool is called fdisk
We can use this tool to freely add and delete partitions. The following is to use it to add partitions and mount partitions.Tutorial
Adding a partition
Before adding a partition, we must first look at the current partition details of this computer, run the following command
Shell 1 fdisk -l
You will get the disk details on your computer:
For example, we have to partition the 42.9GB disk above. Then first record its address in front of the disk size, such as /dev/sdb
of the disk, then enter the following command
Shell 1 fdisk disk address
you will receive a warning, Enter n
and then lose Enter a new partition into p, you will receive a prompt to enter the disk number, enter 1, and then select the start sector and the end sector, if the disk is divided into only one partition can directly keep the default, otherwise you can calculate the fan Area input data
The last input w saves the changes, and the partition of the disk is complete!
Format Partition
A partition must be formatted to be used normally after its creation. The formatted command is as follows:
PHP
1 mkfs -t ext3 Disk address
After entering the command, the system will automatically complete the formatting operation on the partition
mounting the partition
Having a partition under Linux is not possible Directly used, we also need to mount the partition
The meaning of the mount is probably to map the disk to a folder, reading and writing this folder is equivalent to reading and writing the disk
PHP 1 mount disk address mapping address
For example, if we want to map the above disk to the /mnt/disk1 directory, we need to run the following command
After the operation is complete, access the /mnt/disk1 directory to complete the Access zones friends
In Apple Mac OS and Microsoft Windows have supported multi-touch today, the Linux open source commun
Before downloading the files on the Linux machine via FTP, upload it after the Windows editing, so
Many Linux enthusiasts consider the hardware configuration to be compatible with Linux systems when
In the various Linux distributions now, the enterprise version of red hat is relatively safe. For t
Using rsync to implement data remote disaster recovery backup
How Linux uses inode to delete files
Three important data structures driven by linux character devices
Exclude ADSL dialup failure under Linux
Unreasonable "soft" method for solving Linux disk space partitioning
Using the flock command on Linux to control the asynchronous execution of programs
How to solve the problem that the Linux operating system can't find the network card
Linux often crashes, stuck, what should I do?
About why Linux can be divided into 4 sectors.
5 ways to solve the Linux system password forgotten
Solve the "Internet Express" and "Thunder" right-click start failure problem
How to delete all restore points in Windows 7
How about win10 9861? Win10 preview version 9861 update content detailed
Create a quick hibernate button on the Windows 7 desktop
Kantar: WP European market share continues to rise, China is still 1%
How to cancel the thumbnail of the Windows 8 taskbar icon
Win7 click to display the desktop for a short time to appear transparent?