Since qemu 1.0, kvm developpers have removed extboot support, so booting guest on scsi in not yet possible anymore.
As workaround, you need to download the lsi .rom. (this rom in not GPL, so we cannot include it in proxmox by default)
1. Download http://www.lsi.com/downloads/Public/Host%20Bus%20Adapters/Host%20Bus%20Adapters%20Common%20Files/lsi_bios.zip
2. Unzip it
3. Move the 8xx_64.rom file to /usr/share/kvm
4. Add this line to the VM config file:
args: -option-rom 8xx_64.rom,bootindex=1
原理是部署一个新的bios程序,那个bios可以识别到scsi硬盘。
文件下载
最后我以这样的命令顺利启动好了:
kvm -m 1024 -drive file=centos58-RAW.img,index=0,if=scsi,format=raw -boot c -net nic -net user -nographic -vnc :1 -option-rom 8xx_64.rom,bootindex=1
转载此文,请注明来自:http://www.iyunv.com/helloLinux/