[826] in netbsd-help mailing list archive
mounting a dos drive in netbsd
daemon@ATHENA.MIT.EDU (Andrew J Kim)
Fri Mar 1 23:36:06 1996
From: Andrew J Kim <ajkim@MIT.EDU>
To: netbsd-help@MIT.EDU
Date: Fri, 01 Mar 1996 23:31:57 EST
how do i mount a dos drive on my pc running netbsd?
I tried
mount -t msdos /dev/wd1d /dos_d
and it told me
msdos: mount: Invalid argument
trying
mount -t msdos /dev/rwd1d /dos_d
gave
msdos: mount: Block device required
I am trying to mount a slave IDE drive with 2 logical partitions
in the extended dos partition (and the other partition is taken up
by netbsd).
In case it's helpful here is what "fdisk /dev/rwd1d" gives me:
******* Working on device /dev/rwd1d *******
parameters extracted from in-core disklabel are:
cylinders=527 heads=64 sectors/track=63 (4032 sectors/cylinder)
parameters to be used for BIOS calculations are:
cylinders=527 heads=64 sectors/track=63 (4032 sectors/cylinder)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
sysid 5 (Extended DOS)
start 4032, size 1536192 (750 MB), flag 0
beg: cylinder 1, head 0, sector 1
end: cylinder 381, head 63, sector 63
The data for partition 1 is:
sysid 165 (NetBSD or 386BSD)
start 1540224, size 584640 (285 MB), flag 0
beg: cylinder 382, head 0, sector 1
end: cylinder 526, head 63, sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 0 (unused)
start 0, size 0 (0 MB), flag 80
beg: cylinder 0, head 0, sector 0
end: cylinder 0, head 0, sector 0
and the drive rpm is 5400 and uses 512 bytes per sector.
Thanks...
--
Andrew J. Kim
ajkim@mit.edu