The Linux operating system is born very early, but it has been popular in recent years and is known. It has developed from a research system to an easy-to-master application system. Linux's open features and free software spirit is getting loved by users. This operating system brings the revolution of the computer operating system, which is likely to beat the Windows operating system in the future. The Linux operating system can not only boot directly from the LILO boot program, but also boot from the DOS operating system. The benefits of the Linux operating system from DOS are: 1. After using the DOS operating system for regular transaction processing, you can directly enter the Linux operating system without rebooting the computer. 2. You may not write LILO boot data in the hard disk partition, so that you don't carefully write errors. Is the safest way of boot mode of the operating system. 3. For those who love to modify the Linux system to guide the kernel, use the loadlin program boot under DOS to be easily debug their own kernel programs without affecting any configuration of the original system. DOS's file system and Linux file system are different, and DOS currently has only two file formats and 32 bits. But the Linux operating system supports various file systems, such as Sys v, ext, extra2, dos ..., Linux file system now the most popular file system is EXT2. There is also a UMDoS file system built in the DOS environment. The EXT2 file format is the Linux operating system is now popular, which is specifically used for this operating system. The UMDoS file system is a file management format that Linux operating system can run in the DOS file system. When you get a Linux operating system disc, you have also gained this package. It is usually found in various Linux issues, and can be found in the distribution. Of course, you can also search in the network. This program has long been part of the Linux operating system. It is stored in ZIP or TGZ compression format, and its file name is usually loadlin16.zip or loadlin16.tgz contains execution files and source. Loadin supports both UMDOS, EXT2 file systems. It is freely open software, if you are interested and needed, you can unwinder it to modify it, compile it. Add new features to it. The author of the original program. It is Hans Lermen. The version of the Loadlin package you can get is probably 1.6. It is now the most popular version. The features and functions of this version are as follows: 1. Enhance the error check and fully support Linux's "command line feature". 2. Accept the response file. Command line can be greater than 128 bytes. 3. Adapt to different configurations under DOS. There is very little configuration requirements for DOS. 4. Can be executed in the extended memory, support large kernel (Bzimages) and virtual disk (Initrd) 5. Can support Linux systems running DOS system text-based Linux systems to boot from the DOS file system to Linux file system requirements: 1. enough Memory (can be loaded into the linux boot core), compressed kernel (zimage or bzimage, Linux boot the kernel compressed file). And optional INITRD images. (RAM boot initialization in the Linux file system). 2. The DOS mode is required to be real mode, that is, the standard DOS mode can be run to enter the Linux operating system. Support the EMS driver interface to support extended memory. (Vcpi) 3. There is already a Linux operating system installed on your hard drive. When you get this package, use the corresponding decompression software to extract it to the corresponding directory. Example of exemplary: Assume that your software file name is loadlin16.zip.
Use unzip to extract to your C: loadlin directory, enter the command in the DOS command line :: C:> CD loadlin C: loadlin> Loadlin Zimage root = / dev / hdb1 RO VGA = ASK can enter the Linux operating system. As can be seen from the above example, Loadlin requires a zimage or bzimage file, which are both the Linux kernel compressed file, Zimage and Bzimage are two different compressed Linux kernel forms. ZImage is here a system core after the Linux operating system is compiled using the GCC program, which also dominsates in LOLI boot. Its function is to guide the initialization of the device that configures Linux, calls the process of the system initial driver. Finally, enter the Linux console and operate. Alternatively selectable image files that are loaded into the disk. / dev / hdb1 refers to the system's drive device, which refers to the first partition of the second hard disk. The Linux system uses a hard disk or a disc or a disc or such a device in the form of / DEV / XXX. root = / dev / hdb1 is where the Linux system is located, which specifies where the Linux system is, how to identify and find the Linux operating system in the Linux operation, and cooperate with Zimage to boot. The RO behind / dev / hdb1 specifies the read properties of the system. Under the UMDOS file system, because Linux belongs to DOS. Therefore, it is generally the RW attribute, that is, read and write properties, RO, and RW indicate whether read-only or read and write. When LoadLin boots, you need a Linux boot core to specify the path to Linux. It can communicate directly to the Linux kernel through the command line parameters in the DOS command line. You can use Linux kernel configuration in command line. VGA = ASK is specified by the user. Specifies that the display is VGA or expands the VGA mode. Reprinted Linuxeden