Add ubuntu to windows boot manager

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

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

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

Windows 10: How can i add ubuntu to windows 10 bootmanager on a UEFI system ?

Discus and support How can i add ubuntu to windows 10 bootmanager on a UEFI system ? in Windows 10 Customization to solve the problem; [ATTACH]

I want to dual boot ubuntu along with my windows 10 os which is installed on the first storage device. The system is eufi and gpt based. I…
Discussion in ‘Windows 10 Customization’ started by RASELMX, Sep 16, 2019.

  1. How can i add ubuntu to windows 10 bootmanager on a UEFI system ?

    How can i add ubuntu to windows 10 bootmanager on a UEFI system ? 8b27d900-5501-4a03-9013-abdd80821084?upload=true.png


    I want to dual boot ubuntu along with my windows 10 os which is installed on the first storage device. The system is eufi and gpt based. I installed the ubuntu to the second storage device, created swap, efi and ext4 root partitions for ubuntu while installing all on the second storage device. So basically I don’t want the grub bootloader because it is ugly. So I want to add ubuntu to windows bootloader. Googled about it a lot and found almost no relevant answer, they are all about mbr and bios systems. So here you can see easyBCD is not working as windows in efi mode. is there any fix for this so I can have ubuntu to the windows 10 boot manager ?

    :)

  2. Dual boot Windows 10 & Ubuntu UEFI

    You need to do 2 things.

    First set your NVRAM to boot the Windows boot manager, not grub. Normally the last thing you installed (or upgraded) will try to grab it for itself. You can reset it in Windows by running bcdedit /set {bootmgr} path \efi\microsoft\boot\bootmgfw.efi and note you may have to re-do this step if upgrading other OS as it will reset the path to \EFI\ubuntu\grubx64.efi or whatever (depending on your version).

    See : BCD System Store Settings for UEFI | Microsoft Docs

    Next you need to add a entry to the Windows boot list using bcdedit. This is described here : dual boot — I need to see the BCDedit for a windows10/ubuntu install both by wubi and by seperate partition — Ask Ubuntu

    Make sure you use the path \EFI\ubuntu\shimx64.efi as this will work with both secure boot on or off. You can apparently use EasyUEFI to do this but I never found it very intuitive so gave up on it.

    Personally I use rEFInd as a boot manager which will pick up Windows and most Linux installs (either EFI or legacy) without having to do anything.

  3. Windows 10 Tweaks

    Pressing “Windows+Pause Break” (it’s up there next to scroll lock) opens the “System” Window.

    Windows 10: In the new version of Windows, Explorer has a section called Quick Access. This includes your frequent folders and recent files. Explorer defaults to opening this page when you open a new window. If you’d rather open the usual This PC, with links to your drives and library folders, follow these steps:

    • Open a new Explorer window.
    • Click View in the ribbon.
    • Click Options.
    • Under General, next to “Open File Explorer to:” choose “This PC.”
    • Click OK

    credit to Lifehacker.

  4. How can i add ubuntu to windows 10 bootmanager on a UEFI system ?

    Windows 10 Update always messing up dual boot menu with UbuntuDear Mr. Samie:

    The computer came initially installed with Microsoft Windows 7. I am using Acer 3750G and was purchased way back in May 2011. It has Intel i5-2410M processor on Acer Motherboad. It doesn’t have UEFI as boot option, so I have installed it with BIOS (Legacy mode).

    I recall trying the above steps earlier but it was not of much help at that time. Would the above steps change if I am having Legacy boot option instead of UEFI?

    Warm regards,

    Naseef

Thema:

How can i add ubuntu to windows 10 bootmanager on a UEFI system ?

  1. How can i add ubuntu to windows 10 bootmanager on a UEFI system ? — Similar Threads — add ubuntu bootmanager

  2. windows bootmanager is loading ubuntu

    in Windows 10 Software and Apps

    windows bootmanager is loading ubuntu: i was using ubuntu for a while , now when i try to reinstall windows using windows bootmanager it is loading ubuntu

    https://answers.microsoft.com/en-us/windows/forum/all/windows-bootmanager-is-loading-ubuntu/ec11f7dc-5155-414a-bca3-766f90063fd9

  3. windows bootmanager is loading ubuntu

    in Windows 10 Gaming

    windows bootmanager is loading ubuntu: i was using ubuntu for a while , now when i try to reinstall windows using windows bootmanager it is loading ubuntu

    https://answers.microsoft.com/en-us/windows/forum/all/windows-bootmanager-is-loading-ubuntu/ec11f7dc-5155-414a-bca3-766f90063fd9

  4. Add Windows drive with MBR to a UEFI System

    in Windows 10 Gaming

    Add Windows drive with MBR to a UEFI System: Hi!I have a booteable hard disk by mean MBR with Windows Server 2019.I want to add that hard disk to a system with UEFI which has Linux installed with its boot loader /boot/efi partition.How can I add the Windows drive in order to get adual boot sistem?Thank you in advance…
  5. Add Windows drive with MBR to a UEFI System

    in Windows 10 Software and Apps

    Add Windows drive with MBR to a UEFI System: Hi!I have a booteable hard disk by mean MBR with Windows Server 2019.I want to add that hard disk to a system with UEFI which has Linux installed with its boot loader /boot/efi partition.How can I add the Windows drive in order to get adual boot sistem?Thank you in advance…
  6. Window 10 go to UEFI mode and stuck dual boot with Ubuntu

    in Windows 10 Installation and Upgrade

    Window 10 go to UEFI mode and stuck dual boot with Ubuntu: Before this happen, i installed Ubuntu dual boot on a completely free disk space that i shrinked i have successfully installed Ubuntu dual boot on many machines. However, this time, when i choose window on GRUB menu it go straight to UEFI and there is no option to go to…
  7. Can I configure an ubuntu system to be similar in appearance to windows?

    in Windows 10 Customization

    Can I configure an ubuntu system to be similar in appearance to windows?: I want to configure an ubuntu system to be similar in appearance to windows. can i do this without having copyright issues?

    https://answers.microsoft.com/en-us/windows/forum/all/can-i-configure-an-ubuntu-system-to-be-similar-in/a1995806-50a9-4c0f-9ba4-101fd95897cb

  8. Add UEFI boot to windows

    in Windows 10 BSOD Crashes and Debugging

    Add UEFI boot to windows: I installed windows while I was on legacy mode, (I didn’t realize that I couldn’t turn on bitlocker from legacy mode) I now want to turn on bitlocker, so I went into the UEFI, and tried to turn off legacy mode, it turned off, but when I tried to boot, it failed, I have tried…
  9. How can I add IE11 to Windows 10?

    in Windows 10 Installation and Upgrade

    How can I add IE11 to Windows 10?: Before you post the numerous links to how to enable IE 11 in Features, their is no IE11 listing in Features anymore, Microsoft removed it and IE11 in an update. Now when I try to run QuickBooks 2007 it will not open without some form of IE on my system. I cannot find anywhere…
  10. Dual boot Windows 10 & Ubuntu UEFI

    in Windows 10 Installation and Upgrade

    Dual boot Windows 10 & Ubuntu UEFI: Hello World

    I install W10 & ubuntu in dual boot on my new computer. I want to use Windows boot loader instead of GRUB. It is in UEFI so I can not use easy BCD, and I have to use easy UEFI. But I am completely lost I can not find clear info. This is the objective:

    [ATTACH]…

Users found this page by searching for:

  1. add ubuntu to windows boot manager

    ,

  2. add ubuntu to windows 10 boot manager

    ,

  3. add ubuntu to windows bootloader

    ,

  4. windows efi partition add linux,
  5. add ubuntu to windows bootloader uefi,
  6. edit windows boot manager ubuntu,
  7. how to add ubuntu to windows boot manager,
  8. add ubuntu to windows boot,
  9. uefi boot manager windows 10,
  10. windows boot manager add ubuntu entry,
  11. add linux to windows boot manager,
  12. add ubuntu from other computer to efi,
  13. add uefi boot option for ubuntu,
  14. windows boot manager add ubuntu,
  15. windows 10 hides ubuntu boot manager

How to Dual Boot Windows 10 and Linux Starting with Windows or Linux

Running Windows 10 and Linux on the same computer is easier than ever. Here’s how to do it.

A computer that boots both Windows 10 and Linux can easily be the best of both worlds. Having easy access to either of the operating systems lets you enjoy the benefits of both. You can hone your Linux skills and enjoy the free software only available for Linux platforms. Or, you can switch back to Windows 10 to use apps like Photoshop, AutoCAD or Microsoft Office. The beauty of dual booting is that it lets each operating system take full advantage of the hardware resources of your computer. While virtual machines and the Windows Subsystem for Linux can give you a taste of the Linux experience, dual booting lets you tap its full potential.

The good news is that Windows 10 and Linux live in harmony better than ever these days. Dual booting Windows 10 and Linux used to be a precarious process that could wreck your Windows installation, your Linux installation or both. While the process isn’t quite a smooth as dual booting macOS and Windows with Boot Camp, it comes close. In this article, we’ll show you how to safely install Windows 10 and Linux on the same hard drive. It doesn’t matter if you’re starting with Linux or starting with Windows—dual booting is easy to set up either way.

Dual Boot Linux with Windows 10 – Linux Installed First

Let’s start with the (slightly) harder way first; you already have a copy Linux installed and you want to install Windows on a partition. The first step is to create the partition where Windows 10 will be installed. We have covered how to create partitions in Linux, so, start by reviewing our article on how to do that.

Once you have your partition set up, you will need to purchase Windows 10, download the ISO file then create a bootable copy. Creating a bootable copy of Windows 10 on Linux can be done using the free Unetbootin (USB thumb drive) or Brasero software if you are installing from a DVD.

Create Bootable Windows 10 Install Media Using Unetbootin

Unetbootin can be downloaded from the Software Center in Ubuntu. Once you have it up and running, launch it. Make sure you are using a thumb drive with at least 8 GBs of free space.

Select the Disk Image radio box, click the browse button (represented by an ellipsis …), browse to the ISO file then click Open. Chose the medium from the Type list box—in this case, your USB drive. Click on the drive list box then select your USB thumb drive.

Click OK, then wait while the bootable copy is created.

When complete, click Exit.

Create Bootable Windows 10 Install Media Using Brasero

If you already made a bootable USB with Unetbootin, you can skip this part. If you are still using an old school system with a DVD drive, you can use the Brasero DVD Burning software, which you can download from the Software Center also. Please keep in mind, Windows 10 ISO files are getting larger beyond the standard 4.7 GB DVDs. So, in some cases, it’s best you use 8.5 GB dual-layer DVDs if supported by your drive. If you can’t, then it’s best you use a USB thumb drive.

In Brasero, click Burn Image.

Select your disc image, make sure a blank DVD disc is inserted then click Burn.

After preparing your install media, insert it or connect it. Reboot your computer, then configure your BIOS to boot from the drive. Windows 10 will boot into setup as it normally does. After you arrive at the setup screen, click Custom: Install Windows only (advanced).

Make sure you select the right partition; don’t wipe out your Linux installation. Click Next then wait while Windows 10 Setup copies files to the drive. Your computer will be rebooted several times.

When setup is complete, follow the instructions to complete the out of box experience.

After that’s complete, you might notice the obvious—there is no way to boot into Linux anymore. Here is how you fix that. Download a free utility called EasyBCD from Neosmart Technologies. Proceed to install EasyBCD then launch it. Select the Linux/BSD tab. Click in the type list box, select Ubuntu; enter the name of the Linux distribution, choose automatically locate and load then click Add Entry. Reboot your computer.

You will now see a boot entry for Linux on the Windows graphical boot manager.

Dual Boot Linux with Windows 10 – Windows Installed First

For many users, Windows 10 installed first will be the likely configuration. In fact, this is the ideal way to dual boot Windows and Linux. Again, I will be using the Ubuntu Linux distribution. You can download the Ubuntu Linux ISO image from Canonical’s web page then create a bootable copy using Unetbootin for Windows or burn to a blank DVD using disc image in Windows 10.

After creating your install media, configure your BIOS to boot from it. Ubuntu’s installation wizard intelligently detects existing Windows installations. It will ask you if you would like to install Ubuntu alongside Windows.

At the Ubuntu install screen, click Install Ubuntu.

Choose whether you want to download and install updates and third-party drivers and codecs then click Continue.

Select the option Install Ubuntu alongside Windows 10 then click Continue.

Ubuntu’s installer will set a default allocation of space for the installation. If you have enough space, you can resize the partition by placing your mouse between the divider then drag it left or right to make adjustments. Once you are satisfied with the allocated amount for your Ubuntu installation, click Install Now.

Click Continue to confirm changes.

Click Continue again.

Enter your time zone then click Continue.

Select your keyboard layout, click Continue.

Create your user account by providing your full name, computer name, login name, and password. Choose whether you want to log in automatically or be prompted for a password. You can also encrypt your home folder for extra security. Click Continue.

Wait while Ubuntu copies files.

When complete, click Restart Now.

Ubuntu will add a boot entry for Windows 10 to the GRUB boot manager, which you can select using the up or down arrow then hitting Enter.

That’s it, Windows 10 and Ubuntu is now set up on your computer.

Let us know what you think. If you have done this before, share some of your tips with us. By the way, what’s your favorite distro?

Источник

Двойная загрузка Windows 10 и Ubuntu Linux

Многие пользователя не могут смириться с некоторыми ограничениями игр, которые накладывает ОС Linux, несмотря на тот факт, что в последнее время развитию игровой составляющей в Linux уделяется повышенное внимание. Тем не менее, многие пользователи хотят организовать двойную загрузку, но это становится довольно сложной задачей с выходом новой ОС Microsoft.

Известно, что Windows “не дружит” с Linux, в частности не распознает форматированные Linux диски и разделы и не предоставляет загрузчик, который бы позволял запускать систему с ядром Linux, например, Ubuntu. Кроме того, многие компьютеры сейчас поставляются с предустановленной защитой загрузчика Windows 10.

Первое что нужно сделать перед попыткой установить Ubuntu или другой дистрибутив Linux совместно с Windows 10 — открыть меню BIOS/UEFI компьютера и отключить опцию Secure Boot.

Разметка диска Windows 10

Перед установкой Ubuntu, нужно разделить диск с Windows 10. На данном этапе есть два возможных сценария, но изначально нужно проверить, имеется ли в системе один раздел, выделенный Windows 10 или несколько разделов. Если у вас в распоряжении всего один раздел, его придется сжать, но сначала удостоверьтесь, что на нем достаточное количество свободного пространства.

Во втором случае, когда имеется два или более разделов, вам нужно решить, какой раздел будет очищен для установки Ubuntu. В обоих случаях, щелкните правой кнопкой мыши по меню Пуск, выберите пункт “Управление дисками”. В первом случае выберите диск (C:) и в контекстном меню правой кнопки мыши выберите опцию “Сжать том”.

Установите размер нового раздела для Ubuntu, который зависит от первоначального размера диска и свободного пространства на нем, а также от вашего выбора. Обратите внимание, что вам нужно не менее 10 гигабайт для установки Ubuntu (рекомендуется 20 гигабайт и более). После завершения сжатия, закройте утилиту “Управления дисками”.

Во втором случае, выберите раздел, который нужно очистить, допустим (D:) и в приложении “Управление дисками” щелкните правой кнопкой мыши по соответствующему разделу и выберите “Удалить том”, и у вас появится нераспредленный раздел, также, как и в первом случае.

Загрузка и установка Ubuntu

Последний релиз Ubuntu доступен для загрузки с нашего сайта, убедитесь, что Вы загружаете 64-битный ISO-образ, который нужно записать на USB накопитель объемом 2 гигабайта или выше.

После завершения создания USB, подключите USB-устройство флеш-памяти с Ubuntu в свободный порт компьютера, перезагрузите компьютер и вызовите загрузочное меню для выбора в качестве источника загрузки USB флешки. Не выбирайте UEFI USB (в этом случае Windows 10 не распознается!) *. После этого, установите последнюю версию Ubuntu.

Единственное различие заключается при отображение первого экрана установки, на нем нужно выбрать опцию «Install Ubuntu alongside Windows 10” (“Установить Ubuntu рядом с Windows 10”). После завершения установки перезагрузите компьютер. Выбирайте между Ubuntu и Windows 10 с помощью загрузчика Ubuntu (доступен при нажатии Esc).

Установить Ubuntu рядом с Windows 10

* Обновление: нет необходимости отключать Secure Boot или не выбирать UEFI USB при установке Ubuntu. На конкретной тестовой машине без применения данных мер, UEFI не распознавал раздел Windows 10 на жестком диске, на вашем компьютере все может работать и без данных операций.

Источник

Настройка UEFI Dual Boot системы, приправленной rEFInd

КДПВ. Бут-менеджер rEFInd с темой оформления Regular.

На сегодняшний день практически все уже слышали про технологию UEFI. Говорить о том, что это такое и зачем оно нужно, я не собираюсь. Сегодня я бы хотел описать простейший сценарий установки Dual Boot системы с полной поддержкой UEFI, а также рассмотреть отдельно установку и настройку бут-менеджера rEFInd. Возможно вы уже видели подобные мануалы и гайды, но я постараюсь донести весьма доходчиво суть того, что мы будем делать и зачем. В других мануалах вы лишь смотрите за «магией» картежника и пытаетесь её повторить, делая, зачастую, элементарные ошибки. Кому эта тема интересна — прошу под кат.

В целом UEFI призвана наоборот упросить процесс загрузки, а не усложнить его. К примеру, посредством этой технологии компьютер можно загружать ОС и вовсе без прослойки в лице GRUB / LILO / etc, загрузчиком может выступать сама UEFI. Однако этот метод имеет свои недостатки, например, вам придется повозиться после обновления ядра, можно, разумеется, написать скрипт, но в целом этим и занимается grub2-efi

Итак, давайте сформируем примерный список наших действий, некоторым хватит прочесть его и уже взяться за дело. Собственно тут будет всего четыре пункта. Пятый и шестой пункт опционален.

  1. Запись образа Windows 10 (8/8.1) на диск/флешку.
  2. Установка Windows 10 на часть диска.
  3. Запись образа Linux-дистрибутива с поддержкой EFI (большинство) на диск/флешку.
  4. Установка Linux-дистрибутива на оставшуюся часть диска.
  5. Установка и конфигурация rEFInd.
  6. Удаление GRUB и полный переход на rEFInd.

На первый взгляд всё очень просто, всего 4 базовых пункта, но тут есть огромное количество нюансов.

Ошибки делают на всех этапах: входят в режим Legacy-bios, указывают не тот загрузочный раздел, просто не понимают, что делают и т.д. В конечном итоге всё это приводит к массе боли и страданиям на форумах, в чатах, и т.д. На деле же всё нереально просто, нужно просто понимать, что ты делаешь на каждом этапе и проверять себя.

Сначала немного теории

UEFI видит только один специальный ESP-раздел, обычно он имеет размер 100-200 мегабайт и форматирован в FAT32 (бывает в FAT16), в нем содержаться папки с названиями а-ля Boot, Microsoft, Fedora, Ubuntu и т.д. Если вы перепробовали достаточное количество ОС и никогда не форматировали этот раздел, то там могло набраться приличное количество папок. К примеру, у меня было 2 живых оси и лежало около 6 папок.

P.S. CodeRush подсказал, что поддерживаются все FS, если на них есть соответствующие драйверы:

Это неверно. UEFI видит все разделы, для ФС которых в конкретной реализации прошивки имеются драйверы. ESP же отличается от остальных разделов только тем, что а) для FAT драйвер иметь обязательно и б) на разделе ESP осуществляется поиск загрузчиков и автоматическое создание соответсвующих переменных BootXXXX, если загрузчики нашлись.

В самих папках лежат исполняемые файлы .efi которые и выступают в роли загрузчиков ОС. В папке debian вы наверняка обнаружите файл grubx64.efi , а в папке Microsoft – bootmgr.efi .

