Добавление linux в загрузчик windows

Довольно странно читать, как на вопрос про «ставить Линукс» отвечают примерно «а нафига тебе, ставь через виртуалку».

1. Линукс стоит на основном рабочем лаптопе уже 4 года. В заводскую Винду перезагружаюсь в среднем раз в месяц, чтоб открыть какой-нибудь cad-овский файл. Дистрибутив — Arch, обновляет пакеты постоянно, работает как хорошие часики. Иногда подключаю док-станцию и второй монитор. Нет, не ломался ни разу, драйверы в ручную не ковырял.

2. Не пользуюсь Грабом давно, просто потому что смысла нет. Записываю загрузчик или напрямую через efibootmgr, или же создаю отдельный загрузчик через bootctl (systemd-boot) и записываю там элементы загрузки. Основное отличие — меню выбора никогда не всплывает (все доступные ОС не высвечиваются), загружается всегда запись №1 из UEFI, очередность можно менять там же. Выбрать одноразово можно при загрузке через специальное меню UEFI, которая всплыват по нажатию одной из F кнопок (зависит от производителья МП) примерно в том же промежутке загрузки, когда еще можно открыть основное меню UEFI/BIOS.

When the Linux distribution is installed on the computer along with the Windows, the Grub bootloader is set as the default for booting the operating system on the computer. It allows you to select the operating system which you want to boot on the computer in the first 30 seconds else it will boot the default set operating system.

To add Linux to the bootloader of Windows, we can follow two approaches discussed in this blog.

  • Using the EasyBCD
  • Changing the Boot Priority Order in UEFI Menu

Let’s get into the first method.

Method 1: How to Add Linux to Windows 10 Bootloader Using EasyBCD?

EasyBCD is the software that can be installed on Windows 7, Windows 8, Windows 10, and Windows 11 to manage the computer’s bootloader. The EasyBCD comes in two different variants:

  •  Non-Commercial: limited features, and can be downloaded on the computer without paying a single penny.
  • Commercial: Advanced features and charges us $ 39 (at the time of writing this blog).

You can easily download the version of the EasyBCD according to your convenience from the link mentioned. After downloading the “exe” file of the EasyBCD, you can run it to install the EasyBCD.

When EasyBCD is installed, launch the application. You will see the screen:

Now, to add Linux to Windows 10 Bootloader, you have to click the “Add New Entry” in the EasyBCD options:

Under the “Operating System”, choose “Linux/BSD” and fill in all the details below. Then, in the “Portable/External Media”, choose the location where the Linux Distribution has been downloaded. And close the EasyBCD to save the settings and then restart the machine; the following interface will be displayed on the screen:

Note: These options will be available on the “Commercial” version of the EasyBCD.

How to Change the Boot Priority Order in UEFI Menu?

Another option to add Linux to Windows 10 bootloader is changing the priority order in the UEFI menu. Open the UEFI menu after restarting the computer and pressing the F2 key from the keyboard. The common keys to open the UEFI menu in different manufactured laptops are Esc, Delete, F1, F2, F10, F11, or F12. The following interface will appear on the screen:

Click on the “Advanced” option from the left menu of the screen and then click on the “Change Boot Order”:

Then, set the boot priority order using the “Move Up” and “Move Down” options:

And then, click on the “OK” button to save the priority order and close the UEFI menu by saving the changes with the F10 key. Restart the computer, and Ubuntu will be booted by default.

That’s how Linux has been added to the Windows 10 bootloader.

Conclusion

To add Linux to Windows 10 Bootloader, install the “Commercial” version of the EasyBCD or change the boot priority order of the UEFI menu. In this blog, both the mentioned methods have been explained in detail. You should use the Grub bootloader on the dual boot as it is easy and reliable. Else you can also use the methods explained in this blog.

You can easily install Linux using a live disk. But unfortunately, i did not had a pendrive or cd drive when I really needed to install it. Also, softwares like Unetbootin were giving errors and it did not install. So, here is a complete guide to install Linux directly from hard-drive. I already had Windows 7 installed and I added Ubuntu 16.04 for dual boot.

Step 1:
First of all, you need to create atleast a 10 GB partition in your hard-drive. Follow this link to do so. Also give a label to the partition to make the things easier.

Then download two files from the Ubuntu Archive

Click here to know the names of all versions of Ubuntu. Decide your version to download and go to version-updates in the Ubuntu Archive.

