Mounting a Fat32 partition from linux HELP

Mounting a Fat32 partition from linux HELP

Post by Sean McGrat » Thu, 17 Sep 1998 04:00:00



Ok, I've done it, I went and got the 2.0.35 source and compiled it with all
the options
to mount a FAT32 partition from linux.  (I actually compiled a kernel,
wheeeee!)

Anyways, I compiled them with the VFAT and other ISO ... etc options the
guys in
#linux told me to do ... but I can't get my /etc/fstab to work correctly...
I get an
error message on boot about /etc/fstab being setup incorrectly, and how the
system will so nicely attempt to KLUDGE something until I get /etc/fstab
edited
correctly, but I am not 100% sure of what to include.

Can someone please email me an example or two of their /etc/fstab
file that includes a mount for a Fat32 MSDOS partition?

Or any other hints at what I might being doing wrong?

Obviously /mount /c is just failing and I can't figure it out.

Thanks very much

(I got the Linux bug and have it bad!)

--

--
___
Sean McGrath, RN

My ICQ # is 7466420
...."Nurses Heal the World"...

 
 
 

Mounting a Fat32 partition from linux HELP

Post by Sebastian Bobe » Thu, 17 Sep 1998 04:00:00



Quote:> #linux told me to do ... but I can't get my /etc/fstab to work correctly...
> I get an
> error message on boot about /etc/fstab being setup incorrectly, and how the
> system will so nicely attempt to KLUDGE something until I get /etc/fstab
> edited
> correctly, but I am not 100% sure of what to include.

> Can someone please email me an example or two of their /etc/fstab
> file that includes a mount for a Fat32 MSDOS partition?

Hi,

well here is an excerpt from my /etc/fstab:
<*snip*>

/dev/hda4   /                  ext2            defaults   1   1
/dev/hda3   swap               swap            defaults   0   0
/dev/hda1   /floppy/c          vfat            defaults   0   0
/dev/hda5   /floppy/d          vfat            defaults   0   0
/dev/hda6   /floppy/e          vfat            defaults   0   0
/dev/hda7   /floppy/f          vfat            defaults   0   0
none        /proc              proc            defaults   0   0

<*snip*>

hda4 is my root-partition
hda3    swap
hda1 is my primary DOS-partition (FAT16)
hda5-hda7 are logical DOS-partitions (FAT32)

You have to configure it for your own partitions, of course.

make sure that you have ISO8859-1 and codepage xxx compiled into your
kernel.

Hope this works....

ciao,
     seb
----------------------------------------------------------------------
|                               | "I went looking for spirit ...     |
| Sebastian Bober               |    ... and I found *.        |
| Humboldt University Berlin    |  I went looking for soul ...       |

|                               |                     -- Paul Hewson |
----------------------------------------------------------------------

 
 
 

Mounting a Fat32 partition from linux HELP

Post by Sebastian Bobe » Thu, 17 Sep 1998 04:00:00



Quote:> #linux told me to do ... but I can't get my /etc/fstab to work correctly...
> I get an
> error message on boot about /etc/fstab being setup incorrectly, and how the
> system will so nicely attempt to KLUDGE something until I get /etc/fstab
> edited
> correctly, but I am not 100% sure of what to include.

> Can someone please email me an example or two of their /etc/fstab
> file that includes a mount for a Fat32 MSDOS partition?

Hi,

well here is an excerpt from my /etc/fstab:
<*snip*>

/dev/hda4   /                  ext2            defaults   1   1
/dev/hda3   swap               swap            defaults   0   0
/dev/hda1   /floppy/c          vfat            defaults   0   0
/dev/hda5   /floppy/d          vfat            defaults   0   0
/dev/hda6   /floppy/e          vfat            defaults   0   0
/dev/hda7   /floppy/f          vfat            defaults   0   0
none        /proc              proc            defaults   0   0

<*snip*>

hda4 is my root-partition
hda3    swap
hda1 is my primary DOS-partition (FAT16)
hda5-hda7 are logical DOS-partitions (FAT32)

You have to configure it for your own partitions, of course.

make sure that you have ISO8859-1 and codepage xxx compiled into your
kernel.

Hope this works....

ciao,
     seb
----------------------------------------------------------------------
|                               | "I went looking for spirit ...     |
| Sebastian Bober               |    ... and I found *.        |
| Humboldt University Berlin    |  I went looking for soul ...       |

|                               |                     -- Paul Hewson |
----------------------------------------------------------------------

 
 
 

1. FAT32 and Linux 2.0.35: mounting the FAT32 partition

Hello,

I have just reinstalled win95 on a FAT32 partition and
upgraded my kernel to 2.0.35 so that (hopefully) I will
be able to see my dos partiton even though it uses FAT32
(aka "enable lrge disk support").

I have the following /etc/fstab file:

/dev/hda5               /                       ext2    defaults        1 1
/dev/hda8               /home                   ext2    defaults        1 2
/dev/hda6               /usr/local              ext2    defaults        1 2
/dev/hda7               swap                    swap    defaults        0 0
/dev/fd0                /mnt/floppy             ext2    noauto          0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,ro       0 0
none                    /proc                   proc    defaults        0 0

... and my dos partiton is on /dev/hda1 and is supposed to be mounted under the /msdos directory
which is already there (I created it through RedHat's Disk Druid (aka "fdisk with GUI") when I was
installing up Linux).

Here's the output of df:


Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hda5             599043  524089    44010     92%   /
/dev/hda8              50717    8856    39242     18%   /home
/dev/hda6             247871   35465   199606     15%   /usr/local

The fat32 filesystem does not show (the /msdos directory doesin't either).
/msdos should be mounted on (? /dev/hda9) and should get mounted at boot time?

Any suggestions?

TIA,

Neil Zanella

2. Kernel 2.4.21 woes

3. Cannot mount Fat32 partitions. Help !!

4. Setting a 'max retry' for protected directories

5. Help mounting FAT32 partition required

6. booting problem after AIX 4.3.0 -> 4.3.3 upgrade

7. help mounting FAT32 partitions - Device not configured

8. Type devpts not supported?

9. Console hangs when trying to mount FAT32 partition... help!

10. Help me to mount FAT32 partitions.

11. Mounting a Fat32 partition from linux

12. mounting fat32 partitions in linux?

13. Mounting a FAT32 DOS partition from Linux