View Full Version: QEMU

meos32 >>Help >>QEMU


Macgub- 05-19-2006
QEMU
I have a question related to QEMU and Menuet/KolibriOS. How to configure QEMU to see FAT32 disk in Menuet running in QEMU? I have fat32 disk on primary slave. For now I use following command : QEMU.EXE -L . -m 128 -fda MENUET.IMG -localtime Menuet/Kolibri runs nice, but i haven't acces to disk. regards Macgub.

Michael H- 05-20-2006

Assuming your primary slave drive is physical drive 1 on your computer -hda \\.\PhysicalDrive1 If not then change the drive number i.e PhysicalDrive

Macgub- 05-22-2006

Michal H thanks a lot for reply. I will try it.

Macgub- 05-23-2006

Sorry for mistake in your name. With command, you have show me, QEMU write: Booting from harddisk Starting system KERNEL.MNT ? I change PhisicalDrive number - without effect. Physical I have two HDD's on primary master and primary slave. Maybye you could type me a full command? For now I use following command: QEMU.EXE -L . -m 128 -hda \\.\PhysicalDrive2 MENUET.IMG - localtime I use QEMU Windows version 0.8.0. Maybye someone could help me. Best regards

jas2o- 05-23-2006

Shouldn't your command look something like this?: QEMU.EXE -L . -m 128 -hda \\.\PhysicalDrive2 -fda MENUET.IMG -localtime -boot a If you put a hdd in, it will boot to that instead of the floppy. So you should put the '-boot a' part in to make it boot from the floppy. Jas2o

heavyiron- 05-23-2006

QEMU.EXE -L . -m 128 -hda \\.\PhysicalDrive2 MENUET.IMG - localtime Try this: QEMU.EXE -L . -m 32 -fda MENUET.IMG -hda \\.\PhysicalDrive1 -boot a -localtime In your command menuet.img ia a hard disk image but realy it is a floppy image :!: . And to boot from floppy image you should write -boot a. Instead of PhysicalDrive1 try PhysicalDrive2 if you have your hard disk as primary slave, 3 - if secondary master, 4 - if secondary slave etc. I think that 128 Mb is too much to run Menuet :) . I'm sorry, I'm late :lol:

Michael H- 05-23-2006

Sorry Macgub, perhaps I should have explained with a bit more detail but since I didn't know your exact computer config I guessed your slave drive would be \\.\PhysicalDrive1. Your primary master drive should be \\.\PhysicalDrive0 as drives start at 0 not 1, so - your primary slave drive should be \\.\PhysicalDrive1 Once you get something like heavyiron posted to work QEMU.EXE -L . -m 32 -fda MENUET.IMG -hda \\.\PhysicalDrive1 -boot a -localtime if your primary slave fat32 drive can boot OS's, for example if it can boot Windows, then setup Menuet to boot from this hard drive and add C:\mtldr="KolibriOS" to your boot.ini (that's Diamonds cool ntfs loader ;) ) or whatever is your preferred hard disk menuet boot method and change -boot a to -boot c (or what ever your BIOS reads that primary slave fat32 drive as. Boot to DOS and and have a look what it shows if you're not sure). However booting from "-boot a" is probably the best way but it's cool when it works from your hard drive as well ;) If you want to use vesa extensions make sure you add -std-vga This is my windows boot.ini file timeout=10 default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="XP" /fastdetect multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="XP Crash/Virus repair :(" /fastdetect C:\mtldr="KolibriOS" These options should show up in QEMU if you have everything setup correctly, just as if you were booting your computer Good luck

Macgub- 06-02-2006

Thanks for yours replies. Well...I don't know what to say... I try exactly QEMU.EXE -L . -m 32 -fda MENUET.IMG -hda \\.\PhysicalDrive1 boot a -localtime I change memory size, PhysicalDrive number etc. Without result, QEMU don't display anything. What shoul I do? I want test and debug some programs for Menuet/KolibriOS. Emulator don't support all system functions. Could you help me? Best Wishes

willow- 06-02-2006

I'm afraid that Qemu can't use physical HD. You should then create a HD image (300 MB will be enough, as for me ;-) ). Afterwards you may inject and extract files with WinImage

Madis731- 06-02-2006

Strangely enough mine worked - I had a CD-ROM and a HDD configured. It doesn't work of course if you had a NTFS or other system there. I had to put a FAT32 one there (when talking about MenuetOS). The partitions don't want to run, though, as they are not mapped as separate physical drives. If you had two or more (any) partitions, you probably won't get it to work.

heavyiron- 06-05-2006

Thanks for yours replies. Well...I don't know what to say... I try exactly QEMU.EXE -L . -m 32 -fda MENUET.IMG -hda \\.\PhysicalDrive1 boot a -localtime I change memory size, PhysicalDrive number etc. Without result, QEMU don't display anything. What shoul I do? I want test and debug some programs for Menuet/KolibriOS. Emulator don't support all system functions. Could you help me? Best Wishes There is a mistake in your command: you should write "...-boot a" instead of "...boot a"

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.