About Linux FAQ

Browse More FAQs:

Advertisements

How to Access the FAT32 files or filesystem from Linux system

Posted by Vivek Gite [Last updated: September 12, 2006]

Q. I have a dual boot system with Windows XP (FAT32) and Debian Linux. How do I access all files from Windows XP FAT31 partition?

A. You can access it under using mount command. You need to mount it as the vfat partition.

VFAT supports the use of long file names (LFNs). The version of the file system with this extension is usually known as VFAT after the Windows 95 VxD device driver.

Use fdisk -l command to get name of vfat partition:
# fdisk -l
Output:

Disk /dev/hda: 20.0 GB, 20060651520 bytes
255 heads, 63 sectors/track, 2438 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        1024     8225248+   b  W95 FAT32
/dev/hda2   *        1025        2438    11357955 83 Linux

/dev/hda1 is FAT partition.

Create a mount point:
# mkdir -p /mnt/d

Next type the mount command as follows, to mount partition
# mount -t vfat /dev/hda1 /mnt/d

Now access vfat file system:
$ cd /mnt/d
$ ls -l

Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.

Related Other Helpful FAQs:

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.