View previous topic :: View next topic |
Author |
Message |
kadu Apprentice
Joined: 09 Oct 2005 Posts: 267
|
Posted: Wed Nov 09, 2005 9:26 pm Post subject: Mini HowTo - installing windows 98 on qemu |
|
|
1. Installation guest
At first we should install 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 . 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
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
Here is my screenshot
[img=http://img76.imageshack.us/img76/1280/qemuleshka8ie.th.png] _________________ :* |
|
Back to top |
|
|
Dizzutch Guru
Joined: 09 Nov 2004 Posts: 463 Location: Worcester, MA
|
Posted: Wed Nov 09, 2005 9:33 pm Post subject: |
|
|
have you tested it with any other versions of windows? ie 2000 or XP? |
|
Back to top |
|
|
kadu Apprentice
Joined: 09 Oct 2005 Posts: 267
|
Posted: Wed Nov 09, 2005 9:49 pm Post subject: |
|
|
I've tested it on win XP. It' was running correctly _________________ :* |
|
Back to top |
|
|
Dizzutch Guru
Joined: 09 Nov 2004 Posts: 463 Location: Worcester, MA
|
Posted: Thu Nov 10, 2005 1:14 am Post subject: |
|
|
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 |
|
|
someguy Guru
Joined: 10 Jul 2003 Posts: 433 Location: (-_-) .::OH_WELL::. (-_-)
|
Posted: Thu Nov 10, 2005 4:12 am Post subject: |
|
|
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 |
|
|
kadu Apprentice
Joined: 09 Oct 2005 Posts: 267
|
Posted: Thu Nov 10, 2005 6:51 am Post subject: |
|
|
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 |
|
|
someguy Guru
Joined: 10 Jul 2003 Posts: 433 Location: (-_-) .::OH_WELL::. (-_-)
|
Posted: Thu Nov 10, 2005 6:57 am Post subject: |
|
|
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 |
|
|
leon_73 Guru
Joined: 13 Mar 2003 Posts: 505 Location: Milano
|
Posted: Thu Nov 10, 2005 10:33 am Post subject: Re: Mini HowTo - installing windows 98 on qemu |
|
|
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 |
|
|
artworcs Tux's lil' helper
Joined: 12 Jun 2005 Posts: 126
|
Posted: Thu Nov 10, 2005 12:55 pm Post subject: |
|
|
Using the guide from qemu website, i managed to get win2k installed and working great. |
|
Back to top |
|
|
leon_73 Guru
Joined: 13 Mar 2003 Posts: 505 Location: Milano
|
Posted: Thu Nov 10, 2005 5:23 pm Post subject: Re: Mini HowTo - installing windows 98 on qemu |
|
|
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 |
|
|
blackwhite Apprentice
Joined: 24 Jun 2004 Posts: 250
|
Posted: Thu Nov 10, 2005 7:33 pm Post subject: |
|
|
Great work, Thanks. |
|
Back to top |
|
|
jamiethehutt n00b
Joined: 04 Oct 2004 Posts: 66 Location: Scotland!
|
Posted: Fri Nov 11, 2005 5:24 pm Post subject: |
|
|
QEMU rocks. Nice howto, kadu.
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 |
|
|
kadu Apprentice
Joined: 09 Oct 2005 Posts: 267
|
Posted: Fri Nov 11, 2005 8:27 pm Post subject: |
|
|
thanks _________________ :* |
|
Back to top |
|
|
steelrose Apprentice
Joined: 06 May 2002 Posts: 245 Location: Cyprus
|
Posted: Sun Nov 13, 2005 8:19 am Post subject: |
|
|
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 |
|
|
psotnik Apprentice
Joined: 12 Nov 2005 Posts: 248 Location: /world/poland/Cracow
|
Posted: Tue Jan 03, 2006 4:03 pm Post subject: |
|
|
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 |
|
|
Gotterdammerung l33t
Joined: 11 Feb 2004 Posts: 627 Location: Rio de Janeiro, Brazil
|
Posted: Wed Jan 11, 2006 5:15 pm Post subject: |
|
|
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 |
|
|
FastTurtle Guru
Joined: 03 Sep 2002 Posts: 477 Location: Flakey Shake & Bake Caliornia, USA
|
Posted: Wed Aug 02, 2006 2:22 am Post subject: |
|
|
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. _________________ AsRock B550 Phantom Gaming 4
128GB 3200 Mhz memory
4x 4TB Sata - 2x 2TB Sata SSD - 4x 450GB SaS - 3x 900GB SaS - 72GB SaS for Boot
LSI 9211-8i in HBA mode for all of the SaS drives
Radeon 6800 (Non XT) for GPU |
|
Back to top |
|
|
thumper Guru
Joined: 06 Dec 2002 Posts: 552 Location: Venice FL
|
Posted: Sun Aug 06, 2006 8:53 pm Post subject: |
|
|
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 |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
|
Back to top |
|
|
|