by wrong_variable · 10y ago · 0 comments
Its proven extremely hard to boot Elementary OS on my X1 Carbon.
I tried turning off fast boot and a whole set of options - even changed boot partition from Linux on a USB but when I do it windows still loads and says something like 'boot partition corrupted.. fixing problem'
I gave up after a while and just accepted my fate.
mount /dev/sda1 /mnt
cd /mnt/EFI
mkdir -p Microsoft/Boot
cp /mnt/EFI/ubuntu/grubx64.efi /mnt/EFI/Microsoft/Boot/bootmgfw.efi
You may also need to create /EFI/Boot and copy the .efi file there as well.