In my case, when I installed Ubuntu12.04, I forgot to pull the USB flash drive. As a result, the USB flash drive is divided into two parts: NTFS and Linux. The solution is as follows: the fdisk command in linux needs to be logged on as the root user. For more information, see enable the root user in Ubuntu and switch the USER command http://www.linuxidc.com/linux/2012-02/53934.htm1.switch to the root directory and enter the command: fdisk
In my case, when I installed Ubuntu 12.04, I forgot to pull the USB flash drive. As a result, the USB flash drive is divided into two parts: NTFS and Linux. The solution is as follows:
Linux fdisk command, need to log on as root, please refer to Ubuntu to enable root user and switch USER command http://www.linuxidc.com/Linux/2012-02/53934.htm
1. Switch to the root directory and enter the command fdisk-l to display the disk status and number.
2. Find a Mobile Disk, such as/dev/sdb, and start partitioning. command:
Fdisk/dev/sdb
Command (m for help): d Note: run the delete partition to specify;
Partition number (1-6): 6 Note: To delete sda6, enter 6 here;
Command (m for help): p Note: Check the hard disk partition and check whether the partition is deleted?
3. After the partition is completely deleted, create a new partition.
Command (m for help): n Note: Add a partition;
It is easy to save and exit: Command (m for help): w
4. log on to Windows and format the Mobile Disk to a common disk format in Windows.