Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mini HowTo - installing windows 98 on qemu
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Wed Nov 09, 2005 9:26 pm    Post subject: Mini HowTo - installing windows 98 on qemu Reply with quote

1. Installation guest
At first we should install qemu :D
Code:

emerge qemu
.
When qemu is masked you have to unmask it :) . If you don't know how to do that read about unmasking in gentoo handbook. Now we must create new virtual disk.
Code:

qemu-img create disk.img 5G

disk.img - name of your virtual disk
5G - size of your virtual disk (in gigabytes)
When we created virtual disk, we can start the system :D. We can boot it from hard disk or from CD
a)Booting from CD
Code:

qemu -hda disk.img -cdrom /dev/cdrom -boot d

b)Booting from hard disk
Code:
qemu -hda disk.img -cdrom system.iso -boot d

System.iso is image of your Windows 98
----------------------------------------------------------------------------------------------------------------
You should see windows 98 installer. Then you install windows(it lasts 30 - 60 min). I think it's very simple :twisted:
3.Running win 98
Code:
qemu -user-net -enable-audio -localtime -m 192 -hda dysk.img -cdrom /dev/cdrom -smb share -boot c

-user-net ->creates firewall and give premission to using internet by windows 98
-m 192 -> creates ramdisk for windows98
-localtime -> win98 will be using localtime
-smb share -> you can give permission to share files in samba, which can be used by Windows
-boot c ->start from hard disk
Enjoy :twisted:
Here is my screenshot
[img=http://img76.imageshack.us/img76/1280/qemuleshka8ie.th.png]
_________________
:*
Back to top
View user's profile Send private message
Dizzutch
Guru
Guru


Joined: 09 Nov 2004
Posts: 463
Location: Worcester, MA

PostPosted: Wed Nov 09, 2005 9:33 pm    Post subject: Reply with quote

have you tested it with any other versions of windows? ie 2000 or XP?
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Wed Nov 09, 2005 9:49 pm    Post subject: Reply with quote

I've tested it on win XP. It' was running correctly :)
_________________
:*
Back to top
View user's profile Send private message
Dizzutch
Guru
Guru


Joined: 09 Nov 2004
Posts: 463
Location: Worcester, MA

PostPosted: Thu Nov 10, 2005 1:14 am    Post subject: Reply with quote

hrmm, it won't boot my win2k CDrom

Code:

ata0 master: QEMU HARDDISK ATA-2 Hard-Disk (5120 MBytes)
ata0  slave: Unknown device
ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
ata1  slave: Unknown device

CDROM boot failure code : 0004
Boot from CD-Rom failed
FATAL: Could not read the boot disk


i ran it with
Code:
qemu -hda disk.img -cdrom /dev/hdc -boot d


ever seen that before? the CD boots fine, could it be that all the files on the CD are in capital letters when I mount it?
Thanks
-Dizz
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Thu Nov 10, 2005 4:12 am    Post subject: Reply with quote

stupid win98 needin boot floppy .... :-/
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Thu Nov 10, 2005 6:51 am    Post subject: Reply with quote

We have 2 versions of windows 98 SE. First is needing boot from floppy and second is needing boot only from cdrom.
_________________
:*
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Thu Nov 10, 2005 6:57 am    Post subject: Reply with quote

i must have the crap one :-/
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Thu Nov 10, 2005 10:33 am    Post subject: Re: Mini HowTo - installing windows 98 on qemu Reply with quote

kadu wrote:
3.Running win 98
Code:
qemu -user-net -enable-audio -localtime -m 192 -hda dysk.img -cdrom /dev/cdrom -smb share -boot c

-user-net ->creates firewall and give premission to using internet by windows 98
-m 192 -> creates ramdisk for windows98
-localtime -> win98 will be using localtime
-smb share -> you can give permission to share files in samba, which can be used by Windows
-boot c ->start from hard disk


Hi Kadu,

I'd like to know if it works also the audio part for you? I cannot find any audio device :-(

Leo
Back to top
View user's profile Send private message
artworcs
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2005
Posts: 126

PostPosted: Thu Nov 10, 2005 12:55 pm    Post subject: Reply with quote

Using the guide from qemu website, i managed to get win2k installed and working great.
Back to top
View user's profile Send private message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Thu Nov 10, 2005 5:23 pm    Post subject: Re: Mini HowTo - installing windows 98 on qemu Reply with quote

leon_73 wrote:
kadu wrote:
3.Running win 98
Code:
qemu -user-net -enable-audio -localtime -m 192 -hda dysk.img -cdrom /dev/cdrom -smb share -boot c

-user-net ->creates firewall and give premission to using internet by windows 98
-m 192 -> creates ramdisk for windows98
-localtime -> win98 will be using localtime
-smb share -> you can give permission to share files in samba, which can be used by Windows
-boot c ->start from hard disk


Hi Kadu,

I'd like to know if it works also the audio part for you? I cannot find any audio device :-(

Leo


what a dum... I forgot to search for no-pnp hw ;-P

now it works :-)
Back to top
View user's profile Send private message
blackwhite
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 250

PostPosted: Thu Nov 10, 2005 7:33 pm    Post subject: Reply with quote

Great work, Thanks.
Back to top
View user's profile Send private message
jamiethehutt
n00b
n00b


Joined: 04 Oct 2004
Posts: 66
Location: Scotland!

PostPosted: Fri Nov 11, 2005 5:24 pm    Post subject: Reply with quote

QEMU rocks. Nice howto, kadu. :D

It's worth knowing/remembering QEMU can also boot from ISO files, so it makes it pretty good for playing with new OS.
_________________
"Someday, he thought, it'll be mandatory that we all sell the McDonald's hamburger as well as buy it; we'll sell it back and forth to each other forever from our living rooms. That way we won't even have to go outside." - A Scanner Darkly By PK Dick
Back to top
View user's profile Send private message
kadu
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 267

PostPosted: Fri Nov 11, 2005 8:27 pm    Post subject: Reply with quote

thanks :)
_________________
:*
Back to top
View user's profile Send private message
steelrose
Apprentice
Apprentice


Joined: 06 May 2002
Posts: 245
Location: Cyprus

PostPosted: Sun Nov 13, 2005 8:19 am    Post subject: Reply with quote

Hi.I try this on win xp but cannot get it to work.When i run the following command i get this error :

Code:
qemu -hda disk.img -cdrom WindowsXP.iso -boot d

error:
Code:
qemu: could not open hard disk image 'disk.img'


making disk image gives me :
Code:
qemu-img create disk.img 5G
Formating 'disk.img', fmt=raw, size=5242880 kB


Anyone to give a how to or solution for Xp?
_________________
Hey.I am new to Linux and i will ask some stupid questions sometimes so please don't get angry with me and help
Back to top
View user's profile Send private message
psotnik
Apprentice
Apprentice


Joined: 12 Nov 2005
Posts: 248
Location: /world/poland/Cracow

PostPosted: Tue Jan 03, 2006 4:03 pm    Post subject: Reply with quote

Hi, how I can solve this problem?
Quote:

qemu -localtime -user-net -hda hd.img -boot d -user-net
qemu: invalid option -- '-user-net'

I have emerged
Quote:

USE="softmmu " ACCEPT_KEYWORDS="~x86" emerge qemu

Next
Quote:

dd of=hd.img bs=1024 seek=3000000 count=0

Now I wont boot XP
Code:
qemu -localtime -user-net -cdrom /dev/cdrom -hda hd.img -boot d

Without parameter --user-net it's work but I can't run network under XP. Any suggestions?
_________________
psotnik
:]
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Wed Jan 11, 2006 5:15 pm    Post subject: Reply with quote

Have anyone tried to synchronize a handheld with Windows on QEMU using USB interface?
_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
FastTurtle
Guru
Guru


Joined: 03 Sep 2002
Posts: 386
Location: Shake & Bake

PostPosted: Wed Aug 02, 2006 2:22 am    Post subject: Reply with quote

Has Anyone figured out how to install either 95 or 98 using boot floppy method?

I happen to have both and want to setup test installs for a couple of windows games w/o wine support.
_________________
AMD 640 - 16GB - Radeon 5670
Back to top
View user's profile Send private message
thumper
Guru
Guru


Joined: 06 Dec 2002
Posts: 441
Location: Venice FL

PostPosted: Sun Aug 06, 2006 8:53 pm    Post subject: Reply with quote

I followed the instructions but used a Bootable CD with DOS on it and formatted C: manually copied the setup files to a directory on C: and installed from there.

You may be able to do the same by booting from /dev/fd0 with you 95/98 boot floppy.

George
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Mon Aug 07, 2006 12:45 am    Post subject: Reply with quote

http://img454.imageshack.us/img454/8232/spacecadetyw2.jpg
hehehee
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum