Howto: Install OSes into a Virtual Machine

edited August 2017 in Software
I really didn't think that someone would need instructions like this but, after having to answer 5 questions on IRC this week on how to set up Virtual machines, I decided I'll post some tutorials on how to set up some of the legacy virtual machines that some people don't really use as much anymore (anything before Windows 2000) so people have some basic installs of Windows for people to play with. I really didn't think this would be necessary, but oh well.
I'll start off with showing how to install the Windows 9x series. Windows 95 and 98 installs should be the same.
Begin with downloading a boot disk from Winworld. I usually stick with a custom Windows 98 install disk (which I don't seem to see at the moment, so I'll mirror the one I use) In addition to that, download one of the ISO files from the site too. For this tutorial, I'm using the 95A cd. Personally, I suggest you use the 95C install CD found here.
For this tutorial, I will be using VMWare Player to run my virtual machine. That's because it's the only one I have installed at the moment. Start with opening VMware Player. You'll get the following screen (Minus what I already have set up on my machine.)
1-Vmwareplayerfront.png
Click "Create a New Virtual Machine." You will be greeted with this menu.
2-Createvirtualmachine.PNG
I assume you are smart enough to have extracted the 7zip file to wherever you wanted it to be already. If you didn't do that, you're a moron who shouldn't be attempting this to begin with. Go ahead and click browse to navigate to your folder where it's extracted to. Windows NT 4 and Windows 95 and newer should be automatically detected by Vmware. Click next.


