Subject: mounting DOS partition on 1.1
To: None <port-i386@NetBSD.ORG>
From: Carl Harris <ceharris@mal.com>
List: port-i386
Date: 01/06/1996 07:49:56
I'm having some problems getting my DOS partition mounted. My disk is
on wd0, and fdisk says:
******* Working on device /dev/rwd0d *******
parameters extracted from in-core disklabel are:
cylinders=1022 heads=32 sectors/track=63 (2016 sectors/cylinder)
parameters to be used for BIOS calculations are:
cylinders=1022 heads=32 sectors/track=63 (2016 sectors/cylinder)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
sysid 6 (Primary 'big' DOS (> 32MB))
start 63, size 1007937 (492 MB), flag 80
beg: cylinder 0, head 1, sector 1
end: cylinder 499, head 31, sector 63
The data for partition 1 is:
sysid 165 (NetBSD or 386BSD)
start 1008000, size 1052352 (513 MB), flag 0
beg: cylinder 500, head 0, sector 1
end: cylinder 1021, head 31, sector 63
So I run disklabel -e wd0 and set
# size offset fstype [fsize bsize cpg]
a: 48384 1008000 4.2BSD 1024 8192 16 # (Cyl. 500 - 523)
b: 96768 1056384 swap # (Cyl. 524 - 571)
c: 1052352 1008000 unused 0 0 # (Cyl. 500 - 1021)
d: 2060352 0 unused 0 0 # (Cyl. 0 - 1021)
e: 907200 1153152 4.2BSD 1024 8192 16 # (Cyl. 572 - 1021)
f: 1007937 63 MSDOS
Here I've added partition f with the offset and size obtained from the fdisk
output. But when I try to save the edited disklabel, I get
disklabel: warning, unused partition f: size 1007937 offset 63
And if I then try to mount the disk,
# mount -r -t msdos /dev/wd0f /mnt
msdos: mount: Device not configured
Anyone see what I'm doing wrong here?
--Carl