Answer the question
In order to leave comments, you need to log in
How to restore boot ubuntu 18.04 in Hyper-V?
Hello! Ubuntu 18.04 virtual drive failure fails to boot backup of that drive on Windows 10. Error message
the bootloader did not load an operation system.Generation 2 VM, secure boot disabled, virtual disk first in the list of boot devices. Tell me what can be done?
Answer the question
In order to leave comments, you need to log in
sudo fdisk -l /dev/sda /dev/sda1 EFI System
/dev/sda2 Linux filesystem
/dev/sda3 Linux swap[/code][/quote]
sudo mount /dev/sda2 /mnt
sudo mount /dev/sda1 /mnt /boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt #Error after this command
Error after command: chroot: failed to run command '/bin/bash': Exec format error
ldd /bin/bash gives a list of dependent libraries
There are many instructions on the Internet, but chroot ends in each I have this error, but I did not find a solution.
A 64-bit ubuntu image was used, and the 2nd generation VM does not allow running 32-bit systems.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question