In Suse Linux 11 SP1 (Guest OS), I rebuild the image with the following steps:
1. Update file /etc/sysconfig/kernel a. Add the module virtio, virtio_pci, virtio_net and virtio_blk to the INITRD_MODULES line in the file /etc/sysconfig/kernel 2. Rebuild initrd image a. Run mkinitrd 3. Restart the updated image But I still see the same error. I did something wrong? Thanks. Jeff From: laclasse [mailto:[email protected]] Sent: Wednesday, October 09, 2013 10:14 PM To: Jeff Cai Cc: [email protected] Subject: Re: [Openstack] Change parameters of kvm in openstack However, if removing the '--device' line boots the machine successfully, you might want to simply check if your init ramfs (of the guest) has a virtio block driver module included (doesn't seems so), include it (might as well include the virtio network module) and rebuild it on your SuSE image. See this: http://doc.opensuse.org/products/draft/SLES/SLES-admin_sd_draft/cha.boot.html#sec.boot.initrd On Wed, Oct 9, 2013 at 12:00 PM, Jeff Cai <[email protected]<mailto:[email protected]>> wrote: Hi, When I boot a suse linux instance, it reports that “’system’ volume group not found”, I found that if I remove the ‘-device’ line in kvm command line, it can start successfully. Could you tell me how to change the parameters of ‘kvm’ in openstack? Following is the command line that starts my instance: /usr/bin/kvm …. -drive file=/var/lib/nova/instances/582db50e-56cf-4541-8078-4329b8578d71/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 … Best Regards Jeff Cai _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected]<mailto:[email protected]> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
