NetBSD-Users archive

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

Re: back to "Drive ID Changed"



On Tue, 1 Jun 2021, Todd Gruhn wrote:

# NetBSD /etc/fstab
# See /usr/share/examples/fstab/ for more examples.
/dev/wd0a        /    ffs    rw         1 1

NAME=NetBSD_9.2        /    ffs    rw,noatime    1 1


This is not correct. You cannot mount 2 partitions on the same
mount point. This setup only worked because you don't have anything
labelled NetBSD_9.2.

      start        size  index  contents
          0           1         MBR
          1        2047         Unused
       2048  1953523120      1  MBR part 169 (active)


Since the partition starts at sect. 2048 (enough room for a GPT),
and we can get the start and sizes of the disklabel partitions, I
think we can get away with just making the GPT--and just leave the
existing data in place.

But, what should be done with the redundant disklabel? Can we leave
it alone, or will we have to zero it out? Martin?

-RVP


Home | Main Index | Thread Index | Old Index