{"id":3287,"date":"2021-12-12T09:39:46","date_gmt":"2021-12-12T09:39:46","guid":{"rendered":"https:\/\/www.exton.se\/?page_id=3287"},"modified":"2026-01-25T12:18:22","modified_gmt":"2026-01-25T12:18:22","slug":"how-to-multi-boot-linux","status":"publish","type":"page","link":"https:\/\/www.exton.se\/how-to-multi-boot-linux\/","title":{"rendered":"How-to Multi-boot Linux&#8230;"},"content":{"rendered":"<h3>How-to dual-boot, triple-boot or <a href=\"https:\/\/en.wikipedia.org\/wiki\/Multi-booting\">multi-boot<\/a> Linux with Windows in a simple way and be happy&#8230;<\/h3>\n<p><a href=\"https:\/\/www.exton.se\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-190 size-full\" src=\"http:\/\/www.exton.se\/wp-content\/uploads\/2015\/02\/exton-se-logo.png\" alt=\"\" width=\"185\" height=\"118\" \/><\/a><span style=\"font-size: 12pt;\">In this <strong>instruction<\/strong> I will show you how easy it is to have <a href=\"https:\/\/en.wikipedia.org\/wiki\/Multi-booting\">several Linux systems installed on one computer<\/a> together with for example Windows 11. The configuration is so simple a ten year old child can do it.<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>BACKGROUND<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\"><a href=\"http:\/\/ubuntu.com\">Ubuntu<\/a> and all Linux systems based on Ubuntu (such as <a href=\"https:\/\/www.linuxmint.com\/\">Linux Mint<\/a>) uses <a href=\"https:\/\/help.ubuntu.com\/community\/Grub2\">Grub2<\/a> as boot manager. Also <a href=\"https:\/\/www.debian.org\/index.en.html\">Debian<\/a> and most other Linux systems use Grub2. Grub2 works differently from the old <a href=\"https:\/\/wiki.archlinux.org\/index.php\/GRUB_Legacy\">Grub Legacy<\/a>.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">You may want to begin with <a href=\"https:\/\/exton.se\/grub-241210.cfg.txt\">studying my Grub configuration<\/a> (\/boot\/grub\/grub.cfg) on one of my computers on which I have twenty-one (21) Linux systems installed together with Windows 11. That is as of 241210.<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>UEFI BIOS and non-UEFI BIOS<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>The <a href=\"https:\/\/en.wikipedia.org\/wiki\/Unified_Extensible_Firmware_Interface\">Extensible Firmware Interface<\/a> (EFI) or its version 2.x variant, Unified EFI (UEFI) is a firmware type that is widespread on recent computers, especially those more recent than 2010<\/em> &#8211; <a href=\"https:\/\/help.ubuntu.com\/community\/UEFI\">Ubuntu wiki<\/a>.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Configuring Grub2 &#8211; Example for non-UEFI BIOS computers<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">One of my computers, an <a href=\"https:\/\/www.notebookcheck.net\/Review-Acer-Aspire-5750G-Notebook.46094.0.html\">Acer Aspire 5750G<\/a> from 2010, has a 750 GB hard drive and an external USB hard drive of 1000 GB. On that computer I have Windows 11 and twelve (<strong>12<\/strong>) different Linux systems installed. Of those twelve systems three are Android-x86 systems (<a href=\"http:\/\/andex.exton.net\/?p=603\">AndEX Nougat<\/a> and <a href=\"http:\/\/andex.exton.net\/?p=514\">AndEX Marshmallow<\/a>). Below I will describe step by step how I configured Grub2 in the easiest way possible.<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>1<\/strong>. The computer was delivered with Windows 7 (now updated to Windows 11) preinstalled on \/dev\/sda2 and \/dev\/sda3. I immediately started up my computer from a Linux Mint Live DVD. Using <a href=\"http:\/\/gparted.org\/\">GParted<\/a>, I created seven new partitions on the internal hard drive and three on the external USB hard drive. After that I installed Mint on \/dev\/sda7 and Grub2 in <a href=\"https:\/\/en.wikipedia.org\/wiki\/Master_boot_record\">MBR<\/a> at the same time as the installer also suggested. Then I restarted my computer and checked that Mint (and Windows) could be started. Everything worked (as expected) fine. See the screenshots below showing how my partitioning looks like now.<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>The internal hard drive partitions<br \/>\n<\/strong>Note the 4 GB <a href=\"https:\/\/www.linux.com\/news\/all-about-linux-swap-space\">SWAP<\/a> partition on \/dev\/sda6<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1476 size-full\" src=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/gparted-1.jpg\" alt=\"\" width=\"550\" height=\"374\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/gparted-1.jpg 550w, https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/gparted-1-300x204.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>The external USB drive partitions<\/strong><\/span><\/p>\n<p><a href=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/gparted2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1477 size-full\" src=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/gparted2.jpg\" alt=\"\" width=\"550\" height=\"350\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/gparted2.jpg 550w, https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/gparted2-300x191.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>2<\/strong>. Then it was time to install <a href=\"https:\/\/www.archlinux.org\/\">Arch Linux<\/a> on \/dev\/sda8. When the installation prompted installation of Grub2 during installation, I chose to install Grub2 on \/dev\/sda8. Such an installation of Grub2 does not affect the existing Grub2 installation in <a href=\"https:\/\/en.wikipedia.org\/wiki\/Master_boot_record\">MBR<\/a>. I did it just the same to find out &#8220;start data&#8221; for Arch Linux. I then read these start data from Mint in the \/mnt\/sda8\/boot\/grub\/grub.cfg file.<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>3<\/strong>. After that I started Mint on \/dev\/sda7 again. Now it was time to get a real &#8220;multiboot computer&#8221; using Grub2. This is how I did it:<\/span><br \/>\n<span style=\"font-size: 12pt;\"><strong>A)<\/strong> In \/etc\/grub.d I deleted all files except 00_header, 05_debian_theme, 06_mint_theme, 40_custom and README. Said folder then looked like this.<\/span><\/p>\n<p><a href=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/etc-grub.d.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1478 size-full\" src=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/etc-grub.d.jpg\" alt=\"\" width=\"550\" height=\"455\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/etc-grub.d.jpg 550w, https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/etc-grub.d-300x248.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><br \/>\n<strong><br \/>\n<span style=\"font-size: 12pt;\">B)<\/span><\/strong><span style=\"font-size: 12pt;\"> I edited the \/etc\/grub.d\/40_custom file to <a href=\"http:\/\/www.exton.se\/grub2\/40_custom.txt\">look like this<\/a>. Note that this is how my 40_custom file looks like now when I have installed totally twelve Linux systems. The start data for Arch Linux (see above) was already fixed by looking at the \/mnt\/sda8\/boot\/grub\/grub.cfg file. I could do it in a similar way when I installed the other eleven Linux systems.<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">Since this instruction is a bit old (from July 7, 2017) you can also have a look at one <span style=\"color: #ff0000;\">40_custom<\/span> file <span style=\"color: #ff0000;\">(240608)<\/span> on one of my computers &#8211; <a href=\"https:\/\/www.exton.se\/grub2\/40_custom-240608.txt\">link<\/a>. And this <a href=\"https:\/\/www.exton.se\/40_custom-250321.txt\">40_custom<\/a> file on another computer as it is as of today (250321).<\/span><\/p>\n<p><strong>C)<\/strong> To be on the safe side you should make your new 40_custom file executable with <span style=\"color: #ff0000;\"><em>sudo chmod +x \/etc\/grub.d\/40_custom<\/em><\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>D<\/strong>) Finally, I ran the <em>update-grub<\/em> command. Then the \/boot\/grub\/grub.cfg file (which is the file Grub2 &#8220;takes into account&#8221; at boot) was created\/changed. This file (grub.cfg) should never be edited manually. Instead, edit the file <a href=\"http:\/\/www.exton.se\/grub2\/40_custom.txt\">40_custom<\/a>, as I showed above. Always use Leafpad or Mousepad (or a similar simple editor) when editing <a href=\"http:\/\/www.exton.se\/grub2\/40_custom.txt\">40_custom<\/a>. Never LibreOffice Writer or Word or the like of them. Study my present <a href=\"http:\/\/www.exton.se\/grub2\/grub.cfg.txt\">grub.cfg<\/a> file. When I now start up my Acer Aspire the boot screen look like this.<br \/>\n<\/span><\/p>\n<p><a href=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/exton-grub2-menu-boot.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1482 size-full\" src=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/exton-grub2-menu-boot.jpg\" alt=\"\" width=\"550\" height=\"284\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/exton-grub2-menu-boot.jpg 550w, https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/exton-grub2-menu-boot-300x155.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p>My <a href=\"https:\/\/en.wikipedia.org\/wiki\/BIOS\">BIOS<\/a> settings on my Acer Aspire look like this.<\/p>\n<p><a href=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/legacy-bios.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1484 size-full\" src=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/legacy-bios.jpg\" alt=\"\" width=\"550\" height=\"319\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/legacy-bios.jpg 550w, https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/legacy-bios-300x174.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Configuring Grub2 &#8211; Example for UEFI BIOS computers<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">On another computer (laptop) <a href=\"http:\/\/www3.lenovo.com\/us\/en\/laptops\/lenovo\/z-series\/z50\/\">Lenovo Z50<\/a> from 2015 I have Windows 10 installed together with three Linux systems. Ubuntu 24.04 and two Android-x86 systems. Since Windows 10 was installed in UEFI mode I also had to install Ubuntu 24.04 in UEFI mode to be able to configure Grub2 the way I describe above. I went into BIOS and changed the settings to look like this.<\/span><\/p>\n<p><a href=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-bios.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1480 size-full\" src=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-bios.jpg\" alt=\"\" width=\"550\" height=\"312\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-bios.jpg 550w, https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-bios-300x170.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p><span style=\"font-size: 12pt;\">When I went into the boot menu in BIOS I could choose my USB stick. In this case Kingston DataTraveler &#8211; watch this screenshot.<\/span><\/p>\n<p><a href=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-laptop-bios.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1500 size-full\" src=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-laptop-bios.jpg\" alt=\"\" width=\"550\" height=\"303\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-laptop-bios.jpg 550w, https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-laptop-bios-300x165.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p><span style=\"font-size: 12pt;\">So I started up Ubuntu 24.04 from the USB stick and installed it on a partition I had created in advance using <a href=\"http:\/\/gparted.org\/\">GParted<\/a>. Since my Lenovo already had a ESP (<a href=\"http:\/\/en.wikipedia.org\/wiki\/EFI_System_partition\">EFI System Partition<\/a>), which was created when Windows was installed, I installed Grub2 onto that partition. When I now start up my Lenovo the boot screen looks like this. (You can of course install many more Linux systems if you like. Just edit \/etc\/grub.d\/40_custom the way I describe above).<\/span><\/p>\n<p><a href=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/exton-grub2-menu-boot-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1481 size-full\" src=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/exton-grub2-menu-boot-2.jpg\" alt=\"\" width=\"550\" height=\"308\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/exton-grub2-menu-boot-2.jpg 550w, https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/exton-grub2-menu-boot-2-300x168.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>IMPORTANT: Identifying if the computer boots the Ubuntu DVD\/USB stick in UEFI mode<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">If the <a href=\"https:\/\/en.wikipedia.org\/wiki\/BIOS\">BIOS<\/a> is set up to boot the DVD\/USB stick in UEFI mode, then you will see the screen below.<\/span><\/p>\n<p><a href=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-laptop-boot.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1499 size-full\" src=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-laptop-boot.jpg\" alt=\"\" width=\"550\" height=\"122\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-laptop-boot.jpg 550w, https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/uefi-laptop-boot-300x67.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p><span style=\"font-size: 12pt;\">If the BIOS is NOT set up to boot the CD in UEFI mode, <strong>or<\/strong> if the disk is not 64-bit, then you will see the screen below.<\/span><\/p>\n<p><a href=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/non-uefi-boot-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1488\" src=\"http:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/non-uefi-boot-1-300x202.jpg\" alt=\"\" width=\"300\" height=\"202\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/non-uefi-boot-1-300x202.jpg 300w, https:\/\/www.exton.se\/wp-content\/uploads\/2017\/07\/non-uefi-boot-1.jpg 381w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><br \/>\n<\/a>(<a href=\"http:\/\/www.extix.se\">ExTiX <\/a>is based on Ubuntu)<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Grub2 bootsplash<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">One of the benefits of Grub2 is that you can have a nice high resolution image as <a href=\"https:\/\/en.wikipedia.org\/wiki\/Bootsplash\">boot splash<\/a>\/grub boot image. The image may have the same size as the resolution on your screen can handle, for example 1366&#215;768. It is common with a regular image in jpg, png or tga format. Just place the image in \/boot\/grub and run the <em>update-grub<\/em> command. If you get the answer that the image is found in \/boot\/grub it will work. If not, try editing the \/etc \/default\/grub file and add the line<\/span><br \/>\n<span style=\"font-size: 12pt;\"><strong>GRUB_BACKGROUND = &#8220;\/boot\/grub\/MyNicePicture.png&#8221;<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">Then run the <em>update-grub<\/em> command again (and restart the computer).<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">Have a look at my <a href=\"http:\/\/www.exton.se\/grub2\/grub.txt\">\/etc\/default\/grub<\/a> file.<\/span><br \/>\n<span style=\"font-size: 14pt;\"><strong><br \/>\nChange the text &#8211; font and size &#8211; which Grub2 shows at boot<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">Run the following command:<\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>sudo grub-mkfont \u2010\u2010output=\/boot\/grub\/DejaVuSansMono.pf2 \u2010\u2010size=24 \/usr\/share\/fonts\/truetype\/ttf-dejavu\/DejaVuSansMono.ttf<\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\">(Maybe you&#8217;ll need to run the command (<em>sudo<\/em> <em>apt-get install ttf-dejavu<\/em> first). Then edit the <a href=\"http:\/\/www.exton.se\/grub2\/grub.txt\">\/etc\/default\/grub<\/a> file and add the following line.<\/span><br \/>\n<span style=\"font-size: 12pt;\"><strong>GRUB_FONT=\/boot\/grub\/DejaVuSansMono.pf2<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">Run the <em>sudo<\/em> <em>update-grub<\/em> command again. After rebooting, the Grub2 boot menu will surely look better (depending on how your boot image looks like).<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>Grub theme<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">Instead of a Grub background picture you can choose to install a Grub theme. Get one at <a href=\"https:\/\/www.gnome-look.org\/browse?cat=109&amp;ord=rating\">Gnome-look.org<\/a> and extract it to \/boot\/grub\/themes. You may have to create the folder themes first. Then just add a line to \/etc\/default\/grub. Example:<\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>GRUB_THEME=\/boot\/grub\/themes\/CyberRe\/theme.txt<\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\">Then run the command <em>sudo update-grub<\/em>. With the theme <a href=\"https:\/\/www.gnome-look.org\/p\/1420727\">CyberRe<\/a> the boot screen can look like this.<\/span><\/p>\n<p><a href=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-theme.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3335 size-full\" src=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-theme.jpg\" alt=\"\" width=\"900\" height=\"546\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-theme.jpg 900w, https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-theme-300x182.jpg 300w, https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-theme-768x466.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<p>Or like this.<br \/>\n<b><br \/>\n<a href=\"https:\/\/www.exton.se\/wp-content\/uploads\/2024\/06\/grub-menu-240608.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4091 size-full\" src=\"https:\/\/www.exton.se\/wp-content\/uploads\/2024\/06\/grub-menu-240608.jpg\" alt=\"\" width=\"1000\" height=\"430\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2024\/06\/grub-menu-240608.jpg 1000w, https:\/\/www.exton.se\/wp-content\/uploads\/2024\/06\/grub-menu-240608-300x129.jpg 300w, https:\/\/www.exton.se\/wp-content\/uploads\/2024\/06\/grub-menu-240608-768x330.jpg 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><br \/>\n<\/b><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>If something goes wrong&#8230;<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">Beware of trying to upgrade Windows 10 to Windows 11 unless all the <a href=\"https:\/\/support.microsoft.com\/en-us\/windows\/windows-11-system-requirements-86c11283-ea52-4782-9efd-7674389a7ba3\">requirements<\/a> are met! If you do that you may destroy your boot configuration and not be able to start any OS. Not Windows or any Linux system! To fix this problem you can\/shall boot up the computer from Windows 10 installation DVD\/USB. If you don&#8217;t have it you can <a href=\"https:\/\/www.microsoft.com\/en-us\/software-download\/windows10\/\">download one here<\/a>. Then follow the instructions under <strong>Fix MBR via Command Prompt Windows 10\/11<\/strong> on <a href=\"https:\/\/www.diskpart.com\/articles\/fix-mbr-command-prompt-7201.html\">this site<\/a>. After that you should be able to start Windows 11 again. To get your old multiboot\/Grub2 configuration back you must boot up your computer from a Linux live DVD\/USB and <a href=\"https:\/\/medium.com\/100-days-of-linux\/chroot-a-linux-wonder-fc36ed08087e\">chroot<\/a> into the Linux system where you have Grub installed and reinstall Grub. Be sure to install Grub onto the same EFI partition as Windows 11 uses. Now check the boot lines for Windows 11. They can look like this:<\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>menuentry &#8216;Windows 11 Pro&#8217; {<\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>search \u2010\u2010fs-uuid \u2010\u2010no-floppy \u2010\u2010set=root 6A4B-8364<\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>chainloader (${root})\/EFI\/Microsoft\/Boot\/bootmgfw.efi<br \/>\n<em>}<\/em><\/em><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>How to reinstall Grub on an EFI partition<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">After a <a href=\"https:\/\/www.lifewire.com\/bios-basic-input-output-system-2625820\">BIOS<\/a> upgrade or after a BIG Windows 11 upgrade it can happen that you can&#8217;t start your Linux systems anymore. I.e. your Grub installation\/menu is gone! Don&#8217;t worry! There is a solution for such problems. I found the solution <a href=\"https:\/\/askubuntu.com\/questions\/831216\/how-can-i-reinstall-grub-to-the-efi-partition\">here<\/a> when I was in trouble. <a href=\"https:\/\/askubuntu.com\/users\/17564\/nicol%c3%a1s\">Nicol\u00e1s<\/a> is the man. This is what you shall do:<\/span><br \/>\n<span style=\"font-size: 12pt;\">Start up your computer from a Linux live DVD. I used <a href=\"https:\/\/www.extix.se\/extix-23-11-based-on-upcoming-ubuntu-24-04-lts-with-lxqt-1-4-calamares-installer-new-refracta-snapshot-and-kernel-6-6-1-amd64-exton-build-231123\/\">ExTiX 23.11<\/a>.<\/span><br \/>\n<span style=\"font-size: 12pt;\">Be sure to boot in EFI mode.<\/span><br \/>\n<span style=\"font-size: 12pt;\">Run the following commands:<\/span><br \/>\n<span style=\"font-size: 12pt;\">1)<em> sudo mount \/dev\/nvme0n1p6 \/mnt <\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\">2)<em> sudo mount \/dev\/nvme0n1p1 \/mnt\/boot\/efi <\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\">3)<em> for i in \/dev \/dev\/pts \/proc \/sys \/sys\/firmware\/efi\/efivars \/run; do \\ <\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>sudo mount -B $i \/mnt$i; done <\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\">4)<em> sudo chroot \/mnt <\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\">5)<em> grub-install \u2010\u2010target=x86_64-efi \u2010\u2010efi-directory=\/boot\/efi \u2010\u2010bootloader-id=ubuntu<\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\">6)<em> update-grub<\/em><\/span><\/p>\n<p><a href=\"https:\/\/extix.se\/extix-chroot-reinstall-grub-efi.jpg\"><strong><span style=\"font-size: 12pt;\">Watch this screenshot&#8230;<\/span><\/strong><\/a><em><br \/>\n<\/em><\/p>\n<p><span style=\"font-size: 12pt;\">8)<em> exit &amp;&amp;<\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>sudo umount \/mnt\/sys &amp;&amp;<\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>sudo umount \/mnt\/proc &amp;&amp;<\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>sudo umount \/mnt\/dev\/pts &amp;&amp;<\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>sudo umount \/mnt\/dev &amp;&amp;<\/em><\/span><br \/>\n<span style=\"font-size: 12pt;\"><em>sudo umount \/mnt<\/em><\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>NOTE1<\/strong>: nvme0n1p6 = the Linux system where Grub is installed<\/span><br \/>\n<span style=\"font-size: 12pt;\">nvme0n1p1 = the EFI partition<\/span><br \/>\n<span style=\"font-size: 12pt;\">nvme0n1 = disk<\/span><br \/>\n<span style=\"font-size: 12pt;\">(You shall of course change nvme0n1p6, nvme0n1p1 and nvme0n1 to suit your computer. Change it to for example sda6, sda1 and sda). Use <a href=\"https:\/\/gparted.org\/\">GParted<\/a> to find out the correct partition names. GParted is installed in ExTiX and most other Linux systems.<\/span><\/p>\n<p><strong>NOTE2<\/strong>: If you just want to reinstall Grub (and you can boot normally to the partition\/system where you had installed Grub in the first place) you can just run the following command:<br \/>\n<em>sudo grub-install \/dev\/nvme0n1p1<br \/>\n<\/em>Works for both BIOS and UEFI<em>.<\/em><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>About Grub Customizer<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">There is a Linux tool called <a href=\"https:\/\/itsfoss.com\/customize-grub-linux\/\">Grub Customizer<\/a>. It can be used to change the Grub boot order, change the time-out, hide selected operating systems, hide Grub screen entirely, change the background screen, theme and more. In Ubuntu you can install it with <em>sudo apt install grub-customizer<\/em>. When running Grub Customizer it can look like this.<\/span><\/p>\n<p><a href=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-customizer-background-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3330 size-full\" src=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-customizer-background-1.jpg\" alt=\"\" width=\"800\" height=\"663\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-customizer-background-1.jpg 800w, https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-customizer-background-1-300x249.jpg 300w, https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-customizer-background-1-768x636.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p><span style=\"font-size: 12pt;\">Or like this.<\/span><\/p>\n<p><a href=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-customizer-conf.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3331 size-full\" src=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-customizer-conf.jpg\" alt=\"\" width=\"800\" height=\"671\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-customizer-conf.jpg 800w, https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-customizer-conf-300x252.jpg 300w, https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/grub-customizer-conf-768x644.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>About DiskGenius<\/strong><\/span><br \/>\n<span style=\"font-size: 12pt;\">There is also a Windows program called <a href=\"https:\/\/www.diskgenius.com\/\">DiskGenius<\/a>. <em>Compared with the Windows built-in tools (Disk Management and Diskpart), DiskGenius not only comes with many functions of these two tools, <\/em><em>such as creating\/deleting\/formatting \u2026 partitions, but also copes with many tasks that these two tools cannot perform, such as migrating Windows 10\/8\/7, recovering lost partitions and data, backing up disks and partitions<\/em>. When running DiskGenius it can look like this.<\/span><\/p>\n<p><a href=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/DiskGenius.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3333 size-full\" src=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/DiskGenius.jpg\" alt=\"\" width=\"900\" height=\"675\" srcset=\"https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/DiskGenius.jpg 900w, https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/DiskGenius-300x225.jpg 300w, https:\/\/www.exton.se\/wp-content\/uploads\/2022\/01\/DiskGenius-768x576.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<p>######################################<\/p>\n<p><span style=\"font-size: 12pt;\">Good luck!<\/span><\/p>\n<h1><span style=\"font-family: arial, helvetica, sans-serif;\"><a href=\"http:\/\/raspex.exton.se\/wp-content\/uploads\/2018\/12\/andex-raspand-logo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1055 size-full\" src=\"http:\/\/raspex.exton.se\/wp-content\/uploads\/2018\/12\/andex-raspand-logo.png\" alt=\"\" width=\"507\" height=\"167\" \/><\/a><\/span><\/h1>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\"><span style=\"font-size: 12pt;\">Read about my <a href=\"http:\/\/www.android-x86.org\/\">Android-x86<\/a> Systems \u2013 11, 10, Pie, Oreo, Nougat, Marshmallow, Lollipop and KitKat at<\/span> <span style=\"font-size: 12pt;\"><span style=\"font-size: 14pt;\"><strong>andex.exton.net<\/strong> <\/span>\u2013 latest is <a href=\"https:\/\/andex.exton.net\/run-android-11-on-your-pc-andex-11-android-x86_64-with-gapps-google-play-store-etc-and-many-other-apps-build-220608\/\">AndEX 11<\/a> (with <a href=\"https:\/\/www.techopedia.com\/definition\/26622\/google-apps\">GAPPS<\/a>), <a href=\"http:\/\/andex.exton.net\/?p=964\">AndEX 10<\/a> (with <a href=\"https:\/\/www.techopedia.com\/definition\/26622\/google-apps\">GAPPS<\/a>) and <a href=\"http:\/\/andex.exton.net\/?p=984\">AndEX Pie 9.0<\/a> (also with GAPPS)!<\/span><span style=\"font-size: 14pt;\"><br \/>\n<strong>and<\/strong><br \/>\n<\/span><span style=\"font-size: 12pt;\"><span style=\"font-size: 12pt;\">about my Android 16, 15, 14, 13, 12, 11, 10, Pie, Oreo, Nougat, Marshmallow and Lollipop versions for <a href=\"http:\/\/www.raspberrypi.org\/\">Raspberry Pi 5, Pi 4 and\u00a0 Pi 3\/2<\/a> at<strong> <span style=\"font-size: 14pt;\">raspex.exton.se<\/span> <\/strong>\u2013 latest is <a href=\"https:\/\/raspex.exton.se\/raspand-16-android-16-for-raspberry-pi-5-with-gapps-google-play-store-spotify-and-bluetooth-pre-installed-build-250716\/\">RaspAnd 16<\/a> (with <a href=\"https:\/\/www.techopedia.com\/definition\/26622\/google-apps\">GAPPS<\/a>), <a href=\"https:\/\/raspex.exton.se\/raspand-15-android-15-for-raspberry-pi-5-with-gapps-google-play-store-spotify-bluetooth-aptoide-app-store-f-droid-and-microsoft-launcher-pre-installed-build-241221\/\">RaspAnd 15<\/a> (also with <a href=\"https:\/\/www.techopedia.com\/definition\/26622\/google-apps\">GAPPS<\/a>), <a href=\"https:\/\/raspex.exton.se\/raspand-14-android-14-for-raspberry-pi-5-with-gapps-google-play-store-spotify-bluetooth-aptoide-app-store-and-microsoft-launcher-pre-installed-build-240625\/\">RaspAnd 14<\/a> (also with <a href=\"https:\/\/www.techopedia.com\/definition\/26622\/google-apps\">GAPPS<\/a>),\u00a0<a href=\"https:\/\/raspex.exton.se\/raspand-13-android-13-for-raspberry-pi-4-with-aptoide-store-f-droid-store-spotify-bluetooth-aida64-firefox-and-clash-of-clans-pre-installed-build-230616\/\">13<\/a> and <a href=\"https:\/\/raspex.exton.se\/?p=1785\">12<\/a> (without <a href=\"https:\/\/www.techopedia.com\/definition\/26622\/google-apps\">GAPPS<\/a>), <a href=\"https:\/\/raspex.exton.se\/?p=1649\">RaspAnd 11<\/a> (with <a href=\"https:\/\/www.techopedia.com\/definition\/26622\/google-apps\">GAPPS<\/a>) and <a href=\"https:\/\/raspex.exton.se\/?p=884\">RaspAnd Oreo 8.1<\/a> (also with <a href=\"https:\/\/www.techopedia.com\/definition\/26622\/google-apps\">GAPPS<\/a>)! <\/span><\/span><\/span><a href=\"https:\/\/www.facebook.com\/linuxexton\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-316 size-full\" src=\"https:\/\/exlight.exton.net\/wp-content\/uploads\/2023\/10\/exton-fb-logo-blue-red-facebook-250x.png\" alt=\"\" width=\"250\" height=\"254\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.facebook.com\/linuxexton\"><span style=\"font-family: arial, helvetica, sans-serif;\">Follow me on Facebook&#8230;<\/span><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How-to dual-boot, triple-boot or multi-boot Linux with Windows in a simple way and be happy&#8230; In this instruction I will show you how easy it is to have several Linux systems installed on one computer together with for example Windows 11. The configuration is so simple a ten year old child can do it. BACKGROUND &hellip; <a href=\"https:\/\/www.exton.se\/how-to-multi-boot-linux\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How-to Multi-boot Linux&#8230;<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-3287","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.exton.se\/wp-json\/wp\/v2\/pages\/3287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.exton.se\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.exton.se\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.exton.se\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.exton.se\/wp-json\/wp\/v2\/comments?post=3287"}],"version-history":[{"count":36,"href":"https:\/\/www.exton.se\/wp-json\/wp\/v2\/pages\/3287\/revisions"}],"predecessor-version":[{"id":4577,"href":"https:\/\/www.exton.se\/wp-json\/wp\/v2\/pages\/3287\/revisions\/4577"}],"wp:attachment":[{"href":"https:\/\/www.exton.se\/wp-json\/wp\/v2\/media?parent=3287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}