<div dir="ltr"><div>Is it possible to initialize a disk from scratch with GPT? Using the sequences below, and another from the disklabel64 man page, both failed. There was a "No bootable disk error" when the machine was started. This was a completely wiped disk before the initialization was attempted.<br></div><div><br></div><div>    # gpt destroy da0<br>    # gpt create da0<br>    # gpt add -i 1 da0<br>    # gpt show da0<br>    # disklabel64 -B -r -w da0s1<br>    # disklabel64 -e da0s1<br>      a: 1G 0 4.2BSD<br>      b: 32G * swap<br>      d: * * HAMMER2</div><div><br></div><div>This example from the disklabel64 man page also failed:</div><div>
<div><br></div><div>  # gpt destroy da0</div>

</div><div>  # gpt init -f -B da0<br>  # disklabel64 -B -r -w da0s1<br>  # disklabel64 -e da0s1</div><div>
      a: 1G 0 4.2BSD<br>      b: 32G * swap<br>      d: * * HAMMER2

</div></div>