Grub Download For Windows 10

Posted on  by  admin

The TL;DR, added in the edit:

The question is:

How can I make the BIOS prefer GRUB over Windows Boot Manager on the same UEFI boot partition?

The problem is not with Grub; Grub does the right thing when the BIOS starts it. The problem is not with 'the disk isn't bootable,' because both the Windows UEFI bootstrap and the Grub UEFI bootstrap are bootable. The problem is which UEFI bootstrap the BIOS chooses to boot from.

I'm setting up a new computer, and want it to by default boot into Ubuntu, but have the option to select Windows on boot. This is especially important if power goes out and comes back; I won't even be in the house.

I started out by installing Ubuntu 17.04 on my internal NVMe disk, partitioned with GPT to use half the disk, and a separate UEFI boot partition. GRUB boots that just fine, and I see the GRUB boot menu on start-up where I can select whatever items GRUB knows about.

Then I installed Windows 10 Pro from a recently downloaded ISO.It installed Windows Boot Manager onto the same UEFI partition, and left the Ubuntu intact (great!) and that boots fine into Windows 10.

However, it did 'something' that makes the UEFI firmware immediately select the Windows Boot Manager rather than GRUB on power-up. The only way to boot Linux now is to use the BIOS boot manager (F11 on my BIOS) and select the GRUB boot loader manually.The UEFI BIOS knows that there are multiple bootable installs on the UEFI partition, because I can choose between them in the boot manager.However, when I'm in the setup menu in the UEFI BIOS, it just lets me choose 'UEFI boot my internal drive' in the boot priority selection -- it doesn't let me choose which particular boot loader on that partition to use. And, by default, it chooses Windows, not GRUB.

The internets (and this site) suggests that the old way to fix this is to run update-grub (so GRUB recognizes Windows) and then grub-install (to put GRUB back on the device.) I have done this, but unfortunately, it still has the behavior as described above, where the BIOS by default chooses Windows Boot Manager. (update-grub does find the Windows Boot Manager install, and adds that to the menu, and that menu item works when I manually choose the GRUB partition in the UEFI boot manager.)

What can I do to make GRUB the 'default' boot on my UEFI boot partition?

Using a MSI X399 Carbon motherboard.

Second edit: Because the correct answer ends up being mentioned in a comment to a response, I'll repeat it here:

Jon Watte
Jon WatteJon Watte

5 Answers

