1 - by Disk utility // simplest way
you can use Disks it's installed by default and easy to use.
- 1st: Click on the Dash icon
- 2nd: Search for "Disks"
- 3rd: Click on Disks
The application will shows up:
- 1st: Choose the USB flash drive
- 2nd: Click on the "gear" icon and choose "Format"
This little window will appear, just choose the option you want and click on Format...:
2- by Gparted tool
// you can install it from Ubuntu software center or you can install is by typin
sudo apt-get install gparted
3- by using Terminal
go to super mode by typing "su" followed by super mode password
fdisk -l
that will show all the volume in your pc or you can also use the
df
to see the usb flash drive suppose it may be /deb/sdb1
umount /dev/sdb1
that un mount the drive
mkfs.vfat /dev/sdb1
or
mkdosfs -F 32 -I /dev/sdxx
to format drive into fat32 format
来源:http://askubuntu.com/questions/22381/how-to-format-a-usb-flash-drive
参考:http://www.unixmen.com/how-to-format-usb-drive-in-the-terminal/
Understanding the above command
mkfs
mkfs is used to build a Linux filesystem on a device, usually a hard disk partition. The device argument is either the device name (e.g. /dev/hda1, /dev/sdb2), or a regular file that shall contain the filesystem. The size argument is the number of blocks to be used for the filesystem.
vfat
Formats the drive to FAT32, other formats available are mkfs.bfs, mkfs.ext2, mkfs.ext3, mkfs.ext4, mkfs.minix, mkfs.msdos, mkfs.vfat, mkfs.xfs, mkfs.xiafs etc.
-n
Volume-name sets the volume name (label) of the file system. The volume name can be up to 11 characters long. The default is no label. In this tutorial my volume-name is Ubuntu.
-I
It is typical for fixed disk devices to be partitioned so by default, you are not permitted to create a filesystem across the entire device.
Running $ df after formatting displays this.
相关推荐
本文主要讲了Ubuntu下怎么格式化U盘的方法,是我博客文章的pdf版本。
Ubuntu 格式化 fat ntfs ext 的详细讲解,非常有用
ubuntu 下displayLink usb转VGA/hdmi驱动,按装命令,在ubuntu 17 通过实机测试
书名:A practical guide to ubuntu linux 作者:Mark S. Sobell 带书签 高清版
Ubuntu Pocket Guide and Reference: A concise companion for day-to-day Ubuntu use Paperback: 166 pages Publisher: CreateSpace (January 19, 2009) Language: English ISBN-10: 1440478295 ISBN-13: 978-...
Ubuntu的下USB转串口芯片驱动程序安装CP210X,pl2303安装,适用于Linux,解决在Linux下找不到USB串口的问题
问题描述:error: redefinition of ‘struct sha256_state’ ...系统:Ubuntu Kylin 20.04 LTS Pro 内核:Linux **** 5.10.0-1044-oem #46-Ubuntu SMP Wed Aug 11 09:50:57 UTC 2021...USB无线网卡:绿联 CM448 RTL8811CU
a notebook about i how to learn ubuntu
How to Build a Ubuntu Linux host under VirtualBox
根据本人遇到的实际情况,进行整理解决方案,解决虚拟机VMware下的UbuntuUSB设备识别问题的解决方法,希望可以帮到大家。
How to Do Everything Ubuntu Sep 2008 Jeffrey T. Orloff
ubuntu-linux环境下,运行代码,系统读取USB摄像头数据,并实时显示摄像头采集的视频信息
To manage your storage on Ubuntu Server systems, you will learn how to add and format storage and view disk usage. Later, you will also learn how to configure network interfaces, manage IP addresses,...
彻底解决usb错误 一插上usb就报如下错误: / # usb 1-1: new full speed USB device using s3c2410-ohci and address 2 usb 1-1: device descriptor read/64,...hub 1-0:1.0: unable to enumerate USB device on port 1
Ubuntu ISO 转 USB 安装盘
t fnubhupen/ubuntu:lucid lucid/docker build -t fnubhupen/ubuntu:precise precise/docker build -t fnubhupen/ubuntu:quantal quantal/docker build -t fnubhupen/ubuntu:raring raring/docker build -t ...
解决虚拟机VMware下的UbuntuUSB设备识别问题的解决方法,分析了三种可能,并给出方法,简单明了,一看就懂。
图文结合,详细描述了在mac下如何制作ubuntu的安装USB,以及Ubuntu如何配置网络环境