Hello there.
I have a laptop which dualboots Windows XP and OpenBSD. For each of
these i have a partition. Further more i have a partition, which
contains somekind of restore-information and at last another
partition.
The Windows XP-partition is FAT32, the restore-partition is some
Compaq-thingie and the last partition is also FAT32.
Unfortinately i apparently can not access the second FAT32-partition
from OpenBSD, and even after reading the manpages for fdisk(8) and
disklabel(8), i haven't found my solution. I fear that i may have
missed something very basical somewhere and would really like a hint,
for where to go.
The FAT32-partition is
3: 0C 3931 0 1 - 4862 254 63 [ 63151515: 14972580 ] Win95 FAT32L
which was created _after_ the OpenBSD installation. My poroblem now
is, that i haven't been able to find a way to include this to the
existing disklabel, without clearing the entire disklabel and manually
create it again?
Any hint is very welcomming :)
$ uname -a
OpenBSD compaq.open.bsd 3.9 GENERIC#617 i386
$ sudo fdisk wd0
Password:
Disk: wd0 geometry: 4864/255/63 [78140160 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
------------------------------------------------------------------------
0: 12 0 1 1 - 382 254 63 [ 63: 6152832 ] Compaq Diag.
1: 0C 383 0 1 - 2597 254 63 [ 6152895: 35583975 ] Win95 FAT32L
*2: A6 2598 0 1 - 3930 254 63 [ 41736870: 21414645 ] OpenBSD
3: 0C 3931 0 1 - 4862 254 63 [ 63151515: 14972580 ] Win95 FAT32L
$ sudo disklabel wd0
# Inside MBR partition 2: type A6 start 41736870 size 21414645
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: TOSHIBA MK4025GA
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 78140160
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: 20761146 41736870 4.2BSD 2048 16384 328 # Cyl 41405*- 62001
b: 653499 62498016 swap # Cyl 62002 - 62650*
c: 78140160 0 unused 0 0 # Cyl 0 - 77519
i: 6152832 63 unknown # Cyl 0*- 6104*
j: 35583975 6152895 MSDOS # Cyl 6104*- 41405*
--
Regards
Henrik