Score:0

Centos8: VM does not mount /boot after moving from VMware ESXi to HyperV

cn flag

After moving Centos8 from ESXi to Hyper-V my server can not mount /boot with error like:

unknown filesystem type 'ext4'

It does enter maintenance mode but /boot folder is empty as could not be mounted.

How can I enable ext4 on boot to mount /boot?

Michael Hampton avatar
cz flag
Exactly how did you "move" the virtual machine? Explain every step you took.
Paul Paku avatar
cn flag
I just consolidated snapshoots then used a StarWind converter to get vhdx disk file. Then I put file into new HyperV instance. It's working for numer of Linuxes. Same day I converted Archlinux and two firewalls. The only issue I had was with drive's UUID and network cards naming. But with Centos it seems it can not load ext4 kernel module.
Paul Paku avatar
cn flag
As for no now solution :( The strange is that about one year old backup, using older kernel, did convert properly and is running.
Score:0
cn flag

Here are steps to convert Centos 8 VMWare instance into Hyper-V one.

Remove vmware-tools.

Rebuild image with:

dracut --force --no-hostonly

Install hyper-v tools

Halt instance.

Copy & Convert your VMWare hdd image to Hyper-V format.

Start new hyper-v machine instance then enter "maintenance mode" grub2 menu item.

Rebuild image again:

dracut --force

Reboot

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.