一个操作系统的实现实践

本文发布时间: 2019-Mar-22
最近在看一个操作系统的实现,其中遇到不少问题。不过都被解决了,所以在此写个博客,希望能对网友也有帮助。首先:我们需要在Linux下的系统中编写操作系统,于是我安装了Vwmare虚拟机和Ubuntu系统。在安装好nasm,bochs,gcc,g++,build-essentail之后我们开始搭建自己的环境了在搭建环境的时候会遇到如下问题:1:ROM: couldn't open ROM image file '/usr/share/bochs/BIOS-bochs-latest我们需要将:romimage: file=/usr/share/bochs/BIOS-bochs-latest改为romimage: file=/usr/local/share/bochs/BIOS-bochs-latest #/usr/share/bochs/BIOS-bochs-latest即可2:Can not stat keymap file '/usr/share/......map'(懒得手打全部)我们需要将:keyboard_mapping: enabled=1, map=/usr/share/bochs/keymaps/x11-pc-us.map改为keyboard_mapping: enabled=1,map=/usr/local/share/bochs/keymaps/x11-pc-us.map #/usr/share/bochs/keymaps/x11-pc-us.map即可最后我们在运行时将dump_cpu改成r就可以了。最后附图一张:


(以上内容不代表本站观点。)
---------------------------------
本网站以及域名有仲裁协议。
本網站以及域名有仲裁協議。

2024-Mar-04 02:09pm
栏目列表