I am currently migrating a MacPPC based OpenBSD 4.7 installation to a
i386 4.9 install. So far everything has worked well, except when I
have attempted to access information stored on a portable drive.
Attempt to mount displays the following:
oberon /mnt: mount /dev/sd0a /mnt
mount_ffs: /dev/sd0a on /mnt: Invalid argument
Checking the disk label I get the following:
oberon /mnt: disklabel /dev/rsd0c
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: Desktop
duid: 0000000000000000
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 121601
total sectors: 1953525168
boundstart: 63
boundend: 1953520128
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 1953520065 63 4.2BSD 2048 16384 1
c: 1953525168 0 unused
When I attempt to fsck the drive I get the following:
oberon /mnt: fsck /dev/rsd0a
** /dev/rsd0a
BAD SUPER BLOCK: MAGIC NUMBER WRONG
LOOK FOR ALTERNATE SUPERBLOCKS? [Fyn?] y
SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
-b OPTION TO FSCK_FFS TO SPECIFY THE LOCATION OF AN ALTERNATE
SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck_ffs(8).
I suspect the problem lies in the fact that the partition was originally
formatted under MacPPC (and works fine there) and I am now attempting to
use it under a i386 installation. Is there a way to fix it? Thanks!
Martin Foster
mar...@ethereal-realms.org