/dev/rhel/root does not exist

Latest response

I moved a redhat install from VirtualBox to XenServer, and cannot get it to boot. It starts booting, but then end up with dracut warning that /dev/rhel/root does not exist. The confusing thing is if I boot with recovery option, it does find root fine.

Another clue when it doesn't boot and gest into emergency mode, doing 'lvm lvs' returns nothing, but otherwise looks good. The only difference between 'lvm pvs' in recovery mode vs. how it looks in VirtualBox is the device is /dev/xvda2 vs. /dev/sda2 . What do I need to do update so I can boot in regular boot?

Thanks.

Responses

Hi Brian,

I'm not 100% certain that this solution https://access.redhat.com/solutions/1142993 will resolve your problem or not. Please examine it and let us know

RJ

No that doesn't apply at all. The closest thing I found was https://access.redhat.com/solutions/1282013 , and it seems I need to update the grub configuration but everything seems ok.

I fixed the issue using 'dracut --regenerate-all -f && grub2-mkconfig -o /boot/grub2/grub.cfg'

This procedure works!, but I just have a doubt... when booted my virtual machine the dracut shell did not was equal to the "normal dracut shell (there were not a dracut command, just commands as dracut-*)", I had to boot with a CDROM and I applied the activation of lvm volumes with lvm vgchange -ay rhel, after I applied the dracut --regenerate-all -f && grub2-mkconfig /boot/grub2/grub.cfg instruction and Did works for me!

Hello Brian,

Thank you for providing the solution.

This might also apply KVM <-> VMWare migrations. I have not got time to test it.

Regards,

Jan Gerrit

Thanks Brian for providing your resolution, glad it worked out. Sorry the initial solution I provided didn't help.