# if you have currently no EFI partition (maybe it was deleted, # boot on a live Ubuntu, I used 18.04 but more recent should work This is how I did it on a standard x86_amd64 EFI desktop, without chrooting, assuming you have a partition containing Ubuntu on your hard drive and possibly an EFI partition where GRUB should be installed. To identify the partitions use GParted, the tool is included in the installation medium.Īfter having run the commands, GRUB will be installed in the separate EFI partition. Note : sdX = disk | sdXX = efi partition | sdXY = system partition To avoid possible unexpected issues, properly unmount the file systems afterwards. Try the following while still in the chroot environment (Thanks to - the step was necessary in Ubuntu 22.10) : mount -t efivarfs none /sys/firmware/efi/efivarsĪfterwards execute the grub-install command again : grub-install /dev/sdX Note: If the grub-install command reports an error, it cannot find efivars. Once you are on the Live desktop, open a terminal and execute these commands : sudo mount /dev/sdXY /mntįor i in /dev /dev/pts /proc /sys /run do sudo mount -B $i /mnt$i done (Boot your install medium in EFI mode, select the Ubuntu entry with UEFI in front.) īoot from the Ubuntu installation medium and select 'Try Ubuntu without installing'. Reinstall the GRUB boot loader to your Ubuntu installation in EFI mode this way.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |