Skip to contentSkip to conversation

Using Qemu

Qemu-devel Arpit Patel 2 participants 5 messages Mar 31, 2010 – Apr 2, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to use Qemu, to boot kernel image I got, using the initramfs image that was build, when I build kernel

But it only loads initramfs image, and gives me prompt with "(initramfs)_", and thus doesn't load kernel.

Do you guys have any idea, what I am doing wrong.

Thanks for your help.

#1 lore raw
Quoted 7 lines · Arpit Patel

Hi,

I am trying to use Qemu, to boot kernel image I got, using the initramfs image that was build, when I build kernel

But it only loads initramfs image, and gives me prompt with "(initramfs)_", and thus doesn't load kernel.

Care to show us the complete command line you have used to start the Qemu instance?

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
#2 lore raw

Here is the command I issued

"*qemu -initrd initramfs.img -kernel vmlinux-2.6.24 /dev/zero -append "noapic rw root=/dev/ram*"

Thanks for help.

Quoted 22 lines · Mulyadi Santosa
Quoted 6 lines · Arpit Patel

Hi,

I am trying to use Qemu, to boot kernel image I got, using the initramfs image that was build, when I build kernel

But it only loads initramfs image, and gives me prompt with

"(initramfs)_",

Quoted 1 line

and thus doesn't load kernel.

Care to show us the complete command line you have used to start the Qemu instance?

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

#3 lore raw

Hi Arpit...

Quoted 4 lines · Arpit Patel

Here is the command I issued

"qemu -initrd initramfs.img -kernel vmlinux-2.6.24 /dev/zero -append "noapic rw root=/dev/ram"

IIRC, you need to pass the bzImage as the argument of -kernel parameter, not the vmlinux one. Please try that first.

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
#4 lore raw

Tried that too.
Same output.

Quoted 21 lines · Mulyadi Santosa

Hi Arpit...

Quoted 3 lines · Arpit Patel

Here is the command I issued

"qemu -initrd initramfs.img -kernel vmlinux-2.6.24 /dev/zero -append

"noapic

Quoted 1 line

rw root=/dev/ram"

IIRC, you need to pass the bzImage as the argument of -kernel parameter, not the vmlinux one. Please try that first.

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com