Automatically mount your Linux partition in Windows

Linux drive image
You can automatically mount your Linux partition in Windows and have read/write functionality with a freeware application called Ext2Fsd. I will take you through the process of mounting your Linux partition using Windows XP.

First, download Ext2Fsd via

After you install Ext2Fsd you need to mount the Linux partition. Mount the Linux partition by opening Command Prompt and typing the following:

mount 0 1 L:

Note: the “0” above is a zero.

If you get a response like the following, the mount worked and you will be able to access your Linux partition in My Computer.

Mount Linux image

I will explain the above commands. The mount command is pretty obvious, and mounts your partition. The zero references your hard drive. If you are like most users and only use one hard drive, then you will want to leave the zero. If you use multiple hard drives then you will need to change that number appropriately.

The 1 following the zero references the specific partition on your hard drive that Linux resides on. If you are like most users, your Linux partition is the first partition on your hard drive (so you can use GRUB by default) and you will not need to change this number. If Linux is your second or third partition, then you will need to change the number appropriately.

Lastly, the “L:” is just a notation to give your hard drive a letter in My Computer. I like to use L because it “stands” for Linux. You can give your drive whatever letter you like, however, do not choose C because it will freeze your Windows partition (however, no permanent damage will occur).

Linux bat image

In order to automatically mount your partition when you log into Windows you will need to create a batch file. Open a file in notepad and type the following command (you can download my batch file if you prefer):

mount 0 1 L:

Save the file with the name linuxpartition.bat. Exit Notepad and right-click linuxpartition.bat and create a shortcut. Drag the shortcut into your Startup folder and your Linux partition will be automatically mounted when you start Windows.
Startup image

