Linux Notice App

Uefi boot

 


If you're using an efi-compliant distribution on Linux systems, or if you've installed an end-user deployment like ubuntu, mint, system boot issues with windows are no longer a big problem

It is possible to make the following determinations on the subject



- There was almost no problem installing linux on older computers that were legacy compatible. Ubuntu, mint, etc., all current distributions, windows environment and created the opening manager to add windowsu.
-Microsoft has recently tried to prevent the installation of linux systems on Windows pre-installed systems by bringing uefi security support. Users who have the default computer installed on windows have had more difficulty installing linux.
- Linux systems have now completely overcome these problems. In this article we will talk about basic easy solutions that users need to know to use linux and windows on the same computer without any problems.
- First of all, we need to know that if we install linux on a windows computer, we must partition our disk appropriately.
In the case of Linux systems, an average of 15-20 gb is sufficient for the area used by the system.
- The home directory, which is the section of the constantly changing personalized custom files, changes at your discretion, but be careful not to be less than 10 gb.
- Let's say how much of the swap partition used for temporary data transfer should be less than your actual physical memory in this partition.
- You can do partitioning with live gparted, riskcd or other partitioning tools, you can do it in windows environment. You can partition the option by using the setup tool during multi or linux installation.
-Efi files where the partition is not more than 200 mb is usually the first partition of your disk. Computers that don't use gpt1 or gpt are usually the first part called sda1. Live cd or dvd or usbler to be installed at the start of your computer in the bios settings uefi protection after disable disable the boot sequence of the first usb disk then cd / dvd then change to disk format.
-For example, if you have installed ubuntu, ubuntu copies your own uefi files with windows.
-Ubuntu installed linux boot manager you did not see the windows opened do not panic if you want to open the windows environment you can switch to the opening manager. To use the Linux boot manager, open the cmd command line as an administrator in a windows environment. To do so, simply open cmd as an administrator. The command to switch to the Ubuntu boot manager is:

bcdedit / set {bootmgr} path \ EFI \ Ubuntu \ grub64.efi

You should show the Ubuntu efi file. Refind is currently the best boot manager that sees all installed operating systems as indisputable. It is possible to install Ubuntu on computers or windows environment. Read our article about Refind. But in order to use the installed refind files, it is necessary to give the following command with cmd in the windows environment:

bcdedit / set {bootmgr} path \ EFI \ refind \ refind_x64.efi
-Refind is able to see and customize all operating systems without any problems, but I'll use the operating system's efi files I've installed that system if you want to see the windows, this is also possible. You will use the above command for Ubuntu. If windows does not appear in the boot manager, you can manually add windows to grub.cfg.

SUDO_EDITOR = kate sudoedit /boot/grub/grub.cfg
Open the grub.cfg file with the command. Add the following commands to the location of Windows.

menuentry 'Windows Boot Manager (on / dev / sda1)' --class windows --class os $ menuentry_id_option 'osprober-efi-9098-B063' {
insmod part_gpt
insmod fat
set root = 'hd0, gpt1'
if [x $ feature_platform_search_hint = xy]; than
search --no-floppy --fs-uuid --set = root --hint-bios = hd0, gpt1 --hint-efi = hd0, gpt1 --hint-baremetal = ahci0, gpt1 9098-B063
else
search --no-floppy --fs-uuid --set = root 9098-B063
fi
chainloader /EFI/Microsoft/Boot/bootmgfw1.efi
}

here you need to change places like gpt1 and system uids 9098-B063 according to your system. In addition, after the linux kernel updates grub.cfg file is also updated after the update again grub.cfg file you need to do this again.

No comments

Powered by Blogger.