NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Use of disklabel, MBR and GPT

On Fri, Oct 23, 2020 at 03:27:42PM -0400, Bruce Lilly wrote:
> On Fri, Oct 23, 2020 at 4:59 AM Martin Husemann <> wrote:
> > So it is inside the NetBSD MBR partition (not in the MBR itself).
> The specific disklabel(8) examples, e.g.
>            disklabel -i -I sd0
> *will* write to the beginning of the disk (i.e. overwriting
> at least part of the primary GPT) on a GPT disk.

Unless sd0 does have a valid MBR with a NetBSD partition and the
architecture you are trying this on uses MBR/disklabel combined.

There is no point in ever using a disklabel on a disk that has a GPT.


Home | Main Index | Thread Index | Old Index