Results 1 to 10 of 10
how can i boot my kernel .bin file with QEMU?
i tried
Code:
qemu-img convert /boot/myKernel.bin -f cow myKernel.img
which worked, but then when i tried
Code:
qemu -dummy-net myKernel.img
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-04-2005 #1Just Joined!
- Join Date
- Apr 2005
- Posts
- 9
QEMU
how can i boot my kernel .bin file with QEMU?
i tried
which worked, but then when i triedCode:qemu-img convert /boot/myKernel.bin -f cow myKernel.img
but that doesn't do anything. i also triedCode:qemu -dummy-net myKernel.img
that freezes the konsole.Code:qemu -dummy-net -nographic xbos.img
is it possible to compile my kernal as a disk image or do i have to convert it somehow?
note: i'm not trying to boot a linux kernel, its a kernel that i'm making myself
- 05-04-2005 #2Just Joined!
- Join Date
- Apr 2005
- Posts
- 9
anyone, anything?
- 05-05-2005 #3
I did a Google search on qemu.
I am not going to pretend to understand this this subject. Acc ording to this link, only certain OS's are supported.
http://fabrice.bellard.free.fr/qemu/
Check the FAQ on that site.
Sorry I couldn't be of more help.
This site will probably be of help.
http://m2.dad-answers.com/qemu-forum/How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 05-05-2005 #4Just Joined!
- Join Date
- Apr 2005
- Posts
- 9
i figure that since it is an emulator, and all it does is execute the machine code, it should be able to work with most OSes, especially a tiny kernel like mine, which all it does right now is write to the screen...
- 05-05-2005 #5Just Joined!
- Join Date
- Oct 2004
- Location
- Warsaw, Poland
- Posts
- 87
Maybe you should try pure bochs instead?
Originally Posted by littlewing
- 05-05-2005 #6Just Joined!
- Join Date
- Apr 2005
- Posts
- 9
i tried bochs but couldn't get that to work either.
does anyone know how to convert a .bin file to .img?
- 05-05-2005 #7
Did you try that QEMU forum link I gave you?
It seems they would be more knowledgeable about QEMU and your problem than us.How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 05-05-2005 #8Just Joined!
- Join Date
- Apr 2005
- Posts
- 9
yeah i tried it thanks, i'm waiting for a reply
- 10-12-2011 #9Just Joined!
- Join Date
- Oct 2011
- Posts
- 1
I made a surport for another CPU ,and I want to test its instructions .How can I do it? I compiled a program qemu-system-XXX, so I want to test instruction ,and want to know I made it right or wrong.
- 10-12-2011 #10It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First




