全部博文(436)
分类: LINUX
2013-10-16 19:26:52
Bochs上自行生成img文件的学习
2013.10.5 李佳欣、陶云
1. 以管理员身份运行bximage.exe;
2. 生成镜像文件的命令: hd, flat, 1500, c.img
hd: It is the format of your boot disk. | fd will create a bootable floppy disk image.:For some odd reasons you can use with win 3.11 or something like that.
Flat: It means that it has a fixed size.
1500::It is the size of your Image.
c.img::It is the name of your Image.
3.创建相关选项说明:
-L : bios 位置
-m : 内存大小(单位是Mbyte)
-boot : 启动设备(boot device), 包括三种:floppy(a), hard disk(c), CD-ROM(d)
-hda : 硬盘镜像(hard disk image)
-cdrom : 光盘镜像(CD-ROM image)