Getting a new system to see an old disk

Paul Hoffman phoffman at proper.com
Thu Dec 18 12:19:37 PST 2003


Greetings again. I have a well-running 4.8 system. I have created a 
new 4.9 system on a new hard drive, and I want to be able to mount 
the old drive so I can copy all the relevant stuff from it. However, 
the simple-minded stuff fails. For example, trying to mount the old / 
partition on the new /mnt, I get:

mount: /dev/ad1s1a on /mnt: incorrect super block

But the drive is definitely seeable. Here's the output of "disklabel s1a":

# /dev/ad1c:
type: ESDI
disk: ad0s2
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 4856
sectors/unit: 78011640
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]
   a:   262144        0    4.2BSD     2048 16384    94   # (Cyl.    0 - 16*)
   b:  1016912   262144      swap                        # (Cyl.   16*- 79*)
   c: 78011640        0    unused        0     0         # (Cyl.    0 - 4855)
   e:   524288  1279056    4.2BSD     2048 16384    94   # (Cyl.   79*- 112*)
   f:   524288  1803344    4.2BSD     2048 16384    94   # (Cyl.  112*- 144*)
   g: 75684008  2327632    4.2BSD     2048 16384    89   # (Cyl.  144*- 4855*)

What do I need to do to make the partitions of this new drive mountable?

--Paul Hoffman


More information about the freebsd-questions mailing list