To finish our MINIX 2.0.0 installation, we will boot from c: and carve up USR.TAZ, CMD.TAZ, and SYS.TAZ into virtual diskettes. The Bochs INSTALL.386 instructions pre-req files that don’t exist in CD-ROM-2.0; i.e. USR.01, USR.02, and so on. We create them.
First, edit .bochsrc to boot from c: instead of a:. Comment out the boot a: line and uncomment the boot c: line.
Start up bochs with ./bochs. Press Escape and specify hd=bios! Log in as root. If you set up MINIX 2.0.0 correctly, the console message should mention something like “type setup /usr” instead of the usual “type setup.” Do this.
You will get a prompt for size. Type 1440. Press Enter (Return) for  floppy drive. Now you should get a prompt to insert disk 1.
Switch to a free xterm and do the following:
# cp /path/to/CD-ROM-2.0/MINIX/I386/USR.TAZ /my/work/dir
# cd /my/work/dir
# dd if=USR.TAZ of=USR.01 bs=1440k count=1 skip=0
# dd if=USR.TAZ of=USR.02 bs=1440k count=1 skip=1
# dd if=USR.TAZ of=USR.25 bs=1440k count=1 skip=24
I didn’t need to go farther than the third file, or USR.03. Note the byte sizes that dd outputs. The first two are 1474560 bytes and the third is 776267 bytes. The fourth is 0 bytes, so you only need USR.01, USR.02 and USR.03.
The INSTALL.386 instructions say to concatenate the files as pairs, but you can get away with doing it one at a time:
# cat USR.01 > /path/to/1.44
Switch to bochs emulator and press Enter. Installation should proceed until you are asked to insert the next disk. Then
# cat USR.02 > /path/to/1.44
And press Enter. This should continue until you get a hash prompt, hopefully with no error messages. If you get a “header checksum error,” check your steps.
- You are not concatenating multiple files.
- You do not have to write a novel header file.
- Don’t click into the bochs emulator screen; that will cause it to exit. LOL Only click the title bar.
- Type halt to shutdown MINIX before closing bochs.
You’re pretty much done. Next is to set up the CMD and SYS sources, which will use the same techniques outlined here. I like completeness and I want my manual pages.