A
A
Andrey2017-08-02 05:16:04
JavaScript
Andrey, 2017-08-02 05:16:04

How to install UEFI on an Ubuntu 17 drive?

Guys, please help!
There were two disks: one with Ubuntu16, the second with Ubuntu17.
On Ubuntu16 there was a UEFI bootloader, the disk was completely formatted and Win10 was installed on it.
How to now install UEFI on a drive with Ubuntu17?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
2
2cha.headz, 2019-03-07
@turkish777

do this:

$('.content-inn').on('afterChange', function(){
    if($(".slick-active").hasClass("f5")){
      $(".svyaz").css("display", "none");
    } else {
      $(".svyaz").css("display", "block");
  }    
});

N
Nazar Mokrinsky, 2017-08-02
@nazarpc

You're a little confused about what's what.
The UEFI bootloader is just a file in a special ESP partition. When installed on a UEFI system, it will create one when installing both Windows and Ubuntu. Apparently, such a partition was on the disk that you formatted (in vain, of course, you did it this way, but it's fixable). Now you have a system on the second disk, but there is no way to boot into it.
For recovery, you will need a flash drive or disk with Ubuntu.
There are two ways to fix this:
1) Use the ESP partition that Windows created
2) Reduce the size of the Ubuntu partition on the second drive and create a FAT32 partition there, then set the ESP flag (done in graphical mode in Gparted with Ubuntu Live USB)
Before the following operations mount ubuntu partition/mnt(for example mount /dev/sdb1 /mnt, depends on the number of disks and partitioning).
After you have decided on the ESP partition that will be used for Ubuntu, look in Gparted (or in the terminal by executing blkid) its UUID, edit /etc/fstabin the Ubuntu partition, changing the UUID of the disk that is mounted in /boot/efi.
After that, mount the mentioned partition in /mnt/boot/efi. Next go to chroot and run dpkg-reconfigure grub-efi-amd64.
You can enter the chroot like this:

mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /sys
chroot /mnt

After that, you should have a directory /mnt/boot/efi/EFI/ubuntuand several files inside. Ubuntu should then be available for UEFI booting from the boot options menu. GRUB2 will most likely be picked up by Windows, so you can change the default option to ubuntu if it doesn't happen automatically.

C
CityCat4, 2017-08-02
@CityCat4

You can't install UEFI :) UEFI is BIOS. That is, superBIOS. There is a setting in the BIOS - in which mode to boot from the disk - UEFI or Legacy, you can generally disable Legacy for all disks

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question