Большинство Linux-дистрибутивов монтируют ESP-раздел к /boot/efi , то есть загрузчик Debian будет лежать примерно на таком пути: /boot/efi/EFI/debian/grubx64.efi

C директорией разобрались, а что дальше?

А дальше нужно понимать, что существует ещё порядок загрузки, которым можно руководить с помощью утилиты efibootmgr , если у вас её нет, то можете скачать через свой пакетный менеджер, во всех стандартных репозиториях она присутствует. Для начала можете просто ввести эту команду и увидеть список порядка загрузки, а также все UEFI-записи. Если хотите разобраться с утилитой, то курите ман и читайте интернеты, в целом она весьма простая. Злой Windows как раз-таки тут и затирает наш GRUB и ставит Windows Boot Manager первым приоритетом, поэтому его приходится восстанавливать. Скажу лишь как редактировать записи:
efibootmgr -b —
К примеру, efibootmgr -b 0 -B означает удалить запись 0.

P.S. CodeRush и другие комментаторы заметили, что efibootmgr является весьма опасной утилитой и отмечают, что гораздо безопасней пользовать EFI Shell.

По факту GRUB можно вообще не трогать, потому что он наверняка так и лежит в папке EFI/ , нужно лишь восстановить запись и выставить первый приоритет, но зачем что-то копать если можно chroot’нуться и ввести grub-install ? В большинстве случаев он сделает всё сам.

Кстати, стоит не забывать, что базовым функционалом efibootmgr обладает и сам, собственно, UEFI, он умеет читать эти записи и выстраивать приоритеты. Но сам просматривать ESP-разделы и добавлять новые записи он не умеет, эти обязанности возложены на EFI Shell и операционные системы.

Еще как умеет, и это умение требуется спецификацией начиная с UEFI 2.2 (SecureBoot появился в UEFI 2.3.1C).

И на последок: Все ваши действия в efibootmgr записываются в NVRAM! В большинстве случае UEFI умеет восстанавливать битый NVRAM каждый раз проверяя его и перезаписывая, в случая неполадок. Однако некоторые недобросовестные производители выпускают сырые прошивки и можно получить самый настоящий кирпич. К примеру ноутбуки с UEFI на базе Phoenix SCT окирпичиваются! Так что перед тем как продолжить читать, удостоверьтесь, что ваша модель материнской карты или ноутбука, устойчива к таким экспериментам.

P.S. Уже после написания большей части статьи я вспомнил про Secure Boot. Обычно UEFI тянет его за собой, но в большинстве случаев его можно весьма просто отключить в настройках UEFI. Многие Linux-дистрибутивы поддерживают его, но я всё же рекомендую его отключить, так как он может потянуть за собой массу проблем.

Базовый экскурс в теорию закончен.

Теперь можно перейти к практике

Дисклеймер: Сразу оговорю, что я предпочитаю стерильные условия и сам делаю полную переустановку с помощью проверенных лично мной утилит. Если вы будете использовать другие утилиты, то, пожалуйста, не пишите почему у вас что-то не получается на том или ином этапе. Мой вариант проверен сотнями переустановок друзьям и коллегам.

Первым делом нам нужно записать Windows

Потому что если поставить Windows второй, то она затрет загрузчик. Восстановить? Без проблем. Но зачем возня, если можно сразу сделать всё по уму? Впрочем я всё равно обговорю нюансы восстановления чуть позже в конце статьи.

В отличии от Linux, Windows записать гораздо проще, на мой взгляд. Первый способ до возможно многим знаком, нужно просто зайти в cmd.exe от имени администратора и ввести эти команды. Не сложно заметить, то тут нет абсолютно никакой магии. Мы просто форматируем флешку в FAT32:

diskpart
list disk
select disk
clean
create partition primary
select partition 1
active
format fs fat32 quick
assign
exit

После этого нужно просто открыть ISO-файл архиватором и перекинуть содержимое на чистую флешку. Всё, UEFI-флешка готова. На Linux можно сделать всё аналогичным образом, просто форматируем в FAT32 и копируем содержимое.

Полученную флешка должна отлично загружаться любым ПК с поддержкой UEFI.

Кстати, обратимся к теории: наш образ с Windows 10 содержит папочку efi, в ней как раз лежит всё добро для начала загрузки, которое должен увидеть наш UEFI. Поэтому простого форматирования и копирования в большинстве случаев хватает для большинства ПК.

Однако я предпочитаю второй способ с использованием утилиты Rufus. Он меня никогда не подводил. Однако это Windows-only способ. На Linux-системах использование ddresque для создания загрузочной флешки Windows НЕ РАБОТАЕТ. Так что пробуйте другие утилиты, если первый способ с простым форматирование не помог.

Всё что вам будет нужно: выбрать вашу флешку, выставить параметр «Схема раздела и тип системного интерфейса» на «GPT для компьютеров с UEFI», и нажать старт. Остальные параметры трогать не нужно. Лучше использовать флешки помельче (на 8-16 гигабайт).

Наверняка один из способов должен был прокатить, лично я ни разу с проблемами на этом этапе не встречался, главное чтобы компьютер поддерживал UEFI.

Поэтому перейдем к этапу установки

После загрузки в UEFI-режиме делаем всё по стандартной схеме, но на этапе выбора типа установки выбираем «экспертную», то есть мы разметим раздел сами. Размечать рекомендую аккуратно, особенно если дисков много. Наконец, выбрав диск, удалите все существующие разделы. Создайте один раздел с нужным вам размером, к примеру, 150 гигабайт. (Если вы предпочитаете создавать два и более разделов для ОС и файлов — без проблем, создавайте). Выберете этот раздел кликом мышки и нажмите «Далее». И если вы всё сделали верно, то Windows попросит вас создать дополнительные. Обязательно отвечайте «Да». Система создаст три раздела. Два своих для системных нужд и один тот самый нужный нам EFI-раздел. У меня он по нумерации всегда второй, всего получится 4 раздела, включая пользовательский NTFS. Если установщик не предложил создать разделы или создал всего один, то значит вы загрузились в Legacy-режиме и нужно перезаписывать флешку, что-то пошло не так. К сожалению редактор разделов Windows-установщика крайне слаб по возможностям, поэтому пробовать размечать разделы под будущий Linux тут смысла нет, оставляем это место попросту свободным. Дальше устанавливаем всё в штатном режиме.

Кстати, один из признаков правильной установки Windows в UEFI-режиме, появление логотипа производителя материнской карты / ноутбука / планшета при загрузке. Во многих UEFI (к примеру от ASUS и ASRock) есть отдельная настройка для этого. Так что если логотипа нет, но всё остальное прошло как по маслу, то ничего страшного в этом нет.

