GParted 无法创建分区/分区表:

GParted 无法创建分区/分区表:

我用 8GB 的​​ USB 2.0 闪存驱动器执行此操作。我正在执行的操作如下:打开 GParted: 分区 然后我尝试创建新分区,但出现以下消息: 错误信息 之后,我将转到设备/创建分区表并单击 Aply: 错误信息 然后我再次尝试创建新分区,但出现相同的错误: 错误信息

这是 GParted 控制台日志:

======================
libparted : 2.3
======================

(gpartedbin:3854): GLib-CRITICAL **: Source ID 7 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 6 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 26 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 25 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 31 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 30 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 36 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 35 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 39 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 38 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 42 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 41 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 47 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 46 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 50 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 49 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 55 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 54 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 58 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 57 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 219 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 218 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 301 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 300 was not found when attempting to remove it
/dev/sdb: unrecognised disk label
/dev/sdb: unrecognised disk label

(gpartedbin:3854): GLib-CRITICAL **: Source ID 756 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 755 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 762 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 761 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 770 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 769 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 773 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 772 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 776 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 775 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 779 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 778 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 784 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 783 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 787 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 786 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 792 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 791 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 795 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 794 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 907 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 906 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 1001 was not found when attempting to remove it

(gpartedbin:3854): GLib-CRITICAL **: Source ID 1000 was not found when attempting to remove it
/dev/sdb: unrecognised disk label

我也尝试过:

(parted) print                                                            
Error: /dev/sdb: unrecognised disk label                                  
(parted) mklabel 
(parted) mklabel msdos
(parted) rescue                                                           
Start? 0                                                                  
End? 976773168                                                            // This was just a random guess.
Information: A ntfs primary partition was found at 32.3kB -> 500GB.  Do you want to add it to the partition table?
Yes/No/Cancel? yes                                                        
(parted) quit                                                             
Information: You may need to update /etc/fstab.

但救援后我得到了这个:

radibg2@radibg2:~$ sudo parted /dev/sdb
GNU Parted 2.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Error: /dev/sdb: unrecognised disk label                                  
(parted) mklabel                                                          
New disk label type? msdos                                                
(parted) mklabel msdos                                                    
(parted) rescue                                                           
Error: /dev/sdb: unrecognised disk label                                  
(parted)             

还尝试了低级格式化:

dd if=/dev/zero of=/dev/sdb bs=1M

和上述一切一样,但一切又都一样。

答案1

gparted 的问题可能有不同的原因。这里将讨论其中两种:

  • 驱动器包含令人困惑的数据
  • 驱动器可能出现故障

令人困惑的数据

有时分区分区表的内容或某些附加信息会造成混淆,例如驱动器已用于 RAID 或用作由混合 ISO 文件制作的启动驱动器。在某些情况下,某些版本的 gparted 会拒绝创建新的分区表和新的文件系统。

然后就可以擦除这些令人困惑的信息了。大多数情况下,只需擦除第一个兆字节 (mibibyte),用零覆盖即可。可以使用 来完成dd,但这dd是一种危险的工具。韓國'系上安全带' dd,帮你更安全地完成任务。

请参阅此链接:help.ubuntu.com/community/mkusb

在此处输入图片描述

清除后,您可以再次使用 gparted。创建分区表,然后您可以创建带有文件系统的分区。

在此处输入图片描述

驱动器可能出现故障

如果 mkusb 无法解决问题,则驱动器可能出现故障。它通常以驱动器出现故障的症状开始只读(不仅是文件系统分区,还有驱动器本身)。USB 闪存盘和存储卡可能会发生这种情况,这是故障过程的第一阶段。有时也被称为“死锁”。

但问题可能还有其他原因,因此在放弃之前值得尝试一些方法。

当 U 盘或存储卡为只读状态时

  • 在某些 U 盘和许多存储卡上,有一个用于写保护的小型机械开关,可以在读/写和只读之间切换。——您可能无意中将其设置为只读。
  • 重新启动计算机并再次尝试使用 mkusb 擦除第一个兆字节。
  • 断开其他 USB 设备。有时 USB 设备会相互干扰功能。
  • 尝试其他 USB 端口和另一台计算机。
  • 在另一台计算机上尝试另一个操作系统(Windows、MacOS)。
  • 如果仍然无法擦除驱动器的第一个兆字节,并且驱动器是只读的,则它处于“僵局”状态,下一阶段它将完全“变砖”。

您可以通过以下链接了解更多详细信息:Pendrive 寿命

答案2

Gparted 的顶部栏上有一个名为“设备”的选项卡,它有一个名为“创建分区表”的选项,或者你可以尝试使用任何其他分区工具,“磁盘”随 ubuntu 14.04 一起安装

答案3

我会尝试使用老版本的 fdisk,看看它能否创建分区。我还会使用 dmesg 来查看是否有任何磁盘 IO 错误出现,表明可能无法写入。

这个磁盘是什么?它是普通的 USB 闪存驱动器还是某种特殊的东西?

答案4

  1. 使用以下方式创建主分区ext4文件系统

    • 右键单击未分配的 USB(/dev/sdb)并选择第一个选项新的( 插入 )
    • 选择文件系统输入ext4 并点击Add。参见下图。

      Gparted USB 格式

    • 现在使用磁盘信息面板上方的绿色右侧图标完成此待处理的操作。

    笔记:有时你可能会得到一个错误,但不要惊慌,拔下并重新插入,首先unmountUSB/dev/sdb 使用上下文菜单/dev/sdb并重复步骤 1

  2. 格式化为fat32

    • 完成上述操作后,再次右键单击/dev/sdb并选择格式化为 >并选择fat32(如果您也需要在 Windows 上使用此 USB)

    • 申请完成此操作。

现在你的 USB 已经格式化并具有读写权限

要确认这一点:从导航到 USB 位置地点并右键单击打开的 USB,你可以看到创建新文件夹创建新文档选项现已激活。

我希望这可以帮助你。

相关内容