Problem with starting Oracle Linux after Migrating form OVM to hyper-v
1
vote
0
answers
2037
views
I am planing to move form OVM to hyper-v, in-order to do the migration, I shutdown OVM (VM is using Oracle Linux 7.2) normally, then exported the appliance from OVM Console, move it to Windows machine then convert it to vhdx file using StarWind V2V Image Converter.
When I start the converted VM and try to use (Oracle Linux Server (3.10.0-327.el7.x86_64 with linux) 7.2 everything is working fine without any issue, how ever if I use (Oracle Linux Server (3.8.13-98.7.1.el7uek.x86_64 with unbreakable Enterprise Linux) I got Dracut rescue mode with the following error message (shown in the attached image)
I searched from some solution regarding this issue like executing
For further troubleshooting I opened "/run/initramfs/rdsosreport.txt " file and found it contains errors as shown in the screen show below
I tried to execute the commands bellow but it filed

dracut -f
, edit /etc/fstab
manually (note the file appears fstab.empty creating a file manually did not help at all), check if I can edit /etc/default/grub
but the file dose not exist either, removing the corrupted kernel using rpm -e
I got the following error "kernel dose not exit" but if I try to install it using yum
or rpm
it failed since the kernel exist, I have tried to fix the LVM using the solution on Redhat portal , but I got the following error message "/run/lvm/lvmetad.socket: connect failed: no such file or directory" (attaching a screen shot)


/bin/sh
no such file or directory
mount --bind /proc /mnt/sysimage/proc
mount --bind /dev /mnt/sysimage/dev
mount --bind /sys /mnt/sysimage/sys
chroot /mnt/sysimage
dracut -f
exit
cd /
sync
telinit 6
Asked by Ahmad Abuhasna
(673 rep)
Aug 5, 2018, 07:41 AM
Last activity: Mar 9, 2019, 09:19 AM
Last activity: Mar 9, 2019, 09:19 AM