For example, to download Ubuntu 16.04, go to xenial-updates in Ubuntu archive. Then go to main folder. Here you will get installer-amd64 (for 64-bit) and installer-i386 (for 32-bit). Select your architecture and then the rest of the path remains the same for both. ie-
/current/images/netboot/ubuntu-installer/amd64(or i386)/
Click on initrd.gz and linux (for 64-bit) or vmlinuz (for 32-bit) to download these files.
Create a new folder and name it boot in the newly created partition. Put these 2 files in the boot folder.

Step 2:
Install EasyBCD from Here. Click on Add new entry and in the Operating System, open NeoGrub tab and click on install.

Step 3:
Restart your computer and choose NeoGrub Bootloader from the available options. Simply write this commands one by one.

grub> root = (hd0,
[Press Tab to list all the volumes available on your primary hard disk. Write 1 instead of 0 if you created partition in second hard-disk]
grub> root = (hd0,n)
[Replace n with the number of the new partition.]
Then type these commands in order

kernel /boot/linux [Note: type vmlinuz instead of linux for 32-bit]
initrd /boot/initrd.gz
boot

Now it will take you to installer (Mouse won`t work. You need to control with keyboard).

Solutions for a few common errors
I faced a few problems while installing.Here is a list for you.

  1. Mount Point — When you select your partition while installation, you need to format the partition as Ext4 journaling file system and select the Mount Point as /
    You won`t get such nice GUI but you will know what I mean to say

  2. SWAP Partition — It will ask you to create a swap partition for linux. Select No for now. You can create another patition for linux-swap later.

  3. Incomplete installation — Firstly, I had created only 6 GB partition for Ubuntu. So the installer crashed during the installation (it had already completed 64%) and then I needed to start from step 1. So, I recommend creating a pertition of atleast 15 GB.

  4. Extra Softwares — During installation, it asked me whether I want to install extra softwares or not. It included Blender, GIMP, etc. Skip it for now. The installation of OS requires 5 GB, but installing these softwares were also one of the reasons why the installation crashed before.

  5. GNOME Desktop — You want the nice looking Ubuntu UI, then you must include GNOME Desktop during installation of extra softwares. It will ask the type of desktop environment, gdm3 or lightdm. Choose anyone you want. But I recommend lightdm for computers with low RAM as it is faster than gdm3.

  6. grub rescue — I formatted the partition where I installed Ubuntu 16.04 32-bit as I wanted to install 64-bit OS. Then on next boot, I got this error of grub rescue. It was not easy for me solve this problem because it now required an installation disk for repair but I didn`t had any. Follow this link to solve your problem.

Although I had given a very long explanation about installation process, I can guarantee that you will be using Ubuntu in just 3 hours if you get no extra errors.

Grilled Giardiniera-Stuffed Steak Sandwich image

Grilled Giardiniera-Stuffed Steak Sandwich

This rolled flank steak is inspired by the Italian beef sandwich, a Chicago delicacy typically consisting of chopped thin slices of roast beef stuffed…

Provided by Food Network Kitchen

Mapo Potato image

Mapo Potato

Let’s be clear: Nothing surpasses the hearty deliciousness of a traditional mapo tofu. But for those days when you find yourself without soft tofu in the…

Provided by Hetty McKinnon

Chili image

Chili

This is a spicy, smoky and hearty pot of chili. It’s the kind of chili you need after a long day skiing — or hibernating. To create a rich and thick sauce,…

Provided by Ali Slagle

Banket image

Banket

This recipe is from my mother. It is the one she taught me with a slight tweak. In my home on the holidays one way to show someone or a family they were…

Provided by Jena Lewis

Moroccan Nachos image

Moroccan Nachos

This Moroccan twist on the much-loved appetizer features kefta, a ground beef (or lamb) mixture seasoned with parsley, cilantro, mint, paprika and cumin,…

Provided by Nargisse Benkabbou

Peanut Butter Brownie Cups image

Peanut Butter Brownie Cups

I’m not a chocolate fan (atleast not the kind made in the U.S.), but I LOVE peanut butter and chocolate and this hit the spot. I found the recipe in 2007…

Provided by AmyZoe

Banana Cream Pudding image

Banana Cream Pudding

This fabulous version of the favorite Southern dessert boosts the banana flavor by infusing it into the homemade vanilla pudding, in addition to the traditional…

Provided by Martha Stewart

Lemon Russian Tea Cakes image

Lemon Russian Tea Cakes

I love lemon desserts,these are a simple cookie I can make quickly. The recipe is based on the pecan Russian tea cakes.I don’t like lemon extract,instead…

Provided by Stephanie L. @nurseladycooks

Easy Churros with Mexican Chocolate Sauce image

Easy Churros with Mexican Chocolate Sauce

Forgo the traditional frying — and mixing up the batter! — for this Latin American treat. Instead, bake store-bought puff pastry for churros that are…

Provided by Martha Stewart

Easy Lasagna image

Easy Lasagna

Everyone loves lasagna. It’s perfect for feeding a big crowd and a hit at potlucks. But most people reserve it for a weekend cooking project since it can…

Provided by Food Network Kitchen

Grilled Vegetables Korean-Style image

Grilled Vegetables Korean-Style

Who doesn’t love grilled vegetables — the sauce just takes them over the top.

Provided by Daily Inspiration S @DailyInspiration

Outrageous Chocolate Cookies image

Outrageous Chocolate Cookies

From Martha Stewart. I’m putting this here for safe keeping. This is a chocolate cookie with chocolate chunks. Yum! Do not over cook this cookie since…

Provided by C. Taylor

CERTO® Citrus Jelly image

CERTO® Citrus Jelly

A blend of freshly squeezed orange and lemon juices puts the citrusy deliciousness in this CERTO Citrus Jelly.

Provided by My Food and Family

Previous

Next

HOW TO ADD LINUX TO WINDOWS 10 BOOTLOADER? – ITS LINUX FOSS

how-to-add-linux-to-windows-10-bootloader-its-linux-foss image

2023-10-09
From itslinuxfoss.com


DUAL BOOT WINDOWS 10 UEFI AND UBUNTU USING WINDOWS BOOTLOADER

WebFeb 8, 2018 Not possible. Windows bootloader can multi-boot other Windows versions and even that has caveats/limitations. Overwritten bootloaders is something of the past …
From superuser.com
Reviews 6

Feb 8, 2018 Not possible. Windows bootloader can multi-boot other Windows versions and even that has caveats/limitations. Overwritten bootloaders is something of the past …»>
See details


ADD LINUX EFI (LIKE GRUB) AS WINDOWS BOOT ENTRY — SUPER USER

WebJan 13, 2022 karel. 13.4k 26 45 52. asked Jan 13, 2022 at 13:18. Aditya Sethi. 23 1 5. You need to learn how to use UEFI settings > Boot menu (or the one-time boot menu / …
From superuser.com
Reviews 6

Jan 13, 2022 karel. 13.4k 26 45 52. asked Jan 13, 2022 at 13:18. Aditya Sethi. 23 1 5. You need to learn how to use UEFI settings > Boot menu (or the one-time boot menu / …»>
See details


ADD LINUX DUAL BOOT TO W10 SYSTEM — MICROSOFT COMMUNITY

WebJan 12, 2019 Report abuse. Try holding down the shift key while clicking on shut down when you power off Win10. Doing this will turn off fast boot for the one cycle. The next …
From answers.microsoft.com

Jan 12, 2019 Report abuse. Try holding down the shift key while clicking on shut down when you power off Win10. Doing this will turn off fast boot for the one cycle. The next …»>
See details


HOW TO REPLACE GRUB WITH WINDOWS BOOT MANAGER — MUO

WebAug 14, 2022 Add Linux to Windows Boot Manager Using EasyBCD. EasyBCD is a free software that helps you take control of your system’s boot process by allowing you to …
From makeuseof.com

Aug 14, 2022 Add Linux to Windows Boot Manager Using EasyBCD. EasyBCD is a free software that helps you take control of your system’s boot process by allowing you to …»>
See details


HOW TO ADD AN ALREADY INSTALLED LINUX TO WINDOWS BOOT LOADER?

WebSep 1, 2018 3 Answers. Sorted by: 1. How to add an already installed Linux to Windows boot loader? Windows bootloader supports Windows only. Different or similar …
From superuser.com

Sep 1, 2018 3 Answers. Sorted by: 1. How to add an already installed Linux to Windows boot loader? Windows bootloader supports Windows only. Different or similar …»>
See details


BOOTING A MS WINDOWS OS USING GRUB — LINUX TUTORIALS

WebJun 16, 2021 Use your arrow keys to select Windows 10, and you will boot into it instead of your installed Linux distro. Comments and Discussions. In this tutorial, we show the …
From linuxconfig.org

Jun 16, 2021 Use your arrow keys to select Windows 10, and you will boot into it instead of your installed Linux distro. Comments and Discussions. In this tutorial, we show the …»>
See details


CHANGE BOOTLOADER OF WINDOW 10 WITH UBUNTU — SUPER USER

WebAug 9, 2020 1. While upgrading, Windows probably installed it own bootloader, so that you need to restore GRUB. You may do it in Linux from the command line, using the …
From superuser.com

Aug 9, 2020 1. While upgrading, Windows probably installed it own bootloader, so that you need to restore GRUB. You may do it in Linux from the command line, using the …»>
See details


DUAL BOOTING WINDOWS AND LINUX USING UEFI | OPENSOURCE.COM

WebMay 24, 2019 A quick rundown of setting up Linux and Windows to dual boot on the same machine, using the Unified Extensible Firmware Interface (UEFI). By. Alan Formy-Duval …
From opensource.com

May 24, 2019 A quick rundown of setting up Linux and Windows to dual boot on the same machine, using the Unified Extensible Firmware Interface (UEFI). By. Alan Formy-Duval …»>
See details


HOW TO DUAL BOOT WINDOWS 10 AND LINUX STARTING WITH

WebJan 15, 2019 How-To. How to Dual Boot Windows 10 and Linux Starting with Windows or Linux. By Andre Da Costa. Updated January 15, 2019. Running Windows 10 and Linux …
From groovypost.com

Jan 15, 2019 How-To. How to Dual Boot Windows 10 and Linux Starting with Windows or Linux. By Andre Da Costa. Updated January 15, 2019. Running Windows 10 and Linux …»>
See details


ADDING LINUX TO GRUB BOOT MENU IN UEFI MODE TO DUAL BOOT WITH …

Web2 Answers. Sorted by: 1. There are several possible things that might be going wrong. 1.) The Kali installer may have installed a traditional BIOS/MBR-style version of GRUB …
From unix.stackexchange.com


ADD LINUX PARTITION ENTRY TO BOOT MENU (UEFI WINDOWS 10)

WebJun 1, 2017 Jun 2, 2017 at 11:58. Please run the Boot Repair utility and select the «Create BootInfo Summary» option. (DO NOT click «Recommended Repair,» at least not yet!) …
From superuser.com


HOW CAN I ADD LINUX TO THE NEW WINDOWS 8 BOOT MANAGER?

Web1 Answer. Sorted by: 54. You can do the same as you could in Windows 7, although I’m not sure I’d recommend it using the graphical boot menu (reason in the end). Some things first:
From superuser.com

1 Answer. Sorted by: 54. You can do the same as you could in Windows 7, although I’m not sure I’d recommend it using the graphical boot menu (reason in the end). Some things first:»>
See details


HOW TO ADD UBUNTU TO WINDOWS 10 BOOT MANAGER, BUT IT WILL BE IN …

WebOct 26, 2015 One twist in all this is the Linux EFI stub loader, which is built into the kernel. The EFI stub loader turns the kernel into an EFI application that serves as a boot loader …
From askubuntu.com

Oct 26, 2015 One twist in all this is the Linux EFI stub loader, which is built into the kernel. The EFI stub loader turns the kernel into an EFI application that serves as a boot loader …»>
See details


HOW TO UPGRADE A LINUX DUAL-BOOT SYSTEM TO WINDOWS 10 — HOW …

WebAug 24, 2015 From within Windows, download the media creation tool from Microsoft, launch it, and select «Upgrade this PC». Perform the same upgrade process you would …
From howtogeek.com

Aug 24, 2015 From within Windows, download the media creation tool from Microsoft, launch it, and select «Upgrade this PC». Perform the same upgrade process you would …»>
See details


HOW TO INSTALL LINUX (UBUNTU) ON WINDOWS 10 [ULTIMATE GUIDE]

WebAug 23, 2023 Way 1. Install Linux (Ubuntu) on Windows 10 for Dual Boot. Way 2. Install Linux on VirtualBox on Windows 10. Wrapping Things Up. Install Linux on Windows 10 …
From partitionwizard.com

Aug 23, 2023 Way 1. Install Linux (Ubuntu) on Windows 10 for Dual Boot. Way 2. Install Linux on VirtualBox on Windows 10. Wrapping Things Up. Install Linux on Windows 10 …»>
See details


LINUX — HOW TO ADD WINDOWS 10 TO GRUB BOOT LOADER? — SUPER USER

WebJan 9, 2019 How to add Windows 10 to grub boot loader? Ask Question. Asked 4 years, 9 months ago. Modified 9 months ago. Viewed 160k times. 26. I have installed Windows …
From superuser.com

Jan 9, 2019 How to add Windows 10 to grub boot loader? Ask Question. Asked 4 years, 9 months ago. Modified 9 months ago. Viewed 160k times. 26. I have installed Windows …»>
See details


ADD WINDOWS 10 TO GRUB2 BOOTLOADER — UNIX & LINUX STACK …

WebJul 3, 2018 Add Windows 10 to Grub2 bootloader. Ask Question. Asked 5 years, 3 months ago. Modified 2 years, 4 months ago. Viewed 62k times. 5. I’ve gone through the …
From unix.stackexchange.com

Jul 3, 2018 Add Windows 10 to Grub2 bootloader. Ask Question. Asked 5 years, 3 months ago. Modified 2 years, 4 months ago. Viewed 62k times. 5. I’ve gone through the …»>
See details


When I create a Windows / Linux dual-boot computer I usually add Windows as an option to my LILO boot menu. That is the easiest way, and works always.

However, I ran into a situation where I could not use LILO as the primary boot loader and I had to look into the Windows7 “boot configuration data” or BCD. Actually it was Windows Vista, not Windows7, which was the first to abandon good old C:\boot.ini and start writing its bootloader configuration into a binary block of data. I wrote this post just to have this procedure available as a reference.

Windows7 contains the command-line program BCDedit which you are supposed to use for editing your Windows boot menu. A total load of crock it is. It will not support any OS that does not boot from the same hard disk that Windows7 is installed to… so I had some issues getting my Slackware added to the Windows boot menu because I had installed it on a second hard disk.

In the end I decided to shrink the Windows partition a little bit and add a small Linux partition where I could install LILO.

Microsoft has added a basic partition manager to Windows7 – something they do more often. If a 3rd party creates an invaluable add-on to provide functionality Microsoft did not include into Windows, then Microsoft will eventually copy its basic functionality into a half-hearted clone. Anyway, the freed-up hard disk space was allocated to a small partition which became Slackware’s “/boot” and I installed LILO to that /boot partition.

Then, just like in the days of Windows NT and “c:\boot.ini”, I extracted the first 512 bytes from the root sector of that /boot partition (in my case, that partition was “/dev/sda3“) and wrote it to a USB stick which I had mounted on “/mnt/hd“:

dd if=/dev/sda3 of=/mnt/hd/linux.bin bs=512 count=1

Rebooted to Windows7 and transfered that 512 byte file called “linux.bin” from the USB stick to the root of the Windows C: drive.

Next, I used BCDedit to add an entry to Windows7’s BCD store. Note that administrative privileges are required to use BCDedit!. What you do is navigate to “Start->All Programs->Accessories“, Right-click on “Command Prompt” and select “Run as administrator“.

In this command window, enter the BCDedit commands. Start by creating an entry for Slackware Linux. I use “Linux” as the label for the boot menu. The actual label you choose is arbitrary of course:

bcdedit /create /d “Linux” /application BOOTSECTOR

BCDedit will return an alphanumeric identifier for this entry. Copy that string into a text file and do not lose it!

In the remainder of this article I will refer to this string as {ID}. You would replace {ID} with the actual identifier as returned by the command you ran. An example of what you can get for an {ID} is {244ebca6-432f-11df-ab86-ce0c22f636af}.

The next step will be to specify which partition holds the copy of the Linux boot loader sector (our “linux.bin” file):

bcdedit /set {ID} device partition=c:

Then specify the actual path to the “linux.bin” file on that C: drive:

bcdedit /set {ID}  path \linux.bin

The Windows boot menu needs an entry for our Slackware Linux OS:

bcdedit /displayorder {ID} /addlast

Usually you won’t see the boot menu at all (after all, it does not contain any other entry than Windows7 itself). In order to allow the user of the computer some reflection time, we add a delay to the menu’s display timeout. Say, the boot menu should remain visible for 30 seconds before booting into the default selection:

bcdedit /timeout 30

That would be all. You can test the new Windows boot menu by rebooting the computer. You should be able to select either Windows7 (default) or Linux to boot into. When you choose “Linux”, you’ll be taken to Slackware’s familiar LILO menu.

If at any time you would have to remove the “Linux” menu option, you can run the following command … provided you wrote the {ID} string down somewhere:

bcdedit /delete {ID}

Have fun, even with Windows,

Eric

  • Добавить пользователя в группу windows cmd
  • Добавление linux в домен windows
  • Добавить переменную в path windows 10 через cmd
  • Добавить пользователя в windows 10 без аккаунта
  • Добавление hdd в windows 10