22.02.2015 Views

Windows 95&98 guest OS.pdf - Dodo

Windows 95&98 guest OS.pdf - Dodo

Windows 95&98 guest OS.pdf - Dodo

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

virtualbox.org<br />

End user forums for VirtualBox<br />

Advanced search<br />

Board index ‹ General ‹ Howtos and Tutorials ‹ <strong>Windows</strong> Guests<br />

Change font size<br />

Print view<br />

FAQ<br />

Register<br />

Login<br />

Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es<br />

Post a reply<br />

2 posts • Page 1 of 1<br />

Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es<br />

by Technologov » 23. Sep 2008, 13:30<br />

Since this is now became a common request by many, I decided to write a<br />

tutorial about <strong>Windows</strong> 9x (95/<strong>98</strong>/<strong>98</strong>SE/Me) usage on VirtualBox.<br />

Forenote: <strong>Windows</strong> 9x is not officially supported by VirtualBox team, which<br />

means, that it lacks Guest VM Additions, and it runs slowly, because VirtualBox<br />

is not optimized to run Win 9x.<br />

1. Installation - I won't cover here in detail, except few points.<br />

1 of 12 18/11/10 12:26


Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

Most CD-ROMs available for <strong>Windows</strong> 95/<strong>98</strong> are not bootable, which means,<br />

that you must boot from D<strong>OS</strong> floppy, install D<strong>OS</strong> first and only then install<br />

<strong>Windows</strong> 95/<strong>98</strong>.<br />

*It does require D<strong>OS</strong> skills*<br />

Official bootable CD media is starting from <strong>98</strong>SE. So if you're newbie, you<br />

should use <strong>Windows</strong> <strong>98</strong> SE bootable CD.<br />

Additionally I strongly suggest to limit system RAM to 512 MB for those <strong>OS</strong>es.<br />

