mounting a fat32 partition

mounting a fat32 partition

Post by miche » Sun, 31 Dec 1899 09:00:00



can someone pealse give me the commandline to do this, the partition i want
to mount is hdb2, but i can't seem to get the right string (i hav only got
linux installed for two days, and have never mounted a drive before.

please help me out, thanks

 
 
 

mounting a fat32 partition

Post by Tom Pfeife » Sun, 31 Dec 1899 09:00:00



> can someone pealse give me the commandline to do this, the partition i want
> to mount is hdb2, but i can't seem to get the right string (i hav only got
> linux installed for two days, and have never mounted a drive before.

> please help me out, thanks

mount -t vfat /dev/hdb2 /mnt   (as root)

You will then see the contents of the FAT32 partition in the /mnt
directory

BTW, the same command would also work for a FAT16 partition.

Tom

 
 
 

mounting a fat32 partition

Post by Garet » Sun, 31 Dec 1899 09:00:00


mount /dev/hdb2 -t vfat [the directory where you want to mount it]


Quote:> can someone pealse give me the commandline to do this, the partition i
want
> to mount is hdb2, but i can't seem to get the right string (i hav only got
> linux installed for two days, and have never mounted a drive before.

> please help me out, thanks

 
 
 

mounting a fat32 partition

Post by Artur Swietanowsk » Sun, 31 Dec 1899 09:00:00




> > can someone pealse give me the commandline to do this, the
> > partition i want to mount is hdb2

> mount -t vfat /dev/hdb2 /mnt   (as root)

> You will then see the contents of the FAT32 partition in the /mnt
> directory

In RedHat / Mandrake (and possibly other distributions) /mnt is
actually a point to create further subdirectories for mounted
devices. Bothe floppy and cdrom are supposed to mount there.

Therefore, I'd suggest creating a /mnt/win directory and mounting
there:
  mkdir /mnt/win    <do this once>

Since the windows partition may safely be assumed to be in the
computer all the time, you may actually want to mount it at boot.
To do this,insert the followind line in /etc/fstab:
--
/dev/hdb2 /mnt/win  vfat defaults,user,uid=0,gid=100,umask=0002 0 0
--
Check the location of your Windows partition by running:
  fdisk -l /dev/hda
  fdisk -l /dev/hdb
as root.

HTH,
---------------------------------------------------------------------
Artur Swietanowski               http://www.bigfoot.com/~swietanowski
Institut fr Statistik,  Operations Research  und  Computerverfahren,
Universit?t Wien,     Universit?tsstr. 5,    A-1010 Wien,     Austria
tel. +43 (1) 427 738 620                     fax  +43 (1) 427 738 629
---------------------------------------------------------------------

 
 
 

mounting a fat32 partition

Post by L. Friedma » Sun, 31 Dec 1899 09:00:00





> > > can someone pealse give me the commandline to do this, the
> > > partition i want to mount is hdb2

> > mount -t vfat /dev/hdb2 /mnt   (as root)

> > You will then see the contents of the FAT32 partition in the /mnt
> > directory

> In RedHat / Mandrake (and possibly other distributions) /mnt is
> actually a point to create further subdirectories for mounted
> devices. Bothe floppy and cdrom are supposed to mount there.

This is true for Caldera Open Linux as well.
 
 
 

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. Ghostscript: getting better vga output

3. can fat32 partition be mounted?

4. Communicator icon problem, mail and news software

5. Cannot mount Fat32 partitions. Help !!

6. CD-ROM mounting problem when installing

7. Mounting a Fat32 partition from linux

8. XFree86-2.0 freezes display and crashes system

9. can i mount fat32 partitions from freebsd 4.2?

10. Mounting extended FAT32 partitions

11. newbie question, mounting fat32 partition

12. Mounting FAT32 partition

13. Trouble mounting a FAT32 partition at boot-up.