mkdir ~/win98 dd if=/dev/cdrom of=~/win98/win98.iso
[david@host david]$ bximage ======================================================================== bximage Disk Image Creation Tool for Bochs ======================================================================== Do you want to create a floppy disk image or a hard disk image? Please type hd or fd. [hd] hd What kind of image should I create? Please type flat, sparse or growing. [flat] Enter the hard disk size in megabytes, between 1 and 32255 [10] 1000 I will create a hard disk image with cyl=2031 heads=16 sectors per track=63 total sectors=2047248 total size=999.63 megabytes What should I name the image? [c.img] c.img Writing: [] Done. I wrote 1048190976 bytes to c.img. The following line should appear in your bochsrc: ata0-master: type=disk, path="c.img", cylinders=2031, heads=16, spt=63
Zanotuj ostatnią linijkę.
# .bochsrc FILE FOR WINDOWS 98 AS GUEST OS IN LINUX # Set aside the RAM for bochs and make sure you have enough RAM left over for your system. # Type "cat /proc/meminfo" at the prompt to find out how much RAM you have. megs: 64 # Filename of ROM images go here. Be sure to check your installation for the location # of these two files (type: man find). Paths must be absolute. romimage: file=/usr/local/etc/bochs/bios/BIOS-bochs-latest, address=0xf0000 vgaromimage: /usr/local/etc/bochs/bios/VGABIOS-elpin-2.40 # Floppies are commented out, but you may need them later. # floppya: 1_44=/dev/fd0, status=inserted # floppyb: 1_44=/home/david/win98/floppyb.img, status=inserted # Cylinder, head, and spt info taken from bximage program output diskc: file="/home/david/win98/c.img", cyl=2031, heads=16, spt=63 # If you ran the following command: # dd if=/dev/cdrom of=/home/david/win98/win98.iso # you can use the CD-ROM image on your hard drive: cdromd: dev=/home/david/win98/win98.iso, status=inserted # Optionally, if you have your Windows 98 CD in the drive # you can uncomment the next line, but the installation # process will be slower. # cdromd: dev=/dev/cdrom, status=inserted newharddrivesupport: enabled=1 # choose the boot disk. boot: cdrom # where do we send log messages? log: bochsout.txt # enable mouse mouse: enabled=1 # enable SB16 sb16: midimode=1, midi=/dev/midi00, wavemode=1, wave=/dev/dsp, loglevel=2, log=sb16.log, dmatimer=600000
Microsoft Windows 98 CD-ROM Startu Menu ============================================ 1. Boot From Hard Disk 2. Boot From CD-ROM Enter your choice: _
Jeśli ekran za szybko znika, trzeba dodać do .bochsrc linijkę:
ips: 1000000
Ale to spowolni potem całą instalację!
format c: /s.
setup