如何使用GParted在Ubuntu中格式化USB驱动器

If a USB hard drive or flash drive is not properly formatted, then it will not show up in the Ubuntu Places menu, making it hard to interact with. We’ll show you how to format a USB drive using the tool GParted.

如果USB硬盘驱动器或闪存驱动器的格式不正确,则它不会显示在Ubuntu的“位置”菜单中,因此很难与之交互。 我们将向您展示如何使用工具GParted格式化USB驱动器。

Note: Formatting a USB drive will destroy any data currently stored on it. If you think that your USB drive is already properly formatted, but Ubuntu just isn’t picking it up, try unplugging it and plugging it back in to a different USB slot, or restarting your machine with the device plugged in on start-up.

注意:格式化USB驱动器会破坏当前存储在其上的所有数据。 如果您认为您的USB驱动器已经正确格式化,但Ubuntu尚未选择,请尝试将其拔下并将其重新插入另一个USB插槽,或者在启动时插入设备以重新启动计算机。

Open a terminal by clicking on Applications in the top-left of the screen, then Accessories > Terminal.

单击屏幕左上角的应用程序,然后单击附件>终端,以打开终端。

如何使用GParted在Ubuntu中格式化USB驱动器

GParted should be installed by default, but we’ll make sure it’s installed by entering the following command in the terminal:

GParted应该默认安装,但是我们将通过在终端中输入以下命令来确保已安装:

sudo apt-get install gparted

sudo apt-get install gparted

如何使用GParted在Ubuntu中格式化USB驱动器

To open GParted, enter the following command in the terminal:

要打开GParted,请在终端中输入以下命令:

sudo gparted

须藤gparted

如何使用GParted在Ubuntu中格式化USB驱动器

Find your USB drive in the drop-down box at the top right of the GParted window.

在GParted窗口右上方的下拉框中找到您的USB驱动器。

如何使用GParted在Ubuntu中格式化USB驱动器

The drive should be unallocated – if it has a valid partition on it, then you may be looking at the wrong drive.

该驱动器应未分配-如果驱动器上具有有效分区,则可能是您在寻找错误的驱动器。

Note: Make sure you’re on the correct drive, as making changes on the wrong hard drive with GParted can delete all data on a hard drive!

注意: 请确保您使用的驱动器正确,因为使用GParted对错误的硬盘进行更改可能会删除硬盘上的所有数据!

Assuming you’re on the right drive, right-click on the unallocated grey block and click New. In the window that pops up, change the File System to fat32 for USB Flash Drives, NTFS for USB Hard Drives that will be used in Windows, or ext3/ext4 for USB Hard Drives that will be used exclusively in Linux. Add a label if you’d like, and then click Add.

假设您使用的是正确的驱动器,请右键单击未分配的灰色块,然后单击“新建”。 在弹出的窗口中,将文件系统更改为fat32(用于USB闪存驱动器),NTFS(将用于Windows的USB硬盘驱动器)或ext3 / ext4(将用于Linux的专用USB驱动器)。 根据需要添加标签,然后单击添加。

如何使用GParted在Ubuntu中格式化USB驱动器

Click the green checkmark and then the Apply button to apply the changes.

单击绿色复选标记,然后单击“应用”按钮以应用更改。

如何使用GParted在Ubuntu中格式化USB驱动器

GParted will now format your drive. If you’re formatting a large USB Hard Drive, this can take some time.

GParted现在将格式化驱动器。 如果您要格式化大型USB硬盘,则可能需要一些时间。

如何使用GParted在Ubuntu中格式化USB驱动器

Once the process is done, you can close GParted, and the drive will now show up in the Places menu.

完成该过程后,您可以关闭GParted,驱动器现在将显示在“位置”菜单中。

如何使用GParted在Ubuntu中格式化USB驱动器

Clicking on the drive will mount it and open it in a File Browser window. It will also add a shortcut to the drive on the Desktop by default.

单击驱动器将其安装并在“文件浏览器”窗口中将其打开。 默认情况下,它还会在桌面驱动器上添加一个快捷方式。

如何使用GParted在Ubuntu中格式化USB驱动器

Your USB drive is now ready to store your files!

您的USB驱动器现在可以存储文件了!

翻译自: https://www.howtogeek.com/howto/17001/how-to-format-a-usb-drive-in-ubuntu-using-gparted/