Тонко настраивать Windows на данный момент не рекомендую, так как если что-то пойдет не так, то возможно придется переустановить.

Записываем Linux?

Ага. После входа в Windows рекомендую сразу скачать образ выбранного вами дистрибутива и записать его аналогичным образом через Rufus. Правда в случае с Linux-дистрибутивами Rufus может спросить массу вопросов, к примеру он может попросить подгрузить загрузчик syslinux с интернета или выбрать режим записи образа: ISO или DD. На все вопросы отвечаем «Да.», то есть да, скачиваем последнюю версию syslinux и записываем в режиме ISO. Проверено на Ubuntu (и её вариациях Server, Mate, GNOME), Fedora, RHEL7, Debian и других.

До Dual Boot буквально один шаг

В отличии от Windows большинство дистрибутивов имеют отличную индикацию UEFI-режима. К примеру Debian в своем установщике черным по белому пишет, что система запущенна в UEFI-mode. Другие дистрибутивы проявляют это странным grub-загрузчиком, который выглядит «как-то не так».

Думаю если вы собрались ставить Linux, то вы наверняка сами знаете как ставить ваш любимый дистрибутив, поэтому я не буду заострять внимание на подробностях установки отдельно взятого дистрибутива. Потому что этот этап до боли прост. Если вы уже действительно прогрузились в UEFI-режиме и установили Windows как надо, то Dual Boot уже практически в кармане.

Итак всё что вам потребуется сделать при установке Linux:
Выбрать раздел /dev/sda2 (в вашем случае это может быть другой раздел) и указать точку монтирования — /boot/efi . Всё. Нет, правда, всё. Разумеется не забудьте разметить ext4 / Btrfs / ReiserFS / XFS / JFS раздел, примонтировать его в корень /. Кому нужен swap (если нужен) создайте и его. Дальше установщик вашего дистрибутива сделает всё сам, установит в директорию EFI/ свой GRUB и найдет запись Windows ( EFI/microsoft ).

Данная логика была проверена во всех вышеозначенных дистрибутивах. То есть повторюсь ещё раз: Главное показать вашему дистрибутиву где у вас этот заветный ESP-раздел и куда надо ему кидать загрузчик. Он его не форматирует, а просто добавляет GRUB. А вот уже сам GRUB вершит магию, изменяет приоритеты загрузки и т.д. Замечу, что некоторые дистрибутивы сами монтируют этот раздел куда надо, так как видят флаги ESP и BOOT. К примеру в установщике Debian нужно просто создать пользовательский раздел и всё.

Наводим красоту, ставим rEFInd

К сожалению счастью я болею сильной формой перфекционизма. И простой GRUB2 меня не устраивал, больно он страшный и не красивый. Беглый гуглинг рассказал мне о BURG, «красивом» форке GRUB, но он был заброшен и на данный момент скорее мертв, чем жив. К счастью для UEFI-машин есть отличная альтернатива — rEFInd. rEFInd является форком, заброшенного ныне rEFIt, а также его логическим продолжением. Первый создавался в первую очередь для Mac’ов и работы рядом с Boot Camp, нынешний форк такой узкой специализации не имеет и подходит практически для любых конфигураций.

Стоит сразу заметить, что rEFInd НЕ является загрузчиком. Это так называемый Boot Manager, он вызвает другие .efi-бинарники к исполнению, а также может направить UEFI на запуск ядра прямо с раздела /boot . Другими словами то есть систему загружает не он, а сам UEFI. Для Multi-Boot машин является отличным решением. Сам по себе rEFInd является .efi-приложением, собранным средствами UEFI Shell. Сам находится в директории EFI/refind/refind_x64.efi

Помимо того, что можно выбирать между уже установленными системами на ПК, приятным плюсом можно выделить автоматическое обнаружение загрузочных флешек и дисков. На КПДВ это можно увидеть. У меня имеется загрузочная флешка с Debian (не установщиком, а полноценной ОС) и можно увидеть удобную индикацию того, что это именно флешка, а не что-то другое. Если у вас имеется несколько ядер, то их список можно увидеть по нажатию клавиши F2. Помимо этого в файле /boot/refind_linux.conf можно задать несколько вариантов с разными параметрами ядра (например первый — стандартный для загрузки GUI, второй — безопасный режим без видеодрайвера и т.д, можно сделать дюжину вариантов, по умолчанию всего три). Также в папку EFI/tools можно накидать различных .efi-бинарников, к примеру UEFI Shell или memtest86+. rEFInd их автоматически подхватит и покажет в нижнем ряду как утилиты.

Хотите также?

Процесс установки из под Linux необычайно прост. Все способы описаны на официальном сайте, устанавливать можно практически из любой ОС. Для начала посетите эту страничку и скачайте .deb- или .rpm-пакет.

Если у вас редкий дистрибутив вроде Slackware или Gentoo, то лично я вам помочь не смогу, но на сайте есть обычный .zip-архив и другие варианты установки, так что если уж вы работаете в подобных дистрибутивах, то наверняка поставить своими силами вы сможете без проблем.

Сделайте бэкап EFI-директории:
cp -r /boot/efi/EFI /boot/EFI.bkp
После загрузки пакета, выполните:
cd Downloads или cd Загрузки
И установите пакет:
sudo dpkg -i .deb или sudo dnf install .rpm
В моем случае dpkg не мог иногда подтянуть зависимости, если у вас возникнут такие же трудности, то установите gdebi ( sudo apt-get install gdebi ) и выполните sudo gdebi .deb .

Если у вас RHEL или CentOS, то используйте yum вместо dnf .

В логах установки пакета можно отследить лог установки rEFInd, в котором возможно будут ошибки их надо сразу отследить. Однако по моему опыту ошибок не возникает, если всё сделать правильно. Проверить результат работы установщика rEFInd можно, воспользовавшись утилитой efibootmgr , там первым приоритетом должна должен быть именно rEFInd Boot Manager.

Установить rEFInd повторно, если пакет уже установлен, можно с помощью команды:
refind-install
Установку rEFInd первым приоритетом можно произвести в ручную, с помощью команды:
refind-mkdefault

Всё очень страшно и откуда у меня столько ОС?

Да, всё страшно, пока. На самом деле ОС у вас всего две. Просто rEFInd собрал все .efi-бинарники и ещё отобразил ОС с возможностью загрузки напрямую. Для исправления этого недоразумения мы удалим лишнее, напишем свой конфиг и поставим красивую тему на rEFInd.

Первым делом зайдите в Linux, выбрав один из рабочих пунктов загрузки. В меню должен быть пункт для загрузки БЕЗ использования grubx64.efi! В разделе /boot проще работать из под администратора (потому у команду cd не хватает привелегий, а sudo она не работает), так что su и вводим пароль root’а.