Otherwise it will crash. (There are workarounds, that allow Win 9x run on<br />

modern physical systems, but I won't go into detail here)<br />

For this tutorial, I presume, that you are able to install the <strong>OS</strong>.<br />

Installing with ACPI:<br />

(contributed by Richard_S)<br />

Contrary to what you may have read here in some of the other VirtualBox<br />

Win<strong>98</strong> threads, this is NOT because Win<strong>98</strong>se is a poorly written piece of<br />

antiquated crap that doesn't even know how to properly handle CPU IDLE.<br />

Back when a lot of todays young Linux geeks were still pooping their dipiys,<br />

Win<strong>98</strong> was already supporting ACPI functions to create greener PCs and help<br />

keep laptops from running down their batteries in 10 minutes (which is exactly<br />

what DID happen to me the first time I installed Linux on a laptop that was<br />

working FINE in Win<strong>98</strong>).<br />

So, long story short, there is NOTHING really wrong with Win<strong>98</strong>, the problem<br />

is that VirtualBox's emulated BI<strong>OS</strong> doesn't fully match up with what Win<strong>98</strong><br />

expects a real ACPI BI<strong>OS</strong> to look like, so by default Win<strong>98</strong> will not install ACPI<br />

support (and unfortunately, the older APM support doesn't handle CPU IDLE,<br />

so we get problems).<br />

The solution is to FORCE ACPI support to be installed, by using the<br />

/p j<br />

command line switch when running the setup program that installs Win<strong>98</strong>.<br />

This means that you can't just jam the virtual CD into the virtual CD drive and<br />

let 'autorun' take care of everything.<br />

The best way to handle this is to simply move the Win<strong>98</strong> install folder from the<br />

<strong>Windows</strong> <strong>98</strong> SE CD onto your virtual C: drive in VirtualBox, then change<br />

2 of 12 18/11/10 12:26


Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

directory to that folder in a D<strong>OS</strong> prompt and run the setup program manually:<br />

setup /p j<br />

This will force ACPI power management (and the associated CPU IDLE<br />

functions) to be installed, and your Win<strong>98</strong> virtual machine will consume no<br />

more system resources when running than a similar XP or Linux virtual<br />

machine.<br />

2. Sound /Audio Integration.<br />

In VirtualBox, you must enable Sound, and use "Sound Blaster 16".<br />

It is available since VBox 1.6.0.<br />

The procedure for installation is rather simple:<br />

NOTE: The procedure below is only needed if you switch from AC'97 to SB16.<br />

It is not needed, if you create new VM with SB16, then install Win<strong>98</strong> on it.<br />

2.1. Delete your sound card device and all unknown devices from "Device<br />

Manager".<br />

2.2 Add New Hardware (from Control Panel).<br />

3 of 12 18/11/10 12:26


Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

4 of 12 18/11/10 12:26


Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

2.3 Select "no, device is not listed in the list".<br />

5 of 12 18/11/10 12:26


Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

2.4 Let <strong>Windows</strong> search for non-plug'n'play devices.<br />

6 of 12 18/11/10 12:26


Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

2.5 It will manually detect non-plug-n-play devices. Click on "Details" to<br />

show them.<br />

Image<br />

2.6. It will find "Soundblaster 16 or AWE 32 or compatible".<br />

7 of 12 18/11/10 12:26


Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

2.7. Restart the VM.<br />

3. Video driver integration.<br />

By default <strong>Windows</strong> <strong>98</strong> will run only in 640x480 resolution, 16-colors.<br />

Performance Note: VirtualBox is not optimized for 16-colors (4-bit) emulation.<br />

It works very slow this way.<br />

Having 32-bit True Color driver makes Win<strong>98</strong> VMs run on VirtualBox *much*<br />

faster.<br />

If you want True color or high resolution, you need to download special drivers.<br />

3.1. bearwindows driver<br />

http://bearwindows.boot-land.net/vbe9x.htm<br />

8 of 12 18/11/10 12:26


Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

NOTE: You must install "Universal version", as "VirtualBox" version is known<br />

to have problems.<br />

3.2. SciTech Display Doctor<br />

The second option is to get the SciTech Display Doctor version 7 beta driver -<br />

(contributed by Richard_S)<br />

http://majorgeeks.com/download382.html<br />

The driver is a high quality commercial grade video driver (even includes some<br />

software emulated Open GL 3D support), and it does include an exe installer<br />

program.<br />

Despite having an installer, the SciTech Display Doctor is a little tricky to get<br />

going. After the program launches, you have to find the little round radio<br />

button link to click to 'enable' the new driver (otherwise you still have VGA).<br />

Even then, you can't select any higher resolution modes until you ditch the<br />

'default monitor' and select one of the 'Super VGA' types.<br />

After fiddling around with the above changes and rebooting several times you<br />

should be able to select 800x600 or 1024x768 (or higher) resolutions with 32<br />

bit color depth. (setting 32 bit color mode optimizes the interface with<br />

Virtualbox and really speeds things up)<br />

Another issue with the Scitech Driver is that it was released years ago as<br />

'trialware' with a 21 day trial limitation, and the company has since gone out of<br />

business. It has been reported here on this forum that before going defunct,<br />

Scitech released the software for 'free use' and published registration codes on<br />

their FTP server. Sadly that server is long gone and all the links are dead.<br />

Since the software was made available before this happened, I don't think I am<br />

stepping out of line by saying that you can Google around and find the<br />

registration information. There are a lot of codes that DON'T work so it can be<br />

a bit discouraging, but the proper registration information IS out there so keep<br />

trying and you will find it. (Hint: Try Googling something like SciTech Display<br />

Doctor 7 CSCKnight )<br />

CD-key here:<br />

http://www.arcadenea.com.ar/content/blogcategory/1/65/<br />

4. Network<br />

Easiest thing, is to setup VirtualBox to NAT, and AMD PCnet-II network chip.<br />

It will be auto-detected by Win 9x.<br />

9 of 12 18/11/10 12:26


Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

5. Mouse<br />

Unfortunately, Mouse integration is not provided.<br />

If someone wants to try something novel, I recommend starting with "synergy".<br />

Or write the driver.<br />

http://synergy2.sourceforge.net/<br />

6. Shared Folders<br />

Since VirtualBox shared folders won't work, there are other ways, such as<br />

SMB/<strong>Windows</strong> File Sharing. Recommended for <strong>Windows</strong> hosts.<br />

(Tested with VBox 2.1.2.-- and was successful with "bridged" network. I had no<br />

success with NAT.)<br />

WARNING: I admit that with VirtualBox the network is very unstable,<br />

presumably due to very slow performance of Win 9x <strong>guest</strong>s under VBox.<br />

For Unix hosts, WinSCP is recommended.<br />

Another way of read-only file sharing is to create a virtual CD-ROM *.iso file on<br />

the host and insert it into the <strong>guest</strong> VM.<br />

7. Clipboard HostGuest<br />

(stefan.becker)<br />

Clipboard integrated in VirtualBox only works with the Guest Additions, so not<br />

for <strong>Windows</strong>9x. But there is another solution: Clipboard over TCP/IP.<br />

A Solution tested successfull with Linux Host is ShareClip:<br />

http://homepage.mac.com/bnej/shareclip/<br />

-Technologov, 2.9.2008.<br />

updated on 20.7.2010.<br />

This topic is only for additions to this tutorial. Do not ask questions about how<br />

to get something working. Use a separate topic for that.<br />

Last edited by Technologov on 23. Feb 2009, 00:15, edited 2 times in total.<br />

Technologov<br />

Site Moderator<br />

Posts: 1822<br />

Joined: 10. May 2007, 16:59<br />

10 of 12 18/11/10 12:26


Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

Location: Israel<br />

Top<br />

by fixedwheel » 23. Sep 2008, 13:58<br />

avoid 100% CPU load<br />

Win9x is using an idle loop instead of HLT: the loop lets the host CPU running<br />

the Win9x virtual machine consume 100% all the time. This only applies to<br />

D<strong>OS</strong> and D<strong>OS</strong> based Win (3.x, 95/<strong>98</strong>/ME) - NT based <strong>Windows</strong> and all other<br />

operating systems are not affected<br />

Install rain, waterfall or cpuidle in the Win9x <strong>guest</strong> - my preference is rain as it<br />

only does what is needed -replace the idle loop with HLT execution- and<br />

nothing more<br />

here is a link explaining something about, related to real hardware<br />

http://estu.nit.ac.jp/~e<strong>98</strong>2457/other/cpuidle/idle.htm<br />

d/l rain from here: http://www.benchtest.com/downloads/index.html<br />

fixedwheel<br />

Volunteer<br />

Top<br />

Posts: 1206<br />

Joined: 13. Sep 2008, 02:18<br />

Display posts from previous:<br />

Sort by<br />

Post a reply<br />

2 posts • Page 1 of 1<br />

Return to <strong>Windows</strong> Guests<br />

Jump to:<br />

11 of 12 18/11/10 12:26


Tutorial: <strong>Windows</strong> 95/<strong>98</strong> <strong>guest</strong> <strong>OS</strong>es (View topic) • ...<br />

http://forums.virtualbox.org/viewtopic.php?f=28&...<br />

Who is online<br />

Users browsing this forum: No registered users and 1 <strong>guest</strong><br />

Board index<br />

The team • Delete all board cookies • All times are UTC + 1 hour [ DST ]<br />

Get<br />

VirtualBox<br />

Forum powered by phpBB © phpBB Group<br />

By any use of this Website, you agree to be<br />

bound by these<br />

Policies and Terms of Use<br />

Sponsored<br />

by<br />

12 of 12 18/11/10 12:26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!