LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-02-2006, 03:10 AM   #1
Lemmingz
LQ Newbie
 
Registered: Nov 2002
Posts: 20

Rep: Reputation: 1
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.
 
Old 08-03-2006, 12:12 PM   #2
crashsystems
Member
 
Registered: May 2006
Location: Tennessee et. al
Distribution: Debian Sid, Etch
Posts: 138

Rep: Reputation: Disabled
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
 
Old 08-03-2006, 04:45 PM   #3
Lemmingz
LQ Newbie
 
Registered: Nov 2002
Posts: 20

Original Poster
Rep: Reputation: 1
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
 
Old 08-03-2006, 05:53 PM   #4
crashsystems
Member
 
Registered: May 2006
Location: Tennessee et. al
Distribution: Debian Sid, Etch
Posts: 138

Rep: Reputation: Disabled
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
 
Old 08-03-2006, 09:05 PM   #5
Lemmingz
LQ Newbie
 
Registered: Nov 2002
Posts: 20

Original Poster
Rep: Reputation: 1
ok i tried that and what i get is.

Booting from Hard Disk...
FreeDOS

and nothing else happens
 
Old 08-03-2006, 09:46 PM   #6
Lemmingz
LQ Newbie
 
Registered: Nov 2002
Posts: 20

Original Poster
Rep: Reputation: 1
i also tried an actual widdos98 boot image
and i get

Disk I/O error
replace the disk and press any key
 
Old 08-04-2006, 10:03 AM   #7
crashsystems
Member
 
Registered: May 2006
Location: Tennessee et. al
Distribution: Debian Sid, Etch
Posts: 138

Rep: Reputation: Disabled
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
 
Old 08-18-2006, 06:31 PM   #8
sleepindawg
Member
 
Registered: Aug 2003
Location: Kansas... USA
Distribution: Mandrake10 Offical, Debian Sarge, Knoppix, GO Ubuntu!!! my new home
Posts: 79

Rep: Reputation: 15
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...

Last edited by sleepindawg; 08-18-2006 at 06:33 PM.
 
Old 08-18-2006, 11:08 PM   #9
Lemmingz
LQ Newbie
 
Registered: Nov 2002
Posts: 20

Original Poster
Rep: Reputation: 1
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!
 
Old 08-22-2006, 12:38 AM   #10
sleepindawg
Member
 
Registered: Aug 2003
Location: Kansas... USA
Distribution: Mandrake10 Offical, Debian Sarge, Knoppix, GO Ubuntu!!! my new home
Posts: 79

Rep: Reputation: 15
Did you mount your cdrom?
 
Old 08-22-2006, 01:38 PM   #11
Lemmingz
LQ Newbie
 
Registered: Nov 2002
Posts: 20

Original Poster
Rep: Reputation: 1
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

Last edited by Lemmingz; 08-22-2006 at 01:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qemu: qemu stopped right after command exec bitpicker Linux - Software 1 03-04-2005 11:25 PM
Problem loading WIN98 AFTER LINUX 9.2 INSTALLED on seperate hard disk C Clark General 3 04-18-2004 01:47 PM
Mozilla closes while loading (win98) Eric Marcarelli General 3 10-27-2003 01:42 PM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration