LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-27-2005, 01:08 AM   #1
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Rep: Reputation: 15
Mounting EXT2/EXT3 on Windows2000/NT/XP


The Ext2Fsd project is an ext2 file system driver for WinNT/2000/XP.
It's a free software and everyone can distribute and modify it under
the terms of GNU GPL.




http://ext2.yeah.net
 
Old 04-27-2005, 01:48 AM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
isn't this information available over at google.com? or is there some aspect of this a discussion you'd like to have?
 
Old 04-27-2005, 03:39 AM   #3
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
yes..i've problem mounting the EXT3 on my XP..so any advice mrGenixus? i'm using XP Pro SP2..and EXT3 for my RH9
 
Old 04-27-2005, 03:47 AM   #4
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
I dont' think support for that has been written yet
 
Old 04-27-2005, 04:20 AM   #5
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
ok..if it is the problem, so i cant mount my ext3,,so any idea or program that support it?
 
Old 04-28-2005, 06:15 PM   #6
Magnetar
Member
 
Registered: Feb 2003
Location: Somewhere in the Milky Way Galaxy
Distribution: FC3, Ubuntu Hoary, Gentoo sometimes
Posts: 31

Rep: Reputation: 15
Support has been written and resides in C:\whereveryouinstalledext2fsd\documentation

the latest version of ext2fsd is 0.24 which came out a month ago

there is support for EXT3 read but not write at this point

mount ext3 partitions the same way you mount others

from a windows commandline type-

mount 1 1 z:

where 1 1 reflects disk and partition


works well with ext2 - cept im having an issue with my Fedora Core3 install seeing a 111gb partition as being full while in Windows the partition is seen as having 4gb free space
I didnt create the partition with ext2fsd either
anyway


give it a year and ext3 write support will be out - ext2 write support is solid - they say its buggy but I've had no issues at all excellent alternative to fat32 and no 4gb file size limitations

hope this helps u








read the FAQ

================
FAQ - Ext2Fsd
================

Updated at Jan. 09, 2005


Q) How to install ext2fsd on my system ?

A) Follow these instructions:

1, Build this project, and ext2fsd.sys will be created. (You can skip this
step with the binary files in ext2fsd package.)
2, Copy ext2fsd.sys to %system32%\drivers.
3, Import the ext2fsd.reg into your system registry.
4, After rebooting your machine, run "net start ext2fsd" at a dos shell.
5, Use mount/unmount tools to mount or unmount a disk partition.
6, You can unload ext2fsd from system with unload tool.

After version 0.10, these is an easy solution:

1, Just run "Setup.bat" in "Setup" subdir for the first time. Then just
run "net start ext2fsd" in a dos shell to start the driver.

After v0.23, you need specify your system version:

setup 2k: to install ext2fsd for windows 200
setup xp: to install ext2fsd for windows xp

2, Then you can mount the ext2 partitions without rebooting.


Q) How to uninstall

A) There are 3 ways to uninstall ext2fsd:

1, Just run uninstall.bat in the Ext2Fsd.zip package.

.or.

2, Use the "Add/Remove Programs" in "Control Panel", click the item of
"linux ext2 file system driver" to remove the program.

.or.

3, Manually remove the ext2fsd projects files.
a) Remove the registry: HKLM\...\Ext2Fsd & Uninstall ...
b) Remove Mount.exe/Mke2fs.exe from $(SystemRoot)\system32
c) Remove Ext2Fsd.sys from $(SystemRoot)\system32\drivers
d) Remove ext2fsd.inf from $(SystemRoot)\inv


Q) How to start Ext2Fsd automatically during system booting

A) Two optional ways for this problem:

1) Modify the registry directly with regedit.exe: Change the value of
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ext2Fsd\Start]
to 1. The original value is 3. (1 means system start, 3 menas Manual Start).

2) Modify the Ext2Fsd.REG file, then import it via double-click on it.
================================================================
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ext2Fsd]
"ErrorControl"=dword:00000001
"Group"="File System"
"Start"=dword:00000001 // Change this value to 1 or 0. The original value is 3.
"Type"=dword:00000002
================================================================

Reboot is needed for both of these two solutions.


Q) How to mount an image file under linux?

A) Example: mount file ext2.img to /mnt/v

1, mkdir /mnt/v
2, mount ./ext2.img /mnt/v -o loop=/dev/loop0


Q) Does ext2fsd supprot ext3 filesystem ?

A) Not for writing. Ext2Fsd could not understand the journal currently. But it
could mount the ext3 partitions as readonly.


Q) Where can I get "mount/unmount/unload tools"?

A) Try these links:
http://sys.xiloo.com/resources/resources.htm
http://sourceforge.net/project/showf...group_id=43775

The unmount.exe is same to mount.exe, but the name. (unmount.exe is just a
copy of mount.exe.)

The unload tools is in romfs package at http://www.acc.umu.se/~bosse/romfs.zip.

Usage of mount/unmount tools:
mount/unmount disk_number partition_number driver_letter

Ex: To mount partition 1 of harddisk 0 to f:, then
mount 0 1 f:

Ex: To unmount f:, then
unmount f: or mount /umount f:
or
mount /umount f:


Q) Why the ext2fsd could not work on my nt4.0 system ?

A) For nt4.0, you should recompile ext2fsd with nt4ddk. Only ext2fsd 0.08 has
an image for nt4.0.

Beause I have no nt4.0 system available for testing, I don't include such
an image in the package.

Q) How to let system auto mount my ext2 partition when booting

A) Window NT won't mount an ext2 partition automatically. We must modify the
registry to automatically mount an ext2 part. You could execute "diskmgmt.msc"
under a dos cmd box to see the driver and partition number of your ext2
volumes.

Ex. Mount Disk 0 (first disk) Partition 2 (the 2'nd part) to z:

=================================================================================
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"Z:"="\\Device\\Harddisk0\\Partition2"
=================================================================================


Q) What tools do I need to build ext2fsd myself ?

A) You should install VC and NTDDK (Any one of NT4/2K/XP DDK).


Q) What's the diff between checked and free?

A) The checked version, also means debug version, which has many debug info
and output messages for debugging purpose. If you do not care about the
debugging, just ingore the checked version.


Q) In VC++6, what is the ${BASEDIR} variable supposed to be for?

A) $(BASEDIR) is the path where the ntddk (2k) is installed. Ex: D:\NTDDK


Q) How could I mount an image file as a driver ?

A) Do the flollowings:

1, Download filedisk at http://www.acc.umu.se/~bosse/filedisk.zip.
2, Import the filedisk.reg, and copy filedisk.sys to your $sysroot$\system32\drivers directory, as said
in install.txt
3, Download ext2fsd at my site: http://sys.xiloo.com
4, Same work, for ext2fsd.reg and ext2fsd.sys
5, Reboot your machine
6, Run "net start filedisk" and "net start ext2fsd" at a console (You can emit this step, if you modify
the .reg files: item "Start ", change value 00000003 to 00000001)
7, Eg. mount the file to w:, then run "filedisk.exe /mount 0 $fullpath$\ext2.img /ro w:"
8, Now explore your w: ...



Q) Why ext2fsd 0.09 does not support writing as you said ?

A) In default, the writing ability is disabled, because it's dangerous.
There are two ways optional to enable writing support:

1, Change the value of "Parameters\WritingSupport" in ext2fsd.reg to 1, then
import the reg file into system registry.
Or modify the registry directly with regedit.exe. Like this:

-------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ext2Fsd\Parameters]
"WritingSupport"=dword:00000001
-------------------------------------------------------------------------

Or.

2, Change the definition of EXT2_READ_ONLY to 0, and recompile ext2fsd, then
overwrite the original one. (See line 33 in ext2fs.h for v0.09)

Your ext2 system is ext3, then ext2fsd will disable writing support because this version does not
support ext3 yet.



Matt <mattwu@163.com>
http://ext2fsd.sf.net
 
Old 04-30-2005, 02:43 AM   #7
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
thanks Magnetar..really appreciate your help..i'm now can mount my ext3 partition from XPbox..
credit from me!
 
Old 04-30-2005, 07:37 AM   #8
KF1
LQ Newbie
 
Registered: Apr 2005
Distribution: Red Hat Fedora CORE 3
Posts: 14

Rep: Reputation: 0
Does that mean that i can open my linux partion in xp??
 
Old 04-30-2005, 01:58 PM   #9
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
It means you might be able to open some linux partions in windows. I can't I run XFS, but if you're using ext2 or ext3 it seems you can.
 
Old 05-01-2005, 02:13 AM   #10
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
yup KF1, i've try it..now a i can mount my linux partition on my XP..but only with read permission..write permission ,yet is not supported..
 
Old 05-01-2005, 11:05 PM   #11
Magnetar
Member
 
Registered: Feb 2003
Location: Somewhere in the Milky Way Galaxy
Distribution: FC3, Ubuntu Hoary, Gentoo sometimes
Posts: 31

Rep: Reputation: 15
glad you have it working movanns

ext2 read write works well and I haven't had any problems with it after a few months and a couple hundred gigs of read/writes

One problem I do have is sharing from within XP - there's a bug listed on sourceforge for it but with no status. Trying to share files on mounted ext2 partitions seems to not work anymore- I could have sworn it did before.

Im looking forward to advancement on the reiserfs tools - Im stuck now between vfat ntfs ext2 and ext3 -

ntfs and ext3 write support isnt there or isnt working stable
vfat(fat32) has file size constraints I don't want
ext2 can't share from win xp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a new ext3 on LVM system by a co-existing older system's ext2 /etc/fstab JZL240I-U Linux - Software 2 11-28-2005 07:44 AM
Red ext2 filesystem under windows2000 zahoo Linux - General 2 03-18-2005 08:23 PM
ext2 / ext3 slowly Linux - General 1 10-25-2004 07:31 PM
ext2 to ext3? alaios Linux - General 1 07-09-2004 10:05 AM
ext2_read_super: mounting ext3 filesystem as ext2 Jiggy Linux - Newbie 8 11-18-2003 07:27 PM


All times are GMT -5. The time now is 09:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration