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 /sysrootupdate-initramfs -c -k 3.2.0-58-generic
But it failed with following error:
update-initramfs: failed for /boot/initrd.img-3.2.0-58-generic with 1.Actually one of my VM in KVM platform got corrupted.When I try to start it,I get the menu and after selecting
Ubuntu, with Linux 3.2.0-58-generic it gives an error "Kernel Panic - not Syncing: VFS: Unable to mount root fs on unknown-block(0,0).So I thought of updating the initramfs to see if the problem is resolved.But updation is failing.Your valuable suggestion is awaited.