Ubuntu works in legacy mode and Windows works in UEFI, How could I make both work in dual boot, Alienware...
I am on alienware R-3. I did the following steps multiple times with different partitions without any luck.
- In bios changed RAID-0 to ACHI
- In bios changed secure mode to disable
- Logged into windows and shrink the disk
- Made a bootable ubuntu usb with rufus
- Boot from ubuntu usb and installed ubuntu
Now in bios if I keep the setting on Legacy I can directly login to Ubuntu. If I keep it to UEFI I directly log in to UBUNT.
I tried to manually enter into grub but legacy dont see UEFI and vice versa.
Ideally I want to present a menu to select one in UEFI mode. If not possible I wouldn't mind getting both in legacy mode.
Please help. Thanks.
dual-boot windows uefi grub-legacy
add a comment |
I am on alienware R-3. I did the following steps multiple times with different partitions without any luck.
- In bios changed RAID-0 to ACHI
- In bios changed secure mode to disable
- Logged into windows and shrink the disk
- Made a bootable ubuntu usb with rufus
- Boot from ubuntu usb and installed ubuntu
Now in bios if I keep the setting on Legacy I can directly login to Ubuntu. If I keep it to UEFI I directly log in to UBUNT.
I tried to manually enter into grub but legacy dont see UEFI and vice versa.
Ideally I want to present a menu to select one in UEFI mode. If not possible I wouldn't mind getting both in legacy mode.
Please help. Thanks.
dual-boot windows uefi grub-legacy
How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.
– ubfan1
yesterday
I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows
– Mian Asbat Ahmad
yesterday
The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.
– Mian Asbat Ahmad
yesterday
add a comment |
I am on alienware R-3. I did the following steps multiple times with different partitions without any luck.
- In bios changed RAID-0 to ACHI
- In bios changed secure mode to disable
- Logged into windows and shrink the disk
- Made a bootable ubuntu usb with rufus
- Boot from ubuntu usb and installed ubuntu
Now in bios if I keep the setting on Legacy I can directly login to Ubuntu. If I keep it to UEFI I directly log in to UBUNT.
I tried to manually enter into grub but legacy dont see UEFI and vice versa.
Ideally I want to present a menu to select one in UEFI mode. If not possible I wouldn't mind getting both in legacy mode.
Please help. Thanks.
dual-boot windows uefi grub-legacy
I am on alienware R-3. I did the following steps multiple times with different partitions without any luck.
- In bios changed RAID-0 to ACHI
- In bios changed secure mode to disable
- Logged into windows and shrink the disk
- Made a bootable ubuntu usb with rufus
- Boot from ubuntu usb and installed ubuntu
Now in bios if I keep the setting on Legacy I can directly login to Ubuntu. If I keep it to UEFI I directly log in to UBUNT.
I tried to manually enter into grub but legacy dont see UEFI and vice versa.
Ideally I want to present a menu to select one in UEFI mode. If not possible I wouldn't mind getting both in legacy mode.
Please help. Thanks.
dual-boot windows uefi grub-legacy
dual-boot windows uefi grub-legacy
asked yesterday
Mian Asbat AhmadMian Asbat Ahmad
12316
12316
How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.
– ubfan1
yesterday
I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows
– Mian Asbat Ahmad
yesterday
The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.
– Mian Asbat Ahmad
yesterday
add a comment |
How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.
– ubfan1
yesterday
I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows
– Mian Asbat Ahmad
yesterday
The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.
– Mian Asbat Ahmad
yesterday
How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.
– ubfan1
yesterday
How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.
– ubfan1
yesterday
I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows
– Mian Asbat Ahmad
yesterday
I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows
– Mian Asbat Ahmad
yesterday
The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.
– Mian Asbat Ahmad
yesterday
The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.
– Mian Asbat Ahmad
yesterday
add a comment |
2 Answers
2
active
oldest
votes
When windows boots to UEFI it typically boots to windows boot manager rather than booting straight to the OS.
The simplest solution would be to either have both partitions imaged with legacy images, or have the legacy image on one hard drive and your uefi image on another.
New contributor
Balmungmp5 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.
– Mian Asbat Ahmad
yesterday
add a comment |
Okay I was able to solve it finally. Here are reasons and directions of how to solve it.
REASON:
The above situation is due to preinstalled Windows 10 in UEFI mode and Ubuntu installed in LEGACY Mode.
SOLUTION TO WHOLE PROCESS:
1.0: Press F2 on boot and change RAID ON to ACHI and in boot menu disable secure mode.
- Make a UEFI only USB by formatting usb as FAT32 and copy paste the contents from Ubuntu.iso to that usb.
- Now press F2 to go to setup and manually add an entry to grub.efi
- Keep the manual entry on top so that the computer boots from this option
- Reboot the computer and you will be on the grub screen.
- Now on install option press e to edit and add the option for nomodeset or the desktop will freeze in Alienware because of NVIDIA graphics card.
- Now press enter and the installation will start.
- When you go to disk partition, select something else option
- Now select the unallocated space and make swap partition double the amount of ram.
- Now assign the remaining partition to /
- At the bottom on the same screen install the boot loader into the same / partition.
- Reboot and after installation select try ubuntu and perform step 5.
- When you get the desktop.
- Open terminal and install boot-repair
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair- Folow the steps and you will get both windows and ubuntu options in the grub.
Note: If you get the boot-repair is not in UEFI Mode screen in boot-repair app then it means you havent done step 2 properly. Thats the reason we made UEFI only usb to make sure that we are not in ACHI mode but in UEFI mode.
I have written the above steps from memory so let me know if any problem and I will try to help.
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%2f1123511%2fubuntu-works-in-legacy-mode-and-windows-works-in-uefi-how-could-i-make-both-wor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
When windows boots to UEFI it typically boots to windows boot manager rather than booting straight to the OS.
The simplest solution would be to either have both partitions imaged with legacy images, or have the legacy image on one hard drive and your uefi image on another.
New contributor
Balmungmp5 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.
– Mian Asbat Ahmad
yesterday
add a comment |
When windows boots to UEFI it typically boots to windows boot manager rather than booting straight to the OS.
The simplest solution would be to either have both partitions imaged with legacy images, or have the legacy image on one hard drive and your uefi image on another.
New contributor
Balmungmp5 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.
– Mian Asbat Ahmad
yesterday
add a comment |
When windows boots to UEFI it typically boots to windows boot manager rather than booting straight to the OS.
The simplest solution would be to either have both partitions imaged with legacy images, or have the legacy image on one hard drive and your uefi image on another.
New contributor
Balmungmp5 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
When windows boots to UEFI it typically boots to windows boot manager rather than booting straight to the OS.
The simplest solution would be to either have both partitions imaged with legacy images, or have the legacy image on one hard drive and your uefi image on another.
New contributor
Balmungmp5 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Balmungmp5 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered yesterday
Balmungmp5Balmungmp5
11
11
New contributor
Balmungmp5 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Balmungmp5 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Balmungmp5 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.
– Mian Asbat Ahmad
yesterday
add a comment |
I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.
– Mian Asbat Ahmad
yesterday
I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.
– Mian Asbat Ahmad
yesterday
I would have done that but my colleague having the same model has both windows 10 and ubuntu in one hard drive on the same model in UEFI settings.
– Mian Asbat Ahmad
yesterday
add a comment |
Okay I was able to solve it finally. Here are reasons and directions of how to solve it.
REASON:
The above situation is due to preinstalled Windows 10 in UEFI mode and Ubuntu installed in LEGACY Mode.
SOLUTION TO WHOLE PROCESS:
1.0: Press F2 on boot and change RAID ON to ACHI and in boot menu disable secure mode.
- Make a UEFI only USB by formatting usb as FAT32 and copy paste the contents from Ubuntu.iso to that usb.
- Now press F2 to go to setup and manually add an entry to grub.efi
- Keep the manual entry on top so that the computer boots from this option
- Reboot the computer and you will be on the grub screen.
- Now on install option press e to edit and add the option for nomodeset or the desktop will freeze in Alienware because of NVIDIA graphics card.
- Now press enter and the installation will start.
- When you go to disk partition, select something else option
- Now select the unallocated space and make swap partition double the amount of ram.
- Now assign the remaining partition to /
- At the bottom on the same screen install the boot loader into the same / partition.
- Reboot and after installation select try ubuntu and perform step 5.
- When you get the desktop.
- Open terminal and install boot-repair
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair- Folow the steps and you will get both windows and ubuntu options in the grub.
Note: If you get the boot-repair is not in UEFI Mode screen in boot-repair app then it means you havent done step 2 properly. Thats the reason we made UEFI only usb to make sure that we are not in ACHI mode but in UEFI mode.
I have written the above steps from memory so let me know if any problem and I will try to help.
add a comment |
Okay I was able to solve it finally. Here are reasons and directions of how to solve it.
REASON:
The above situation is due to preinstalled Windows 10 in UEFI mode and Ubuntu installed in LEGACY Mode.
SOLUTION TO WHOLE PROCESS:
1.0: Press F2 on boot and change RAID ON to ACHI and in boot menu disable secure mode.
- Make a UEFI only USB by formatting usb as FAT32 and copy paste the contents from Ubuntu.iso to that usb.
- Now press F2 to go to setup and manually add an entry to grub.efi
- Keep the manual entry on top so that the computer boots from this option
- Reboot the computer and you will be on the grub screen.
- Now on install option press e to edit and add the option for nomodeset or the desktop will freeze in Alienware because of NVIDIA graphics card.
- Now press enter and the installation will start.
- When you go to disk partition, select something else option
- Now select the unallocated space and make swap partition double the amount of ram.
- Now assign the remaining partition to /
- At the bottom on the same screen install the boot loader into the same / partition.
- Reboot and after installation select try ubuntu and perform step 5.
- When you get the desktop.
- Open terminal and install boot-repair
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair- Folow the steps and you will get both windows and ubuntu options in the grub.
Note: If you get the boot-repair is not in UEFI Mode screen in boot-repair app then it means you havent done step 2 properly. Thats the reason we made UEFI only usb to make sure that we are not in ACHI mode but in UEFI mode.
I have written the above steps from memory so let me know if any problem and I will try to help.
add a comment |
Okay I was able to solve it finally. Here are reasons and directions of how to solve it.
REASON:
The above situation is due to preinstalled Windows 10 in UEFI mode and Ubuntu installed in LEGACY Mode.
SOLUTION TO WHOLE PROCESS:
1.0: Press F2 on boot and change RAID ON to ACHI and in boot menu disable secure mode.
- Make a UEFI only USB by formatting usb as FAT32 and copy paste the contents from Ubuntu.iso to that usb.
- Now press F2 to go to setup and manually add an entry to grub.efi
- Keep the manual entry on top so that the computer boots from this option
- Reboot the computer and you will be on the grub screen.
- Now on install option press e to edit and add the option for nomodeset or the desktop will freeze in Alienware because of NVIDIA graphics card.
- Now press enter and the installation will start.
- When you go to disk partition, select something else option
- Now select the unallocated space and make swap partition double the amount of ram.
- Now assign the remaining partition to /
- At the bottom on the same screen install the boot loader into the same / partition.
- Reboot and after installation select try ubuntu and perform step 5.
- When you get the desktop.
- Open terminal and install boot-repair
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair- Folow the steps and you will get both windows and ubuntu options in the grub.
Note: If you get the boot-repair is not in UEFI Mode screen in boot-repair app then it means you havent done step 2 properly. Thats the reason we made UEFI only usb to make sure that we are not in ACHI mode but in UEFI mode.
I have written the above steps from memory so let me know if any problem and I will try to help.
Okay I was able to solve it finally. Here are reasons and directions of how to solve it.
REASON:
The above situation is due to preinstalled Windows 10 in UEFI mode and Ubuntu installed in LEGACY Mode.
SOLUTION TO WHOLE PROCESS:
1.0: Press F2 on boot and change RAID ON to ACHI and in boot menu disable secure mode.
- Make a UEFI only USB by formatting usb as FAT32 and copy paste the contents from Ubuntu.iso to that usb.
- Now press F2 to go to setup and manually add an entry to grub.efi
- Keep the manual entry on top so that the computer boots from this option
- Reboot the computer and you will be on the grub screen.
- Now on install option press e to edit and add the option for nomodeset or the desktop will freeze in Alienware because of NVIDIA graphics card.
- Now press enter and the installation will start.
- When you go to disk partition, select something else option
- Now select the unallocated space and make swap partition double the amount of ram.
- Now assign the remaining partition to /
- At the bottom on the same screen install the boot loader into the same / partition.
- Reboot and after installation select try ubuntu and perform step 5.
- When you get the desktop.
- Open terminal and install boot-repair
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair- Folow the steps and you will get both windows and ubuntu options in the grub.
Note: If you get the boot-repair is not in UEFI Mode screen in boot-repair app then it means you havent done step 2 properly. Thats the reason we made UEFI only usb to make sure that we are not in ACHI mode but in UEFI mode.
I have written the above steps from memory so let me know if any problem and I will try to help.
answered 32 mins ago
Mian Asbat AhmadMian Asbat Ahmad
12316
12316
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%2f1123511%2fubuntu-works-in-legacy-mode-and-windows-works-in-uefi-how-could-i-make-both-wor%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
How the USB boots is how it installs, so you need to figure out how to boot it in UEFI mode. Ubuntu works with secure boot (unless the vendor messes with the standard), so try with secure boot enabled. Easier than changing Windows to legacy.
– ubfan1
yesterday
I changed options from legacy to UEFI and enabled secured mode but now it goes straight to windows
– Mian Asbat Ahmad
yesterday
The boot-repair app detects both windows and ubuntu in advanced -> grub location but when I try to fix it, boot-repair says that your session is not UEFI. The problem is that if I changed from ACHI to UEFI then I cant login to Ubuntu.
– Mian Asbat Ahmad
yesterday