- Linux Mint Forums
- Boot Linux Mint from Windows Boot Loader-BCDEDIT entries?
- Boot Linux Mint from Windows Boot Loader-BCDEDIT entries?
- Re: Boot Linux Mint from Windows Boot Loader-BCDEDIT entries?
- Linux Mint Forums
- How do I add Linux Mint to a Windows Boot Loader?
- How do I add Linux Mint to a Windows Boot Loader?
- Re: How do I add Linux Mint to a Windows Boot Loader?
- Как добавить Linux Ubuntu в Windows Boot Manager?
Linux Mint Forums
Boot Linux Mint from Windows Boot Loader-BCDEDIT entries?
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
Boot Linux Mint from Windows Boot Loader-BCDEDIT entries?
Post by shockwaveriderz » Sat Aug 17, 2019 7:02 pm
I currently have a fully functional Linux Mint 19.2 installed to a VM in vmware workstation pro 15 on my win10pro 1903 18362.295 PC.
It’s been installed since Nov 2018 and upgraded from 190.0 to 19.1 and now 19.2 . Run’s Great! No Complaints.
What I now wanting to do is install Linux Mint 19.2 to an external USB HDD/SSD.
I know how to do this, boot up with a Linux USB Live and then hit install.
No problem.
My questions resolve around how to get a Linux Mint boot entry on the Windows Bootloader.
It’s my understanding that GRUB 2 will automatically install itself to the EFI (u)Efi System Partition (ESP).
Is this correct?
OR will during the install will it allow me to install to / or /boot?
I have an ALL UEFI BIOS (No Legacy or CSM support) and all my disks are GPT. No MBR disks.
I found the following online:
I cannot use EasyBCD because it messes up my bcdstore entries.
We DO NOT want to install the bootloader on /dev/sda, as that would overwrite our disk’s master boot record, nor do we want to install it on /dev/sda1 or /dev/sda2, as that would overwrite the Windows 10 boot manager files and boot configuration data, or the operating system itself. Instead, let’s have Ubuntu install its bootloader on the partition that will contain the Ubuntu operating system – in our case /dev/sda3. To do this, click on the drop down list under “Device for boot loader installation” and select /dev/sda3
Can anybody help me to accomplish this?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Boot Linux Mint from Windows Boot Loader-BCDEDIT entries?
Post by athi » Sat Aug 17, 2019 8:13 pm
shockwaveriderz wrote: ⤴ Sat Aug 17, 2019 7:02 pm I currently have a fully functional Linux Mint 19.2 installed to a VM in vmware workstation pro 15 on my win10pro 1903 18362.295 PC.
It’s been installed since Nov 2018 and upgraded from 190.0 to 19.1 and now 19.2 . Run’s Great! No Complaints.
What I now wanting to do is install Linux Mint 19.2 to an external USB HDD/SSD.
I know how to do this, boot up with a Linux USB Live and then hit install.
No problem.
My questions resolve around how to get a Linux Mint boot entry on the Windows Bootloader.
It’s my understanding that GRUB 2 will automatically install itself to the EFI (u)Efi System Partition (ESP).
Is this correct?
OR will during the install will it allow me to install to / or /boot?
I have an ALL UEFI BIOS (No Legacy or CSM support) and all my disks are GPT. No MBR disks.
I found the following online:
I cannot use EasyBCD because it messes up my bcdstore entries.
We DO NOT want to install the bootloader on /dev/sda, as that would overwrite our disk’s master boot record, nor do we want to install it on /dev/sda1 or /dev/sda2, as that would overwrite the Windows 10 boot manager files and boot configuration data, or the operating system itself. Instead, let’s have Ubuntu install its bootloader on the partition that will contain the Ubuntu operating system – in our case /dev/sda3. To do this, click on the drop down list under “Device for boot loader installation” and select /dev/sda3
Can anybody help me to accomplish this?
Why would you want to use Win10 boot manager to select boot O/S? GRUB2 is more robust and simpler to use with much better support. Once installed, when you boot into GRUB, it will have all detected O/S listed along with other options/tools to boot from. To me this is simpler and better than using a kludge to modify Windows boot manager.
Yes, as part of installation, GRUB will be loaded into the EFI partition. For Win10 dual boot, GRUB can be installed into the same EFI partition created by Win10 or EFI partition on other SSD/HDD. You can install GRUB into / or /boot but then UEFI will not be able to find the GRUB boot loader to be listed as boot device in UEFI boot menu (UEFI by default will only look in EFI partition).
You are under some misconception on how GPT and UEFI works. Win10 per MS requirements must be installed on GPT partitioned disks. GPT does not use the MBR partition table, so your concern of overwriting disk MBR is invalid. Installing GRUB into the same EFI partition as Win10 will create a new directory for GRUB installation and will not overwrite or disturb the content of the Windows EFI directory, so your concern of overwriting Win10 boot manager is also invalid.
Edit: I believe BCDEDIT is meant for multi booting WinVista or earlier (which are MBR only) with other version of Windows. You would not need BCDEDIT for multi booting Win8 or later which are all GPT and UEFI ready.
Linux Mint Forums
How do I add Linux Mint to a Windows Boot Loader?
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
How do I add Linux Mint to a Windows Boot Loader?
Post by druid » Sat Jan 17, 2015 10:19 pm
Hi.
My laptop came with Windows 8 and all these UEFI things.
I installed Linux Mint. After installation Windows 8 was started. But it seems that Linux Mint installed grub and efi entries successfully. So now when I switch on a computer with pressed F2 key I can choose Windows or Ubuntu boot manager. But BIOS doesn’t allow to change the order. So if F2 is not pressed Windows boot manager will be loaded. I am ok with that. But I would like to add Linux Mint to a menu.
I read a few articles but I wasn’t able to achieve that.
I tried to add an entry as below:
bcdedit /create /d "Linux Mint" /application bootsector bcdedit /set device partition=\Device\HarddiskVolume2 bcdedit /set path /EFI/ubuntu/grubx64.efi
It didn’t work. Windows boot manager fails to load Linux Mint. Actually I think bootsector is a wrong application type. But what should I put instead?
I read that you can install grub to a Linux partition then create linux.bin with something like this dd if=/dev/sda3 of=/tmp/linux.bin bs=512 count=1 and copy it to C:\ and run bcdedit again. But I believe it shouldn’t be done because Linux Mint already installed grub to \Device\HarddiskVolume2. So the only thing I should do is just to find out how to properly call bcdedit.
Has anyone done it?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Derek_S Level 6
Posts: 1279 Joined: Sat Dec 28, 2013 5:36 pm Location: Long Island, N.Y.
Re: How do I add Linux Mint to a Windows Boot Loader?
Post by Derek_S » Sat Jan 17, 2015 11:04 pm
Hello druid — I’m not familiar enough with every syntax of the bcdedit command to say whether the first two commands are valid or not. But I can definitely tell you that the last command is incorrect. It should look like this:
bcdedit /set path EFI\ubuntu\grubx64.efi
Basically, you’re telling Windows «I want to use the Linux bootmanager grubx64.efi instead of the Windows bootmanager bootmgfw.efi and here is the path where you will find it». The next time you boot the system after entering this command, you will not have to press the F2 key to access the Windows bootloader options. Instead, you will see the grub boot menu appear and it should contain choices to boot either Linux Mint or Windows.
Just to be 100% certain on this, please be aware that this command is run from an elevated Command Prompt (right-click and «Run as Administrator») from the Windows operating system. Also note that in Windows, when you designate a path to a particular folder or file, you must use the backslash( \ ) and not the forward slash ( / ) as you did.
«When you rise in the morning, give thanks for the light, for your life, for your strength. Give thanks for your food and for the joy of living. If you see no reason to give thanks, the fault lies in yourself.» — Tecumseh
Как добавить Linux Ubuntu в Windows Boot Manager?
Здравствуйте! Мне надоел некрасивый интерфейс GRUB, и у меня возникла идея. Я хочу добавить запись Linux Ubuntu в Windows Boot Manager. Но как сделать я не знаю. Сейчас у меня там 2 записи: Windows 11 и Windows 7 Ultimate. Пробовал программу EasyBCD, но она поддерживает добавление записи дистрибутива Linux в Windows Boot Manager только на MBR, но у меня GPT/UEFI. Как можно это сделать? Мне не хочется каждый раз загружать гроб, и при необходимости зайти в винду, переходить в другой загрузчик в гробе. Я чаще в Windows захожу, чем в Ubuntu.
Средний 13 комментариев
Никита Савченко, спробуй взять какойнить сторонний загрузчик, который будет и красивый и нативно поддерживать все виды операционок.
инструкции как прописать в виндовс загрузку линуксовый раздел под ntldr как минимум была.
Никита Савченко, берете понравившуюся тему (из любого источника, например: https://store.kde.org/browse?cat=109&ord=rating ) или можете создать свою.
Кидаете её в /boot/grub/theme/
Прописываете в конфиг
делаете grub-mkconfig
Никита Савченко, грубу вообще до лампочки до гнома с кде. он работает на несколько слоев глубже них и просто не различает и не замечает их.
В чем проблема через boot menu выбирать какую системы грузить?
Зачем линукс пихать в бут менеджер винды, которая при первой возможности его затрет?
самым правильным граб > а на нем уже все OS вешать со своим казино и борделем
Никита Савченко, мнээээ а чем ?? 🙂 это просто сторонний загрузчик или про загрузку линухи через ntldr ??
Никита Савченко, grub можно сделать красивым. Если лень самостоятельно, можно тут взять готовые темы: https://www.gnome-look.org/browse?cat=109&ord=rating (сайт в пынестане заблочен, юзать VPN).
Довольно странно читать, как на вопрос про «ставить Линукс» отвечают примерно «а нафига тебе, ставь через виртуалку».
1. Линукс стоит на основном рабочем лаптопе уже 4 года. В заводскую Винду перезагружаюсь в среднем раз в месяц, чтоб открыть какой-нибудь cad-овский файл. Дистрибутив — Arch, обновляет пакеты постоянно, работает как хорошие часики. Иногда подключаю док-станцию и второй монитор. Нет, не ломался ни разу, драйверы в ручную не ковырял.
2. Не пользуюсь Грабом давно, просто потому что смысла нет. Записываю загрузчик или напрямую через efibootmgr, или же создаю отдельный загрузчик через bootctl (systemd-boot) и записываю там элементы загрузки. Основное отличие — меню выбора никогда не всплывает (все доступные ОС не высвечиваются), загружается всегда запись №1 из UEFI, очередность можно менять там же. Выбрать одноразово можно при загрузке через специальное меню UEFI, которая всплыват по нажатию одной из F кнопок (зависит от производителья МП) примерно в том же промежутке загрузки, когда еще можно открыть основное меню UEFI/BIOS.
Не насилуйте себя. Линукс на железе нужен крайне редко, и часто это то еще извращение. Загоните его в виртуалку.