Ubuntu12.04 modify the Mobile Disk to NTFS format

Source: Internet
Author: User
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.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.