[850] in netbsd-help mailing list archive
Re: mounting dos partitions
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Mar 13 19:09:45 1996
To: Andrew J Kim <ajkim@MIT.EDU>
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Wed, 13 Mar 1996 18:55:45 EST."
<199603132355.SAA01181@samoyed.MIT.EDU>
Date: Wed, 13 Mar 1996 19:05:46 EST
From: Greg Hudson <ghudson@MIT.EDU>
Sorry, I should have looked more carefully at your first message. The
dospart script won't help you, because it only understands primary DOS
partitions.
You need to find out the offset and size (in sectors) of your logical
DOS partitions. (If you can find out the offset and size in
cylinders, you can multiply by 4032 to get sectors.) Then you need to
use "disklabel -e" to add those partitions to what NetBSD knows about.
Be sure to update the line that says "6 partitions" (or whatever), and
add lines that look like:
# size offset fstype [fsize bsize cpg]
g: 101682 929502 MSDOS
You can test whether you've gotten everything right by doing "mount
/dev/wd1g /mnt". If everything works, add /etc/fstab lines that look
like "/dev/wd1g /msdos msdos rw 0 0".