安装 Ubuntu 后如何恢复 U 盘?

Mar*_*ert 5 live-usb xubuntu usb 12.04

我创建了一个带有 Xubuntu 12.04 的 liveUSB 记忆棒。我在 MacBook Air 上安装了 Xubuntu。如果我现在插入 U 盘,它就不再被识别了。我怎样才能让它被识别并格式化,以便再次将它用作普通存储 U 盘?

vic*_*icd 6

这里有一些简单的说明仅供您参考。

A. 首先,我们需要删除 U 盘上剩余的旧分区。

Open a terminal and type sudo su
Type fdisk -l and note your USB drive letter.
Type fdisk /dev/sdx (replacing x with your drive letter)
Type d to proceed to delete a partition
Type 1 to select the 1st partition and press enter
Type d to proceed to delete another partition (fdisk should automatically select the second partition)
Run Code Online (Sandbox Code Playgroud)

B. 接下来我们需要创建新分区。

Type n to make a new partition
Type p to make this partition primary and press enter
Type 1 to make this the first partition and then press enter
Press enter to accept the default first cylinder
Press enter again to accept the default last cylinder
Type w to write the new partition information to the USB key
Type umount /dev/sdx1 (replacing x with your drive letter)
Run Code Online (Sandbox Code Playgroud)

C. 最后一步是创建胖文件系统。

Type mkfs.vfat -F 32 /dev/sdx1 (replacing x with your USB key drive letter)
Run Code Online (Sandbox Code Playgroud)

就是这样,您现在应该拥有一个恢复的 USB 密钥,其中包含一个可以从任何计算机读取的 32 位胖分区。