- The system is FAT32 format, can be identified in the Windows system, EXT4 file system format, can only be recognized under the Linux system. The following readers how to partition a new card,
- First switch to the root user, and then view the disk status, our 8G SD card is recognized become / dev / sdb (the reader may be / dev / sdc or other similar identification), and it has two partitions / dev / sdb1 and / dev / sdb2, file formats are FAT32 and Linux (here EXT4),
-
First delete the original partition, the steps were as shown below:
-
-
-
-
fdisk command to / dev / sdb disk operation;
-
m fdisk printing of help menu;
-
p lists the current partition table;
-
d represents a partition is deleted if there are multiple partitions, with user numbers 1 ~ n of the partition to be deleted, if there is only one partition, the system is selected by default;
-
p listed in the partition table again, after deleting seen, it has no partitions;
-
w The change is written to disk.
-
-
-
-
- Then use it to view fdisk partition, visible / dev / sdc underneath has no partition,
- New two partitions, a partition size. 5G, the remaining to the second partition.
-
-
-
- The following steps were:
- fdisk on / dev / sdb operation;
- n start a new partition;
- p create a primary partition (on primary and extended partitions, readers can search for online learning, in this case less than the extended partition);
- Partition number directly enter the default is 1;
- The initial sector directly enter the default is 2048;
- The last sector is set to 10485760 (as a sector of 512Byte, 10485760 x 512 Byte = 5GB);
- Then in the same manner as the second new primary partition, dividing the entire disk space to the second primary partition.
-
-
-
- After completion of division, the print P has been divided in the partition table, and then written to disk w
- Fdisk and then look at the current disk partition, the visible / dev / sdb already contains two partitions,
- Then these two partitions to create a file system, the first partition to FAT32 format, format the second partition EXT4