*BSD News Article 18082


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!xlink.net!rz.uni-karlsruhe.de!news.uni-stuttgart.de!delos!migieger
From: migieger@delos.stgt.sub.org (Michael Giegerich)
Subject: Re: PCFS
References: <2C3912C5.8758@news.service.uci.edu>
Date: Wed, 7 Jul 1993 22:51:53 GMT
Organization: Delos Stuttgart, Germany
Message-ID: <1993Jul7.225153.8600@delos.stgt.sub.org>
Lines: 25

In article <2C3912C5.8758@news.service.uci.edu> swallace@balboa.eng.uci.edu (Steven Wallace) writes:
>I have compiled my kernel to support PCFS, but cannot mount my MS-DOS partition.
>Mounting a normal floppy works great - mount -t pcfs /dev/fd0a /mnt.
>I have a SCSI drive with an Adaptec 1542B using 386BSD 0.1.2.4.
>My first partition is a 90 MB MS-DOS 5.0 partition.  My second partition
>is a 225 MB 386BSD partition.  My root partition is mounted from /dev/sd0a
>(/dev/sd0b does not work).  If I attempt to do a mount -t pcfs /dev/sd0b /mnt
>it says "Device Busy" as well as for /dev/sd0a.  /dev/sd0c,d report
>"Invalid argument" while /dev/sd0e-h report "Device not configured". 

Your /etc/disktab must reflect the actual layout of your disk.
I had to edit /etc/disktab accordingly, since the original /etc/disktab
knew only 386bsd-partitions for the whole drive.
Using fdisk (it's in pk0.2.4) to learn about the partitioning scheme
of your disk will simplify the count of the sectors where a partition
begins and ends; when calculating them by hand, be *very careful* to not
access the first track of each DOS-partition.

Bye,
Michael

-- 
------------------------------+------------------------------
Michael Giegerich             | migieger@delos.stgt.sub.org
------------------------------+------------------------------