Description of problem: I tried to run the stock F11 kernel in kvm with qemu-kvm -kernel /boot/vmlinuz-2.6.29.4-167.fc11.x86_64 but it didn't boot the kernel and only displayed: FATAL: no bootable device. Version-Release number of selected component (if applicable): qemu-kvm-0.10.5-2.fc11.x86_64 How reproducible: always Steps to Reproduce: 1. qemu-kvm -kernel /boot/vmlinuz-2.6.29.4-167.fc11.x86_64 Actual results: FATAL: no bootable device. Expected results: boot of kernel vmlinuz-2.6.29.4-167.fc11.x86_64
Thanks, I can reproduced. It works with latest qemu-kvm.git/master
Historically when using -kernel, it has been compulsory to add a IDE hard disk. This is because -kernel is implemented as a sick, disgusting, evil hack where we copy a fake boot sector into the first IDE hard drive, to make the BIOS boot the kernel specified. I think latest upstream has finally switched to using a proper option ROM to avoid this gross hack.
Hi Daniel, my original idea was to do the following: qemu-kvm -kernel /boot/vmlinuz-2.6.29.4-167.fc11.x86_64 -initrd /boot/initrd-2.6.29.4-167.fc11.x86_64.img F11.img and later on replace kernel and initrd with my custom builds for testing but that didn't work so I simplified it to realize that qemu-kvm -kernel /boot/vmlinuz-2.6.29.4-167.fc11.x86_64 didn't work either. If there is some other boot option to try just let me know.
*** This bug has been marked as a duplicate of bug 506443 ***