Linux-0.00 Operating Environment Construction

Source: Internet
Author: User

Linux-0.00 runtime environment build here Linux-0.00 written by Linus Torvalds Linux initial version, just print AAA and BBB, this source code cannot be compiled in redhat9.0, however, in the book "Linux kernel complete analysis", the author gives the Linux-0.00 version that can be compiled in redhat9.0. The runtime environment uses the Bochs Virtual Machine and will later use the vmwarevirtual machine to run the Linux-0.11 system compiled by redhat9.0. Preparation tools: VMware 7.0.0, Bochs 2.2, Linux-0.00 source package, download redhat9.0 ISO installation package and install it in VMware, FTP server: ftpserv (data transfer from windows to redhat9.0 before use ), terminal tool (optional): AbsoluteTelnet or SecureCRT. Bochs 2.2, Linux-0.00 source package can be downloaded in www.oldlinux.org, other software to download. 1. Download Bochs 2.2 and install 2. Download linux-0.00-050613.zip. There is the original Linux-0.00 code and the author of the Linux kernel completely analyzed after modification can be in redhat9.0 In the compilation of the Linux-0.00 source code, as well as the bochs configuration file and the compiled kernel boot image file. 3, double-click to run "bochsrc-0.00.bxrc", at this time if the correct run will always print AAA ...... And BBB ....... 4. The following describes how to compile and modify the source code to convert printing A and B to printing D and E. Use ftpservto upload linux-0.00-rh9.tar.gz to redhat9.0 and decompress the package. Tar-zxvf linux-0.00-rh9.tar.gz cd linux-0.00-rh9 make will generate an Image file in the current directory after successful, first not busy to get the Image to run under bochs, first A, B to D, E. Run: vim head. s: Change the 65,66 (ASCII code of A and B) as shown in Figure 68, 69 (ASCII code of D, E), save and exit, execute make, and upload the generated Image to windows, replace the Image you just executed and run the bochsrc-0.00.bxrc again to reflect the changes.

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.