Accessing Linux Filesystems in Windows
ReiserFS increasingly has become a popular Linux filesystem, because of its fault-tolerance capabilities. rfstool allows access to ReiserFS partitions from Windows to Linux; however, it supports only read-only access, and the developers, according to their Web site, have no plans to change that. The tool is available from freshmeat.net/projects/rfstool.
The previous tools lead us to the tool to which this article is dedicated. Unlike Ext2fsd and rfstool, which are specific to one particular class of filesystems, LTOOLS are more generic. They support ext2, ext3 and ReiserFS. LTOOLS are a set of command-line tools, along with two GUIs and a Web-based front end, to enable the reading of and writing to Linux ext2/3 and ReiserFS filesystems from nearly all DOS or Windows (XP, 2000, NT, ME, 9.x or 3.x) versions, running on the same machine or remotely. So, whenever you're running DOS or Windows, and you desperately need to read or write to a Linux partition, which may be on your own computer or any other, you can make use of LTOOLS. LTOOLS also is a great tool for fixing your Linux installation, if you do not have a live CD.
As mentioned previously, LTOOLS comes with two different GUI interfaces to enable you to access your Linux partitions. LTOOLS comes with LTOOLSgui, which is a Java-based graphical user interface for local or remote access to your Linux files, and LTOOLSnet, which is a Microsoft .NET-based user interface, which also provides local or remote access.
If you do not like using non-free Java or MS .NET, you can use your Web browser as a graphical front end for LTOOLS. To achieve this functionality, the package contains LREADsrv, which is a simple Web server, making your Linux filesystem available in an Explorer-like view in your Web browser. Using LREADsrv, you can allow remote access to your Linux partitions, as well as to your DOS/Windows partitions.
LTOOLS comes with a default Windows installer, which seems quite dated. After following the normal installation procedure, the installer creates an entry in your start menu called LTOOLS from which you can access a plethora of interfaces that allows you to access your Linux filesystems.
LTOOLS comes with support for nearly all Windows versions; however, all of the interfaces won't run on all Windows versions. LTOOLS provides two different console versions for Win9x/ME and Windows NT/XP.
The command-line interface provides basic functionality for writing and retrieving data from Linux. LTOOLS commands have the following format. All commands have three files associated with them, for example:
ldir.bat
This command lists directories; however, it is not a program but a script. This script, depending on your system, further invokes either of these two programs: LdirDOS.exe or ldirNT.exe. The first one is for Win9x/ME, and the second one is for Windows NT/XP.
Many LTOOLS commands have a logical syntax. For example, partition names are Linux names. So, if I want to copy a file called vars.inc from /root (which is on /dev/hda2) to my C: drive, I would do the following:
lread.bat --s/dev/hda2 /root/vars.inc C:\vars.inc
Similarly, for writing to Linux, I would do this:
lwrite.bat --s/dev/hda2 C:\vars.inc /root/vars.inc
Along the same lines, LTOOLS also has the commands shown in Table 1.
Table 1. LTOOLS Commands
| lread.bat | Read and copy files from Linux to DOS; sample usage: lread.bat --s/dev/hda2 /root/vars.inc C:\vars.inc |
| lwrite.bat | Copy files from DOS to Linux; sample usage: lwrite.bat --s/dev/hda2 C:\vars.inc /root/vars.inc |
| ldel.bat | Delete Linux files or (empty) directories—same as rm --f and rmdir in Linux; sample usage: ldel.bat /root/vars.inc |
| lchange.bat | Change Linux file attributes and owners—analogous to chmod; sample usage: lchange.bat --s/dev/hda2 754 /root/vars.inc |
| lren.bat | Rename Linux files—analogous to mv; sample usage: lren.bat --s/devhda2 /root/vars.inc /root/var2.inc |
| lmkdir.bat | Create a new Linux directory—analogous to mkdir; sample usage: lmkdir.bat --s/dev/hda2 /root/newdir |
| lln.bat | Create a symbolic link—analogous to ln; sample usage: lln.bat --s/dev/hda8 /root/link /root/vars.inc |
| lcd.bat | Change directory—analogous to cd; sample usage: lcd.bat /home/ |
| ldrive.bat | Set the default Linux disk drive; sample usage: ldrive /dev/hda8 |
ReiserFS is not supported via the above-mentioned tools. Thus, LTOOLS also ships with rfstool, which can be used to read from ReiserFS partitions. In order to read the hard disk under Windows NT/2000/XP or UNIX/Linux, you need administrator rights. If you are running LTOOLS under a non-administrator account, you may not be able to access the hard disk. LTOOLS does not respect Linux ownership. This means that if users were to mount the root device, they could change anything, including /etc/passwd/.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- seo services in india
1 hour 46 min ago - For KDE install kio-mtp
1 hour 47 min ago - Evernote is much more...
3 hours 47 min ago - Reply to comment | Linux Journal
12 hours 32 min ago - Dynamic DNS
13 hours 6 min ago - Reply to comment | Linux Journal
14 hours 5 min ago - Reply to comment | Linux Journal
14 hours 55 min ago - Not free anymore
18 hours 57 min ago - Great
22 hours 44 min ago - Reply to comment | Linux Journal
22 hours 52 min ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




Comments
is there any software
is there any software available that will help me convert ext4 partition to NTFS or FAT32??
Very informative article
Hi,
This article is very informative and useful for "dual boot" machine users.
Thanks,
RAGHU
Ext4 support
Now the ext2fsd driver has been updated to support ext4: http://www.acc.umu.se/~bosse/ext2fsd-0.48-bb4.zip
Ext4 and extents support
Hi,
You can use the new release of my Ext2read to view copy ext4 file systems with extents enabled. You can download it from http://ext2read.sf.net
release thread is here:
http://sourceforge.net/mailarchive/f...ext2read-devel
regrads
Manish Regmi
ext4
ext2fsd doesn't work for ext4
http://www.it.fht-esslingen.de/~zimmerman/software/ltools.html doesn't work
No it doesn't work. You can
No it doesn't work. You can just see / directory and that's all.
Ext2fsd Problem with Ext4
"""Ext2fsd ... allows access from Windows to ext2 filesystems ... Ext2fsd does not only read ext2 partitions, but also Ext2 was one of the first de facto Linux filesystems, and many new Linux filesystems, such as ext3 and ext4 are backward-compatible with it. Thus, the driver can work with ext3 and possibly ext4."""
While technically true, there is one small problem. Ext2fsd will only work with a 128 inode, which is the default in the EXT2 File system. The default inode for Ext4 is 256, rendering it incompatible with Ext2fsd. Also, most newer operating systems, such as Ubuntu 9.04, will by default install a 256 inode with their EXT3 filesystem, in anticipation of upgrading to Ext4 in the future. While you can manually specify to format your new file system utilizing a 128 inode with EXT3, to keep compatibility with Ext2fsd, I'm not sure if the same is true for the Ext4 filesystem, considering that most of the newer attributes of the Ext4 filesystem are stored in the extended Inode. In other words, by installing the Ext4 filesystem with a 128 inode, it's basically the same as having an Ext3 filesystem. (though I could be wrong on this final point).
same problem
I ran into this with a new Ubuntu installation... I installed two Linux partitions, one ext4 (root partition) and one ext3 (home partition). The latter I chose ext3 for better compatibility with existing tools for accessing Linux fs's from Windows.
Unfortunately, I found out afterwards that Ext2IFS, and apparently Ext2FSD, only work with a 128 inode fs, which is not what I have.
Thanks for the pointer to LTOOLS. I'll give that a try.
Lars
Thanks
Thanks for the info. Good comment. Now to wait for a Windows EXT4 driver to come out...
There is a column talked
There is a column talked about the detail LTOOLS in issue 79. The link is http://www.linuxjournal.com/article/4138.
Where is this app?
Why is there links for everything EXCEPT the software the article is written about?
I don't know why, but here's a link
http://www.it.fht-esslingen.de/~zimmerma/software/ltools.html
address
http://www.it.fht-esslingen.de/~zimmerman/software/ltools.html
is zimmerman not zimmerma
Its pretty much
Its pretty much Zimmerma!!
http://www.it.fht-esslingen.de/~zimmerma/software/ltools.html