LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Benjamin Close <linux@senet.com.au>
  To  : Mike Earnshaw <mearnshaw@bigpond.com>
  Date: Thu, 10 Jun 1999 08:50:42 +0930 (CST)

Re: Feedback to mount cdrom in RH6

On Wed, 9 Jun 1999, Mike Earnshaw wrote:

<SNIP>
 
> Now I have a second problem of mounting a DOS logical drive. When I tried to
> use vfat as the type it spat the dummy. Also is there a way to get the
> system to read the fstab file without rebooting?
>

I'll have a shot at answering the question but if it fails can you provide
us with the actual error rather than 'spat the dummy' :)

Firstly, changes to fstab take effect immediatley, you don't need to
reboot. mount rereads the file everytime you run it. 

If you are trying to mount your dos drive and it is on an extended
partition you may be trying to access the wrong device. Ie:

/dev/hdx1 = primary partition 1      (where x is the physical disk ie 'a')
/dev/hdx2 =     "       "     2
/dev/hdx3 =     "       "     3
/dev/hdx4 =     "       "     4
/dev/hdx5 = extened partition 1

First find out where your dos partition exist.
do:

fdisk /dev/hdx   (once again x is the physical disk ie 'a')
p                (list partition information)
q                (quit)

You'll see something like:

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       666   1342624+   6  FAT16
/dev/hda2           667       793    256032   83  Linux
/dev/hda3           794       826     66528   82  Linux swap

The fat16 (or fat32) is the one your after. 
Then do: mount -t vfat /dev/dospartition /mnt/test(or other mount point)
This should mount it.

cheers,
--

* Benjamin Close
* Benjsc@senet.com.au
* Web Page: http://users.senet.com.au/~benjsc

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page