GPTディスクラベルのすべてのトレースを削除します。

GPTディスクラベルのすべてのトレースを削除します。

起動可能なMBRデバイスに切り替えたいUSBペンドライブがあります。しかし、記録のある時点で、デバイスにGPTが含まれているため削除できないようです。走ったmklabel dos後もparted私はgrub-installずっと文句を言った

Attempting to install GRUB to a disk with multiple partition labels.  This is not supported yet..

どのデータもアーカイブしたくありません。dd if=/dev/zero of=…ドライブ全体をゼロにするよりも高速なメカニズムを使用して、以前のGTPのすべてのトレースを消去したいと思います。私はターミナルベース(コマンドラインまたは呪い)アプローチを好みますが、いくつかの一般的な無料のグラフィックツールも動作します。

ベストアンサー1

ddバイオリンをオンにしたくない場合は、gdisk次のようにできます。

$ sudo gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): ?
b   back up GPT data to a file
<snip>
w   write table to disk and exit
x   extra functionality (experts only)
?   print this menu

Command (? for help): x

Expert command (? for help): ?
a   set attributes
<snip>
w   write table to disk and exit
z   zap (destroy) GPT data structures and exit
?   print this menu

Expert command (? for help): z
About to wipe out GPT on /dev/sdb. Proceed? (Y/N): Y
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
Blank out MBR? (Y/N): Y

確認する:

$ sudo gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.8

Partition table scan:
  MBR: not present
  BSD: not present
  APM: not present
  GPT: not present

Creating new GPT entries.

Command (? for help): 

おすすめ記事