How to Access linux partitions in Windows 9x

Source: Internet
Author: User
Article Title: How to Access linux partitions in Windows 9x. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Introduction
  
In Linux, the kernel supports a large number of file system types, which can be read and written (or read at least. linux is often stored in a system or hard disk with Microsoft Windows. linux supports Windows 9x/NT file systems, in contrast, you want to use Visual C ++ programming in windows at the same time can see a look at the Linux GCC-HOWTO will have to pay a little effort. this article will give you a simple help.
  
This HOWTO file is free documentation. you can re-broadcast and/or modify it according to the gnu gpl of the FSF release version; you may decide which version of GPL 2.0 or later.
  
I hope this publication will help you, but we will not provide any warranty for you, that is to say, it is the implicit warranty of the commercial business or a special application. for details, see The GNU-like public permission granting book.
  
In this article, we will not mention the concept of partition system and partition.
  
1. Linux stores FAT, FAT32, and NTFS partitions.
  
Linux kernel should support the fat/msdos file system (after installation ). the vfat file system is compiled as a Module and can be loaded with modprobe vfat. ntfs can be supported in the higher kernel of the version. if you use 2.0.3 ?, You need
  
Ftp://sunsite.unc.edu/pub/Linux
/System/filesystems/ntfs.tar.gz
  
Download a copy, and then patch it to the inner core for further translation.
  
The fat/vfat partition can be mounted to a readable file system (rw ). only the file system of read-only (ro) can be mounted before ntfs partition.
  
2. Microsoft stores ext2 partitions.
  
2.1. EXT2 TOOLS v1.1
  
EXT2 TOOLS is a set of TOOLS in DOS that allow you to read the LINUX EXT2 file system. it is grouped by the following procedure:
  
E2CAT is similar to cat commands in Linux.
E2CD is similar to the cd command in Linux.
E2CP is similar to the cp command in Linux.
E2LS is similar to the Linux ls command.
E2PART list the partition information of the hard disk
E2PWD is similar to the Linux pwd command.
EXT2 TOOLS is the GNU General Public License Software. All rights reserved.
(C) 1995 Claus Tondering (ct@login.dknet.dk ),
Ext2tool_00001.zip can be uploaded from
Ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ext2/
Anonymous download.
  
Now all the procedures have been compiled and translated under GCC. GO32 DOS extension GO32.EXE is required for (DOS) operation. the GO32.EXE package is included in the release of EXT2TOOLS, which is a part of DJGPP.
  
Ftp://oak.oakland.edu/SimTel/venders/djgpp
Anonymous download.
2.1.1. install EXT2 TOOLS
[MSDOS]
> Mkdir c: \ ext2l
> Pkunzip-d ext2tool_00001.zip
> Dir
  
2.1.2. run EXT2 TOOLS
Set the environment variable before running:
  
> SET E2CWD = 129:5
Or
> SET E2CWD = 234
| |__ The I node number of the Directory. the default value is root I node number 2.
| _____ EXT2 file system LINUX partition.
| ________ Physical hard disk code:
| 0: A soft Drive
| 1: Drive B
| 128: the first hard disk
| 129: second hard disk
| _____________ Environment variables
  
Verify that GO32.EXE is in the system PATH.
  
Run the e2ls command to list the file system in the fifth partition of the second hard disk.
  
Run the e2part 129 command to list the partition conditions of the second hard disk.
  
2.1.3. EXT2 TOOLS can be run under Microsoft Windows3x/9x,
  
Peeter Joot (peeter@accessv.com,
Peeter_joot@vnet.ibm.com)
Port EXT2 TOOLS to NT. NT version of EXT2 TOOLS
Ext2nt-1.06.tar.gz can be from
  
Ftp://sunsite.unc.edu/pub/Linux/utils/dos/
  
Installation and Use method.
  
2.1.4 questions stored
  
The support for the third hard disk (IDE) and SCSI hard disk varies with the host. whether or not the system can be used depends on whether the system is or not.
  
2.1.5 life order method # Will translate into chinese soon.
  
# Sorry for my laziness.
E2CAT
-
  
SYNOPSIS
E2CAT [-bt] pathname
  
DESCTIPTION
The E2CAT program will copy the contents of the file
Identified by ext2 pathname to the standard output.
  
The following options are available:
  
-B Binary mode. No translation completed Med.
  
-T Text mode (default). LF translated to CR/LF.
  
E2CD
    
  
SYNOPSIS
E2CD pathname
  
DESCRIPTION
The pathname must identify an ext2 directory. That
Directory is made the current working directory.
  
NOTE
E2CD is a. BAT file that creates another. BAT file
(Called ___ E2CD. BAT) that modifies the E2CWD envir-
Onment variable. It then executes ___ E2CD. BAT and
Deletes it. (So beware if you already have a file
Called ___ E2CD. BAT .)
  
For use with 4DOS, an E2CD. BTM file is also encoded.
4DOS will use that instead of E2CD. BAT.
  
  
E2CP
     
  
SYNOPSIS
E2CP [-bt] file1 file2
  
DESCTIPTION
The E2CP program will copy the contents of the file
Identified by ext2 pathname 'file1' to the MSDOS file
'File2 '.
  
The following options are available:
  
-B Binary mode (default). No translation completed Med.
  
  
-T Text mode. LF translated to CR/LF.
  
  
  
E2LS
     
  
SYNOPSIS
E2LS [-adiltr] pathname...
  
DESCRIPTION
The pathnames may identify ext2 directories or files.
Wildcard characters (*, [],?, Etc.) may be used in
Manner similar to what the Linux shell allows.
  
The E2LS program provides a directory listing of
Specified pathnames in a manner similar to the Linux
Ls program.
  
The following options are supported:
  
-A Include file names starting with. in listing.
-D List only pathname, even if it is a directory.
-I Include inode number in listing.
-L Produce a long listing.
-T Sort by modification time.
-R Reverse the sort order.
  
  
E2PART
--
  
SYNOPSIS
E2PART diskno
  
DESCRIPTION
The E2PART program lists the partitions that are
Available on a particle physical disk. This program
Does not use the E2CWD environment variable, instead
The disk number is given as an argument to the E2PART
Program.
  
BUGS
The program is not very good at identifying MSDOS file
Systems.
  
E2PWD
-
  
SYNOPSIS
E2PWD
  
DESCRIPTION
The E2PWD program prints the current directory.
  
2.2. LREAD 2.3
  
Another software that reads LINUX EXT2 file system under DOS. LREAD is a GPL self-supplied software. v1.0 was developed by Jason Hunter and David Lutz. v2.X was modified by Werner Zimmermann. lread-2.23.zip can be used from
  
Ftp://sunsite.unc.edu/pub/Linux/utils/dos/
.
  
2.2.1 install LREAD
  
Ten points simple single, only in DOS to the LREAD-2.3.zip to open the corresponding directory, will be issued the original code and binary programming ldir and lread, generally, you can perform this operation without the need to compile and configure it.
  
LREAD can be run in windows 3x/9x.
  
2.2.3. life order method
  
Command ldir [-h |-v] [-s/dev/hd ..] [Linux_Directory]
List ext2 (file system) directories
  
Optional items:
  
-H help message
  
-V version message
  
-S indicates the hard disk partition in which the target is located, for example,/dev/hda5. the missing value is in ldir. specified in h. support soft drive:/dev/fd ?. If only/dev/hda or/dev/hdb is specified, ldir will search for the first LINUX partition on the drive if no route is given. it must be specified. if the province lacks the option-s/dev /..., ldir will use it to compile
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.