Robert A. Lair wrote:

> Hello Everyone,
>
> How do I view my Win95 partitions through linux? If I just have to
> add a line to my fstab file, what do I type?  I know it needs to be
> vfat, but what about the rest of the lines?  I thought last time I
> installed linux 4.2, it automatically added the dos partitions to the
> fstab, and I just had to change the msdos tab to vfat.  Did I miss
> something in the install?  My dos hard drives arent even listed in
> fstab.  HELP!



Uh. . . well, I'm no expert here but I haven't seen anyone else posting to the
list so I'll take a stab at it.

First off, when you type 'mount' with no arguments, what do you get back?
Specifically, which device names _are_ being mounted in your filesystem?
Here's mine:

[michael@fred michael]$ mount
/dev/hda2 on / type ext2 (rw)
/dev/hda3 on /home type ext2 (rw)
/dev/hdd1 on /usr type ext2 (rw)
none on /proc type proc (rw)
/dev/hdb on /mnt/cdrom type iso9660 (ro)

So, my /dev files hda2, hda3, hdd1, and hdb are currently mounted on my
filesystem; no news here so far I'm sure.

Before modifying your fstab, I would do a little exploring.  Make a directory,
something like /mnt/win95tmp, and experiment with mounting your win95
partitions on that mount point from the command line, like so (assuming that
the filesystem in question really is vfat):

# mount -t vfat /dev/hd[some letter][some number] /mnt/win95tmp

The letter and number in the line above will have to be educated guesses based
on which devices are already being mounted as Linux filesystems, and which
ones are conspicuously missing; for example, in my mount table above, there is
no hda1, so one might guess /dev/hda1 when looking for spare partitions to
mount.

Once you've narrowed down which device names correspond to your win95
partitions, the rest should be fairly simple; if you want them to mount by
default, you can add a line to your /etc/fstab something like this:

/dev/hda1        /mnt/win95tmp        vfat    defaults    1    2

This would be a good time to note that I haven't actually done this with a
win95 partition, so any filesystem-specific issues that come up would be news
to me; also, if you're running Xwindows, you can startx as root and use the
filesystem manager in the control panel to fiddle with this a lot more simply
than with good ol' vi.

Hope this helps, and if I've horribly misled you then you can tell the hit man
I live in Chicago.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to