Этот пункт не зря опциональный, потому что если у вас недостаточно опыта, то можно очень просто что-то сломать и не заметить. Рекомендую подготовить флешку с рабочим LiveCD, чтобы проводить восстановление, в случае неожиданностей.

Наша первая задача — удалить лишние директивы загрузки, их запросто может быть штук 6, а системы всего две.

Заходим в директорию:
cd /boot/efi/EFI && ls
Вероятно тут будет пять папок:
BOOT, microsoft, , refind и tools.
Если будет что-то лишнее — смело удаляйте.

Способ 1 (через очищение, опаснее):
Убедившись что вы загрузились через rEFInd (!) и НЕ использовали для этого GRUB можете смело удалить папку вашего дистрибутива. Перезагрузитесь и проверьте, можете ли вы загрузиться в ваш Linux. Если можете, то вероятно в меню загрузки осталось 4 директивы: Windows, Linux и два странных пункта, которые приводят (скорее всего) к загрузке Linux. Можно было догадаться, что это .efi-бинарники из папки EFI/BOOT . Папку можно удалить полностью. НО! Убедитесь, что у вас есть бэкап. Перазагружаемся. Всё отлично?

Удаляем GRUB:
sudo apt-get remove grub2 grub2-efi grub grub-efi
Или:
sudo dnf remove grub2

Теперь можно ставить тему.

Некоторые UEFI другие директории вовсе не видят. Поэтому небольшой work around для таких систем существует. Удаляем папку BOOT, переименовываем папку refind в папку BOOT, а также сам файл refind_x64.efi в bootx64.efi. Перезагружаемся.

Способ 2 (через конфиг rEFInd, безопаснее):
Этот способ гораздо безопаснее, потому что удалять и что либо трогать мы не будем, мы добьемся результата правильной настройкой конфига. Сам конфиг лежит тут: /boot/efi/EFI/refind/refind.conf
Чтобы настроить свой набор директив загрузки нужно использовать два параметра scanfor и menuentry , после настройки должен получится примерно такой конфиг:

# Сканируем записи созданные ручкуами, флешки и оптически приводы
scanfor manual,external,optical
# Пункт для загрузки Linux
menuentry Linux <
loader /EFI/ubuntu/grubx64.efi
icon /EFI/refind/icons/os_linux.png
>
# Пункт для загрузки Windows 10
menuentry «Windows 10» <
loader \EFI\Microsoft\Boot\bootmgr.efi
icon /EFI/refind/icons/os_win.png
>

Разумеется это только часть конфига, другие параметры можно взять из примера

Мой конфиг на базе первого способа с комментариями

# Ожидание в секундах перед авто-выбором ОС
timeout 20
# Скринсервер через 300 секунд, если ничего не выбрали,
# но нажали любую клавишу и отменили автовыбор
screensaver 300
# Разрешение бут-менеджера
resolution 1280 1024
# Использовать графику при загрузке Linux. Этот параметр позволит загружать ОС с красивой Plymouth
# заставкой в разрешении указанном выше
use_graphics_for linux
scanfor internal,external,optical,netboot,biosexternal
# Подключение темы
include themes/refind-theme-regular/theme.conf

Отдельно про Plymouth можно почитать здесь.

Включение красивой темы

С этим всё просто, чуть выше последняя строчка конфига указывает на .conf-файл темы. Сами темы желательно класть в папку /boot/efi/EFI/refind/themes . По-умолчанию её нет, создайте через mkdir .
Заходим в директорию themes и просто пишем git clone https://github.com/munlik/refind-theme-regular.git . В конфиге прописываем строку include themes/refind-theme-regular/theme.conf
Другие темы можно посмотреть на оф. сайте.

Там же можно посмотреть подробные процессы установки, параметры для тонкой настройки конфига и многое другое.

Пожалуй на этом всё. Мы получили красивый бут-менеджер для выбора нужной ОС с полной поддержкой UEFI. Пункт с установкой rEFInd наиболее сложный, а поэтому опциональный, большинству хватит grub2-efi .

Напоследок небольшое видео от меня:

Наверняка закралось приличное количество ошибок в тексте, буду рад, если вы отпишите о них мне ЛС.

UPD 28.10.2022: Друзья, статье уже 6 лет, несмотря на то, что rEFInd технически до сих пор актулен, я перешёл на systemd-boot, на мой взгляд он проще и удобней в настройке.

Источник

Warp Terminal

Dual booting Linux with Windows is one of the most convenient ways of enjoying the two operating systems on the same computer.

You have both OS installed on the disk, on real hardware and when you power on your system, you can choose which operating system to use.

Dual Boot Grub Screen

In the dual boot, you can choose which operating system to boot into

In an earlier tutorial, I showed the steps to dual boot Ubuntu with Windows 7 which comes with an MBR partition. The steps are almost the same for the newer systems that come preinstalled with Windows 10.

In this tutorial, I’ll show you how to install Ubuntu with Windows 10 already installed on the system.

💡

Before you start following the tutorial, I advise reading it entirely first. See what you need and what you should do in this tutorial. Once you have a good idea about the procedure and have all the necessary things on hand, start the process. Dual-boot is not a complicated process. It just takes some time and patience.

The steps mentioned here apply to other Ubuntu versions such as Lubuntu, Kubuntu, Xubuntu and Ubuntu-based Linux distributions such as Linux Mint, elementary OS, etc.

Dual Boot Ubuntu Linux with Windows

Compatibility checks

This tutorial is suitable for systems that come with Windows 10 pre-installed with UEFI secure boot and GPT partitioning system. Please check whether your system uses GPT or MBR.

Make sure your system uses UEFI: This tutorial is only applicable for systems with UEFI boot. If you have bought your system in the last 5-6 years, chances are that you should already have a UEFI system on GPT partition. However, there is no harm in verifying that your system uses UEFI. If your system uses legacy BIOS with MBR partitioning system, please follow this dual boot tutorial.

Bitlocker encryption process is different: Newer systems with Windows 10 Pro have their disk encrypted with Bitlocker. If you have such a system, please follow this tutorial to dual boot with Bitclocker encryption.

Dual Booting Ubuntu With Windows 10 Pro With BitLocker Encryption

I have written about dual booting Windows and Ubuntu in the past. The process has improved so much in the last few years. Ubuntu and other Linux play very well with secure boot and UEFI now. So, why I am I writing about installing Ubuntu with Windows 10 once again?

It’s FOSSAbhishek Prakash

System with both SSD and HDD: If you have a system with both SSD and HDD, i.e. dual disk system, the process is pretty much the same. However, you’ll be a lot better following this dedicated tutorial on dual booting dual disk system.

Dual Booting Ubuntu and Windows With a SSD and a HDD

