Hi,

I have been trying to follow the backup/restore procedures for recovering the an OpenBSD installation to a different machine an ran into some problems. Used http://www.openbsd.org/faq/faq14.html#Backup to create a backup using dump of my partitions - went fine Went through the restore procedures on the second machine used the entire disk for the installation and created the disklabels. See below...
> fdisk sd0
Disk: sd0       geometry: 4427/255/63 [71119755 Sectors]
Offset: 0       Signature: 0xAA55
         Starting       Ending       LBA Info:
#: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
0: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
1: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
2: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
*3: A6    0   1  1 - 4426 254 63 [          63:    71119692 ] OpenBSD

>disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: MAP3367NC
flags:
bytes/sector: 512
sectors/track: 739
tracks/cylinder: 2
sectors/cylinder: 1478
cylinders: 48122
total sectors: 71132959
rpm: 10025
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
a: 301449 63 4.2BSD 2048 16384 208 # (Cyl. 0*- 203) b: 614848 301512 swap # (Cyl. 204 - 619) c: 71132959 0 unused 0 0 # (Cyl. 0 - 48127*) d: 239436 916360 4.2BSD 2048 16384 176 # (Cyl. 620 - 781) e: 4194564 1155796 4.2BSD 2048 16384 416 # (Cyl. 782 - 3619) f: 4194564 5350360 4.2BSD 2048 16384 416 # (Cyl. 3620 - 6457) g: 20551590 9544924 4.2BSD 2048 16384 416 # (Cyl. 6458 - 20362)

Made the disk bootable wrote the MBR using the /usr/mdec utilities - went fine When rebooting into single user mode to restore the rest of the partitions I get to the ddb> with the following error:
...
biomask ef65 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
panic: cannot open disk, 0x400/0xd00, error 6
Stopped at debugger+0x4: leave
...
I am unable to post capture more details at the moment but I will if they are needed

I tried a couple of things:
1. New installation from CD 3.6 (just checking to see if this is a hardware problem) - works fine 2. Used the install script to partition and label the disk (in case I messed something up) - still same problem and after the recover procedure. 3. Tried using the boot file from the image without writing the new MBR - did not get to stage 1 as expected.

I seem to be missing something in the process; help is appreciated. Thanks.
Dede

Reply via email to