接上一篇: 从零开始的操作系统 (第二章:计算机体系结构和引导过程)
我的系统环境:CentOS 7 + GNOME 桌面
开始:
1.准备一个CPU仿真器:Bochs 或者 Qemu
我选择Qemu:
安装:
sudo yum install -y qemu
2.安装一个二进制编辑器:TextPad或GHex
我选择GHex。
安装步骤:
- 下载源:
wget https://forensics.cert.org/cert-forensics-tools-release-el7.rpm
- 添加源:
rpm -Uvh cert-forensics-tools-release*rpm
- 安装:
yum --enablerepo=forensics install ghex
- 打开方式有两种:一, 通过终端启动GHex,
$ ghex test.txt
; 二, 通过图形界面打开。
3. 利用二进制编辑器编写一个镜像文件。
新建一个ISO文件:
[hb@hb-desktop os-study]$ touch myo