Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Ported Packages   » Using Bochs ('no vga-font' error)

UBBFriend: Email this page to someone!    
Author Topic: Using Bochs ('no vga-font' error)
Boris Mann
Junior Member
Member # 70

posted September 03, 2001 06:34 PM      Profile for Boris Mann   Author's Homepage   Email Boris Mann   Send New Private Message      Edit/Delete Post  Reply With Quote 
post a little 'how-to' on Bochs, since I got it working after doing a little research.


  1. Install the Bochs pkg file
  2. Next, you'll need to go grab an OS image of some kind. You can get these from the Bochs disk images page ( http://bochs.sourceforge.net/diskimages.html ). I chose the FreeDOS image, so your mileage may vary.
  3. 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.
  4. You should get output similar to the following:
    code:

    [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
    ========================================================================


  5. This is the part where I had to do some digging. Pretty self-explanatory once I found this page -- ( http://www.freebsdzine.org/200104/bochs.php3 ). You need to download this file ( http://www.FreeBSD.org/cgi/cvsweb.cgi/~checkout~/src/usr.bin/doscmd/cp437-8x16.pcf.gz.uu ), which is the proper font.
  6. Finally, you need to run the following commands as root in a terminal window:
    code:

    # 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


  7. 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....

Hope this helps

-- Boris

[ September 03, 2001: Message edited by: Boris Mann ]


Posts: 4 | From: Ottawa, ON, Canada | Registered: Sep 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2