On Thu, Feb 14, 2013 at 09:11:41PM +0530, Sandeep Raman wrote: > Hello, > > I get the following message on virt-edit Guestname /boot/grub/grub.conf. > I have executed the command. > guestmount –ro -a /var/lib/nova/instances/instance-00000001/disk -m > /dev/sda1 /mnt > guestmount -d instance-00000001 -i –ro /mnt > > root@compute:~# virt-edit instance-00000001 /boot/grub/grub.conf > libguestfs: error: error: domain is a live virtual machine. > Writing to the disks of a running virtual machine can cause disk corruption. > Either use read-only access, or if the guest is running the guestfsd daemon > specify live access. In most libguestfs tools these options are –ro or > –live respectively. Consult the documentation for further information. > root@compute:~# > > Please help how to get past this.
As the error says, this can't be done. You can't use virt-edit on live virtual machines. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