Choose wherever you decide to save this virtual machine to. It's your choice for that window. Click next afterwards. You should be greeted with this window:
3-Virtualdisk.PNG
The defaults should be okay, however I feel like for a Windows 95 install, 8GB seems a bit excessive. I used to manage 95 in less than 2GB just fine. If you are going to be using a older version of 95 (I'd say 95A or earlier, change the disk size to 2GB!)

Vmware will finish it's wizard and give you these defaults:
4-defaults.PNG
64MB is more than enough for Windows 95. Go ahead and click Finish. The virtual machine should boot. If you chose a Windows 95C disc or higher, it will boot off the cd and right into setup. 95B will dump you to a dos prompt. 95A's CD is NOT bootable. If you get the network boot screen with any of these cds, click the menu Virtual Machine and go to "Virtual Machine Settings". Select floppy.
5-Floppy_settings.PNG
Choose "Use floppy image file and navigate to a boot disk file you downloaded earlier. My disk image is a .IMA file, so you have to hit the pull down menu to the side and make sure it displays all files.
6-Floppyboot.PNG
Hit "connected" and then Hit okay after you see your disk chosen.
Go to Virtual Machine > Send Ctrl+alt+delete to reboot the virtual machine.
8-dosboot.png
Accept the default option to boot with CDROM support. It's not needed yet, but select it anyways.

9-partitonerror.png
With the bootdisk I use, you will get this nice error as you boot saying that there's no partition table. For a clean VM with nothing on it, this is typical. Type "fdisk" and hit enter. You will be greeted with this:

10-largedisk.png
If you are using OSR2, you can type Y and hit enter. If you are using 95A or earlier, type N and hit enter. Those earlier versions don't support FAT32 if I recall.
Welcome to FDISK.
11-fdisk1.png
Type 1 and hit Enter.
11-fdisk2.png
Type 1 again at this screen and hit enter. It will verify drive integrity and present you with this screen:
11-fdisk3.png
If you have large drive support enabled, or if your disk is only 2GB large and large drive support is disabled, just hit enter.
11-fdisk4.png
Next is this warning. Hit escape and get dumped back to the dos prompt. Restart the virtual machine using the ctrl-alt-delete option in the menu.
Now, after the machine reboots, wait until you get the A:\> prompt and type "Format C:\" and hit enter.
11-formatc.png
At the end, it will ask you if you want to enter a volume label. Go ahead and name it Win95 (or whatever you're installing to it). I do this so I can toy around with the disk images sometimes.

Now make a directory on the cdrive named "95inst", copy the entire contents of D: to that folder. (This can be done by doing "C: cd 95inst copy d:\*.* c:\95inst)
Now, you have a choice, install from that directory, or the disc. I still use the cd and have that 95inst folder as a fallback.
Type D:\setup to run setup from the cd or type C:\95inst\setup.exe if you are running from the hd.
12-setupinitalize.png
13-scandisk.png
Scandisk will run, allow it and when it finishes and says there's no errors, hit right arrow then enter.
14-setup1.png
Welcome to the 3.11 styled 95 setup. Hit continue.

Accept the license agreement, since nobody reads those, and begin the 95 setup wizard. I really don't hope I have to show people through this part. Accept all the defaults.
14-setup2.png
Use a license key from this topic.

16-setup3.png
Enter whatever you want for your name/company.
17-setup4.png
For hardware, select both boxes and hit next.
18-setup5.png
Wait for them to be detected. It's typically useless, but I always do it.
19-setup6.png
It takes 4 minutes to install 95 from here, max usually for me.
Wait until it asks you to reboot.
20-setup7.png
At this part, right click the cd icon and hit disconnect. Do the same for the floppy.
20-firstboot.png
As it's booting, right click the cd icon and hit connect, that was to keep the virtual machine from booting off the floppy (or cd if yours was bootable)
If you didn't, you will get this error:
20-firstboot2.png
20-firstboot3.png
Times you will get this if there was a ramdisk too, if you do, hit browse. On the older 95 installs, it won't detect the cd drive at all in setup right now. It's kind of weird. This is avoided if you copy the cd's contents to your harddrive. If you didn't do this, you can typically skip these and you'll get a bunch of errors on your final reboot, typically related to networking components. You can ignore these typically.
21-network.png
If you get a networking message like this, go ahead and fill it out. After this, it will ask to reboot.
You should be at the 95 desktop after reboot. Go ahead and install VMware tools. Hit virtual machine, install vmware tools. Accept defaults. The setup file will complain that IE4 is not installed. Ignore it. IE4 is useless and not needed. If your SVGA driver did not properly install, you will get an error and a text file will appear after setup showing you what to do.
Reboot the machine. If you had errors during 95 setup about missing files, they will still appear.
22-booterrors.png
If you had those issues, I'll show you how to fix that.
Those errors are all related to networking drivers. They will need to be installed.
23-networking.png
First check to see if you have your networking device installed. You can tell mine is, but there's some other crap that isn't. If it isn't, install your networking adapter using the driver with the same name as mine.
23-networking2.png
Afterwards, go to Network in the control panel. Remove all those networking components except for your adapter and hit okay. Reboot your virtual machine.

Reenter the networking option in the control panel and add network components. You only need client for Microsoft networks and TCP/IP. If you get an error about it trying to pull from E:\ change the option to D:\ and try again. It should work if the cd is still mounted. When you reboot, those errors should go away.

Issues with 95:
95A is not compatible properly with Vmware tools. You can not resize the window and have the screen resolution change. It seems to work on 95C though.
95A also seems to have problems with audio drivers. They do not see the proper audio card and won't install the driver for it.
USB support is nonexistent unless you use 95 OSR2 or higher. Remember that.
I typically stick with using 98 for a 9x OS in vmware. It installs the same way as 95 does, however I never encounter the CD issue with 98's setup.


Software suggestions:
Web browsing:
K-melon Uses the same engine as firefox. I use it in a 98 VM so it might work in 95.
SeaMonkey - fork of the old Mozilla suite. Weird enough I've seen a useragent running Windows 95 and Seamonkey fetch my signature image in my logs, so I assume it works in 95.

I'll post a guide on how to do NT3.51 and Win 3.11 soon. It does install in vmware, but requires some tricks.

Comments

  • Great tutorial. I've never tried NT 3.51, I'll be looking forward to that. And also, WB has an irc?
  • Great tutorial. I've never tried NT 3.51, I'll be looking forward to that. And also, WB has an irc?
    Yes. irc.efnet.net #winboards.

    NT3.51 is fairly tricky. Last week when I messed with it, VMware had some issues with getting 3.51 to boot properly. It'll sit at the boot screen and say there's a massive amount of ram and hang. (Typically it appears to be 256mb more than it should be if you're not using Service Pack 3 or higher.) You have to toy with the VMware BIOS settings before it boots to get it to run properly. Wrong setting in there sometimes causes strange results too, like the boot screen saying you have 4PB of ram, then throws an OS/2 style crash screen. I'll write up something for that within the next two weeks or so, that way people actually have instructions on how to properly install it.

    PS, love the fact that I have a -1 reputation score for this howto.
  • This seems like a fun idea! I can completely understand how frustrating it must be to answer questions about things that feel so trivial to us, but even we were complete and utter noobs at some point.

    You've done a great job detailing the OS installation process, I've got a couple more advanced tweaks that might help out too.

    Newer versions of VMware have done away with the "AMD PCNET" ethernet and SoundBlaster sound settings by default, but you can add them to your VM on your own!

    I am using VMware Workstation instead of Player but I would imagine these options should still be present.

    To start ensure your VMware client and virtual machines are closed/shut down. Go into the folder where your virtual machines files are located (by default Documents\Virtual Machines), you want to open the .VMX file in a text editor
    vmxfolder_zpsd69555a2.png

    Once inside you need to change or add the following lines:
    VMX_zps31264be7.png

    Some OSes are happier with another option for networking, you can emulate an Intel E1000 by changing "vlance" to "E1000"!

    Other options for the sound device are "hdaudio" and "es1371".

    The VMX file really allows you to make lots of customizations that they sadly don't give GUI options for, changing these two can be a quick way to troubleshoot sound or ethernet issues with the various operating systems you may want to virtualize.
  • Great tut! glad rto be a part of the Winworld community.
  • Thanks for this guide.
  • 95 and 98 are not he same. 95 you have to copy the cabs to the hard disk.
  • 95 and 98 are not he same. 95 you have to copy the cabs to the hard disk.
    There are some instances where the optical drive may not be seen after the first reboot of the setup process if that is what you are referring to, I'm not sure if that happens in a virtual machine.

    Also, with 4 versions of Windows 95, that problem may be more likely to occur with RTM or A.
  • I vaguely remember having this issue with B about 15+ years ago.
  • The CD issue I've had with A and B.
  • I have also had the CD issue with C as well.
  • Please make one for MS Chicago because I have gone to some
    chinese forums and they are all critisizeing your chicago iso's because they "don't work" but that is all due to them not knowing to use the bootdisk and fdisk -_-!
    Thanks, po
    EDIT1:And memphis too!
  • Like!

    This is a suggestion to the administrators:

    Since this site is devoted to mostly old/abandoned OS and software, and most of us the only way we have to reproduce this is through virtualization, would it be posible to make a specific section for virtualization under "Discussion & Support", alonside with "Hardware", "Software",..? For this and other similar topics, I mean.

    I'm fond of virtualization, home and work, and always love to play with old MS OS, and sometimes it's rather combersome to search through all the forums in internet to quite find something substancial?

    Thx.
  • Here's a suggestion:
    Post a guide to installing NT 3.1
  • Topic split.
  • Very nice tutorial, very informative and very understanding for a beginner with VMware. Now something cool you may want to do is check out the "Horizon Client" for chrome books. You can find it in the chrome web store and it lets you make and run virtual machines on a chrome book. Now this could be used for more then just running Windows 98 on a chrome book, in theory you could install windows 10 and run windows applications such as Minecraft, Eclipse, Firefox, and a whole lot more. Schools could use this by taking advantage of the chrome book's cheap cost and then running a Windows 10 virtual machine on it so its like a full blown laptop. Kind of an interesting thought. :idea:
  • Can you make it in windows nt 4.0 or windows 2000?
  • It's also worth noting that some versions of Windows 9x (I can't remember which exactly) fail to detect the CD-ROM drive in the second part of setup after reboot, so the safe thing to do is copy the CD contents to the hard disk first.
    MKDIR C:\WINSETUP
    XCOPY /E R:\ C:\WINSETUP
    C:\WINSETUP\SETUP.EXE
    
  • @noone said:
    DeepFriedCookies wrote:

    Great tutorial. I've never tried NT 3.51, I'll be looking forward to that. And also, WB has an irc?

    Yes. irc.efnet.net #winboards.

    NT3.51 is fairly tricky. Last week when I messed with it, VMware had some issues with getting 3.51 to boot properly. It'll sit at the boot screen and say there's a massive amount of ram and hang. (Typically it appears to be 256mb more than it should be if you're not using Service Pack 3 or higher.) You have to toy with the VMware BIOS settings before it boots to get it to run properly. Wrong setting in there sometimes causes strange results too, like the boot screen saying you have 4PB of ram, then throws an OS/2 style crash screen. I'll write up something for that within the next two weeks or so, that way people actually have instructions on how to properly install it.

    PS, love the fact that I have a -1 reputation score for this howto.

    That's funny, NT3.51 works fine in VirtualBox...

    Which reminds me, when I have time I'll be posting a how-to for installing OSes under VirtualBox.

  • You should tell newbies how to use fixpack, too (Windows 95's CPU fixer). Anyways great guide for newbies (not like me)

  • @windowsio said:
    Great guide for newbies (not like me)

    Sure... :lol:

  • Thanks @noone for this tutorial. I don't use VMware, I use VirtualBox for virtual machines, and I've always known how to use that hypervisor. Well, maybe I could start using VMware, because I'm always looking to try new software. But good tutorial, I'll give you that ;)

  • If you're doing this with VMware 14 or above + AMD processor, you'll have to downgrade to VMware 12 or use an Intel processor.
    If it still doesnt work, use pcem or 86box

  • edited November 2019

    You have to start over Install MS-DOS 7.10 then atter that type d:\setup for windows 95 installation ( you must insert the Windows 95 cd disk, no need floppy disk boot anymore )
    and follow the setup did so on
    This is also working on Vurital Box.

  • edited November 2019

    tutor: como instalar o windows 3.1 no pcem 15
    va no site do pcem e baixe o pcem 15
    depois baixe aqui o windows 3.1






























Sign In or Register to comment.