On 10/11/09, Nick Holland <nick@holland-consulting.net> wrote:
Thanks Nick for all the info. "I had to sleep on it" :)
I don't know if we got off-track or I don't know/understand the problem.
These systems have been booting and running for quite some time
(years), except for when I do fresh installs of OpenBSD. No problems
with the bootloader.
I'm on OpenBSD now, so I can give this info:
# disklabel wd0
# Extended partition 1: type 0F start 12562830 size 51568650
# Extended partition 1: type 05 start 13028715 size 25591545
# Extended partition 1: type 05 start 38620260 size 1028160
# Inside MBR partition 2: type A6 start 64131480 size 14024745
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: WDC WD400BB-75DE
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 4863
total sectors: 78125000
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 64131480 # microseconds
track-to-track seek: 78125000 # microseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 1028160 64131480 4.2BSD 2048 16384 1
b: 1060290 65159640 swap
c: 78125000 0 unused 0 0
d: 3084480 66219930 4.2BSD 2048 16384 1
e: 6152895 69304410 4.2BSD 2048 16384 1
f: 2265165 75457305 4.2BSD 2048 16384 1
i: 12562767 63 MSDOS
j: 13028652 12562893 MSDOS
k: 25591482 25591608 ext2fs
l: 1028097 51183153 unknown
m: 11920167 52211313 ext2fs
fdisk wd0
Disk: wd0 geometry: 4863/255/63 [78125000 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 0B 0 1 1 - 781 254 63 [ 63: 12562767 ] Win95 FAT-32
1: 0F 782 0 1 - 3991 254 63 [ 12562830: 51568650 ] Extended LBA
*2: A6 3992 0 1 - 4864 254 63 [ 64131480: 14024745 ] OpenBSD
3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
Offset: 12562830 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 0B 782 1 1 - 1592 254 63 [ 12562893: 13028652 ] Win95 FAT-32
1: 05 1593 0 1 - 3185 254 63 [ 25591545: 25591545 ] Extended DOS
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
Offset: 25591545 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 83 1593 1 1 - 3185 254 63 [ 25591608: 25591482 ] Linux files*
1: 05 3186 0 1 - 3249 254 63 [ 51183090: 1028160 ] Extended DOS
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
Offset: 51183090 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 82 3186 1 1 - 3249 254 63 [ 51183153: 1028097 ] Linux swap
1: 05 3250 0 1 - 3991 254 63 [ 52211250: 11920230 ] Extended DOS
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
Offset: 52211250 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 83 3250 1 1 - 3991 254 63 [ 52211313: 11920167 ] Linux files*
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
$ uname -a
OpenBSD NYET.my.domain 4.4 GENERIC#0 i386
The problem is that I can't mount wd0m, but can mount all other partitions.
Also, I have been running OpenBSD on it's partition since about 4.2,
but if I try to do a newer install (4.5 or 4.6) on that partition, I
get a installboot error and then the ERR M error when I go ahead and
try to boot it anyway (knowing it won't work).
I just thought that trying to upgrade my system to 4.5 or 4.6 might be
related to how the different systems read what is on the hd.
I can wait till the 1st and install 4.6 again (since I couldn't buy
the cd set this time) with the info you gave me about /boot and see if
it will work.
Thanks for all the help.