Subject: Re: what am I doing wrong
To: Wayne Burgess <wburgess@fun.org.uk>
From: None <mcmahill@mtl.mit.edu>
List: netbsd-help
Date: 01/03/2000 11:05:43
On Mon, 3 Jan 2000, Wayne Burgess wrote:
> I have a box with WinNT and NetBSD as a dual boot. I also have a 50m
> partition which I made in NT and has been formatted as fat.
> when I type Disklabel wd0 I get this, I added the F: partition as instructed
> by the FAQ
> partitions:
> # size offset fstype [fsize bsize cpg]
> a: 305424 2050272 4.2BSD 1024 8192 16 # (Cyl.
> 2034 - 2336)
> b: 526176 2355696 swap # (Cyl.
> 2337 - 2858)
> c: 1843632 2050272 unused 0 0 # (Cyl.
> 2034 - 3862)
> d: 4124736 0 unused 0 0 # (Cyl.
> 0 - 4091)
> e: 1012032 2881872 4.2BSD 1024 8192 16 # (Cyl.
> 2859 - 3862)
> f: 2050209 63 MSDOS
> # (Cyl. 0*- 2033)
> I also cannot mount my floppy drive. Here are the commands I am using to
> mount the floppy
>
> 1.mkdir /floppy
> 2.mount -t floppy /dev/fd0 /floppy
>
> I get a return that says:- mount: mount_floppy not found for /floppy
if this is a DOS formatted floppy, you want:
mount -t msdos /dev/fd0a /floppy
the "-t msdos" tells 'mount' that the file system type is "msdos". Note
that you also needed the "a" at the end of fd0.
To mount a dos partition from a hard drive, do:
disklabel wd0
(replace wd0 with whatever hard drive you want). See which partition is
type MSDOS, then
mount -t msdos /dev/wd0e /mnt
this will mount the dos partition at /mnt. You could also do something
like
mkdir /dos
mount -t msdos /dev/wd0e /dos
if you prefer to mount at /dos instead.
Hope this helps
-Dan