Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Sep 1998 18:50:48 -0500
From:      Alan Weber <aauu@ccms.net>
To:        David Vondrasek <david@stumbleinn.dyn.ml.org>, "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>
Subject:   Re: Mounting MS DOS partitions
Message-ID:  <35F47157.FC8220E3@ccms.net>
References:  <Pine.BSF.4.01.9809071729060.231-100000@stumbleinn.dyn.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help
David Vondrasek wrote:

> On Mon, 7 Sep 1998, Alan Weber wrote:
>
> > Oliver Thuns wrote:
> >
> > > Hello,
> > >
> > > I tried to install FreeBSD, but the setup program does not recognize my
> > > partitions correctly.
> > > I have 4 partitions:
> > >
> > > 400 MB FAT (Win 95)
> > > 1000 MB NTFS (NT 4.0)
> > > 700 MB FAT (for FreeBSD)
> > > 2000 MB FAT (Data)
> > >
> > > FreeBSD setup recognizes the first FAT partition and only one extended
> > > partition with 3700 MB. The BIOS does not support a mapping for large
> > > harddisks, but this should be no problem with FreeBSD (NT and Linux
> > > recognize these partitions, Win95 doesn't).
> >
> > FreeBSD is seeing your partitions correctly.  You have two partitions, a
> > 400 meg FAT and a 3700meg Extended partition. Your NTFS, 700meg and
> > 2000meg partitions are logical partitions contained in the extended
> > partition. FreeBSD needs a primary partition to be installed. You can fix
> > this situation with Partition Magic ($) by moving up the 2000meg partition
> > to the end of the NTFS partion and truncating the extended partition at
> > 3000meg. FreeBSD then can be installed in the remaining 700 meg space.
> > FreeBSD does not use the DOS FAT file system for itself. After FreeBSD is
> > installed in the 700 meg partition you can access the DOS FAT partitions
> > when FreeBSD is running. If you have a way to backup the partitions or
> > dont have much data I would make a 2000 meg Win 95 FAT 32, a 1000 meg NTFS
> > and a 1100 meg FreeBSD. I would boot each OS in their respective
> > partition. You can get drivers for Win 95 & NT that will read the NTFS and
> > FAT 32 partitions at www.sysinternals.com. FreeBSD Stable can access the
> > FAT32 partition. If your committed to keeping the extended partition as
> > is, you may be able to install Linux for a unix-like os.
>
> Along the same note:
> I have FreeBSD set as my second partition and FAT16 on the 1st, How can I
> mount the MSDOS/FAT16 partion ? And will I have access to the files as any
> other partition?
>
> David L. Vondrasek
> dlv@watertower.com

This is easy to do.

1). login as root
2). mkdir  /msdos or /fat16 or /whatever you want to call partition 1
3). /mount_msdos /dev/wd0s1 /fat16

You can add a line like the following to /etc/fstab to make the files present
when you boot up
/dev/wd0s1              /msdos         msdos   rw              0       0

If you want to mount FAT32 partitions you need to be on 2.2.7.

A noted above you can access MSDOS/Win 9x FAT partitions in FreeBSD. I don't
know of a FreeBSD NTFS driver or a Win 9x/NT driver for UFS file systems.

--
When I was a kid I had to rub sticks together to multiply and divide numbers.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35F47157.FC8220E3>