Post deleted
Please look below for my query
Qemu query
-
- Member
- Posts: 36
- Joined: Sat Jan 03, 2009 4:12 am
Qemu query
Last edited by worldsapart on Sun Jan 25, 2009 3:11 pm, edited 3 times in total.
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Qemu query
Is this message supposed to be some kind of joke?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
Re: Qemu query
Use the help command, dunce.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...
Code: Select all
qemu --help
Code: Select all
qemu -fda c.img
-
- Member
- Posts: 36
- Joined: Sat Jan 03, 2009 4:12 am
Re: Qemu query
heehee... dunce is the word!.. am sorry guys.. i figured out the mistake.. shouldnt work when i'm drunk next time...
-
- Member
- Posts: 36
- Joined: Sat Jan 03, 2009 4:12 am
Re: Qemu query
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...
Cant figure out wat could be wrong... am sorry again if i'm not making myself clear.. any help would be appreciated... thanks.
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...
Code: Select all
qemu -hda c.img
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.