how to move to uefi
Hi all
I have a dual boot (ubuntu + debian) system and now I want to modify it to use uefi. (because actually I have a win10 too, which is now using uefi). Is there any "official" or practical way to do that? All of the important data is located on another disk(s), so reinstall is not a problem. Thanks |
Do this as root
Code:
apt install grub-efi Code:
grub-install --target=x86_64-efi create a /etc/fstab to mount the efi partition to /boot/efi If you have an iso you can boot in efi mode, chroot into your system to do this, you can skip the rest of this and won't get the efivars error. I think boot-repair has an option to convert over also. reboot, use the bios boot options to select ubunut/debian efi boot option It it boots, rerun Code:
grub-install |
thanks
That was not that simple, because 0. switch off windows secure boot 1. move from MBR to GPT 2. resize partitions 3. create and boot a live ubuntu image 4. make a chrooted environment for the original ubuntu 5. grub-install 6. reboot anyway, what you posted was enough to start and complete it. Thanks |
All times are GMT -5. The time now is 11:52 AM. |