I am trying to pass kernel parameters to a virtual OpenSuSE installation without typing them on a boot prompt, using the ability of KVM to load the kernel directly.
First, I mount the installation DVD like this (so the boot files are available on the host):
fuseiso openSUSE-12.3-NET-x86_64.iso ~/mnt/cdrom
then I spawn the virtual machine like this (there are more options, but I don't think they are relevant here):
kvm \ -drive file=./openSUSE-12.3-NET-x86_64.iso,index=1,media=cdrom \ -kernel ~/mnt/cdrom/boot/x86_64/vmlinuz-xen \ -initrd ~/mnt/cdrom/boot/x86_64/initrd-xen
This results in the error message:
Direct floppy boot is not supported. Use a boot loader program instead. Remove disk and press any key to reboot ...
which is the same message I would get if the initial ramdisk (initrd) was not valid. Using a similar setup with the CentOS 6.3 installer works fine. I am using QEmu-KVM version 1.0 (with Ubuntu Precise 12.04 as host).
Have anyone gotten this to work, and which initrd did you use in that case?