I cannot get a Soekris net5501 to boot OpenBSD 4.5 from a hard drive.
Much traffic has passed on the Soekris email list. I've now included
[email protected], because it might be an OpenBSD problem.
I re-installed OpenBSD. And I noticed a problem at the end of the
install process. I have a "broken MBR". This is probably why my
Soekris net5501 won't boot from hard drive.
----- start of transcript -----
Installing boot block...
boot: /mnt/boot
proto: /usr/mdec/biosboot
device: /dev/rwd0c
/usr/mdec/biosboot: entry point 0
proto bootblock size 512
/mnt/boot is 3 blocks x 16384 bytes
fs block shift 2; part offset 63; inode block 24, offset 11048
installboot: broken MBR
done.
----- end of transcript -----
Notice that I have a broken MBR. This is bad. I've never seen this
happen before.
Here is my partitioning and slicing information:
----- start of transcript -----
# fdisk wd0
Disk: wd0 geometry: 12161/255/63 [195371568 Sectors]
Offset: 0 Signature: 0x0
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-----------------------------------------------------------------------------
--
*0: A6 0 1 1 - 131 127 63 [ 63: 2112516 ] OpenBSD
1: DA 131 128 1 - 262 254 63 [ 2112579: 2112516 ] <Unknown
ID>
2: DA 263 0 1 - 6211 254 63 [ 4225095: 95570685 ] <Unknown
ID>
3: DA 6212 0 1 - 12160 254 63 [ 99795780: 95570685 ] <Unknown
ID>
# disklabel wd0
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: FUJITSU MHW2100B
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 12161
total sectors: 195371568
rpm: 3600
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: 2112516 63 4.2BSD 2048 16384 1
b: 1076355 4225095 swap
c: 195371568 0 unused
d: 2112516 5301450 4.2BSD 2048 16384 1
e: 4201029 7413966 4.2BSD 2048 16384 1
f: 4209030 11614995 4.2BSD 2048 16384 1
g: 4209030 15824025 4.2BSD 2048 16384 1
h: 4209030 20033055 4.2BSD 2048 16384 1
i: 2112516 2112579 unknown
j: 2104515 28451115 4.2BSD 2048 16384 1
k: 95570685 99795780 unknown
l: 2104515 24242085 4.2BSD 2048 16384 1
m: 2104515 26346600 4.2BSD 2048 16384 1
n: 50347710 30555630 4.2BSD 2048 16384 1
o: 16787925 80903340 4.2BSD 2048 16384 1
p: 2104515 97691265 4.2BSD 2048 16384 1
# mount -t ffs /dev/wd0a /mnt
# cat /mnt/etc/fstab
/dev/wd0a / ffs rw 1 1
/dev/wd0d /altroot ffs rw,nodev,nosuid 1 2
/dev/wd0j /root ffs rw,nodev,nosuid 1 2
/dev/wd0e /tmp ffs rw,nodev,nosuid 1 2
/dev/wd0n /usr ffs rw,nodev 1 2
/dev/wd0p /usr/local/src ffs rw,nodev 1 2
/dev/wd0o /usr/obj ffs rw,nodev,nosuid 1 2
/dev/wd0f /var ffs rw,nodev,nosuid 1 2
/dev/wd0h /var/crash ffs rw,nodev,nosuid 1 2
/dev/wd0l /var/log ffs rw,nodev,nosuid 1 2
/dev/wd0m /var/mail ffs rw,nodev,nosuid 1 2
/dev/wd0g /var/tmp ffs rw,nodev,nosuid 1 2
# umount /mnt
----- end of transcript -----
What do I need to do to fix this problem? I realize this is as much an
OpenBSD problem (or more so) as it is a Soekris net5501 problem.
Is there a problem with my disk partitioning?
Is there a problem with my OpenBSD partition disk slicing?
I can provide a full transcript of the install if it will help.
Thanks In Advance,
Ken Hendrickson