Subscribe Favorite

Read ext3/ext4 Partition from Windows 7

Written on November 1, 2009 by Hendy Irawan

If you use Windows 7 and want to dual-boot Ubuntu (or another Linux-based operating system), you’ll want to be able to read Ubuntu files from Windows 7 or Windows Server 2008 R2.

The latest Ubuntu Karmic Koala 9.10 uses ext4 filesystem by default, and previous versions use ext3 and ext2 filesystems. There are several good options to read and write ext2 filesystems from Windows systems, but ext3 or ext4 support is an entirely different scenario.


Image via Flickr

I tried three different software to read my ext4 partition: Ext2fsd, Ext2IFS, and DiskInternal Linux Reader. Ext2IFS fails to mount my ext4 partition due to unknown feature bit AND because my partition has inode size of 256 (Ext2IFS only supports inode size 128). DiskInternal Linux Reader apparently tries to scan my harddisk forever.

With Ext2fsd, I’ve successfully accessed my ext4 filesystem from Windows 7. Here I’ll show you the steps to make it happen:

  1. When creating the ext4 filesystem, make sure to add “-O ^extent” which means disabling the “extent” feature bit. I’m not sure if the following steps will work if your ext4 filesystem still has “extent” feature enabled. ext2 and ext3 partitions should be fine.
  2. Download ext2fsd here.
  3. Right-click the downloaded file and click Properties. Set the compatibility mode to “Windows Vista Service Pack 2″ and check “Run as administrator”.
  4. Run the ext2fsd installer. During install, I recommend you uncheck the “enable write access” feature to safeguard against losing data in your Linux partitions.
  5. Restart Windows 7.
  6. Run the Ext2 Volume Manager from Start Menu.

Now you should be able to mount your Linux ext2/ext3/ext4 partitions from Windows 7 and read the files without any trouble.

These steps should also work on Windows Vista, Windows Server 2008, Windows Server 2003, and Windows XP, only that you will not need to enable compatibility mode (step 3).

Let me know if this how-to works for you!

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

