Page 1 of 2

kolibrios within qemu with hdd image crashes with latest img

Posted: Sun Feb 16, 2014 3:27 pm
by baggacfreak
Hi,

I tried qemu under windows with following command line. It works fine, but when I add the c.img hdd image it crashes. Any thoughts why it might crash?

qemu-system-i386w -L ./Bios -m 128 -fda ./Discs/kolibri.img -boot a -hda ./Discs/c.img -localtime -vga vmware -net nic,model=rtl8139 -net user -soundhw ac97 -usb -usbdevice tablet

I formated the disc with freedos 100M Fat16. Without the disc it works fine.

CU!

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Sun Feb 16, 2014 3:38 pm
by Mario_r4
baggacfreak wrote:I formated the disc with freedos 100M Fat16. Without the disc it works fine.
Probably a problem in the formatter, which FeeDOS. I use Win98 floppy and no problems.
What booting stage is the crash?

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Sun Feb 16, 2014 3:39 pm
by hidnplayr
What version of QEMU?
Can you post a copy of your FAT16 image?

When does it 'crash' ?

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Sun Feb 16, 2014 4:09 pm
by hidnplayr
Mario_r4 wrote: I use Win98 floppy and no problems.
You use fat32 instead of fat16, no?

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Sun Feb 16, 2014 4:13 pm
by Mario_r4
hidnplayr wrote:You use fat32 instead of fat16, no?
MS FDISK shall divide between 511-512 MB (IMMSMC)

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Sun Feb 16, 2014 7:27 pm
by baggacfreak
I used qemu built for windows 1.6.0 and will zip and post the c image tomorrow. Its on my other notebook.

It crashes sometimes on boot but most times when I open the explorer and try to access it.

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Mon Feb 17, 2014 9:53 am
by baggacfreak
This is the c.img I used. Nothing on it, but freedos said formated. I will test fat32 and other formater later on.

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Mon Feb 17, 2014 7:11 pm
by baggacfreak
I tried a dos622 disc and formated the img file, but no change. Will test win xp tomorrow.

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Mon Feb 17, 2014 10:53 pm
by Mario_r4
baggacfreak
Probably this is the problem your version of Qemu. I used an image that you have uploaded to Qemu 0.12.2 (host system W7 Home Premium 64-bit) and it works without problems. I copied the files and they are read without errors.

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Tue Feb 18, 2014 12:09 am
by baggacfreak
Hi,

mine came from here:

http://lassauge.free.fr/qemu/

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Tue Feb 18, 2014 1:02 am
by Mario_r4
baggacfreak
I checked with the newer version Qemu 1.5.1 (which I had) and it's definitely there have problems with new versions of Qemu. I do not use them because the guest system does not correspond to the actual size of window (it can be corrected only by pressing Ctrl + Alt + U - but I do not think this decision is normal way out of the situation). Now I see that they (the developers) have change something with work the hard disk images. For these reasons, I prefer to use the old and reliable version of Qemu 0.12.2

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Tue Feb 18, 2014 2:51 pm
by baggacfreak
Hi,

I tested it with a 1.5.1 version and now it works. Sadly enough the newest version does seem to have a fault here. But now it is easy to use and all I have to test now is how to get internet and the c.img mounted on win to transfer files on and off it.

Thanks for the help!

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Tue Feb 18, 2014 5:03 pm
by hidnplayr
baggacfreak wrote:Hi,

I tested it with a 1.5.1 version and now it works. Sadly enough the newest version does seem to have a fault here. But now it is easy to use and all I have to test now is how to get internet and the c.img mounted on win to transfer files on and off it.

Thanks for the help!
Qemu has the option to mount a folder of the host os as a virtual FAT32 drive.
http://wiki.qemu.org/download/qemu-doc. ... 005fimages

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Tue Feb 18, 2014 5:23 pm
by Mario_r4
hidnplayr wrote:Qemu has the option to mount a folder of the host os as a virtual FAT32 drive.
This works well for reading, but when writing files get corrupted.

Re: kolibrios within qemu with hdd image crashes with latest

Posted: Wed Feb 19, 2014 10:44 am
by baggacfreak
Hi,

to transfer files to the c.img it would help, but I prefer a way to read and write.

ThXs anyway!