On Wed, Dec 03, 2014 at 01:08:58PM +0000, Suvajit Sarkar wrote:
Thank You for your reply.
What was the output of the 'virt-rescue --suggest -d XYZ'? Inspecting the virtual machine or disk image ...
This disk contains one or more operating systems. You can use these mount commands in virt-rescue (at the ><rescue> prompt) to mount the filesystems.
# /dev/sda1 is the root of a linux operating system # type: linux, distro: ubuntu, version: 12.4 # Ubuntu 12.04.3 LTS
mount /dev/sda1 /sysroot/ mount --bind /dev /sysroot/dev mount --bind /dev/pts /sysroot/dev/pts mount --bind /proc /sysroot/proc mount --bind /sys /sysroot/sys
And did you run _all_ those commands? yes I run all those commands in this sequence: virt-rescue --network -d XYZ mount /dev/sda1 /sysroot/ chroot /sysroot update-initramfs -c -k 3.2.0-58-generic
Hang on, what about the 'mount --bind' commands? Did you run those too? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/