Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2002 15:31:51 -0400
From:      "Adam Crosby" <acrosby@nps.k12.va.us>
To:        <freebsd-sparc@freebsd.org>
Subject:   I figured it out [was devfs and disklabeling]
Message-ID:  <scbc43ec.042@mail.nps.k12.va.us>

next in thread | raw e-mail | index | archive | help
On my hardware, at least, you have to run the=20
dd if=3D/dev/zero of=3D/dev/ad0 count=3D16
before you disklabel it.
although I /think/ I understand what that does, I'm not quite sure why it =
was neccesary? =20
It writes '0' to the first 16 blocks of the disk (the mbr or some such?).  =
Then, disklabel -BRr ad0 /tmp/label (saved a copy of my previous disklabel)=
 creates the bootblock, and the disklabel on the disk?  Will -B not =
overwrite the first 16 blocks automagically?  Or am I completely missing =
the ball here?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?scbc43ec.042>