Personal tools
You are here: Home Docs Help! FAQs Can Linux Use the Same Hard Drive as MS-DOS? OS/2? 386BSD? Win95?

Can Linux Use the Same Hard Drive as MS-DOS? OS/2? 386BSD? Win95?

4.0
Up to Table of Contents

This FAQ applies to: All

Yes. Linux supports many, many filesystems, including the standard MS-DOS partitioning scheme, so it can share your disk with other operating systems.

Linux supports all known versions of the Microsoft FAT and VFAT file systems, including those used by Windows 95, Windows 98, Windows NT, Windows 2000 and Windows ME through loadable kernel modules. In a correctly configured system, they should load automatically when the partitions are mounted.

Note, however, that many other operating systems may not be exactly compatible. DOS's FDISK.EXE and FORMAT.EXE, for example, can overwrite data in a Linux partition, because they sometimes incorrectly use partition data from the partition's boot sector rather than the partition table.

In order to prevent programs from doing this, it is a good idea to zero out under Linux the start of a partition you created, before you use MS-DOS or whatever to format it. Type:

 $ dd
if=/dev/zero of=/dev/hdXY bs=512 count=1

where hdXY is the relevant partition; e.g., /dev/hda1 for the first partition of the first (IDE) disk.

Linux can read and write the files on your DOS and OS/2 FAT partitions and floppies using either the DOS file system type built into the kernel or mtools.

There is reportedly a GPL'd OS/2 device driver that will read and write Linux ext2 partitions.

For information about FAT32 partition support, see http://bmrc.berkeley.edu/people/chaffee/fat32.html.

See What Software does Linux Support? for details and status of the emulators for DOS, MS Windows, and System V programs.

See also, "Can Linux access Amiga file systems?", "Can Linux access Macintosh file systems?", "Can Linux access BSD, SysV, etc., UFS?", and "Can Linux access SMB file systems?"

There are said to be NTFS drivers under development, which should support compression as a standard feature.

Emergency Data Recovery
Need emergency data recovery? No recovery, no charge.
Inkjet Printer Inks...
Buy your inkjet printer inks at great savings.
IT Support
Get personal service and take the hassle out of your IT. Go to Connect.co.uk.
BROADBAND INTERNET
With broadband internet, you can talk on the phone while surfing the internet.
Reverse Phone Lookup
Type in any phone number to instantly find out owner's name, address and more.
Laptop
Visit CheckCost UK to compare, review and buy latest computers, laptops, scanners, printers, hard drives, LCD monitors and many more.
Software
Visit Ecost Software to find your favourite brands like Adobe, Apple, Microsoft, Autodesk, Codegear, Corel, Symantec and more.
LINUX COMPUTERS
Get a Linux computer on test for free!
IT Support
For The Best IT Support In London Make Our IT Department Your IT Department. Microsoft Gold Certified Partner.
IT SUPPORT
Award winning IT Services from London provider Wavex offering support, advice, and training