Subject: msdos and ext2fs filesystems
To: NetBSD i386 Mailing List <port-i386@netbsd.org>
From: Tony Tye <NOSPAM.ttye@icubed.com>
List: port-i386
Date: 05/28/1999 22:34:54
Hi,

I'm having trouble accessing other filesystems. I followed the
directions in the NetBSD/i386 FAQ (www.netbsd.org/Ports/i386/faq.html)
to access one of my Windows partitions. I got a messages like this:

# mount -t msdos /dev/wd1g /mnt/d
mount_msdos: mount: Invalid argument

The disklabel looks like this:

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   196560       63      4.2BSD     1024  8192     6   # (Cyl.    0*-
13)
  b:   226800   196623        swap                        # (Cyl.   13*-
28)
  c:  2661057       63      unused        0     0         # (Cyl.    0*-
175*)
  d: 10085040        0      unused        0     0         # (Cyl.    0 -
666)
  e:    75600   423423      4.2BSD     1024  8192     6   # (Cyl.   28*-
33)
  f:  2162097   499023      4.2BSD     1024  8192     6   # (Cyl.   33*-
175*)
  g:  1829520  6743520       MSDOS                        # (Cyl.  446 -
566)

Should the "offset" in sectors in the NetBSD be the same as the "start"
in sectors in Linux Fdisk? NetBSD starts counting the cylinders at 0
whereas Linux starts counting them at 1, but both systems show the
NetBSD part of the disk as starting at sector 63.

I can access an msdos floppy disk at /dev/fd0a with no problem.

If I try to access the Linux partition on the same hard disk as above, I
get a similar message.

Many thanks for any help.


--
Tony Tye
** Please remove NOSPAM. from my address when replying. The correct
address is ttye@icubed.com.