Subject: mounting win98 partitions.
To: None <netbsd-users@netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-users
Date: 03/19/1999 19:18:31
I'm trying to mount a win98 partition, but I'm having no success. The
first bios partition is a win98. The second is netbsd.
I've tried various offsets for netbsd partition 'wd0h'. None of them
are seem right for finding the start of a valid msdos fs. A sector
offset of 63,64 and 69,70 seem the closest of any in this fishing
expedition. Is win98 fs format not mountable? Am I missing the
correct offset?
62: ** /dev/wd0h
Invalid signature in boot block: 0000
63: ** /dev/wd0h
Invalid signature in fsinfo blockfix? no
backup doesn't compare to primary bootblock
64: ** /dev/wd0h
Invalid signature in fsinfo blockfix? no
backup doesn't compare to primary bootblock
65: ** /dev/wd0h
Invalid sector size: 57847
66: ** /dev/wd0h
Invalid signature in boot block: 0000
67: ** /dev/wd0h
Invalid signature in boot block: 0000
68: ** /dev/wd0h
Invalid signature in boot block: 0000
69: ** /dev/wd0h
Invalid signature in fsinfo blockfix? no
backup doesn't compare to primary bootblock
70: ** /dev/wd0h
Invalid signature in fsinfo blockfix? no
backup doesn't compare to primary bootblock
71: ** /dev/wd0h
Invalid sector size: 57847
72: ** /dev/wd0h
Invalid signature in boot block: 0000
# fdisk wd0
******* Working on device /dev/rwd0d *******
Warning: BIOS sector numbering starts with sector 1
parameters extracted from in-core disklabel are:
cylinders=13424 heads=15 sectors/track=63 (945 sectors/cylinder)
parameters to be used for BIOS calculations are:
cylinders=839 heads=240 sectors/track=63 (15120 sectors/cylinder)
Information from DOS bootblock is:
0: sysid 11 (Primary DOS with 32 bit FAT)
start 63, size 6199137 (3026 MB), flag 0x0
beg: cylinder 0, head 1, sector 1
end: cylinder 409, head 239, sector 63
1: sysid 169 (NetBSD)
start 6199200, size 6199200 (3026 MB), flag 0x80
beg: cylinder 410, head 0, sector 1
end: cylinder 819, head 239, sector 63
2: <UNUSED>
3: sysid 160 (IBM Thinkpad hibernation)
start 12398400, size 272160 (132 MB), flag 0x0
beg: cylinder 820, head 0, sector 1
end: cylinder 837, head 239, sector 63
# disklabel wd0
# /dev/rwd0d:
type: ST506
disk: mydisk
label: pasillo
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 15
sectors/cylinder: 945
cylinders: 13424
total sectors: 12685680
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 cpg]
a: 56700 6199200 4.2BSD 1024 8192 16 # (Cyl. 6560 - 6619)
b: 283500 6255900 swap # (Cyl. 6620 - 6919)
c: 6199200 6199200 unused 0 0 # (Cyl. 6560 - 13119)
d: 12685680 0 unused 0 0 # (Cyl. 0 - 13423)
e: 56700 6539400 4.2BSD 1024 8192 16 # (Cyl. 6920 - 6979)
f: 283500 6596100 4.2BSD 1024 8192 16 # (Cyl. 6980 - 7279)
g: 5518800 6879600 4.2BSD 1024 8192 16 # (Cyl. 7280 - 13119)
h: 6199200 0 MSDOS # (Cyl. 0 - 6559)
-wolfgang
--
Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
http://www.wsrcc.com/wolfgang/
DGPS signals via the Internet http://www.wsrcc.com/wolfgang/gps/dgps-ip.html