Solved

Reading EXT3 formatted drives in Windows XP

Posted on 2006-07-16
15
10,675 Views
Last Modified: 2012-08-14
My Linksys NSLU2 recently died and I currently do not have a Linux box... uggh need help. :-\

So far I have tried two different programs:

Explorer2fs (1.07) - Reads the volume but only allows me to copy files one at a time. It cannot delete or move whole folders.

Ext2IFS_1_10b - From the description, this program seemed very promising. Unfortunately it will not mount the drive. Instead, I see a "not formated" warning.

Mount diag displays the following:
The volume has an Ext2/Ext3 file system, but the Ext2 IFS 1.10 software did not
mount it because there is at least one incompat feature flag set. The Ext2
IFS software does not implement:
* needs_recovery *
Here we have an Ext3 file system which has transactions left in its journal. A
pure Ext2 driver must not access such a volume which is in that state (to
prevent data loss!).
You may solve it by mounting it on Linux (which has a kernel with Ext3
support). Be sure that you cleanly dismount it, before you shutdown Linux.
After that the Ext2 IFS software should be able to access the volume.

Well that isn't too helpful. LOL

Any suggestions other than just be happy I can read the files with Explorer2fs?

BTW, I would be happy just to have the ability to copy whole folders (and never mind deleting).

Thank you,
Shawn
0
Comment
Question by:sconnell
15 Comments
 
LVL 22

Expert Comment

by:pjedmond
ID: 17118205
Although perhaps not an ideal approach, you could use a Live Linux CD such as Knoppix:

http://www.knoppix.org/

Version 5.0.1 enables you to write to NTFS partitions....or if you prefer a different Live CD.

http://www.frozentech.com/content/livecd.php

This will enable you to boot into Linux without installing anything onto you hard drive - It all runs from your CD. Although there are performance penalties doing this, it would enable you to copy your files en mass to a FAT32/USB stick all at once. You can then work with the files in your Windows environment.

(   (()
(`-' _\
 ''  ''

0
 
LVL 4

Author Comment

by:sconnell
ID: 17118233
Thanks, I thought of a similar approach using VMWARE and one of those Linux boot disks like Knoppix.

Perhaps I can at least correct the journalling problem so that Ext2IFS_1_10b will mount?

If I can get Ext2IFS_1_10b to work than my problems are solved.

0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17118243
VMWARE won't help as you are working with an isolated file system which is 'ring-fenced' from the outside world.

Any of a fairly large range of the live CDs should be able to correct the journalling issue.

(   (()
(`-' _\
 ''  ''
0
 
LVL 4

Author Comment

by:sconnell
ID: 17119506
I ran live Knoppix but it I had a lot of trouble with the 'jerky' motion. The software was continuously pausing for brief periods making typing and mouse positioning very difficult. The GUI looked great however. :-)  I wonder what the problem is? I have 512MB of memory and plenty of CPU power.

Anyhow, I discovered that my DLINK DSM-G600 will read/write the drive.... except there are some folders that only have directory access! There is no particular reason why some folders seem protected yet others are fine. I originally set both the DLINK and the LINKSYS with the same permissions.

Even more mysterious, the folders/files with directory access *only* can be moved anywhere within the volume, renamed, or even deleted. I just cannot copy nor read the files. Changing permissions within Windows XP Pro or from the DLINK seems to have no affect.

Any thoughts on how I can fix this problem?

Upping the ante.... more points for a workable answer (short of getting the Linksys working again).  
0
 
LVL 1

Expert Comment

by:antoxa
ID: 17120140
You could use Total Commander http://www.ghisler.com/download.htm and Ext2+Reiser plugin Main->Addons->Plugins->File system extensions (plugins)->Ext2+Reiser (http://ghisler.fileburst.com/fsplugins/ex2fs.zip)
For security reasons, this plugin is read-only.
This plugin support Ext3 too, because Ext3 is the same Ext2+logging, but in reading mode logging don't used.

WBR
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17120554
Knoppix can be jerky, because it often has to read the necessary data from the CD drive, which is not the fastest of devices! I've customised a version to remove most of the 'nice gui' stuff and make it perform instead. It makes a significant difference!

As root, you should have access to the whole file system without restrictions. Worth looking at some of the the extended ext2 functionality, and whether it is involved:

lsattr /dir/file
chattr /dir/file

Use man to get further information about these extended attributes.

(   (()
(`-' _\
 ''  ''

 
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 4

Expert Comment

by:bobgunzel
ID: 17120635
0
 
LVL 39

Accepted Solution

by:
noci earned 200 total points
ID: 17121609
Can this help you?

It should be possible to read & write in the lates version.

http://sourceforge.net/projects/ext2fsd
0
 
LVL 87

Expert Comment

by:rindi
ID: 17121732
Look in the knoppix menu, utilities, "Harddisk/CD/DVD DMA Acceleration", there you can make sure the drives are running in DMA mode and not PIO mode. This should make it run faster and it could get rid of the jerkiness.
0
 
LVL 4

Author Comment

by:sconnell
ID: 17122244
Nope. Did that. :-(
0
 
LVL 4

Author Comment

by:sconnell
ID: 17654118
Actually Venabili,

I guess I lost track of this question.

I don';t believe I ever tried  noci's suggestion (on 07/17/2006 07:56AM CDT)

It turns out that the latest edition to ext2fsd (http://sourceforge.net/projects/ext2fsd) is dated, 01-Jun-2006.

I will try this update in the evening.
0
 
LVL 20

Expert Comment

by:Venabili
ID: 17697936
Any update here?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now