[1053] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

Mounting DOS partitions

daemon@ATHENA.MIT.EDU (Bruce Chou-hsin Po)
Sun Oct 6 22:15:35 1996

From: Bruce Chou-hsin Po <igan@MIT.EDU>
To: netbsd-help@MIT.EDU
Date: Sun, 06 Oct 1996 22:15:24 EDT


This is yet another request for help  about mounting DOS partitions...

I have NetBSD 1.1 on a second physical drive and I'm trying to mount a
DOS partition that's on the same physical drive.  I don't know if
things get sticky because I have an HPFS primary partition on that
same drive.  Anyhow, the closest I could get to mounting the dos
partition was getting my disklabel to look like this:

7 partitions: size offset fstype [fsize bsize cpg]
  a:   102400  1878912    4.2BSD     1024  8192    16   # (Cyl.  466 - 491*)
  b:   122880  1981312      swap                        # (Cyl.  491*- 521*)
  c:   624960  1878912    unused        0     0         # (Cyl.  466 - 620)
  d:  1056384   822528     MSDOS                        # (Cyl.  204 - 465)
  e:   122880  2104192    4.2BSD     1024  8192    16   # (Cyl.  521*- 552*)
  f:   276800  2227072    4.2BSD     1024  8192    16   # (Cyl.  552*- 620*)
  g:   822528        0    unused        0     0         # (Cyl.    0 - 203)

The values for MSDOS were from fdisk.  But running 'mount /dev/wd1d
/mnt' gives me

	ffs: /dev/wd1d on /mnt: incorrect super block

and after editting /etc/fstab and running 'mount /dosdata' I get

	msdos: mount: Invalid argument

What can I do to correct this?  Again I wonder if the HPFS volume has
something to do with it.  Incidentally, is it possible to mount HPFS
partitions?


- Bruce Po

  igan@mit.edu                                              500 Memorial Drive
  http://web.mit.edu/igan/www/                             Cambridge, MA 02139
                                                                (617) 225-8721



home help back first fref pref prev next nref lref last post