Trackbacks & Pings


  1. Thanks.
    The whole part of any computer software is functionallity.
    People get computers and OSs to run usefull software not to run and play around with the operating system.
    Many Linux people and promoters are software developers who think that people want to endlessly play around and hack the OS.
    They do not seem to get it that although they think it is fun with their skills and interests this is not the train of thought of most potential Linux users.
    Even the Mac group has made it easier to switch back and forth for necessary eand essential programs for the user to switch back and forth in a hop between the Mac and Microsoft Windows OS platforms.
    It may not be that hard for moderate users to install Linux on a Windows computer .
    Your instructions explain and make it very simple for even novice computer users to both understand that it can be easily done and as well accomplihs the task.

  2. i would suggest this nice tool for simple use

  3. There are better solutions for accessing ext2/ext3 drives in windows. there is a windows device driver that lets you use your ext partitions like any other drive, without the need to manually mount on every reboot. ->


  5. The last word should be Windows not Linux. “will be automatically mounted when you start Linux.” You mean to say “will be automatically mounted when you start Windows.”

  6. rubbish. who uses ext2fs anyway?

  7. This is good news. I’m glad that there is a tool that allows Windows to mount Linux partition. However, it is only limited to Ext2 Filesystem.

  8. what’s wrong with samba ?

  9. Check the last line. Should it be windows rather than linux?

  10. Hi

    you simply might want to use “IFS driver”


  11. Thanks! Just what i needed.

  12. Any similar software for Reiser FS?

  13. @ sharo baro

    samba, yes thats a great plan. it will work great when windows is active and linux is on the other partition with no network access to it…

  14. Thanks Ofal,

    I have tried it and the easiest is the fs-driver.
    works great. just install it and no need to type anything at all at the command line

  15. The current version just needs to be installed. You can assign drive letters from the gui, allow read only or read/write, and have the drive load when windows boots. I tend to NOT want write permissions. I have some “automatic” drive tools and I don’t want windows choosing to do odd things like defrag my linux partitions. I think that would end up being very bad:-)

  16. The problem with the IFS driver is that it only works on 32bit systems, not 64bit. Also, lots of people still use ext2 and ext3. It is the common denominator linux file system for all distros. Elitist linux users are no better than elitist Mac or Windows users. The OS and software are just tools, not religions. I use as many as I can and they all have good and bad points.

  17. Ok…I’m not totally following…..
    I have 2 HDDs, the WinXP on the C:\ drive, and the Ubuntu on the E:\ drive, however the E drive is also a BackUp Drive for NTFS
    The WinXP recognizes the E Drive but not the Ubuntu partition.
    How do I change the mount command?
    You say to change it accordingly, but how?
    12E for me?
    or 13E
    I’m not following your instructions….
    And then…when I open the program, apparently it can see the partitions under E.

    This is what shows up on the Ext2 Volume Manager main screen:

    Type File-Sys Tot-size Use-Size CP Part Entry

    Disk 0
    [C:] Basic NTFS 149GB 30GB IFS

    Disk 1
    [E:] Basic NTFS 78GB 30GB IFS
    Basic EXT3 34GB 34GB Linux
    Basic Swap 1286MB 1286MB Linux Swap

    But I’m not really understanding how to use the program.
    I’m doing a dual-boot, the Ubuntu is on the secondary(slave)HDD, and the HDD is already partitioned into NTFS and the Ubuntu. I can already access the NTFS from inside Ubuntu, and read, but not write.
    If you can, send me e-mail with step-by-step instructions…I’m a Windows medium-experienced user, but Linux Newbie.

    Another good point posted up there, with this program, will Windows defrag my ext partition?
    I really don’t want that to happen.

  18. i have a usb drive, then when i moved it over to umbuto it converted it or something weird. so now to get the info back onto my vista, i had to dl ubuntu live cd & use vmware to run both at the same time

  19. Thank’s

    Simple & Very helfull


  20. I’m using two hard disk in my computer.
    Installed RHEL4 in the same hard disk where win-xp is, on the other hard disk win partitions are present.

    So what should be the command to mount linux after gettin it installed…..?

  21. Today is common to use the NTFS partitions inside Linux (read/write). It’s secure but a little slow compared with ext2,3,4… (not a big problem).

    Try to do it in Ubuntu! Ex.

    # sudo mount -t ntfs /dev/sda3 /os/win7
    (the sd?? is your Windows disc/partition number)

    I am using Ubuntu and Windows 7. My linux home directory has shortcuts to NTFS partitions. All my documents files stay in this “ntfs place”. (my partition called “work”)

    My Eclipse, Open Office, MS Office. GIMP, Blender, MP3 and video (players share the same partition.

    : ^) I never know when I am in the Linux or when I am using the Windows (only when need! the Photoshop, sorry Gimp) Ah my Windows freeze sometimes!


    My notebook…
    /dev/sda1………. NTFS ………. Win7 and Grub boot
    /dev/sda2………. NTFS ………. C: Win7 ……………………. /os/7
    /dev/sda3………. NTFS ………. D: Work ……………………. /var/work
    dev/sda4………. EXT4 ………. Kubuntu…………………….. /

  22. Ah, sorry the incomplete example above.

    Follow the correct example “How mount NTFS read/write in Ubuntu.”

    # sudo mkdir /os
    # sudo mkdir /os/7
    # sudo chmod -R 777
    # sudo mount -t ntfs /dev/sda3 /os/win7

    (the sd?? is your Windows disc/partition numbers)

  23. Great post! Very useful! Keep up the good work!

  24. Just checking if comments work to see if site is legit.

  25. I’ll take your feeds right away ! Good Site !

  26. amazing stuff thanx :)

  27. ‘mount’ not a valid command in Winsows 7 64 bit.

  28. mount will not work in windows 32bit either. mountvol is the comparitive comand but the rest of the command 0 1 L: is not the correct sytax either. which system did “mount” work on in the first place?

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\b4ck5lid3r>mountvol
    Creates, deletes, or lists a volume mount point.

    MOUNTVOL [drive:]path VolumeName
    MOUNTVOL [drive:]path /D
    MOUNTVOL [drive:]path /L

    path Specifies the existing NTFS directory where the mount
    point will reside.
    VolumeName Specifies the volume name that is the target of the mount
    /D Removes the volume mount point from the specified directory.
    /L Lists the mounted volume name for the specified directory.

    Possible values for VolumeName along with current mount points are:



    C:\Documents and Settings\kda2710>

  29. Mount.exe is in the directory that Ext2Fsd was installed into.

Post a Comment

Your email is never published nor shared. Required fields are marked *

© 2006-2007 Maxim Software Corp.  All rights reserved.