Install ubuntu 17.10 with usb in UEFI mode. I followed the instructions for other questions on the site that I kindly offered @karel for the installation.
and as I was wrong I followed the steps that are offered in the link: 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end Everything worked perfectly. I get the complete installation and at the time of updating, it gives a series of errors that I do not have time to see, and the laptop goes to airplane mode, without starting the system. Then update according to this question: How do I update Ubuntu 17.10 to 18.04? but after finishing the installation and restarting, the screen went black and Ubuntu 18.04 did not appear. Perform the installation again following the instructions and steps above and run the following commands:
sudo su;
efi = "/target/boot/efi/EFI"; \
if [[-e "$ {efi}/boot"]]; then \
echo "Backup:"; \
mv -v "$ {efi}/boot/" "$ {efi}/boot-bak - $ (lsb_release -cs)"; \
fi; \
echo "Copy:"; \
cp -va "$ {efi}/ubuntu" "$ {efi}/boot"; \
arch = "$ (ls -1 {efi} /ubuntu/shim*.efi)"; \
arch = "$ {arch # * shim}"; \
arch = "$ {arch% .efi}"; \
cp -v "$ {efi}/boot/shim $ {arch} .efi" "$ {efi}/boot/boot $ {arch} .efi";
But the console gives the error:
cp: you can not perform "stat" on /target/boot/efi/EFI/ubuntu: there is no file or directory.
What am I doing wrong or what I still have to do? Thank you.
0 Answers