[SOLVED] Ubuntu VM EFI boot problem

Nikolay

New Member
Jul 16, 2016
16
1
3
Hello,

Few days ago we have decided to migrate our VMs from Hyper-V to proxmox. Everything gone fine, except 2 VM with Hyper-V generation 2 system. They dont want to boot from disk and drop to UEFI boot bios, then i select Boot From File and vm start.


Any solutions for this problem?
upload_2016-7-16_2-8-35.png
 
Grub2 cannot be writen to GPT disk. I `ve tried to reinstall grub-uefi with no luck.

Boot with standart bios stucked at Boot from Hard Disk...
upload_2016-7-16_9-31-53.png
 
Solution that works for me:


1) attach new empty disk to VM
2) boot from live cd
3) create mbr partitions at new disk with fdisk
4) mount root partition from old and new disks
5) make 2 previous steps for as many partitions as you have
6) rsync data from old partitions to new
7) edit fstab
8) grub-install --root-directory=/mnt(choose yours) /dev/sdX
9) reboot and it`s done.
 
Solution that works for me:


1) attach new empty disk to VM
2) boot from live cd
3) create mbr partitions at new disk with fdisk
4) mount root partition from old and new disks
5) make 2 previous steps for as many partitions as you have
6) rsync data from old partitions to new
7) edit fstab
8) grub-install --root-directory=/mnt(choose yours) /dev/sdX
9) reboot and it`s done.

Fine, thank you for your instructions :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!