Cannot access Ubuntu 18.04 in dual boot, because system boots straight to Windows 10Dual Boot Ubuntu18.04/Windows 10I am new and want to do a dual boot of windows 10 and Ubuntu. How I should manage my built in 120 gb SSD?How to get Ubuntu to show in my windows boot menuEFI Boot loader problem for dualboot system with windows 8.1Ubuntu UEFI Dual-Boot without boot repairUbuntu 16.04 booting to emergency mode after updating windows 8.1 to windows 10 in dual bootubuntu won't load in dual boot with windows 10 in Uefi modeWindows 10 boots automatically after installing Ubuntu 16.04Can't boot into linux (kde neon) after windows fresh reinstall. Boot repair Log attachedUbuntu 18.04 Dual boot Windows 10 fails to bootAfter trying to make grub the default, boots into blank screenDual boot Windows 10 and Ubuntu 18.04 - Boots immediately into Windows and not showing GRUB menuUbuntu dualboot on Acer Aspire ES 15 Grub is not loading
How can I reduce the size of matrix?
If I arrive in the UK, and then head to mainland Europe, does my Schengen visa 90 day limit start when I arrived in the UK, or mainland Europe?
Paid shop assistant in the USA, UK national
Is it OK to look at the list of played moves during the game to determine the status of the 50 move rule?
Meaning of "half-crown enclosure"
Ribbon Cable Cross Talk - Is there a fix after the fact?
Computing elements of a 1000x60 matrix exhausts RAM
Was murdering a slave illegal in American slavery, and if so, what punishments were given for it?
pros and cons of HSA in Investment account
Can you "hand off" from Fly to Levitate?
Department head said that group project may be rejected. How to mitigate?
Caught with my phone during an exam
TCP Three Way Handshake?
Are there historical examples of audiences drawn to a work that was "so bad it's good"?
How to become an Editorial board member?
Does the fact that we can only measure the two-way speed of light undermine the axiom of invariance?
pwaS eht tirsf dna tasl setterl fo hace dorw
Why do we perceive time?
Salesforce bug enabled "Modify All"
How does the gemara know where to start?
Is a world with one country feeding everyone possible?
AD: Unable to perform remote desktop logon
Is there any mention of ghosts who live outside the Hogwarts castle?
Were there any developed countries that became "undeveloped" for reasons other than war?
Cannot access Ubuntu 18.04 in dual boot, because system boots straight to Windows 10
Dual Boot Ubuntu18.04/Windows 10I am new and want to do a dual boot of windows 10 and Ubuntu. How I should manage my built in 120 gb SSD?How to get Ubuntu to show in my windows boot menuEFI Boot loader problem for dualboot system with windows 8.1Ubuntu UEFI Dual-Boot without boot repairUbuntu 16.04 booting to emergency mode after updating windows 8.1 to windows 10 in dual bootubuntu won't load in dual boot with windows 10 in Uefi modeWindows 10 boots automatically after installing Ubuntu 16.04Can't boot into linux (kde neon) after windows fresh reinstall. Boot repair Log attachedUbuntu 18.04 Dual boot Windows 10 fails to bootAfter trying to make grub the default, boots into blank screenDual boot Windows 10 and Ubuntu 18.04 - Boots immediately into Windows and not showing GRUB menuUbuntu dualboot on Acer Aspire ES 15 Grub is not loading
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have tried several method from previous answers:
- Changing boot order from BIOS menu. There is no option of Ubuntu in BIOS.
- Repairing grub menu after loading Ubuntu from USB.
- Changing boot order from efibootmgr Ubuntu.
- Using command like bcdedit /set bootmgr path EFIubuntugrubx64.efi or
bcdedit /set bootmgr path EFIMicrosoftBootbootmgfw.efi in cmd.
Fast startup is disabled.
boot dual-boot grub2 uefi
|
show 1 more comment
I have tried several method from previous answers:
- Changing boot order from BIOS menu. There is no option of Ubuntu in BIOS.
- Repairing grub menu after loading Ubuntu from USB.
- Changing boot order from efibootmgr Ubuntu.
- Using command like bcdedit /set bootmgr path EFIubuntugrubx64.efi or
bcdedit /set bootmgr path EFIMicrosoftBootbootmgfw.efi in cmd.
Fast startup is disabled.
boot dual-boot grub2 uefi
1
Back slash and forward slashes? Can you check those slashes?
– PRATAP
Jun 17 '18 at 9:44
Did you install Ubuntu 18.04 from a USB stick? How did you get it to boot? Usually there is a key you can press as you swich on for a one-time boot menu. On a Dell I've got it's f12, another uses f9, but different manufacturers sometimes use esc or f2 etc. In the boot menu you often get a choice to boot the USB in EFI or Legacy mode. My best guess is that you've installed Ubuntu in Legacy mode (if you didn't specifically choose another option). Find the 'one time boot menu' key for your machine and see if there's an option to boot Ubuntu from there.
– pHeLiOn
Jun 17 '18 at 9:55
Do you have the option in Bios to select shrimx64.efi ?? If yes then you can select this file as trusted and then maybe you will get get the grub bootloader..
– MitKan
Jun 17 '18 at 10:24
@pHeLiOn Yes, I was able to boot Ubuntu from one time boot menu key (F12). So , whenever I have to boot to ubuntu I have to use F12 ? Anyway to access that grub menu by default on startup without f12, because it took a good amount of time to load for ubuntu to load.
– stark
Jun 17 '18 at 10:28
@stark - okay, good. Ubuntu is there but you've installed Ubuntu in Legacy mode. I made the same mistake when I was new to dual-booting with a UEFI system. Unfortunately, you need Ubuntu and Windows to boot in the same mode and Windows looks like it's installed in UEFI mode. You do this by going through the install process but pressing f12 as you power up and selecting your install USB to boot in UEFI mode. Then when Ubuntu is installed it will work correctly and take you to the grub menu where you can choose which Operating System to boot. I'll explain more in an answer.
– pHeLiOn
Jun 17 '18 at 19:36
|
show 1 more comment
I have tried several method from previous answers:
- Changing boot order from BIOS menu. There is no option of Ubuntu in BIOS.
- Repairing grub menu after loading Ubuntu from USB.
- Changing boot order from efibootmgr Ubuntu.
- Using command like bcdedit /set bootmgr path EFIubuntugrubx64.efi or
bcdedit /set bootmgr path EFIMicrosoftBootbootmgfw.efi in cmd.
Fast startup is disabled.
boot dual-boot grub2 uefi
I have tried several method from previous answers:
- Changing boot order from BIOS menu. There is no option of Ubuntu in BIOS.
- Repairing grub menu after loading Ubuntu from USB.
- Changing boot order from efibootmgr Ubuntu.
- Using command like bcdedit /set bootmgr path EFIubuntugrubx64.efi or
bcdedit /set bootmgr path EFIMicrosoftBootbootmgfw.efi in cmd.
Fast startup is disabled.
boot dual-boot grub2 uefi
boot dual-boot grub2 uefi
edited Jun 17 '18 at 9:59
Arch
12310
12310
asked Jun 17 '18 at 9:38
starkstark
112
112
1
Back slash and forward slashes? Can you check those slashes?
– PRATAP
Jun 17 '18 at 9:44
Did you install Ubuntu 18.04 from a USB stick? How did you get it to boot? Usually there is a key you can press as you swich on for a one-time boot menu. On a Dell I've got it's f12, another uses f9, but different manufacturers sometimes use esc or f2 etc. In the boot menu you often get a choice to boot the USB in EFI or Legacy mode. My best guess is that you've installed Ubuntu in Legacy mode (if you didn't specifically choose another option). Find the 'one time boot menu' key for your machine and see if there's an option to boot Ubuntu from there.
– pHeLiOn
Jun 17 '18 at 9:55
Do you have the option in Bios to select shrimx64.efi ?? If yes then you can select this file as trusted and then maybe you will get get the grub bootloader..
– MitKan
Jun 17 '18 at 10:24
@pHeLiOn Yes, I was able to boot Ubuntu from one time boot menu key (F12). So , whenever I have to boot to ubuntu I have to use F12 ? Anyway to access that grub menu by default on startup without f12, because it took a good amount of time to load for ubuntu to load.
– stark
Jun 17 '18 at 10:28
@stark - okay, good. Ubuntu is there but you've installed Ubuntu in Legacy mode. I made the same mistake when I was new to dual-booting with a UEFI system. Unfortunately, you need Ubuntu and Windows to boot in the same mode and Windows looks like it's installed in UEFI mode. You do this by going through the install process but pressing f12 as you power up and selecting your install USB to boot in UEFI mode. Then when Ubuntu is installed it will work correctly and take you to the grub menu where you can choose which Operating System to boot. I'll explain more in an answer.
– pHeLiOn
Jun 17 '18 at 19:36
|
show 1 more comment
1
Back slash and forward slashes? Can you check those slashes?
– PRATAP
Jun 17 '18 at 9:44
Did you install Ubuntu 18.04 from a USB stick? How did you get it to boot? Usually there is a key you can press as you swich on for a one-time boot menu. On a Dell I've got it's f12, another uses f9, but different manufacturers sometimes use esc or f2 etc. In the boot menu you often get a choice to boot the USB in EFI or Legacy mode. My best guess is that you've installed Ubuntu in Legacy mode (if you didn't specifically choose another option). Find the 'one time boot menu' key for your machine and see if there's an option to boot Ubuntu from there.
– pHeLiOn
Jun 17 '18 at 9:55
Do you have the option in Bios to select shrimx64.efi ?? If yes then you can select this file as trusted and then maybe you will get get the grub bootloader..
– MitKan
Jun 17 '18 at 10:24
@pHeLiOn Yes, I was able to boot Ubuntu from one time boot menu key (F12). So , whenever I have to boot to ubuntu I have to use F12 ? Anyway to access that grub menu by default on startup without f12, because it took a good amount of time to load for ubuntu to load.
– stark
Jun 17 '18 at 10:28
@stark - okay, good. Ubuntu is there but you've installed Ubuntu in Legacy mode. I made the same mistake when I was new to dual-booting with a UEFI system. Unfortunately, you need Ubuntu and Windows to boot in the same mode and Windows looks like it's installed in UEFI mode. You do this by going through the install process but pressing f12 as you power up and selecting your install USB to boot in UEFI mode. Then when Ubuntu is installed it will work correctly and take you to the grub menu where you can choose which Operating System to boot. I'll explain more in an answer.
– pHeLiOn
Jun 17 '18 at 19:36
1
1
Back slash and forward slashes? Can you check those slashes?
– PRATAP
Jun 17 '18 at 9:44
Back slash and forward slashes? Can you check those slashes?
– PRATAP
Jun 17 '18 at 9:44
Did you install Ubuntu 18.04 from a USB stick? How did you get it to boot? Usually there is a key you can press as you swich on for a one-time boot menu. On a Dell I've got it's f12, another uses f9, but different manufacturers sometimes use esc or f2 etc. In the boot menu you often get a choice to boot the USB in EFI or Legacy mode. My best guess is that you've installed Ubuntu in Legacy mode (if you didn't specifically choose another option). Find the 'one time boot menu' key for your machine and see if there's an option to boot Ubuntu from there.
– pHeLiOn
Jun 17 '18 at 9:55
Did you install Ubuntu 18.04 from a USB stick? How did you get it to boot? Usually there is a key you can press as you swich on for a one-time boot menu. On a Dell I've got it's f12, another uses f9, but different manufacturers sometimes use esc or f2 etc. In the boot menu you often get a choice to boot the USB in EFI or Legacy mode. My best guess is that you've installed Ubuntu in Legacy mode (if you didn't specifically choose another option). Find the 'one time boot menu' key for your machine and see if there's an option to boot Ubuntu from there.
– pHeLiOn
Jun 17 '18 at 9:55
Do you have the option in Bios to select shrimx64.efi ?? If yes then you can select this file as trusted and then maybe you will get get the grub bootloader..
– MitKan
Jun 17 '18 at 10:24
Do you have the option in Bios to select shrimx64.efi ?? If yes then you can select this file as trusted and then maybe you will get get the grub bootloader..
– MitKan
Jun 17 '18 at 10:24
@pHeLiOn Yes, I was able to boot Ubuntu from one time boot menu key (F12). So , whenever I have to boot to ubuntu I have to use F12 ? Anyway to access that grub menu by default on startup without f12, because it took a good amount of time to load for ubuntu to load.
– stark
Jun 17 '18 at 10:28
@pHeLiOn Yes, I was able to boot Ubuntu from one time boot menu key (F12). So , whenever I have to boot to ubuntu I have to use F12 ? Anyway to access that grub menu by default on startup without f12, because it took a good amount of time to load for ubuntu to load.
– stark
Jun 17 '18 at 10:28
@stark - okay, good. Ubuntu is there but you've installed Ubuntu in Legacy mode. I made the same mistake when I was new to dual-booting with a UEFI system. Unfortunately, you need Ubuntu and Windows to boot in the same mode and Windows looks like it's installed in UEFI mode. You do this by going through the install process but pressing f12 as you power up and selecting your install USB to boot in UEFI mode. Then when Ubuntu is installed it will work correctly and take you to the grub menu where you can choose which Operating System to boot. I'll explain more in an answer.
– pHeLiOn
Jun 17 '18 at 19:36
@stark - okay, good. Ubuntu is there but you've installed Ubuntu in Legacy mode. I made the same mistake when I was new to dual-booting with a UEFI system. Unfortunately, you need Ubuntu and Windows to boot in the same mode and Windows looks like it's installed in UEFI mode. You do this by going through the install process but pressing f12 as you power up and selecting your install USB to boot in UEFI mode. Then when Ubuntu is installed it will work correctly and take you to the grub menu where you can choose which Operating System to boot. I'll explain more in an answer.
– pHeLiOn
Jun 17 '18 at 19:36
|
show 1 more comment
1 Answer
1
active
oldest
votes
A Quick Guide To Installing Ubuntu On A Dual Boot System (with Windows)
There are many good guides to installing Ubuntu but they don't all stress that it's very important if you are Dual-Booting with Windows that you need to ensure that Ubuntu is installed using the same 'boot mode' as Windows for everything to work smoothly.
(By 'work smoothly' I mean that, once installed, you switch on your machine and it goes to a grub boot menu where you can choose which Operating System you wish to boot up.)
The official Ubuntu documentation covers this well in the UEFI section: https://help.ubuntu.com/community/UEFI
One of the more obvious ways to tell that this might be your issue is, after installing Ubuntu, when you choose the 'Ubuntu' option from the grub menu it works fine, but choosing 'Windows' results in an error.
Windows can still usually be booted by pressing a key on startup (often f12) to take you to a 'one-time boot menu' and you can select it and successfully boot it from there.
In the case of this question, when switching on, the machine boots straight to Windows unless f12 is pressed, from where Ubuntu can be selected.
One-Time Boot Menu
When switching on your machine there should be a key that you can press to take you to your BIOS settings. That key will depend on what the manufacturer of the machine has chosen. Often it is f2 or esc and sometimes it will briefly flash a message on the screen to tell you what to press.
- The 'Boot Menu' can also be accessed by pressing a key on startup that can vary depending on the manufacturer. (I have a Dell that uses f12 and an HP that uses f9)
Here's an article that has gathered some information about both for many of the most popular computer manufacturers: http://webtechmag.com/list-of-boot-menu-and-bios-keys-by-manufacturer/
Here are two examples of what a 'one time boot menu' can look like (with the USB UEFI option highlighted):
--Note that there are two entries available for the USB, allowing you to boot the USB in UEFI mode or not. (The 'Not-UEFI' option is usually referred to as 'Legacy Boot'.)
If you have installed Ubuntu, apparently successfully, but then encounter this sort of issue, then it is always worth checking the BIOS settings and looking at the 'Boot Order' or 'Boot Sequence'.
The boot order that you want is for 'Ubuntu' to be first, because that option will load the grub bootloader and from there you can choose either operating system.
On an HP Laptop I had (where Windows was booting automatically after I installed Ubuntu), it wasn't clear that Ubuntu was even a boot option until I highlighted and selected the 'Windows' option. It then showed me that there were other options and I could change the order using f5 and f6 to make Ubuntu first.
You may also have a separate Legacy boot option list for 'non UEFI' booting. It's unlikely that a machine from the last five years with Windows pre-installed will use anything other than UEFI and most modern Linux distributions support UEFI boot, so do not require Legacy boot in order to work.
If Legacy boot is enabled, however, if you inserted your USB and didn't specifically choose to boot in UEFI mode, then in my experience this tends to mean that the USB will boot in Legacy mode. (My first 'adventures' with UEFI helped me find this out.)
If you are trying out a Live USB then it usually doesn't really matter what mode it boots in, but when it comes to installing Ubuntu you want to make sure that the Ubuntu USB boots in the same mode as Windows uses. Which will most likely be UEFI.
If you boot the USB in UEFI mode then it will install Ubuntu in UEFI mode.
If you boot the USB in Legacy mode then it will not be able to install using UEFI mode.
Although the installation will go fine, you will not have a setup where the grub boot loader appears when you first switch on and happily lets you choose to boot any Operating System on offer.
The simplest option in this case, is to reinstall Ubuntu making sure that you have booted the Live USB in the same boot mode as Windows.
@oldfred has kindly mentioned in the comments that another option is to use the Boot-Repair program to convert it.
I've not had any experience of using this, but you can follow the instructions in the official documentation (https://help.ubuntu.com/community/UEFI) under the heading 'Converting Ubuntu into UEFI or Legacy mode'.
This involves either making a Boot-Repair-Disk Live USB or adding the Boot-Repair ppa and installing the program on Ubuntu.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1047313%2fcannot-access-ubuntu-18-04-in-dual-boot-because-system-boots-straight-to-window%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
A Quick Guide To Installing Ubuntu On A Dual Boot System (with Windows)
There are many good guides to installing Ubuntu but they don't all stress that it's very important if you are Dual-Booting with Windows that you need to ensure that Ubuntu is installed using the same 'boot mode' as Windows for everything to work smoothly.
(By 'work smoothly' I mean that, once installed, you switch on your machine and it goes to a grub boot menu where you can choose which Operating System you wish to boot up.)
The official Ubuntu documentation covers this well in the UEFI section: https://help.ubuntu.com/community/UEFI
One of the more obvious ways to tell that this might be your issue is, after installing Ubuntu, when you choose the 'Ubuntu' option from the grub menu it works fine, but choosing 'Windows' results in an error.
Windows can still usually be booted by pressing a key on startup (often f12) to take you to a 'one-time boot menu' and you can select it and successfully boot it from there.
In the case of this question, when switching on, the machine boots straight to Windows unless f12 is pressed, from where Ubuntu can be selected.
One-Time Boot Menu
When switching on your machine there should be a key that you can press to take you to your BIOS settings. That key will depend on what the manufacturer of the machine has chosen. Often it is f2 or esc and sometimes it will briefly flash a message on the screen to tell you what to press.
- The 'Boot Menu' can also be accessed by pressing a key on startup that can vary depending on the manufacturer. (I have a Dell that uses f12 and an HP that uses f9)
Here's an article that has gathered some information about both for many of the most popular computer manufacturers: http://webtechmag.com/list-of-boot-menu-and-bios-keys-by-manufacturer/
Here are two examples of what a 'one time boot menu' can look like (with the USB UEFI option highlighted):
--Note that there are two entries available for the USB, allowing you to boot the USB in UEFI mode or not. (The 'Not-UEFI' option is usually referred to as 'Legacy Boot'.)
If you have installed Ubuntu, apparently successfully, but then encounter this sort of issue, then it is always worth checking the BIOS settings and looking at the 'Boot Order' or 'Boot Sequence'.
The boot order that you want is for 'Ubuntu' to be first, because that option will load the grub bootloader and from there you can choose either operating system.
On an HP Laptop I had (where Windows was booting automatically after I installed Ubuntu), it wasn't clear that Ubuntu was even a boot option until I highlighted and selected the 'Windows' option. It then showed me that there were other options and I could change the order using f5 and f6 to make Ubuntu first.
You may also have a separate Legacy boot option list for 'non UEFI' booting. It's unlikely that a machine from the last five years with Windows pre-installed will use anything other than UEFI and most modern Linux distributions support UEFI boot, so do not require Legacy boot in order to work.
If Legacy boot is enabled, however, if you inserted your USB and didn't specifically choose to boot in UEFI mode, then in my experience this tends to mean that the USB will boot in Legacy mode. (My first 'adventures' with UEFI helped me find this out.)
If you are trying out a Live USB then it usually doesn't really matter what mode it boots in, but when it comes to installing Ubuntu you want to make sure that the Ubuntu USB boots in the same mode as Windows uses. Which will most likely be UEFI.
If you boot the USB in UEFI mode then it will install Ubuntu in UEFI mode.
If you boot the USB in Legacy mode then it will not be able to install using UEFI mode.
Although the installation will go fine, you will not have a setup where the grub boot loader appears when you first switch on and happily lets you choose to boot any Operating System on offer.
The simplest option in this case, is to reinstall Ubuntu making sure that you have booted the Live USB in the same boot mode as Windows.
@oldfred has kindly mentioned in the comments that another option is to use the Boot-Repair program to convert it.
I've not had any experience of using this, but you can follow the instructions in the official documentation (https://help.ubuntu.com/community/UEFI) under the heading 'Converting Ubuntu into UEFI or Legacy mode'.
This involves either making a Boot-Repair-Disk Live USB or adding the Boot-Repair ppa and installing the program on Ubuntu.
add a comment |
A Quick Guide To Installing Ubuntu On A Dual Boot System (with Windows)
There are many good guides to installing Ubuntu but they don't all stress that it's very important if you are Dual-Booting with Windows that you need to ensure that Ubuntu is installed using the same 'boot mode' as Windows for everything to work smoothly.
(By 'work smoothly' I mean that, once installed, you switch on your machine and it goes to a grub boot menu where you can choose which Operating System you wish to boot up.)
The official Ubuntu documentation covers this well in the UEFI section: https://help.ubuntu.com/community/UEFI
One of the more obvious ways to tell that this might be your issue is, after installing Ubuntu, when you choose the 'Ubuntu' option from the grub menu it works fine, but choosing 'Windows' results in an error.
Windows can still usually be booted by pressing a key on startup (often f12) to take you to a 'one-time boot menu' and you can select it and successfully boot it from there.
In the case of this question, when switching on, the machine boots straight to Windows unless f12 is pressed, from where Ubuntu can be selected.
One-Time Boot Menu
When switching on your machine there should be a key that you can press to take you to your BIOS settings. That key will depend on what the manufacturer of the machine has chosen. Often it is f2 or esc and sometimes it will briefly flash a message on the screen to tell you what to press.
- The 'Boot Menu' can also be accessed by pressing a key on startup that can vary depending on the manufacturer. (I have a Dell that uses f12 and an HP that uses f9)
Here's an article that has gathered some information about both for many of the most popular computer manufacturers: http://webtechmag.com/list-of-boot-menu-and-bios-keys-by-manufacturer/
Here are two examples of what a 'one time boot menu' can look like (with the USB UEFI option highlighted):
--Note that there are two entries available for the USB, allowing you to boot the USB in UEFI mode or not. (The 'Not-UEFI' option is usually referred to as 'Legacy Boot'.)
If you have installed Ubuntu, apparently successfully, but then encounter this sort of issue, then it is always worth checking the BIOS settings and looking at the 'Boot Order' or 'Boot Sequence'.
The boot order that you want is for 'Ubuntu' to be first, because that option will load the grub bootloader and from there you can choose either operating system.
On an HP Laptop I had (where Windows was booting automatically after I installed Ubuntu), it wasn't clear that Ubuntu was even a boot option until I highlighted and selected the 'Windows' option. It then showed me that there were other options and I could change the order using f5 and f6 to make Ubuntu first.
You may also have a separate Legacy boot option list for 'non UEFI' booting. It's unlikely that a machine from the last five years with Windows pre-installed will use anything other than UEFI and most modern Linux distributions support UEFI boot, so do not require Legacy boot in order to work.
If Legacy boot is enabled, however, if you inserted your USB and didn't specifically choose to boot in UEFI mode, then in my experience this tends to mean that the USB will boot in Legacy mode. (My first 'adventures' with UEFI helped me find this out.)
If you are trying out a Live USB then it usually doesn't really matter what mode it boots in, but when it comes to installing Ubuntu you want to make sure that the Ubuntu USB boots in the same mode as Windows uses. Which will most likely be UEFI.
If you boot the USB in UEFI mode then it will install Ubuntu in UEFI mode.
If you boot the USB in Legacy mode then it will not be able to install using UEFI mode.
Although the installation will go fine, you will not have a setup where the grub boot loader appears when you first switch on and happily lets you choose to boot any Operating System on offer.
The simplest option in this case, is to reinstall Ubuntu making sure that you have booted the Live USB in the same boot mode as Windows.
@oldfred has kindly mentioned in the comments that another option is to use the Boot-Repair program to convert it.
I've not had any experience of using this, but you can follow the instructions in the official documentation (https://help.ubuntu.com/community/UEFI) under the heading 'Converting Ubuntu into UEFI or Legacy mode'.
This involves either making a Boot-Repair-Disk Live USB or adding the Boot-Repair ppa and installing the program on Ubuntu.
add a comment |
A Quick Guide To Installing Ubuntu On A Dual Boot System (with Windows)
There are many good guides to installing Ubuntu but they don't all stress that it's very important if you are Dual-Booting with Windows that you need to ensure that Ubuntu is installed using the same 'boot mode' as Windows for everything to work smoothly.
(By 'work smoothly' I mean that, once installed, you switch on your machine and it goes to a grub boot menu where you can choose which Operating System you wish to boot up.)
The official Ubuntu documentation covers this well in the UEFI section: https://help.ubuntu.com/community/UEFI
One of the more obvious ways to tell that this might be your issue is, after installing Ubuntu, when you choose the 'Ubuntu' option from the grub menu it works fine, but choosing 'Windows' results in an error.
Windows can still usually be booted by pressing a key on startup (often f12) to take you to a 'one-time boot menu' and you can select it and successfully boot it from there.
In the case of this question, when switching on, the machine boots straight to Windows unless f12 is pressed, from where Ubuntu can be selected.
One-Time Boot Menu
When switching on your machine there should be a key that you can press to take you to your BIOS settings. That key will depend on what the manufacturer of the machine has chosen. Often it is f2 or esc and sometimes it will briefly flash a message on the screen to tell you what to press.
- The 'Boot Menu' can also be accessed by pressing a key on startup that can vary depending on the manufacturer. (I have a Dell that uses f12 and an HP that uses f9)
Here's an article that has gathered some information about both for many of the most popular computer manufacturers: http://webtechmag.com/list-of-boot-menu-and-bios-keys-by-manufacturer/
Here are two examples of what a 'one time boot menu' can look like (with the USB UEFI option highlighted):
--Note that there are two entries available for the USB, allowing you to boot the USB in UEFI mode or not. (The 'Not-UEFI' option is usually referred to as 'Legacy Boot'.)
If you have installed Ubuntu, apparently successfully, but then encounter this sort of issue, then it is always worth checking the BIOS settings and looking at the 'Boot Order' or 'Boot Sequence'.
The boot order that you want is for 'Ubuntu' to be first, because that option will load the grub bootloader and from there you can choose either operating system.
On an HP Laptop I had (where Windows was booting automatically after I installed Ubuntu), it wasn't clear that Ubuntu was even a boot option until I highlighted and selected the 'Windows' option. It then showed me that there were other options and I could change the order using f5 and f6 to make Ubuntu first.
You may also have a separate Legacy boot option list for 'non UEFI' booting. It's unlikely that a machine from the last five years with Windows pre-installed will use anything other than UEFI and most modern Linux distributions support UEFI boot, so do not require Legacy boot in order to work.
If Legacy boot is enabled, however, if you inserted your USB and didn't specifically choose to boot in UEFI mode, then in my experience this tends to mean that the USB will boot in Legacy mode. (My first 'adventures' with UEFI helped me find this out.)
If you are trying out a Live USB then it usually doesn't really matter what mode it boots in, but when it comes to installing Ubuntu you want to make sure that the Ubuntu USB boots in the same mode as Windows uses. Which will most likely be UEFI.
If you boot the USB in UEFI mode then it will install Ubuntu in UEFI mode.
If you boot the USB in Legacy mode then it will not be able to install using UEFI mode.
Although the installation will go fine, you will not have a setup where the grub boot loader appears when you first switch on and happily lets you choose to boot any Operating System on offer.
The simplest option in this case, is to reinstall Ubuntu making sure that you have booted the Live USB in the same boot mode as Windows.
@oldfred has kindly mentioned in the comments that another option is to use the Boot-Repair program to convert it.
I've not had any experience of using this, but you can follow the instructions in the official documentation (https://help.ubuntu.com/community/UEFI) under the heading 'Converting Ubuntu into UEFI or Legacy mode'.
This involves either making a Boot-Repair-Disk Live USB or adding the Boot-Repair ppa and installing the program on Ubuntu.
A Quick Guide To Installing Ubuntu On A Dual Boot System (with Windows)
There are many good guides to installing Ubuntu but they don't all stress that it's very important if you are Dual-Booting with Windows that you need to ensure that Ubuntu is installed using the same 'boot mode' as Windows for everything to work smoothly.
(By 'work smoothly' I mean that, once installed, you switch on your machine and it goes to a grub boot menu where you can choose which Operating System you wish to boot up.)
The official Ubuntu documentation covers this well in the UEFI section: https://help.ubuntu.com/community/UEFI
One of the more obvious ways to tell that this might be your issue is, after installing Ubuntu, when you choose the 'Ubuntu' option from the grub menu it works fine, but choosing 'Windows' results in an error.
Windows can still usually be booted by pressing a key on startup (often f12) to take you to a 'one-time boot menu' and you can select it and successfully boot it from there.
In the case of this question, when switching on, the machine boots straight to Windows unless f12 is pressed, from where Ubuntu can be selected.
One-Time Boot Menu
When switching on your machine there should be a key that you can press to take you to your BIOS settings. That key will depend on what the manufacturer of the machine has chosen. Often it is f2 or esc and sometimes it will briefly flash a message on the screen to tell you what to press.
- The 'Boot Menu' can also be accessed by pressing a key on startup that can vary depending on the manufacturer. (I have a Dell that uses f12 and an HP that uses f9)
Here's an article that has gathered some information about both for many of the most popular computer manufacturers: http://webtechmag.com/list-of-boot-menu-and-bios-keys-by-manufacturer/
Here are two examples of what a 'one time boot menu' can look like (with the USB UEFI option highlighted):
--Note that there are two entries available for the USB, allowing you to boot the USB in UEFI mode or not. (The 'Not-UEFI' option is usually referred to as 'Legacy Boot'.)
If you have installed Ubuntu, apparently successfully, but then encounter this sort of issue, then it is always worth checking the BIOS settings and looking at the 'Boot Order' or 'Boot Sequence'.
The boot order that you want is for 'Ubuntu' to be first, because that option will load the grub bootloader and from there you can choose either operating system.
On an HP Laptop I had (where Windows was booting automatically after I installed Ubuntu), it wasn't clear that Ubuntu was even a boot option until I highlighted and selected the 'Windows' option. It then showed me that there were other options and I could change the order using f5 and f6 to make Ubuntu first.
You may also have a separate Legacy boot option list for 'non UEFI' booting. It's unlikely that a machine from the last five years with Windows pre-installed will use anything other than UEFI and most modern Linux distributions support UEFI boot, so do not require Legacy boot in order to work.
If Legacy boot is enabled, however, if you inserted your USB and didn't specifically choose to boot in UEFI mode, then in my experience this tends to mean that the USB will boot in Legacy mode. (My first 'adventures' with UEFI helped me find this out.)
If you are trying out a Live USB then it usually doesn't really matter what mode it boots in, but when it comes to installing Ubuntu you want to make sure that the Ubuntu USB boots in the same mode as Windows uses. Which will most likely be UEFI.
If you boot the USB in UEFI mode then it will install Ubuntu in UEFI mode.
If you boot the USB in Legacy mode then it will not be able to install using UEFI mode.
Although the installation will go fine, you will not have a setup where the grub boot loader appears when you first switch on and happily lets you choose to boot any Operating System on offer.
The simplest option in this case, is to reinstall Ubuntu making sure that you have booted the Live USB in the same boot mode as Windows.
@oldfred has kindly mentioned in the comments that another option is to use the Boot-Repair program to convert it.
I've not had any experience of using this, but you can follow the instructions in the official documentation (https://help.ubuntu.com/community/UEFI) under the heading 'Converting Ubuntu into UEFI or Legacy mode'.
This involves either making a Boot-Repair-Disk Live USB or adding the Boot-Repair ppa and installing the program on Ubuntu.
edited Jul 9 '18 at 15:11
answered Jun 18 '18 at 0:41
pHeLiOnpHeLiOn
880419
880419
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1047313%2fcannot-access-ubuntu-18-04-in-dual-boot-because-system-boots-straight-to-window%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Back slash and forward slashes? Can you check those slashes?
– PRATAP
Jun 17 '18 at 9:44
Did you install Ubuntu 18.04 from a USB stick? How did you get it to boot? Usually there is a key you can press as you swich on for a one-time boot menu. On a Dell I've got it's f12, another uses f9, but different manufacturers sometimes use esc or f2 etc. In the boot menu you often get a choice to boot the USB in EFI or Legacy mode. My best guess is that you've installed Ubuntu in Legacy mode (if you didn't specifically choose another option). Find the 'one time boot menu' key for your machine and see if there's an option to boot Ubuntu from there.
– pHeLiOn
Jun 17 '18 at 9:55
Do you have the option in Bios to select shrimx64.efi ?? If yes then you can select this file as trusted and then maybe you will get get the grub bootloader..
– MitKan
Jun 17 '18 at 10:24
@pHeLiOn Yes, I was able to boot Ubuntu from one time boot menu key (F12). So , whenever I have to boot to ubuntu I have to use F12 ? Anyway to access that grub menu by default on startup without f12, because it took a good amount of time to load for ubuntu to load.
– stark
Jun 17 '18 at 10:28
@stark - okay, good. Ubuntu is there but you've installed Ubuntu in Legacy mode. I made the same mistake when I was new to dual-booting with a UEFI system. Unfortunately, you need Ubuntu and Windows to boot in the same mode and Windows looks like it's installed in UEFI mode. You do this by going through the install process but pressing f12 as you power up and selecting your install USB to boot in UEFI mode. Then when Ubuntu is installed it will work correctly and take you to the grub menu where you can choose which Operating System to boot. I'll explain more in an answer.
– pHeLiOn
Jun 17 '18 at 19:36