If you enjoyed this post Subscribe to our feed
  • The problem is in the inodes!
    I enjoyed this post and plan to subscribe to the feed. You do the same as well fellow reader!
  • Cyber
    THX 4 the guide.
    Really helped me.
  • jeffmuellercpr
    I was unable to get any files, all folders appeared empty. I was running in administrative mode on W7 professional. Ext2Mgr was able to see the drive as Ext3 and that's about all it could do after playing with all the settings for 15 minutes...
  • user
    i can mount it, and see folders. but all folders are empty, what to do?
  • Rich S
    Unfortunately when I installed Mint 8 64 bit(based on Ubnuntu 9.10) there was no option to disable extents when partitioning. I guess it needs to be done from the command line.
    All first level folders show up correctly in XP but all second level folders and files show a single entry of the letter c for the entire folder.
    Time to run XP and 7 as virtual machines or better yet Linux as a VM under Windows 7 since the menuing and options in Ubuntu are very primitive compared to Windows.
  • Andrew Harris
    It doesn't work for me. I am using Windows 7 Home Premium, and it wants to reformat the ext4 volume.
  • I've been using ext2fsd for about 2 years for an ext3 partition with write support enabled. Everything has been fine.
  • Fatkhul
    It doesn't work..
    I can't open my home directory in ext4..
  • Have you turned off the extent bit ? see my previous response.
  • good article.
  • Mike
    Thx.

    Will try it.
  • cherieston
    I'm was thinking of reinstalling ubuntu cos of some problems... so was just wondering if some1 could clarrify the “-O ^extent” aspect....
    i.e. where do i add it.
    I'm gona install ubuntu 9.10 using live CD and select manual method... got vista already installed and have 50GB unallocated space.
  • I'm not yet aware of a GUI way to do it (not even with gparted).

    The way I did it is before install, I partitioned my drive and format the
    filesystem as regular ext4. then I did this (can use Ubuntu 9.10 live CD for
    this) (WARNING: this will reformat the partition!):

    mkfs.ext4 -j -O '^extent' -L 'YourLabel' /dev/sda2

    Replace /dev/sda2 with your own partition. During install, don't reformat
    the ext4 drive.
  • cherieston
    thanks... that worked like a charm.
  • Glad it works out for you Cherieston.

    I configure my system with "pure" ext4 for '/' partition and "^extent ext4"
    for '/home' partition, because I only need to access my /home partition from
    Windows (7).

    I don't enable write access feature in ext2fsd due to paranoid-ness, but if
    you happen to enable it and having no (corruption?) problems please share
    with us :-)
  • cherieston
    i had the write access feature enabled before when I was using ubuntu 8.04... and it worked fine.... now that I've got 9.10 I've still got it enabled and have not come across any problems yet however I have only coped stuff from the linux partition not pasted anything yet.

    by pasted.... I mean no large file transfers... jus some picture etc.
  • Cool!

    So the ext2fsd ext3 writing feature is more than 1,5 years stable already..

    From what I read just by using ^extent then ext4 is practically compatible
    to ext3, (plus some ext4 features???). However I can't confirm.. hehe..

    My / is ext4 and Ubuntu 9.10 boots very fast and I'm happy (though Windows 7
    also boots quickly so I'm happy with both OSes). The "^extent ext4" /home is
    also alright, not noticing any problems but neither any noticeable
    performance gains, since I use it only for data..
  • flowabcd
    Thank you very much.Thanks to Ext2fsd I've done it in a much easier way.I just installed it without a "Run as Administrator",compatibility mode is no needed too.Then I just ran the program in Administrator Mode,then check the driver enable.Here every thing is fine.The ext4 driver is Mounted.Hope helpful to you!
  • whateva
    That worked perfectly for me, thanks!!!
  • Glad it works for you :)
  • I'm happy to know it's working for you, flowabcd :-)
  • Diogo
    I follow all steps and yes, the ext4 is mounted but I only view root folders and files, if I try to get content inside /home or other nothing appears, is like empty!
  • Diogo, are you sure your ext4 partition doesn't have the 'extent' bit set?

    To check, type (from Ubuntu):

    sudo tune2fs -l /dev/sda2
    (use your partition)

    Make sure it doesn't list 'extent'
  • DimitrisCSD
    Hello there.

    Just a quick question. If an existing ext4 partition has the extent feature, is it possible to somehow get rid of it without formatting?

    Thanks in advance
  • Dimitris,

    I'm not sure yet for now. I'll look for a solution to this. If you'd
    like to check, perhaps starting with the tool tune2fs.
  • name
    Looks like this won't work if you're already setup a normal ext4 partition with extents on :(

    $ sudo tune2fs -O ^extents /dev/sda3
    tune2fs 1.41.9 (22-Aug-2009)
    Clearing filesystem feature 'extent' not supported.
  • ocidbrass
    Mas Hendy...jika ternyata ext4 kita sudah terlanjur 'extent', apakah ada cara supaya bisa dijadikan tanpa 'extent' ? Soalnya cara yang mas Hendy katakan kan pas awal proses.
    Lha Ubuntu-ku udah terlanjur di-install... Apa harus diulang dari awal ? :(
  • @Ocidbrass:

    Q belum riset tuh..

    Mgkn bs pake tune2fs utk mereset bit extent tsb, tp aq sndr blm prnah coba
  • marvin
    Great, exactly what I'm trying to do.. except... its sounds like it's read only?! Or can you write?
  • Ext2fsd actually allows you to enable ext2 & ext3 write support during
    installation. However, try at your own risk.

    ext4 write access is currently non-existent.
  • Hello, i using ext2fsd for writing onto my USB ext2 harddrive for some time long (several months) and i have no problem with it. Just check sometimes fs in linux and this all will be fine
blog comments powered by Disqus