It *is* for real.  I was running it on Dave Jones's H70, in the h1
guest, which is running some version of SuSE, with the 2.4.7-timer
kernel.  I don't think Bochs is kernel-level-sensitive, though.  It
should work OK under 2.2.16.

The tricky thing is, you can't currently *install* NT under Bochs on
Linux/390.  I think this is due to some endianness bug in the ATAPI CD
emulation, because it blows up with an unsupported ATAPI command.  So
what I did was (skipping all the false starts):

Install Bochs on x86.

Follow the HOWTO to install NT under Bochs.  The tricky part here is to
get the boot-floppy right, because booting from the CD gave me nothing
but grief.  You have to get a workable generic IDE CD driver,
SMARTDRV.EXE, and MSCDEX.EXE, plus FORMAT and FDISK.  I used the "DOS"
in Win98 to create this boot disk, but I see no reason it wouldn't work
with MS-DOS or PC-DOS or (probably) DR-DOS.  And you don't really *need*
SMARTDRV.EXE, but I think it's going to make life faster.  I don't
really remember whether I used it or not.  I'll be happy to supply the
boot floppy image to anyone who wants it, or I can give it to Mark to
put up on his site.

Then you use dd to create an iso image of the NT CD.  Then use the bochs
diskimage utility (don't remember the name) to create a suitably-sized
hard disk image.  I think mine was 504M.

Set up Bochs with the emulated floppy in drive A, the disk in drive C,
and the NT ISO image in drive D.  Boot from floppy.  Fdisk and format
the hard disk, reboot, and run the NT installer from the CD.  Sit back
and wait a long long time; when you reboot make sure you're booting from
the HD image, not the CD or floppy.  I used standard VGA and no mouse
for my install; I don't know if that's necessary or not.

Once you've done that and set up NT (I set up a network card but did not
ever actually configure the network), shut it down cleanly.

Now copy the hard disk image over to Linux/390.  Build Bochs there.
Tell it the geometry of your disk, and boot from it.  That's all it
takes.

Adam

Reply via email to