Because the Linux0.11 kernel needs to run on the 80x86 hardware platform, there is no such hardware system now, so it is necessary to build the Bochs simulation platform. Bochs is an open source emulator for the X86 hardware platform.
Installation procedures refer to the following article: Http://os.51cto.com/art/201407/446838_all.htm, very detailed, the corresponding resolution of the error has been given.
According to the above article to operate, is also a bit of a problem, now the problem is organized as follows: ① error D of the solution to write a relatively simple, and less write "-", later found another article to know the specific operation, the URL is:/http www.linuxidc.com/Linux/2016-10/135905.htm, corresponding to Solution 3 (in Makefile Libs, add the following: -lz -LRT -lm -lpthread, makefile a row is libs =-lm-lgtk-x11-2.0-lgdk-x11-2.0-latk-1.0-lgio-2.0- Lpangoft2-1.0-lpangocairo-1.0-lgdk_pixbuf-2.0-lcairo-lpango-1.0-lfontconfig-lgobject-2.0-lglib-2.0-lfreetype, Add the above code directly on the last side). ② continue to follow the first article, until the writing configuration file Bochwang, the text said "Bios-bochs-latest path, you go slowly to find, should be different", the command to find the path is: sudo find/-name Bios-bochs-latest, remember to add sudo, otherwise you will be prompted not to have permission. Find the path attached to the article the most like the one, mine is:/usr/local/share/bochs/bios-bochs-latest, similarly, find Vgabios-lgpl-latest is the same operation.
这样按照第一篇文章执行就能正确搭建好Bochs和运行处Linux0.11内核。很开心,附图纪念一下!搭建好平台后继续看源代码,加油!
Build Bochs simulation platform under Ubuntu14.04, and install Linux0.11 kernel with this platform