Open terminal, log in as root:
- Code: Select all
su -l
password: (your root password)
then install qemu if you haven't done so already
- Code: Select all
yum install qemu
After you have installed qemu, create an image.
- Code: Select all
qemu-img create -f qcow c.hd 1200M
Note: Your image can't exceed 2GB since Windows 95 uses FAT16.
Note 2: This will create the image on root, you might want to make the image adress /home/yourusername/c.hd
Now, download this boot disk:
http://www.ibiblio.org/pub/micro/pc-stu ... basecd.iso
Copy it to /home/yourusername/
Run this command
- Code: Select all
qemu -hda c.hd -cdrom /home/yourusername/fdbasecd.iso -boot d
This should launch FreeDoss.
Press 1 to boot the CD-ROM
Select the first option to Install to harddisk using FreeDOS SETUP
Then select to prepare the harddisk for FreeDos by running XFDisk
Now, what we will want to do once XFDisk is loaded is to press enter and select new Partition. Make it a primary partition and press enter on all the subsequent options. Once you've set up your partition you're going to want to press enter again and select change partition type. Make it FAT16 INT13X (windows 95 doesn't recognize FAT32). Once you've done this it should say FAT16 under system.. now you can press F3 to quit. Before you quit it will ask you if you want to write the partition table. Selecet yes and let it complete, then let it reboot.
It should go back into FreeDos. Boot up as you did previously, but this time select No (return to command prompt). In the command prompt type:
- Code: Select all
FORMAT C: /S
Type a new volume name for your drive (it doesn't matter) and when it's complete you can exit out of qemu.
Now, we don't need the fdbasecd.iso file. Instead we'll need the floppy image of the Windows 95 Boot Disk. You can find it here:
http://www.allbootdisks.com/downloads/D ... ows95a.img
http://www.allbootdisks.com/downloads/D ... ows95b.img
Download the boot disk for whatever version of Windows 95 you have and place it in the /home/yourusername/ directory.
Now, run this command in terminal:
- Code: Select all
qemu -soundhw sb16 -fda /home/yourusername/Windows95x.img -hda c.hd -cdrom /dev/scd0 -boot a
Note: If you have a image of Windows 95 you can use that path instead of /dev/scd0
Note 2: Remember to replace the x in Windows95x.img above to whatever image you downloaded.
It should boot into another command prompt.
Type this:
- Code: Select all
R:
Then:
- Code: Select all
Setup
And... voila! You're in the Windows 95 setup. Go through the set up. When Windows asks you to reboot, close qemu and run this:
- Code: Select all
qemu -soundhw sb16 -hda c.hd -cdrom /dev/scd0 -boot c
It should now run windows! It will finalize the set up a bit, then you're good to go!
If you have any questions feel free to reply. Windows 95 should be slightly faster than 98. You should run the CPU HLT program that is referenced here:
viewtopic.php?f=19&t=2408&start=0
That mirror is broken, but it can be found here: http://toogam.com/software/archive/driv ... mnhltm.zip
A few other notes:
If you want to create an image of your Windows 95 CD, type this in terminal:
- Code: Select all
dd if=/dev/scd0 of=/home/yourusername/win95.iso
Secondly, if you did this all in root, you're going to need to change the permission of c.hd so that your user can read and write. Otherwise, nothing you do in Windows 95 will ever save.
You can set up qemu to launch any way you'd like. This is how I have it launched:
qemu -soundhw sb16 -hda /home/michael/c.hd -hdb fat:rw:/home/michael/Shared -cdrom /dev/scd0 -boot c -full-screen
The -hdb fat:rw:/home/michael/Shared business is explained here: viewtopic.php?f=19&t=2408&start=0
Here is my fluxbox command for launching windows 95 from the menu:
[exec] (Windows 95) {/usr/bin/qemu -soundhw sb16 -hda /home/michael/c.hd -hdb fat:rw:/home/michael/Shared -cdrom /dev/scd0 -boot c -full-screen}
If you don't have fluxbox ignore this bit.
Hope this helps.