Page 1 of 1
Qemu query
Posted: Fri Jan 23, 2009 7:56 pm
by worldsapart
Post deleted
Please look below for my query
Re: Qemu query
Posted: Fri Jan 23, 2009 11:04 pm
by Love4Boobies
Is this message supposed to be some kind of joke?
Re: Qemu query
Posted: Sat Jan 24, 2009 3:57 am
by JamesM
worldsapart wrote:Hi,
I am tryin to setup an environment for some kernel development.. i am tryin to use qemu... all i could lay my hands on was a guide to creating a virtual disk using bximage for Bochs.. wel.. i was told that it was possible to use the same disk image with Qemu too... i use grub as a bootloader.. and using a loopback device.. wel.. when i do
qemu c.img
grub loads and i use the kernel and boot command to load the kernel that's in the boot directory... - (bzImage) ..
but then i get a kernel panic... wat could the possible reason be?? is it because my root filesystem isnt populated yet? it only has a boot folder as of now... (i'm using an ext2 file system...) ... any help will be appreciated.. thanks...
Use the help command, dunce.
That would inform you that the line you pasted is incorrect. The actual line should be
James
Re: Qemu query
Posted: Sat Jan 24, 2009 11:43 am
by worldsapart
heehee... dunce is the word!.. am sorry guys.. i figured out the mistake.. shouldnt work when i'm drunk next time...
Re: Qemu query
Posted: Sun Jan 25, 2009 2:12 pm
by worldsapart
k.. am sorry for that last post.. i know it made no sense.. I'm a beginner in OS dev.. n jus doin some random experiments.. i'll try n explain my prob more clearly this time....
wel.. I downloaded the latest linux release frm kernel.org. I compiled it... I then created a virtual hard disk image using bximage (Bochs image creater).. I filled up the disk wit the necessary folders.. (i am using an ext2 file system).. I installed grub on the disk image and and copied bzImage to the boot folder of the virtual disk... my grub.conf file looks like this..
title my kernel
root (hd0,0)
kernel /boot/bzImage
I then try testing it on qemu...
Qemu starts, and grub loads.. i select the kernel from the menu.. n it starts loading n then freezes at this point...
Code: Select all
.
.
VFS: Cannot open root device "<NULL>" or unknown block(8,3)
Please append a correct "root=" boot option; here are the available partitions:
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown- block(8,3) ..
Cant figure out wat could be wrong... am sorry again if i'm not making myself clear.. any help would be appreciated... thanks.