Using Qemu
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.
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
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 consultantblog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
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
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 consultantblog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com