Initializing a disk from with GPT
Mayu Inc.
pomomayu at gmail.com
Sat Jan 28 17:55:42 PST 2023
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.
# gpt destroy da0
# gpt create da0
# gpt add -i 1 da0
# gpt show da0
# disklabel64 -B -r -w da0s1
# disklabel64 -e da0s1
a: 1G 0 4.2BSD
b: 32G * swap
d: * * HAMMER2
This example from the disklabel64 man page also failed:
# gpt destroy da0
# gpt init -f -B da0
# disklabel64 -B -r -w da0s1
# disklabel64 -e da0s1
a: 1G 0 4.2BSD
b: 32G * swap
d: * * HAMMER2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20230129/01c13e98/attachment.htm>
More information about the Users
mailing list