[849] in netbsd-help mailing list archive
mounting dos partitions
daemon@ATHENA.MIT.EDU (Andrew J Kim)
Wed Mar 13 18:59:58 1996
From: Andrew J Kim <ajkim@MIT.EDU>
To: netbsd-help@MIT.EDU
Date: Wed, 13 Mar 1996 18:55:45 EST
I am trying to mount a slave IDE drive (wd1) on my netbsd system.
It has 2 logical partitions in the extended dos partition along
with the netbsd partition.
I tried
attach -n netbsd
/mit/netbsd/bin/dospart
mount /dosc
and got:
{samoyed:61} />/mit/netbsd/bin/dospart
Scanning disk wd1 for DOS partitions
No DOS partitions to add.
{samoyed:62} /> mount /dosc
mount: /dosc: unknown special file or file system.
Trying various things like:
/mit/netbsd/bin/dospart wd1
/mit/netbsd/bin/dospart wd1d
/mit/netbsd/bin/dospart /dev/wd1d
I was able to get the system to give me a /dosc and /dosd on rebooting
but these directories are empty...
I really need the space on those dos drives to store large files
that i won't to use in both NETBSD and dos.
If it helps here is what fdisk on /dev/rwd1d gives:
{samoyed:64} />fdisk /dev/rwd1d
******* 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
Thanks...
--
Andrew J. Kim
ajkim@mit.edu