Running MINIX 3 on Bochs
来源:互联网 发布:剑3成女捏脸数据截图 编辑:程序博客网 时间:2024/06/02 16:12
http://wiki.minix3.org/en/UsersGuide/RunningMinixOnBochs
This page describes the process of installing MINIX 3 on Bochs.
1. Preliminaries
Please install bochs. Bochs binaries can be downloaded from their webpage. If you're running a Linux distribution, you can install Bochs via the package manager.
2. Virtual Machine Setup
Before you install Minix 3, you will need to create a new virtual machine configuration. The VM configuration specifies the parameters of your Virtual machine, e.g., how much memory you want the VM to use, how big you want the virtual hard disk to be, etc.
Write
# bximage
Type hd.
Type flat.
Type 2048, which equals to 2GB of disk space.
- Type minix.img
Now, we will get a notification that looks something like:
The following line should appear in your bochsrc: ata0-master: type=disk, path="minix.img", mode=flat, cylinders=4063, heads=16, spt=63
Make sure you write down all these values, because we will need them later.
Now, copy the VGA and BIOS rom images that were included in the Bochs installation, to the current directory. Depending on the Linux Distribution you use, the image are either under/usr/share/bochs or /usr/local/share/bochs
cp /usr/share/bochs/BIOS-bochs-latest BIOS-bochs-latestcp /usr/share/bochs/VGABIOS-elpin-2.40 VGABIOS-elpin-2.40
Next, we have to create a file called bochsrc.txt. You can use any editor you like for doing this.
vim bochsrc.txt
Copy in the file the following
romimage: file=BIOS-bochs-latestmegs: 64vgaromimage: file=VGABIOS-elpin-2.40floppya: 1_44=floppy.img, status=insertedata0-master: type=cdrom, path=minix3_1_3a_ide_r2964.iso, status=insertedata1-master: type=disk, path=minix.img, cylinders=4063, heads=16, spt=63log: out.bochsmouse: enabled=0ips: 15000000boot: cdrom
Make sure that line 6 is exactly the same as the notification you got earlier after creating the disk image, and that the path in line 5 exactly matches the filename of the minix image you downloaded or will download.
The last line
boot: cdrom
indicates that the virtual machine will boot from the cdrom.
You can also check the dlxlinux example for reference.
3. Installation
Assuming you have downloaded and decompressed a MINIX 3 ISO image from the download page, you can now run bochs and install MINIX.
In order to do that, write
# bochs
In the menu, press number 6. Minix 3 will now boot.
Then you can follow the normal installation instructions.
When the installation is over, type
shutdown
to exit Minix. When you get the fd0> type off in order to shutdown the Virtual Machine.
4. Booting MINIX 3
Now you have installed MINIX 3 on the virtual machine. First thing that needs to be sorted, is that next time you boot, you want to boot from the operating system, and not from the CD image. Edit the bochsrc.txt file,
# vim bochsrc.txt
and change the last line to
boot: disk
Save the file, and in the command line, write
# bochs
to boot MINIX 3.
5. Post-install Configuration
You should read Post Installation for some configuration tips.
- Running MINIX 3 on Bochs
- 用Bochs学习Minix(3)-调试启动过程
- minix on vmvare
- minix v3 on vmvare
- 用Bochs学习Minix-建立试验环境
- 在Bochs使用Minix 2.0的网络功能
- 用Bochs学习Minix(2)-启动过程分析
- Minix3 on bochs
- MINIX 3 Kernel API
- Minix
- Running Hadoop on Windows
- Running OpenOCD on Linux
- Running docker on Android
- Running Spark on YARN
- Running Spark on YARN
- 装了一下MINIX 3
- MINIX 3内核进程表
- Running your ADF Essentials application on Glassfish 3
- 使用Emeditor转换编码(Shift-JS 到 UTF-8)
- 关于库接口的几点思考
- 彻底搞定回车(0x0d)和换行(0x0a)
- 如何重启gnome而不重启电脑
- 正则表达式
- Running MINIX 3 on Bochs
- strncmp
- OnNcHitTest
- javascript去空格
- Hadoop Map/Reduce编程模型实现海量数据处理—数字求和-Hadoop学习
- sharepoint 权限问题
- 使用原始套接字实现时间戳程序
- ICMP时间戳请求与应答
- 随便看看