Using Bochs ('no vga-font' error)

Discuss installation and usage of the packages from macosx.forked.net.

Using Bochs ('no vga-font' error)

Postby bmann » Tue Sep 04, 2001 1:34 am

post a little 'how-to' on Bochs, since I got it working after doing a little research.

<OL TYPE=1>
[*] Install the Bochs pkg file
[*] Next, you'll need to go grab an OS image of some kind. You can get these from the Bochs disk images page ( <A HREF="http://bochs.sourceforge.net/diskimages.html" TARGET=_blank>http://bochs.sourceforge.net/diskimages.html</A> ). I chose the FreeDOS image, so your mileage may vary.
[*] From the terminal of your choice (you must be running X), cd to the disk image folder you just downloaded. All the ones from the Bochs page have pre-set .bochsrc files, so just type bochs at the command line.
[*] You should get output similar to the following:
<BLOCKQUOTE><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><HR><pre>
[localhost:~/freedos-img] bmann% bochs
========================================================================
Bochs x86 Emulator 1.2.1
June 12, 2001
========================================================================
00000000000 [ ] looking for configuration in .bochsrc
00000000000 [ ] reading configuration from .bochsrc
00000000000 [ ] using log file out.bochs
========================================================================
Bochs is exiting with the following message:
[XGUI] Could not open vga font
========================================================================
</pre>[/quote]
[*] This is the part where I had to do some digging. Pretty self-explanatory once I found this page -- ( <A HREF="http://www.freebsdzine.org/200104/bochs.php3" TARGET=_blank>http://www.freebsdzine.org/200104/bochs.php3</A> ). You need to download this file ( <A HREF="http://www.FreeBSD.org/cgi/cvsweb.cgi/~checkout~/src/usr.bin/doscmd/cp437-8x16.pcf.gz.uu" TARGET=_blank>http://www.FreeBSD.org/cgi/cvsweb.cgi/~checkout~/src/usr.bin/doscmd/cp437-8x16.pcf.gz.uu</A> ), which is the proper font.
[*] Finally, you need to run the following commands as root in a terminal window:
<BLOCKQUOTE><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><HR><pre>
# uudecode cp437-8x16.pcf.gz.uu > cp437-8x16.pcf.gz
# cp cp437-8x16.pcf.gz /usr/X11R6/lib/X11/fonts/misc/
# mkfontdir /usr/X11R6/lib/X11/fonts/misc/
# xset fp rehash
</pre>[/quote]
[*] Now you will get past the error message in Bochs and you are up and away. Note: Bochs is *slllllooowwww*. Don't expect to be using it for anything practical at this point....
[/LIST]

Hope this helps [img]images/icons/rolleyes.gif"%20border="0[/img]

-- Boris

[ September 03, 2001: Message edited by: Boris Mann ]
bmann
 
Posts: 4
Joined: Mon Sep 03, 2001 7:00 pm
Location: Ottawa, ON, Canada

Return to Ported Packages

Who is online

Users browsing this forum: No registered users and 26 guests

cron