[Libguestfs] virt-edit Guestname /boot/grub/grub.conf error
Richard W.M. Jones
rjones at redhat.com
Mon Feb 25 16:52:51 UTC 2013
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 at 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 at 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
More information about the Libguestfs
mailing list