Dual booting Ubuntu and Windows is not that complicated and I have covered it in detailed tutorial in the past. Recently, I also wrote about dual booting on a Bitlocker encrypted Windows system. And yet here I am talking about it again. Why? Because the scenario is slightly different and

It’s FOSSAbhishek Prakash

Prerequisites: What do you need?

You’ll need the following things to easily and safely install Linux alongside Windows:

  • A computer that comes preinstalled with Windows 10.
  • A USB key (pen drive or USB drive) of at least 4 GB in size and no data on it.
  • Internet connection (for downloading Ubuntu ISO image and live USB creating tool). You can do this on any system, not necessarily on the system you are dual booting.
  • Optional: External USB disk for making back up of your existing data.
  • Optional: Windows recovery or bootable disk (if you encounter any major boot issues, it could be fixed).

Let’s see the steps of installing Ubuntu alongside Windows 10. I have made a video of the entire process. You may watch that as well.

Step 1: Make a backup of your Windows system [optional]

It is always nice to have a backup of your data, just in case you mess up with the system while dealing with disk partitions.

I advise copying all the essential data you cannot afford to lose on an external USB disk. You can use an external HDD (slower but cheaper) or SSD (faster but expensive) and copy the important files and folders.

Step 2: Download Ubuntu (or whichever Linux distribution you are using)

Download Ubuntu Desktop

Head over to Ubuntu’s website and download the ISO file. The file should be around 2.5 GB in size. If you need to download Ubuntu via torrents, you can click the ‘alternative downloads.’

Step 3: Create a live USB/disk of Ubuntu

I presume that you are using Windows to create the live USB. Several free applications allow you to create a live Ubuntu USB. You can use any of these tools. Since I cannot show all of them, I’ll go with Rufus.

Download Rufus for free from its website. It will download a .exe file.

Plug in your USB. This device will be formatted so make sure you don’t have any important data on this USB disk.

Run the Rufus tool you just downloaded. It automatically identifies the plugged-in USB but double-check it anyway. Now, browse to the location of the downloaded ISO image and ensure that it uses GPT partitioning scheme and UEFI target system.

Make Live Usb With Rufus

Hit the start button and wait for the process to complete. Your live Linux USB is ready.

📋

Installing Ubuntu and creating the live Ubuntu USB process can be done on any computer. But the rest of the process takes on the system on which you are dual booting.

Step 4: Make some free space on your disk for Ubuntu installation

In many systems, while installing Ubuntu, it gives the option to make a disk partition for Ubuntu. However, that is not a surety. This is why making the required free space on the disk would be better before starting the installation procedure.

In the Windows menu, search for ‘disk partitions’ and go to ‘Create and format hard disk partitions.’

disc management windows

In the Disk Management tool, right-click on the drive which you want to partition and select shrink volume.

If you have just one partition like this, you need to make some free space out of it for Linux. Use any of them except C drive if you have several partitions of considerable size because it may erase the data.

The 256 GB in my system already had several partitions from the manufacturer but mainly for backup and other purposes. The primary partition was the C drive, around 220 GB, where Windows 10 is installed. In my case, I shrank the C drive to make some free space for Linux installation.

making free space for dual boot

How much space do you need for Linux in dual boot?

This depends on how much total disk space you have. You may install Ubuntu on 15 or 20 GB but you’ll soon start running out of disk space. These days, you should have at least 120 GB of disk. In that case, go for 30-40 GB of disk for Linux. If you have 250 GB disk, allocate 60-80 GB or even more. If you have more disk space, allocate even more free space, if you want.

What if you have D, E or F drives?

This is a common confusion for many people as they think Ubuntu can only be installed on the C drive. That’s not true. I had only one C drive, so I shrank it. If you have D, E or F drive, you may shrink one of those drives. You may also choose to delete the D, E or F drive. NEVER DELETE C DRIVE.

Step 5: Boot from live Ubuntu USB

You created a live Ubuntu USB in step 3. Plug it into the system. Before you go and boot from the live USB, let’s have a quick word about the infamous secure boot.

Do I need to disable the secure boot for installing Linux?

6-8 years back, the UEFI secure boot was not well-supported by Linux; hence, you had to disable secure boot before installing Linux. Thankfully, Ubuntu and many other Linux distributions currently support secure boot very well. Usually, you should not need to do anything about it. However, if your system doesn’t allow booting from live USB or if you see any other related issue, you may disable the secure boot on Windows.

Alright! Let’s see how to boot from the USB. You can go to the boot settings by pressing F2/F10 or F12 at the system start time and selecting to boot from the USB. However, some people find it difficult.

The longer but an easier step is to access the UEFI boot settings from within Windows. In the Windows menu, search for UEFI and then click on ‘Change advanced startup options’:

Accessing Uefi Settings Windows

Go to the Advanced startup option and click on Restart now button.

Access Uefi Settings Windows

On the next screen, click on ‘Use a device’:

Access UEFI Settings in Windows

Recognize the USB disk with its name and size. It may also be displayed as EFI USB Device.

Access UEFI Settings Windows

Now it will power off your system and reboot into the disk you chose which should be the live USB disk. You should see a screen like this after a few seconds:

Ubuntu Live Install Screen

The ‘Try Ubuntu without installing’ option allows you to experience Ubuntu from the live disk. The option to install Ubuntu can be found on the desktop.

The “Install Ubuntu” option will start the Ubuntu installation immediately.

You can opt for either option based on your preference.

Step 6: Installing Ubuntu along with Windows 10

Start the installation procedure. The first few steps are simple. You choose the language and keyboard layout.

Install Ubuntu 2

Choose your language / Choose keyboard layout

On the next screen, choose Normal installation. No need to download updates or install third-party software just yet. You may do it after the installation completes.

Hit continue. It may take some time to go to the next step.

Installing Ubuntu in dual boot

Note: Some people try to download updates and install media codes while installing. In my experience, it sometimes creates issues during installation and may also cause the installation to fail. For this reason, I advise against them.

Important: Installation takes two approaches based on what you see on the next screen

Since this is a detailed tutorial, I’ll cover both aspects.

Approach 1: You see the “Install Ubuntu alongside Windows Boot Manager”

If you see the “Install Ubuntu alongside Windows Boot Manager” on the Installation type screen, you are in luck. You can select this method and hit continue.

Ubuntu Installation Type

If you see the “Install Ubuntu alongside Windows Boot Manager”, choose it

The next screen will give you the option to create a partition for Ubuntu by dragging the divider. You can allocate appropriate disk space to Linux here. Ubuntu will create one partition of the allocated disk space and it will have root with home and a swapfile of 2 GB in size under root itself.

disk partition dual boot ubuntu windows

Approach 2: You don’t see ‘Install Ubuntu alongside Windows Boot Manager’ option or it is greyed out

But if you are one of the unlucky ones who don’t see this option, no need to worry. Things are not that bad for you. You can still install Ubuntu with Windows.

