Win95 install under qemu
Hi--
Hope someone can help me with this. I have tried to install Win95 under qemu and can get only so far. The key, it seems to me, is that Win95 needs both a CD and a floppy to install. I have done apt-get install qemu, created the virtual disk, etc. I got a boot disk image from http://www.bootdisk.com and created a boot disk. Then I did this: Code:
# qemu -boot a -fda /dev/fd0 -hda /home/doug/qemu/hd.img I tried to pkunzip the image file, got winb95b.IMA which I renamed to winb95b.img, and then used this code on it--it gets to "booting from floppy" and then hangs: Code:
$ qemu -boot a -fda /path/to/my/bootdisk.img - hda /home/doug/qemu/hd.img Is this peculiar just to Win95? And the big question: How can I get this to install? Thanks for your help. I rely on you guys a lot. Maybe some day I can give advice to new(er) people, just like you folks! ;) |
Quote:
|
AdaHacker--
Thanks, you are giving me hope! So after a few false starts from the hint to specify the cd drive, I did this: Code:
qemu -boot a -fda /dev/fd0 -cdrom /dev/hda -hda /home/doug/qemu/hd.img But I cannot seem to get any further--Can't actually get Win95 to install. Restarting the original linux command just gives me an a:/ prompt and I can switch to a c: prompt. Perhaps I need to have some sort of cdrom support. So what's next? Thanks! I can almost taste getting this thing installed! |
Quote:
I don't know exactly what boot disk you're using, but there's a chance that you'll need to install some generic ATAPI CD-ROM drivers before DOS will be able to see the CD drive. I know I've had to do that in the past. |
AdaHacker--
OK, I changed the command line to: Code:
# qemu -boot c -cdrom /dev/hda -hda /home/doug/qemu/hd.img So the question of the hour seems to be, where do I find the CD driver, and then how do I get it to where the virtual machine can see it? Copy it to the floppy and boot one more time from the floppy? Close, so close.... Thanks, AdaHacker! And a Happy new year! |
OK, I just noticed this - you're giving the wrong device for the CD drive. Your CD drive is almost certainly not /dev/hda, unless you have a really bizarre hardware setup. More likely it's /dev/hdc or /dev/hdd.
As for the A: drive no longer being valid, that's because you didn't specify it on the command line this time. Try something like this: Code:
# qemu -boot c -fda /dev/fd0 -cdrom /dev/hda -hda /home/doug/qemu/hd.img Concerning CD-ROM drivers, Google is your friend. A quick search for "DOS generic ATAPI CD-ROM drivers" turned up this file, which may meet your needs. Note that I haven't tried this, so I can't vouche for its quality. The page I found that on also has lots of other drivers and information. |
AdaHacker--
OK, I used the code you provided, booted up both floppy and the new C:\ drive, and copied the floppy contents over to the c:\ drive. On the floppy I had: Code:
root@doug2:/home/doug/qemu # ls /media/floppy0 Is there a command line way to find out where the cdrom actually is? I want to believe you are right, because it seems reasonable. Is it possible that cdsys stuff is the cd drivers I need? What do I do with them. Thanks AdaHacker for sticking with me on this. We are making progress! Thanks to you, that is.... |
OK, found a sloppy way to do what I asked: I put a cd in the cdrom drive and typed mount. What I got was:
Code:
/dev/hda on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,user=doug) So it tells us, it seems to me, that we have to look elsewhere other than the possibility of the cdrom not being specified correctly. Do you see it the same way? Thanks! |
Quote:
From the listing you posted, it looks like you probably already have CD drivers on your boot disk. Check your config.sys and autoexec.bat to see if they're being loaded. If you're booting from the C: drive, make sure you've copied both those files into C:\, otherwise the drivers won't be loaded on boot. |
AdaHacker--
Somehow you got me installed! I "din't change nuthin'!" I restarted qemu using Code:
# qemu -boot c -fda /dev/fd0 -cdrom /dev/hda -hda /home/doug/qemu/hd.img So is that the same code I will use to start up qemu from now on? Or should I switch it? I have a bunch of new questions about what to do with it now that I have it installed, so I will start some new threads with those questions, since they are off topic for this thread. Thanks AdaHacker for sticking with me and for all your help--you are a life saver! :D :D |
I'm glad you were able to get it working.
Quote:
|
All times are GMT -5. The time now is 08:49 PM. |