Date: Wed, 15 May 2002 14:48:59 -0400 (EDT) From: David Miller <dmiller@sparks.net> To: "Justin T. Gibbs" <gibbs@scsiguy.com> Cc: David Miller <dmil-scsi@d.sparks.net>, freebsd-scsi@FreeBSD.ORG Subject: Re: Adaptec 3200S + Dell 2100S problems Message-ID: <Pine.BSF.4.21.0205151448130.25335-100000@search.sparks.net> In-Reply-To: <200205151829.g4FIT9992912@aslan.scsiguy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 May 2002, Justin T. Gibbs wrote:
> >but disklabel doesn't want to work:
> >
> >bash-2.05a# disklabel -e -r da0
> >disklabel: bad pack magic number (label is damaged, or pack is unlabeled)
>
> disklabel -e only works if there is a pre-existing label on the drives.
> Try disklabel -w -r da0 auto followed by disklabel -e -r da0.
bash-2.05a# disklabel -w -r da0
usage: disklabel [-r] disk
(to read label)
disklabel -w [-r] [-n] disk type [ packid ]
(to write label with existing boot program)
disklabel -e [-r] [-n] disk
(to edit label)
disklabel -R [-r] [-n] disk protofile
(to restore label with existing boot program)
disklabel -B [-n] [ -b boot1 [ -s boot2 ] ] disk [ type ]
(to install boot program with existing label)
disklabel -w -B [-n] [ -b boot1 [ -s boot2 ] ] disk type [ packid ]
(to write label and boot program)
disklabel -R -B [-n] [ -b boot1 [ -s boot2 ] ] disk protofile [
type ]
(to restore label and boot program)
disklabel [-NW] disk
(to write disable/enable label)
Maybe this is why /stand/sysinstall doesn't work?
--- David
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0205151448130.25335-100000>