On the Installation type screen, go with Something Else.

Install Ubuntu Something Else

It will take you to the partitioning screen. Remember you had created some free space beforehand?

You may allocate the entire free space to root (swapfile and home will be created automatically under root) or separate root, swap and home partitioning. Both methods are acceptable.

I show the steps for creating root, swap and home partitions separately. But feel free to use a single partition for all of them.

Select the free space and click on the + sign.

partition on Ubuntu Windows 8 dual boot

It will provide you with the option to create a Linux partition. You are creating the Root partition. Anything above 25 GB is more than sufficient for it. Choose the size, select Ext 4 as the file type and / (means root) as the mount point.

Installing_Windows8_Ubuntu_3

Clicking on OK in the previous step will bring you to the partition screen. Next, create a swap. Like previously, click on the + sign again. This time, use the file type as the Swap area.

Ideal swap size in Linux is debatable. If you have 2 GB or less RAM, use swap double the size of RAM. If you have 3-6 GB of RAM, use a swap of the same size as RAM. If you have 8 GB or more RAM, you may use swap half the size of RAM (unless you have plenty of disk space, and you want to use hibernation and in that case, use a swap of at least the same size as RAM).

If you feel like you have less swap on your system, don’t worry. You can easily create swapfile and add more swap space to your systems.

Installing_Windows8_Ubuntu_4

Similarly, create a Home partition. Allocate it maximum space (in fact allocate it the rest of the free space) because this is where you’ll save music, pictures and downloaded files.

Installing_Windows8_Ubuntu_5

Once you are ready with Root, Swap and Home, click on Install Now:

Installing_Windows8_Ubuntu_6

Well, you have almost won the battle. You can smell victory now. Select a timezone when asked.

Installing Ubuntu Timezone Selection

Next, you’ll be asked to enter a username, hostname (computer’s name) and password.

Installing Ubuntu Account Setup

Now it’s just a matter of waiting. It should take 8-10 minutes to complete the installation.

Installing Ubuntu

Once the installation finishes, restart the system.

Restart After Installing Ubuntu

Restart after installation completes

You’ll be asked to remove the USB disk. You can remove the disk at this stage without worrying. The system reboots after this.

Ubuntu Finished Installation

Remove USB and press enter

💡

You do not need the live USB disk to use Linux anymore. You have installed Ubuntu on your computer’s disk. Remove the USB and keep it for later if you want to use it for installing Linux on some other system. You may also format and use it for regular data storage or transfer.

If everything goes smoothly, you should see the grub screen once the system powers on. Here, you can choose Ubuntu to boot into Ubuntu and Windows boot manager to boot into Windows. Pretty cool, right?

Dual Boot Grub Screen

You can choose the operating system from the grub screen

Dual boot did not succeed? Here are some troubleshooting tips

Life is not even for everyone. For some, the dual boot might not succeed just yet. However, instead of giving up, you may follow a couple of tips and retry the installation procedure.

Try changing the USB port

This may sound ridiculous but sometimes some USB ports cause issue with booting the USB or installing Linux. Changing the USB port could be a trick.

Try not using internet while installing Linux

I have experienced that sometimes Linux installation throws error if it is connected to the internet. If you encountered a “‘grub-efi-amd64-signed’ package failed to install into /target” error, please try installing Ubuntu without internet.

Disable secure boot and/or fast boot

In some rare cases, secure boot would not allow you to boot from live USB or install Linux. Disable secure boot. You may also disable fast boot in some cases.

Dual boot finished but you don’t see the grub screen to boot into Ubuntu

Please check your boot order in the UEFI settings. Do you see Ubuntu/UEFI below Windows Boot Manager? If yes, move it up the order. If you don’t see grub at all, you may carefully try this or this tutorial.

Grub rescue error or no bootable device found after dual booting

Use this tutorial for no bootable device found error. And this one is for grub rescue error.

Additional Tips: You’ll notice that there is a time difference between Windows and Ubuntu You can fix the time gap issue in dual boot easily. Also, in the grub screen, Ubuntu is up the priority. You can also change the boot order to make Windows default if you are going to use Windows more often than Linux. If you want to reverse the process, follow this guide to remove Ubuntu from dual boot with Windows.

Donate Itsfoss

I hope this guide helped you to dual boot Ubuntu with Windows 10 UEFI. I went into too much detail here, but I wanted to answer all the typical confusion and show all the required steps.

If you still have doubts or face strange errors, please comment, and I’ll try to help you out.

Dual-booting any version of Microsoft’s Windows operating system with a Linux or BSD desktop or server distribution is a very common practice. For first time users of Linux, that is the easiest way to keep using Windows, while getting used to their choice of Linux distribution.

One of the most important decisions you have to make when dual-booting Windows and your favorite Linux distribution, is where to install the Linux boot loader. It could either go in the target hard drive’s Master Boot Record (MBR), or in the first sector of its own boot or root partition.

To make managing your dual-boot system less of a hassle, especially when both operating systems are installed on the same hard drive, the recommended location (for the Linux boot loader) is in the first sector of the Linux distribution’s boot or root partition. After that, you must then add an entry for the Linux distribution in the Windows boot menu.

The best graphical application that I have found to help you accomplish that task, is EasyBCD, a free application (free for personal use, that is) from NeoSmart Technologies. You may download it from here. The rest of this article shows how to use it to add an entry for any Linux distribution in the Windows boot menu. Note: This also applies to any of the BSDs, like PC-BSD.

After downloading it, install it as you would any other Windows application. It should start if installation is successful. The main window is shown below. To add the entry, click the Add New Entry tab.

EasyBCD

Then click on the Linux/BSD tab. By default, GRUB (Legacy) should be preselected in the Type dropdown menu. If your distribution still uses that version of GRUB, then you just need to modify the Name field to reflect the distribution you are adding and select the partition where you installed GRUB from the Device dropdown menu.

However, if your distribution uses GRUB 2, as most Linux distributions do, select it from the Type dropdown menu, then modify the Name field to suite. That is all you need to do when using GRUB 2. If selecting GRUB 2 does not work for you, even when you know that GRUB 2 is the distribution’s boot loader, selecting GRUB (Legacy) also seems to work.

EasyBCD Add Entry

This is what the window should look like after selecting the right options. Click Add Entry.

EasyBCD Add Entry

You can see a preview of the entries in the boot menu in the Edit Boot Menu tab. Exit EasyBCD, restart the computer and try logging into the operating systems just to make sure that you can.

EasyBCD Boot Menu

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как сделать градиент в windows forms
  • Glide wrapper windows 98
  • Crysis remastered для windows 7
  • Тонкий клиент 1с предприятие 64 bit для windows
  • Как установить сканер canon mf3010 на windows 10