Experience Install Linux Dual Boot with Windows 10 EFI on Thinkpad X220 Laptop
Finally managed to install Windows 10 with Linux Elementary OS on an EFI system
mrfdn – All day yesterday I was made dizzy 7 around. The reason is that I can’t install windows 10 to dual boot with linux elementary os.
I read a lot of tutorials, and I played youtube videos but only gave a few clues.
Finally this is what I did to make linux and windows 10 dual boot.
If you are also having trouble performing a dual boot installation, maybe this article will help you. Read carefully one by one the written steps so that the results obtained will really work as I experienced.
This article is for my notes going forward, so as not to forget how to install dual boot windows 10 and linux.
Read also :: Why should I install dual boot windows and linux?
Causes of computer system damage
A little story first. Before this happened, I accidentally made the wrong settings for a program called easy bcd. So the boot loader fails.
Screen shows
File:bootbccd
Error code: 0xc000000f
Tried several methods on youtube, but nothing worked. Like entering the command prompt and entering the command
/bootrec /repairbcd
But there is no effect. Dizzy.
Finally I just formatted my hdd, then installed windows 10 again.
This tutorial is intended for those of you who already know how to install the operating system on a computer.
1. Install windows 10
Set the bios to be the default setting, the bios will be set to EFI.
Install windows 10 by default, your hard disk will automatically get GPT settings which only run on EFI systems.
Easy bcd install, just install it, setting it later. This is only optional, can be installed or not.
On my laptop currently Windows 10 will run on the EFI bios system, if the EFI bios is changed to legacy then Windows 10 will not be able to be read/loaded.
Does not matter.
Remember, that the linux that will be installed is elementary os, which in my experience installs on this thinkpad x220 laptop, grub cannot run. Even though it’s installed on dev/sda.
Linux will run on legacy model bios. For that we have to install an application to change the efi partition to mbr/legacy.
For that we need a convert gpt to mbr application. That app is aomei partition master.
Install the aomei partition master application (not the free version). You know where to get it. The size is about 24 mb only.
Open the AOMEI partition application then convert the HDD that has been installed on Windows 10 to MBR. Right click hdd then click convert to mbr. Click apply to process.
Create an empty partition for linux of about 20 gb.
Up here we are ready to install linux for dual boot with windows 10.
The crossed out part is the update. Linux should run automatically and recognize the EFI system and the GPT partition table.
Because on other linux that I install like Fedora, Manjaro or Ubuntu, this is not a problem at all.
2. Install linux for dual boot
Go to bios, change efi to legacy only.- Insert a flash disk that has been installed linux to run on a live cd.
- In the partition option, select the empty partition that was created earlier. Set 1 gb for the swap partition, 1 partition for /boot/efi (1gb) and the rest for the /root partition.
Set “install bootloader” to the default linux partition. In this case I get the / (root) linux partition to be on /dev/sda6.- Add a boot flag (boot/esp) to the created /boot/efi partition. This is the place to install the linux boot loader.
- Continue to install linux.
- Wait for it to finish, and the computer will restart.
- So when booting, the computer will show the option to choose the desired operating system, whether it’s linux or windows.
3. Set up dual boot windows 10 and linux elementary os
Finally got to the final stage.
First, set the bios back to default. Restart.Log into windows 10.Open easybcd to enter the linux elementary that was installed earlier into the boot loader.Click add new entry, then select the linux tab. Select /dev/sda6 (where the linux boot loader was installed). Save settings.Up here the process to create a dualboot windows + linux is complete.Try restarting the computer, when loading you will see a choice of operating system between windows and linux.Choose linux to make sure we can successfully make a thinkpad x220 laptop dualboot windows 10 and linux.
The final word
This is the most dizzying experience for me all day long.
There are so many tutorials that I read on the internet and videos that I watch.
But it only produces trial and error. In the end, this is what I managed to do.
You know beginners. 🙂
Once again, the tutorial above is an illustration for those who already know about how to install the operating system on your computer/laptop.
The point is :
If the thinkpad x220 laptop bios is set to uefi/efi then it will not be able to run linux even though the bootloader has been installed in the mbr.Vice versa, if the bios is changed to legacy, then windows 10 running on the efi system will not be read on the system.So basically the windows 10 partition must be changed from efi/gpt to legacy/mbr.- You must know the type of partition table on your hard disk, whether it is MBR or GPT type.
- If it’s GPT then the system should be running in UEFI/EFI bios. Meanwhile, if the MBR will run in the Legacy bios.
- Check the BIOS default settings, whether it shows EFI or Legacy. Legacy type Bios has begun to be abandoned and switched to EFI.
- After installing windows, you can directly install linux, then linux will automatically read windows at boot time.
That’s a tutorial from me, this will be my note when I want to install linux and windows 10 for dual booting again later.
Hopefully useful for those of you who experience the same thing. 🙂
Post a Comment for "Experience Install Linux Dual Boot with Windows 10 EFI on Thinkpad X220 Laptop"