5
imgファイル内のパーティションをフォーマットする方法は?
img次のコマンドでファイルを作成しました。 dd if=/dev/zero bs=2M count=200 > binary.img ゼロのファイルですが、それを使用してfdiskパーティションテーブルを作成できます。 # fdisk binary.img Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0x51707f21. Command (m for help): p Disk binary.img: 400 MiB, 419430400 bytes, 819200 sectors Units: sectors of 1 * 512 = 512 bytes …