*BSD News Article 95038


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.se.dataphone.net!nntp.uio.no!newsfeed.nacamar.de!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: NEWBIE needs help
Date: 9 May 1997 09:57:26 GMT
Organization: Awfulhak Ltd.
Lines: 46
Message-ID: <5kuse6$8cq@ui-gate.utell.co.uk>
References: <33720D1D.4920@earthling.net>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40623

In article <33720D1D.4920@earthling.net>,
	"Aaron C. Paulley" <a.paulley@earthling.net> writes:
> I'm not new to computers, just UNIX.
> 
> I cannot get FreeBSD 2.2.1 to access my msdos partition so I can get to
> other components I want to install.  The sysinstall program says it
> can't access that media and I can't seem to mount anything.  I never had
> any problem doing this when I installed Linux a few years back, but I
> didn't like Linux and thought I'd try BSD.

Mounting your DOS partition depends on where it is on the disk.
If it's a primary partition, run fdisk with no args to find out
which physical partition it's on (or slice in FreeBSD-talk).
Slice numbers go from 1 to 4.

If it's a logical drive in a secondary partition, it will be
have a slice number of 5 or greater.  5 represents the first
logical drive, 6 is the second etc.

To "attach" it, type

    mkdir /dos
    mount -t msdos /dev/wd0sX /dos

where X is your slice number.  The "wd" is "sd" if you've got
a SCSI disk, and the 0 should be changed depending on the
physical disk.

When you do this for the first time, if you see any "cluster
size" errors, unmount the drive immediately and never mount
it again - use the mtools package instead.  There's a horrible
bug here, and if your DOS drive tickles it, it tends to eat
data from random partitions (not just the dos one).

> Please help so I don't have to go back to Linux.  Thanks.
> --
>  _____                    _____      _____         _ _
>|  _  |___ ___ ___ ___   |     |    |  _  |___ _ _| | |___ _ _
>|     | .'|  _| . |   |  |   --|_   |   __| .'| | | | | -_| | |
>|__|__|__,|_| |___|_|_|  |_____|_|  |__|  |__,|___|_|_|___|_  |
>  a.paulley@earthling.net                                  |___|

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !