LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   loading win98 on qemu (https://www.linuxquestions.org/questions/linux-software-2/loading-win98-on-qemu-469988/)

Lemmingz 08-02-2006 03:10 AM

loading win98 on qemu
 
I'm trying to install win98 on qemu but i don't have a working floppy drive.
has anyone loaded it from a floppy img like freedos?
i can boot to freedos in qemu but it won't see my cdrom which has the win98 disk.
:scratch:

crashsystems 08-03-2006 12:12 PM

When you booted to freedos, did you use something like:
qemu -cdrom /dev/cdrom myimage.img


When I've used qemu I use that to get the cdrom on the guest os. Of course, you would need to find what dev file you are using for your cdrom, since I just put what mine is. Tell me if this works.

crashsystems

Lemmingz 08-03-2006 04:45 PM

this is how i boot to freedos

qemu -cdrom Win98SE.iso -hda c.img -m 256 -boot d

i copied my win98 disk to an iso image and put freedos.img in the boot sector of the iso. when i boot, it shows only the stuff that is in the freedos image. there is only a: and c: . one of which is the ramdrive. i have the cdrom in the cd drive, but i can't see it from freedos.
if i boot with

qemu -cdrom /dev/cdrom Win98SE.iso

i get a boot disk failure because that is where the origional win98 disk is and mine isn't bootable :cry:

crashsystems 08-03-2006 05:53 PM

It sounds like you might be makeing things a bit too complicated. Here is what I would do.

1. put the win98 cd in your cd drive
2. make a blank disk image useing qemu-img (name it hd.img)
3. qemu -cdrom /dev/cdrom -hda hd.img freedos.img

I think that should boot to your copy of freedos.img from your harddrive, and from there you can use the physical cd to copy the files from the cd to hd.img, just like you would in a normal installation. Also, you might want to double-check and make sure that /dev/cdrom is the file for your cdrom. It often is for linux boxes, but depending upon the distro, it could be different. Try that and see if it works.

crashsystems

Lemmingz 08-03-2006 09:05 PM

ok i tried that and what i get is.

Booting from Hard Disk...
FreeDOS

and nothing else happens

Lemmingz 08-03-2006 09:46 PM

i also tried an actual widdos98 boot image
and i get

Disk I/O error
replace the disk and press any key

crashsystems 08-04-2006 10:03 AM

Just a random question (it might not have anything to do with your problems), but have you tried burning the freedos/win98 image to cd, then actually booting a computer with it, instead of a virtual boot (just to make sure that your problem is not with the boot disk). If by chance that doesn't work, email me and I can send you an iso I've used many times. Other than that, nothing comes to mind at the moment, but I'll keep thinking about it.

crashsystems

sleepindawg 08-18-2006 06:31 PM

Just this morning i installed Qemu and with it used/installed win98 (NOT SE) and this is how i did it...

1. Make a blank disc image via>> qemu-img (named it c)
2. Then I put my win98 install disc in to my cdrom (/dev/cdrom)
3. Then mounted my cdrom (mnt /dev/cdrom)
4. Then started qemu with>> qemu -cdrom /dev/cdrom -hda c.img -boot d

And from there it was a normal win98 install...

Lemmingz 08-18-2006 11:08 PM

all i get is
boot from cdrom failed
fatal: could not read the boot disk

i was able to install win xp however it wouldn't let me log in!:mad:

sleepindawg 08-22-2006 12:38 AM

Did you mount your cdrom?

Lemmingz 08-22-2006 01:38 PM

i have tried it both ways mounted and un mounted

how do i boot from a floppy image and be able to access my cdrom?

i can boot from various floppy images on my hard drive but if i try to go to D: or E: they are invalid drives. i have tried other letters too.

under linux my cdrom is /dev/hdb


All times are GMT -5. The time now is 12:36 PM.