Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 1999 15:16:02 -0500 (EST)
From:      Clark Gaylord <gaylord@gaylord.async.vt.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   installing boot blocks, 3.0 current
Message-ID:  <199901012016.PAA00445@gaylord.async.vt.edu>

next in thread | raw e-mail | index | archive | help
I would like to update my boot blocks on my IDE (probably a Western
Digital) /dev/wd0, but apparently my disklabel is not good.  If I
try
   disklabel -B -b /boot/boot1 -s /boot/boot2 /dev/rwd0
I get
   disklabel: bad pack magic number (label is damaged, or pack is unlabeled)

Can I get a proper disklabel on the disk without hosing the filesystems?
(I do have a tar backup from last night, but I'd like to avoid using it.)

Many thanks.
Clark Gaylord
cgaylord@vt.edu

P.S. Please respond with e-mail; I track -current, but not -questions.
P.P.S. This is 3.0-current, cvsup'ed nightly (I just did a make world
       this AM).  I also made a boot floppy and test kernel, and that
       loaded correctly (up to panic: no init, of course ;-)
P.P.P.S. Some info from the system:
df -k:
   Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
   /dev/wd0s1a     37663    24452    10198    71%    /
   /dev/wd0s1e    181063   131951    34627    79%    /usr
   procfs              4        4        0   100%    /proc
   kernfs              1        1        0   100%    /kern
   /dev/sd0e      476626   412963    25533    94%    /usr/local
   /dev/wd1h      160625    83916    63859    57%    /home
   /dev/sd1h     1025615   940016     3550   100%    /big

disklabel /dev/wd0:
   # /dev/wd0:
   type: unknown
   disk: amnesiac
   label: fictitious
   flags:
   bytes/sector: 512
   sectors/track: 55
   tracks/cylinder: 12
   sectors/cylinder: 660
   cylinders: 1010
   sectors/unit: 666600
   rpm: 3600
   interleave: 1
   trackskew: 0
   cylinderskew: 0
   headswitch: 0		# milliseconds
   track-to-track seek: 0	# milliseconds
   drivedata: 0 
   
   8 partitions:
   #        size   offset    fstype   [fsize bsize bps/cpg]
     c:   666600        0    unused        0     0       	# (Cyl.    0 - 1009)

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



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