In the unit with U disk installed ArchLinux, after installation, the U disk did not control it, then the girlfriend to use a U disk, I dumped a sentence, in your windows of the machine format a bit of the U disk can be used, who know, on this sentence, a good 2GU disk more than 300 MB of scrap disk. Used a
sudo fdisk-l only found that the USB stick is divided into two partitions (/DEV/SDB and/dev/ SDB1) and the original used to install ArchLinux img Image of the partition is also hidden, helpless, repair it. This involves the Linux flash drive format problem. First step, manually uninstall the USB drive partition: umount /dev/sdb umount/dev/sdb1 The second step, ready to format the U disk, here to mention, the U disk to be formatted as FAT format, and the use of the command is MKFS.VFAT This command to note, according to you want to format the partition format of not With, this command has different versions, such as MKFS.EXT2 is formatted as EXT2 partition format, so it is likely that your system has not installed the format of the partition you want to format commands, such as to format the USB flash drive to FAT format, Required is the Mkfs.vfat command, and this command corresponds to the package that should be installed is dosfstools, I take archlinux as an example, the command is sudo pacman-s dosfstools Third, everything is ready, start formatting the USB stick mkfs.vfat /dev/sdb & nbsp;mkfs.vfat /dev/sdb1 OK, this 2Gb USB flash drive is back! linux the format of the U disk method today check out how to format the USB flash drive, here will be the way out. 1, understand the following points 1.1 u disk device is represented as:/dev/sdb1 Because if you have only one hard drive, Your own hard drive occupies the SDA, then the U disk can only use SDB. Special attention may be required, otherwise theThe data on your SDA is formatted with the! 1.2 format command: MKFS.VFAT 2, specific methods 2.1 first to uninstall the USB flash drive, use the following command: #umount/dev/sdb1 NOTE:/dev/back Equipment to be based on your actual situation, or later format, loss of data!! 2.2 formatted USB flash drive and established VFAT file system #mkfs. vfat/dev/ sdb1 2.3 finally mount on the U disk, or the U disk dial and then plug in, the system may automatically mount, you can use the U disk.  3, fully formatted USB flash drive If your USB flash drive has been mirrored, you will find that your U-sentence will be much smaller, because a part of the space is hidden, the method of fully formatting the USB stick is as follows: 1, UMOUNT/DEV/SDB1 and/dev/sdb 2, Mkfs.vfat/dev/sdb and mkfs.vfat/dev/sdb1 If  MKFS.VFAT/DEV/SDB appears as follows error: Mkfs.vfat 3.0.10 (SEP) &nbs P mkfs.vfat:unable to open/dev/sdb You need to format/DEV/SDB1 first, using mkfs.vfat/d EV/SDB1 command, Format/dev/sdb1 first; then format the/DEV/SDB if the following error occurs: Mkfs.vfat 3.0.10 (SEP) Mkfs.vfat:Device partition expected, not making filesystem on entire Device '/dev/sdb ' (use-i to override) system prompts you to use the-I parameter to complete the formatting: mkfs.vfat-i/dev/sdb So you can fully format your USB drive. Note: Before formatting, please back up your data. linux formatted USB flash drive 2010-12-09 22:25 49 people read review (0) Favorite report recently installed the system into Ubuntu 9.04, but have to consider that others are using Windows, can not format the USB stick into a Linu File systems under the X system, such as Ext2, Ext3, Ext4. or formatted into VFAT format is more appropriate, the following is my step: 1, first to see the device name of the USB flash drive, you must ensure that the USB drive has been connected with the computer, you can use the following two commands: (1) sudo fd isk-l below is my, you can see my USB flash drive corresponding device name is/DEV/SDB1. (2) mount can see the same result, but the information displayed is not the same level of detail. 2, a lot of people are directly formatted with the following command sudo mkfs-v-T vfat/dev/sdb1 I get the following results last hint is important: Mkfs.vfat:/DEV/SDB1 contains a mounted file system tips us/dev/SDB1 contains a file system that has been mounted, so we must uninstall the file system that has been mounted repeatedly before formatting. I do this: I first enter the/media folder, you will see a lot of folders, find your USB flash drive corresponding folder, of course, you can go through the shell or Nautilus, and then uninstall it, my USB stick mount point is/media/usb (back I tell you how to modify USB stick mount point), I was using the following command sudo umount-l usb You can also right click the right mouse button, select Umount Volume (I use the system is English version).    3, formatted USB sudo mkfs-v-T vfat/dev/sdb1 open the USB drive to see if the format is complete. attached: finally introduced a modified USB stick mount point of a simple way, my USB stick is automatically mounted, the icon on the desktop, right click on the property, appear in driver a change in the line, The modified name will be the name of the filesystem that appears in/media, and mine is USB.