There are quite a few different ways to do this, including:

  • The EFI setup utility -- Most EFIs provide setup utilities that you can access by hitting a special key at boot time (Esc, Del, or a function key, typically; but what key it is varies from one system to another). These often, but not always, provide a way to adjust the boot order. If your firmware provides such an option, you should be able to use it to move GRUB to the top position. (GRUB is likely to be called ubuntu, given that you installed it from that distribution.)
  • An EFI shell -- You can use the bcfg command in an EFI version 2 shell, as described on the Arch Linux wiki. If your system isn't already set up with an easy-to-access shell, this approach is likely to be harder to use than the others, but it is OS-agnostic.
  • EasyUEFI -- The third-party Windows EasyUEFI program is likely to be the easiest way to do what you want. You can click the ubuntu entry in EasyUEFI's list and move it to the top.
  • bcdedit -- The Windows bcdedit command can alter the NVRAM-based boot order. Specifically, opening an Administrator Command Prompt window and typing bcdedit /set '{bootmgr}' path EFIubuntushimx64.efi (optionally followed by bcdedit /set '{bootmgr}' description 'ubuntu' to keep the description sensible) should do the trick.
  • efibootmgr -- This Linux tool can adjust the boot order. Begin by typing sudo efibootmgr alone to see the options. Note the number (Boot####) associated with the ubuntu entry, and the current boot order (on the BootOrder line). You can then enter a new boot order with the ubuntu entry at the top by using the -o option. For instance, if the current boot order is 0000,0003,0007,0004 and ubuntu is 0007, you'd type sudo efibootmgr -o 0007,0000,0003,0004 to adjust the boot order.
  • refind-mkdefault -- This script comes with rEFInd, and it's a way to automate the preceding procedure. If you're not using rEFInd, you'd need to download the script here and make it executable (chmod a+x refind-mkdefault). You'd then run it as sudo ./refind-mkdefault -L ubuntu or sudo ./refind-mkdefault -L shimx64 to make GRUB the default boot entry.

There are potential problems and complications with any of these options. The most likely complicating factor is if there are old or alternative ubuntu boot entries. It's important that you move the correct one to the top position in the boot order; if you move the wrong one, you'll end up with either no change in behavior or something non-functional booting, which would make it harder to boot. If you use efibootmgr, the BootCurrent line may help you to tell which option you should set as the default.

There are other ways to do it that are overkill. Re-installing GRUB (via Boot Repair or grub-install) should do the trick, for instance. These approaches run the risk of damaging a known-working GRUB configuration, though.

Note also that some EFIs are buggy and there are other issues that can make it difficult to get GRUB to boot reliably. You may want to check out these questions and answers on AskUbuntu if you run into such problems:

Rod SmithRod Smith

I've been having this exact problem the past few weeks. I figured it out using these options. Before doing any of these things I recommend you to go into your BIOS/UEFI and check the boot order and make sure where grub is installed is first in order.

So how I see it is you have two options.

Option 1

What I would recommend to you is install Windows 10 first. Then install ubuntu. But I know it is kinda taboo to just say 'reinstall your software' so I'll offer an alternative too.

Option 2

With your current setup I would recommend you to boot into a Live Ubuntu CD/flash drive and install and run boot-repair. Click the 'Recommended Repair' option and follow the instructions given. Go through it carefully and read all the commands before executing. This will override the current grub installation with a new one which should hopefully fix it.

taterbotztaterbotz

I see several solutions:

  1. Edit your UEFI to adjust the default. On linux you can use efibootmgr. On Windows I'm not sure but I think you can boot into a recovery option that lets you configure the UEFI. Or you might prefer to install something like rEFInd.
  2. Change the folder name on the EFI partition. I think it prefers, or falls back to, a folder called boot.
  3. Just use the Windows boot loader, I think it can be configured to boot other OSes.
jiggunjerjiggunjer

I just had my mother board replaced in my laptop and grub disappeared completely.

I know this is marked as fixed but I thought that it may be useful for you.

To make grub appear as a boot option. I needed to add a EFI to bios.

I went to the 'boot list option' in my bios. Clicked on 'Add Boot Option' (I am aware that this is bios specific). This gave me an option for file name, which in my case was EFIubuntugrubx64.efi and gave it a name grub

I then moved the grub entry to the top of the boot sequence, and now it shows as the default entry.

I.e. what I'm saying is you may just need to locate the correct EFI file and move it to the top of your boot sequence / order.

WesWes

A possible solution would be manually editing the /etc/default/grub file.

sudo vim /etc/default/grub

The default entry is determined by the GRUB_DEFAULT= setting in /etc/default/grub. The first 'menu entry' has a value of '0'. If Ubuntu is the second entry in the boot screen then set GRUB_DEFAULT=1.

Afterward, you would need to run the command to update grub config:update-grub

Another option would be installation grub-customizer and use its GUI to configure boot priority.

Mr. RaspberryMr. Raspberry

Not the answer you're looking for? Browse other questions tagged ubuntuwindows-10grubuefi or ask your own question.

Learn how to download and install Ubuntu Linux on Windows 10 in such a way that it won’t harm Windows. Using this method Ubuntu Linux will only run when you tell it to and it doesn’t require any special partitioning of your disks.

This installation method requires you to download a piece of software called VirtualBox from Oracle which allows you to run other operating systems as virtual computers on top of your current operating system, including Windows 10.

What You Will Need

In order to install Ubuntu Linux on Windows 10 you will need to download the following applications:

Steps Required to Run Ubuntu Linux on Windows 10

  1. Download Oracle Virtualbox
  2. Download Ubuntu
  3. Download Virtualbox Guest Additions
  4. Install Virtualbox
  5. Create an Ubuntu virtual machine
  6. Install Ubuntu
  7. Install Virtualbox Guest Additions

What About Windows 7 and Windows 8 Users?

Grandia hd remaster. There are also some alternative guides for Windows 7 and Windows 8 users installing Ubuntu Linux.

Download Oracle Virtualbox

Download Virtualbox by clicking on the large download button in the middle of the screen.

Choose 32-Bit or 64-Bit

To find out whether you are running a 32-bit or 64-bit system click on the Windows start button and search for PC Info.

The screen that appears tells you lots of useful information about your computer such as the amount of RAM, the processor, and the current operating system.

The most important part, however, is the system type which as you can see from the image shows that my system is 64-bit. Using the same technique you can work out which system type your computer is.

Download Ubuntu

There are two versions of Ubuntu available:

  1. Ubuntu 14.04.3 LTS
  2. Ubuntu 15.04 (soon to be Ubuntu 15.10)

Ubuntu 14.04 is for people who don’t want to upgrade their operating system every 6 months. The support period has a number of years to run and therefore it really is a case of installing it and getting on with your life.

Ubuntu 15.04, 15.10 and beyond are the latest releases and have more up to date developments which aren’t available in 14.04. The downside is that the support period is much shorter at just 9 months. The upgrade process isn’t a big deal but obviously requires more effort than just installing 14.04 and leaving it.

There is a big download link next to both versions and it is up to you whether you want to install 14.04 or 15.04 and beyond. The installation process doesn’t really change.

Flexisign pro software free download. SAi provides sign making software for all production environments. We have a solution for all of your design and printing needs. Visit our site to learn more. FlexiSIGN-PRO 7.6 is free to download from our software library. Our built-in antivirus checked this download and rated it as virus free. The program's installer files are generally known as App.exe or issch.exe etc. The most popular versions of the FlexiSIGN-PRO 8.1, 7.6 and 7.5.

Download Virtualbox Guest Additions

The guest additions make it possible to run the Ubuntu virtual machine in full-screen mode at a suitable resolution.

There are a lot of links on this page. Click on the link that matches the version of Virtualbox you downloaded previously.

When the next page opens click on the link for VBoxGuestAdditions.iso (There will be a version number as part of the link i.e. VBoxGuestAdditions_5_0_6.iso).

How to Install VirtualBox

Press the start button and search for Downloads. Click on the link to the Downloads file folder.

When the downloads folder opens click on the Virtualbox application file you downloaded earlier on.

The Virtualbox setup wizard will begin. Click Next to start the installation.

Where to Install Virtualbox

The next screen lets you choose the Virtualbox installation options.

There is absolutely no reason not to choose the defaults unless you want to choose a different installation location in which case click on ​Browse and navigate to where you want to install Virtualbox.

Create VirtualBox Desktop Icons

You now have the option to create shortcuts, either on the desktop and/or the quick launch bar and whether to register file associations such as VDI files to Virtualbox.

It is up to you whether you want to create shortcuts. Windows 10 is really easy to navigate with the powerful search button so you might decide not to bother creating either of the shortcuts.

Virtualbox Warns About Resetting Your Network Connection

A warning will appear stating that your network connection will temporarily be reset. If this is a problem to you right now then click No and come back to the guide at a later stage otherwise click Yes.

Install VirtualBox

You are finally at the point of installing Virtualbox. Click the Install button.

A security message will appear asking whether you are sure you wish to install Virtualbox and halfway through the install you will be asked whether you want to install the Oracle Universal Serial Bus device software. Click Install.

Create a Ubuntu Virtual Machine

You can start Virtualbox simply by leaving the Start Oracle VM Virtualbox after installation checked and clicking Finish or for future reference click the Start button and search for VirtualBox.

Choose the Type of Virtual Machine

Give your machine a name. It is a good idea to go for the Linux distribution name (i.e. Ubuntu) and the version number (14.04, 15.04, 15.10 etc).

Select Linux as the type and Ubuntu as the version. Make sure you choose the correct version based on whether you have a 32-bit or 64-bit machine.

How Much Memory Do You Give Your Virtual Machine

You now have to choose how much of your computer’s memory you will assign to the virtual machine.

You cannot assign all of your computer’s memory to the virtual machine as you need to leave enough for Windows to continue running as well as any other programs that you have running within Windows.

The minimum you should consider assigning to Ubuntu is 2 gigabytes which ​are 2048 MB. The more you can give the better but don’t go overboard. As you can see I have 8 gigabytes of memory and I have assigned 4 gigabytes to the Ubuntu virtual machine.

Note that the amount of memory you set aside is only used while the virtual machine is running.

Slide the slider to the amount you want to assign and click Next.

Create a Virtual Hard Drive

After assigning memory to the virtual machine you now have to set aside some hard drive space. Select the Create a virtual hard disk now option and click Create.

There are a number of different hard drive types that you can choose from. Choose VDI and click Next.

There are two ways to create the virtual hard drive:

If you choose dynamically allocated it will only use space as it is required. So if you set 20 gigabytes aside for the virtual hard drive and only 6 is required then only 6 will be used. As you install more applications the extra space will be allocated as necessary.

This is more efficient in terms of disk space usage but isn’t so good for performance because you have to wait for the space to be allocated before you can use it.

The fixed size option allocates all the space you request straight away. This is less efficient in terms of disk space usage because you may have set aside space you never actually use but it is better for performance. This is the better option as your computer generally has more disk space than memory and CPU power.

Set the Size of Your Virtual Hard Drive

Finally, you are at the stage of setting how much space you wish to give to Ubuntu. The minimum is about 10 gigabytes but the more you can spare the better. You don’t have to go overboard though. If you are just installing Ubuntu in a virtual machine to test it out go for a smaller amount.

Install Ubuntu on Your Virtual Machine

The virtual machine has now been created but it is like a computer that doesn’t have an operating system installed yet.

The first thing to do is to boot into Ubuntu. Click the start icon on the toolbar.

This is the point where you need to choose the Ubuntu ISO file you downloaded earlier. Click on the folder icon next to the Host Drive dropdown.

Navigate to the download folder and click on the Ubuntu disc image and then on Open.

Start the Ubuntu Installer

Click on the Start button.

Ubuntu should load into the little window and you will have the option to try Ubuntu or install Ubuntu.

Check Your Virtual Machine Meets the Pre-Requisites

A list of pre-requisites will be displayed. Basically, you need to make sure your machine has enough power (i.e. plug it in if you are using a laptop), has over 6.6 gigabytes of disk space and is connected to the internet.

You also have the option of downloading updates whilst installing and to install third party software.

If you have a good internet connection check the download updates option otherwise untick it and leave the updates to install at a later point post installation.

Check the install third party software option as it will allow you to play MP3 audio and watch Flash videos.

Choose the Installation Type

The next step lets you decide how to install Ubuntu. As you are using a virtual machine select the Erase disk and install Ubuntu option.

Do not worry. This will not erase your physical hard drive. It will just install Ubuntu in the virtual hard drive created earlier on.

A message will appear showing you the changes that will be made to your disk. Again this is only your virtual hard drive and so it is safe to click Continue.

Choose Your Location

You will now be required to choose where you live. You can either select the place on the map or type it into the box available.

Choose Your Keyboard Layout

The penultimate step is to choose your keyboard layout.

You may find that the correct layout has already been chosen but it isn’t, try clicking on the Detect Keyboard Layout option.

If that doesn’t work, click on the language for your keyboard in the left panel and then choose the physical layout in the right pane.

Create a User

The final step is to create a user.

Enter your name into the box provided and give your virtual machine a name.

Now choose a username and enter a password to associate with that user. (repeat the password as required).

The other options are to log in automatically or require a password to log in. You can also choose to encrypt your home folder.

As it is a virtual machine you may as well go for the Log in automatically option but we recommend always selecting the Require my password to log in.

Ubuntu will now be installed.

When the installation has finished click the File menu and choose close.

You have the option to save the machine state, send the shutdown signal or power off the machine. Choose power off the machine and click OK.

Install Guest Additions

The next step is to install the guest additions.

Click on the settings icon on the VirtualBox toolbar

Click on the storage option and then click on IDE and choose the little circle with a plus symbol icon which adds a new optical drive.

An option will appear asking you to choose which disk to insert into the optical drive. Click on the Choose diskDownload mirrorop receiver for windows. button.

Navigate to the downloads folder and click on the VBoxGuestAdditions disc image and select Open.

When you are back at the main screen click the start button on the toolbar.

Open the VirtualBox Guest Additions CD in Ubuntu

Ubuntu will boot for the first time but you won’t be able to use it full screen until the guest additions are properly installed.

Click on the CD icon at the bottom of the launcher panel on the left and make sure there are files for VirtualBox Guest Additions.

Right-click on an empty space where the list of files are and choose open in terminal.

Install Virtualbox Guest Additions

Type the following into the terminal window:

Finally, you need to reboot the virtual machine.

Click on the little cog symbol in the top right corner and choose shutdown.

You will be given the choice to restart or shutdown. Choose Restart.

When the virtual machine restarts choose the View menu and select Full-Screen Mode.

A message will appear telling you that you can toggle between full screen and windowed mode by holding down the right CTRL key and F.

You're done! Great job.

Summary

Congratulations! You should now have successfully installed Ubuntu as a virtual machine on Windows 10.

Coments are closed
Scroll to top