![]() ![]() Increase the permissions of the run file and run the run fileĪccording to the prompt, increase the permission of bochs GDB in bochs under the current directoryĭescription: compilation succeeded! 6, Explain 1. Go back to the previous directory and execute the run file. Wait for a period of time and the compilation is successful. In the current directory, use the make command to compile The script then generates the oslab folder in the source directory After execution, you will find that the setup.sh file turns green and is an executable file.Īfter completion, the following characters will be prompted: You need to increase the permission of the file. setup.sh:Īt this time, you will be prompted that the permission is insufficient. Now, to configure the environment required by Linux 0.11, you have written the relevant scripts in the files just downloaded, and you can run them directly.Įxecute the setup.sh script. Since linux0.11 was compiled on a 32-bit machine at the beginning of the design, and the major Linux distributions (such as Ubuntu, redhat and CentOS) are 64 bit, there will be problems when compiling linux0.11 directly. The contents are as follows:ģ, Configuring the environment required for Linux 0.11 After downloading, you will get the following directoryģ. The command is as follows: git clone -b os. After Git is installed, you can directly use git command to obtain files. You can also install git in Ubuntu with the following command: sudo apt install git. If VMware implements the file sharing function, you can directly drag the folder into the corresponding file path of Ubuntu after decompression. ![]() If you can't access or the download speed is slow, here is the gitee download path: hit-oslab-gitee Can be directly in hit-oslab-github Download. ![]() The experimental environment is Ubuntu 16.04.Īt the same time, this content is also based on the relevant contents of the course experiment of operating system of Harbin University of technology. Compiling Linux 0.11 kernel 1, Experimental environmentĪs usual, the experiment is carried out on the Vmware virtual machine. ![]()
0 Comments
Leave a Reply. |