[950] in netbsd-help mailing list archive
Mounting an Extended DOS partition
daemon@ATHENA.MIT.EDU (Vuong P Nguyen)
Mon Jun 24 22:58:49 1996
From: Vuong P Nguyen <vpnguyen@MIT.EDU>
To: netbsd-help@MIT.EDU
Date: Mon, 24 Jun 1996 22:54:48 EDT
I'm having problems mounting an extended dos partition. Dospart doesn't seem
to detect it, so I tried to manually install it. Here's what I did:
- I added a line to the disklabel(here's the whole table):
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 40960 1927296 4.2BSD 1024 8192 11 # (Cyl. 239 - 244*)
b: 65536 1968256 swap # (Cyl. 244*- 252*)
c: 411264 1927296 unused 0 0 # (Cyl. 239 - 289)
d: 4999680 0 unused 0 0 # (Cyl. 0 - 619)
e: 92160 2033792 4.2BSD 1024 8192 11 # (Cyl. 252*- 263*)
f: 212608 2125952 4.2BSD 1024 8192 11 # (Cyl. 263*- 289*)
g: 1927233 63 MSDOS # (Cyl. 0*- 238*)
h: 2653056 2338560 MSDOS # (Cyl. 290 - 618)
And I added a line to fstab...
/dev/wd0a / ufs rw 1 1
/dev/wd0f /u1 ufs rw 1 1
/dev/wd0e /u1/usr/vice/cache ufs rw 1 1
swap /tmp mfs rw,-s20480 1 1
procfs /proc procfs rw 1 2
kernfs /kern kernfs rw 1 1
/dev/wd0g /dosc msdos rw 0 0
/dev/wd0h /dosd msdos rw 0 0
But when I run mount -a, I get the following:
msdos: mount: Invalid argument
Any suggestions?
Vuong Nguyen