Dual Boot:Grub is not working properly












0















I bought a Lenovo Ideapad 330, so I added a SSD to make a dual boot with Windows and Ubuntu. I transferred Windows to my SSD using MiniTool Partition Wizard, then I used a USB Boot to install Ubuntu 18.04, when I first tried, the option "Install Ubuntu alongside Windows 10" didn't show up. So I runned Windows and made a partition for Linux, decreasing the windows partition on my ssd, after doing that, I tried again to install Ubuntu, but the option to install alongside Windows still didn't showed up. Again, I runned Windows, cleaned up and removed the partition I created and then I just decreased 30GB from Windows partition and I let it "unallocated", in the Ubuntu setup I created the partition and installed Ubuntu in this partition, also created a swap partition in my HD (2GB, i thought that was enough for my 8GB laptop) and created a boot partition with 10MB as the Ubuntu setup recommended. My real problem is: Grub is not showing up, when I go into BIOS and select "UEFI" for boot mode, it boots directly to Windows and when I select "Legacy Support", it boots directly to Ubuntu. Another detail: following instructions I found here, I created a option "Windows 10 (UEFI)" in Grub, so when I boot Ubuntu and press shift or esc (I dont remember the exact key), the Grub shows up and the option I created is there, but it dont work, if I select that, it just come back to Grub selection.



EDIT:
I booted Ubuntu by setting Legacy First in BIOS, then runned 'sudo parted -l' in terminal. (I can't get the USB Live right now). Here is the output:



Model: ATA WDC WDS240G2G0A- (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 350MB 349MB fat32 EFI system partition boot, esp
2 350MB 367MB 16,8MB Microsoft reserved partition msftres
3 367MB 208GB 207GB ntfs Basic data partition msftdata
4 208GB 239GB 30,7GB ext4
5 239GB 239GB 10,5MB bios_grub


Model: ATA WDC WD10SPZX-24Z (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Warning: failed to translate partition name
Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 EFI system partition boot, esp
2 274MB 290MB 16,8MB Microsoft reserved partition msftres
3 290MB 945GB 945GB ntfs Basic data partition msftdata
5 997GB 999GB 2000MB linux-swap(v1)
4 999GB 1000GB 1049MB ntfs hidden, diag









share|improve this question









New contributor




Lucas Werner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Need to look at partition details of SSD. Boot up from USB Live. Run command sudo parted -l and post up the output.

    – Paul Benson
    Mar 12 at 18:36











  • @PaulBenson done, I edited the original post with the output..

    – Lucas Werner
    Mar 12 at 19:00











  • Delete what you just added. Run command again. Edit your answer by highlighting all the output from the terminal with your mouse, then copy it - Ctrl+Shft+C. Paste output into question from a new line, then highlight with mouse, and click on the double braces ( curly brackets {} ). I might be able to read this then.

    – Paul Benson
    Mar 12 at 19:23













  • @PaulBenson it's done

    – Lucas Werner
    Mar 12 at 19:31











  • The bios_grub is used for grub install in BIOS/Legacy/CSM boot mode on gpt partitioned drives. UEFI & BIOS boot are not compatible, you can only dual boot from UEFI boot menu as you are. You can easily convert install to UEFI boot, using Boot-Repair and Ubuntu live installer booted in UEFI mode. Use advanced mode to totally reinstall the UEFI version of grub. help.ubuntu.com/community/Boot-Repair If still issues post link to summary report it creates.

    – oldfred
    Mar 12 at 20:04
















0















I bought a Lenovo Ideapad 330, so I added a SSD to make a dual boot with Windows and Ubuntu. I transferred Windows to my SSD using MiniTool Partition Wizard, then I used a USB Boot to install Ubuntu 18.04, when I first tried, the option "Install Ubuntu alongside Windows 10" didn't show up. So I runned Windows and made a partition for Linux, decreasing the windows partition on my ssd, after doing that, I tried again to install Ubuntu, but the option to install alongside Windows still didn't showed up. Again, I runned Windows, cleaned up and removed the partition I created and then I just decreased 30GB from Windows partition and I let it "unallocated", in the Ubuntu setup I created the partition and installed Ubuntu in this partition, also created a swap partition in my HD (2GB, i thought that was enough for my 8GB laptop) and created a boot partition with 10MB as the Ubuntu setup recommended. My real problem is: Grub is not showing up, when I go into BIOS and select "UEFI" for boot mode, it boots directly to Windows and when I select "Legacy Support", it boots directly to Ubuntu. Another detail: following instructions I found here, I created a option "Windows 10 (UEFI)" in Grub, so when I boot Ubuntu and press shift or esc (I dont remember the exact key), the Grub shows up and the option I created is there, but it dont work, if I select that, it just come back to Grub selection.



EDIT:
I booted Ubuntu by setting Legacy First in BIOS, then runned 'sudo parted -l' in terminal. (I can't get the USB Live right now). Here is the output:



Model: ATA WDC WDS240G2G0A- (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 350MB 349MB fat32 EFI system partition boot, esp
2 350MB 367MB 16,8MB Microsoft reserved partition msftres
3 367MB 208GB 207GB ntfs Basic data partition msftdata
4 208GB 239GB 30,7GB ext4
5 239GB 239GB 10,5MB bios_grub


Model: ATA WDC WD10SPZX-24Z (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Warning: failed to translate partition name
Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 EFI system partition boot, esp
2 274MB 290MB 16,8MB Microsoft reserved partition msftres
3 290MB 945GB 945GB ntfs Basic data partition msftdata
5 997GB 999GB 2000MB linux-swap(v1)
4 999GB 1000GB 1049MB ntfs hidden, diag









share|improve this question









New contributor




Lucas Werner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Need to look at partition details of SSD. Boot up from USB Live. Run command sudo parted -l and post up the output.

    – Paul Benson
    Mar 12 at 18:36











  • @PaulBenson done, I edited the original post with the output..

    – Lucas Werner
    Mar 12 at 19:00











  • Delete what you just added. Run command again. Edit your answer by highlighting all the output from the terminal with your mouse, then copy it - Ctrl+Shft+C. Paste output into question from a new line, then highlight with mouse, and click on the double braces ( curly brackets {} ). I might be able to read this then.

    – Paul Benson
    Mar 12 at 19:23













  • @PaulBenson it's done

    – Lucas Werner
    Mar 12 at 19:31











  • The bios_grub is used for grub install in BIOS/Legacy/CSM boot mode on gpt partitioned drives. UEFI & BIOS boot are not compatible, you can only dual boot from UEFI boot menu as you are. You can easily convert install to UEFI boot, using Boot-Repair and Ubuntu live installer booted in UEFI mode. Use advanced mode to totally reinstall the UEFI version of grub. help.ubuntu.com/community/Boot-Repair If still issues post link to summary report it creates.

    – oldfred
    Mar 12 at 20:04














0












0








0








I bought a Lenovo Ideapad 330, so I added a SSD to make a dual boot with Windows and Ubuntu. I transferred Windows to my SSD using MiniTool Partition Wizard, then I used a USB Boot to install Ubuntu 18.04, when I first tried, the option "Install Ubuntu alongside Windows 10" didn't show up. So I runned Windows and made a partition for Linux, decreasing the windows partition on my ssd, after doing that, I tried again to install Ubuntu, but the option to install alongside Windows still didn't showed up. Again, I runned Windows, cleaned up and removed the partition I created and then I just decreased 30GB from Windows partition and I let it "unallocated", in the Ubuntu setup I created the partition and installed Ubuntu in this partition, also created a swap partition in my HD (2GB, i thought that was enough for my 8GB laptop) and created a boot partition with 10MB as the Ubuntu setup recommended. My real problem is: Grub is not showing up, when I go into BIOS and select "UEFI" for boot mode, it boots directly to Windows and when I select "Legacy Support", it boots directly to Ubuntu. Another detail: following instructions I found here, I created a option "Windows 10 (UEFI)" in Grub, so when I boot Ubuntu and press shift or esc (I dont remember the exact key), the Grub shows up and the option I created is there, but it dont work, if I select that, it just come back to Grub selection.



EDIT:
I booted Ubuntu by setting Legacy First in BIOS, then runned 'sudo parted -l' in terminal. (I can't get the USB Live right now). Here is the output:



Model: ATA WDC WDS240G2G0A- (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 350MB 349MB fat32 EFI system partition boot, esp
2 350MB 367MB 16,8MB Microsoft reserved partition msftres
3 367MB 208GB 207GB ntfs Basic data partition msftdata
4 208GB 239GB 30,7GB ext4
5 239GB 239GB 10,5MB bios_grub


Model: ATA WDC WD10SPZX-24Z (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Warning: failed to translate partition name
Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 EFI system partition boot, esp
2 274MB 290MB 16,8MB Microsoft reserved partition msftres
3 290MB 945GB 945GB ntfs Basic data partition msftdata
5 997GB 999GB 2000MB linux-swap(v1)
4 999GB 1000GB 1049MB ntfs hidden, diag









share|improve this question









New contributor




Lucas Werner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I bought a Lenovo Ideapad 330, so I added a SSD to make a dual boot with Windows and Ubuntu. I transferred Windows to my SSD using MiniTool Partition Wizard, then I used a USB Boot to install Ubuntu 18.04, when I first tried, the option "Install Ubuntu alongside Windows 10" didn't show up. So I runned Windows and made a partition for Linux, decreasing the windows partition on my ssd, after doing that, I tried again to install Ubuntu, but the option to install alongside Windows still didn't showed up. Again, I runned Windows, cleaned up and removed the partition I created and then I just decreased 30GB from Windows partition and I let it "unallocated", in the Ubuntu setup I created the partition and installed Ubuntu in this partition, also created a swap partition in my HD (2GB, i thought that was enough for my 8GB laptop) and created a boot partition with 10MB as the Ubuntu setup recommended. My real problem is: Grub is not showing up, when I go into BIOS and select "UEFI" for boot mode, it boots directly to Windows and when I select "Legacy Support", it boots directly to Ubuntu. Another detail: following instructions I found here, I created a option "Windows 10 (UEFI)" in Grub, so when I boot Ubuntu and press shift or esc (I dont remember the exact key), the Grub shows up and the option I created is there, but it dont work, if I select that, it just come back to Grub selection.



EDIT:
I booted Ubuntu by setting Legacy First in BIOS, then runned 'sudo parted -l' in terminal. (I can't get the USB Live right now). Here is the output:



Model: ATA WDC WDS240G2G0A- (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 350MB 349MB fat32 EFI system partition boot, esp
2 350MB 367MB 16,8MB Microsoft reserved partition msftres
3 367MB 208GB 207GB ntfs Basic data partition msftdata
4 208GB 239GB 30,7GB ext4
5 239GB 239GB 10,5MB bios_grub


Model: ATA WDC WD10SPZX-24Z (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Warning: failed to translate partition name
Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 EFI system partition boot, esp
2 274MB 290MB 16,8MB Microsoft reserved partition msftres
3 290MB 945GB 945GB ntfs Basic data partition msftdata
5 997GB 999GB 2000MB linux-swap(v1)
4 999GB 1000GB 1049MB ntfs hidden, diag






boot dual-boot grub2 partitioning uefi






share|improve this question









New contributor




Lucas Werner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Lucas Werner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Mar 12 at 19:30







Lucas Werner













New contributor




Lucas Werner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Mar 12 at 18:10









Lucas WernerLucas Werner

13




13




New contributor




Lucas Werner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Lucas Werner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Lucas Werner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Need to look at partition details of SSD. Boot up from USB Live. Run command sudo parted -l and post up the output.

    – Paul Benson
    Mar 12 at 18:36











  • @PaulBenson done, I edited the original post with the output..

    – Lucas Werner
    Mar 12 at 19:00











  • Delete what you just added. Run command again. Edit your answer by highlighting all the output from the terminal with your mouse, then copy it - Ctrl+Shft+C. Paste output into question from a new line, then highlight with mouse, and click on the double braces ( curly brackets {} ). I might be able to read this then.

    – Paul Benson
    Mar 12 at 19:23













  • @PaulBenson it's done

    – Lucas Werner
    Mar 12 at 19:31











  • The bios_grub is used for grub install in BIOS/Legacy/CSM boot mode on gpt partitioned drives. UEFI & BIOS boot are not compatible, you can only dual boot from UEFI boot menu as you are. You can easily convert install to UEFI boot, using Boot-Repair and Ubuntu live installer booted in UEFI mode. Use advanced mode to totally reinstall the UEFI version of grub. help.ubuntu.com/community/Boot-Repair If still issues post link to summary report it creates.

    – oldfred
    Mar 12 at 20:04



















  • Need to look at partition details of SSD. Boot up from USB Live. Run command sudo parted -l and post up the output.

    – Paul Benson
    Mar 12 at 18:36











  • @PaulBenson done, I edited the original post with the output..

    – Lucas Werner
    Mar 12 at 19:00











  • Delete what you just added. Run command again. Edit your answer by highlighting all the output from the terminal with your mouse, then copy it - Ctrl+Shft+C. Paste output into question from a new line, then highlight with mouse, and click on the double braces ( curly brackets {} ). I might be able to read this then.

    – Paul Benson
    Mar 12 at 19:23













  • @PaulBenson it's done

    – Lucas Werner
    Mar 12 at 19:31











  • The bios_grub is used for grub install in BIOS/Legacy/CSM boot mode on gpt partitioned drives. UEFI & BIOS boot are not compatible, you can only dual boot from UEFI boot menu as you are. You can easily convert install to UEFI boot, using Boot-Repair and Ubuntu live installer booted in UEFI mode. Use advanced mode to totally reinstall the UEFI version of grub. help.ubuntu.com/community/Boot-Repair If still issues post link to summary report it creates.

    – oldfred
    Mar 12 at 20:04

















Need to look at partition details of SSD. Boot up from USB Live. Run command sudo parted -l and post up the output.

– Paul Benson
Mar 12 at 18:36





Need to look at partition details of SSD. Boot up from USB Live. Run command sudo parted -l and post up the output.

– Paul Benson
Mar 12 at 18:36













@PaulBenson done, I edited the original post with the output..

– Lucas Werner
Mar 12 at 19:00





@PaulBenson done, I edited the original post with the output..

– Lucas Werner
Mar 12 at 19:00













Delete what you just added. Run command again. Edit your answer by highlighting all the output from the terminal with your mouse, then copy it - Ctrl+Shft+C. Paste output into question from a new line, then highlight with mouse, and click on the double braces ( curly brackets {} ). I might be able to read this then.

– Paul Benson
Mar 12 at 19:23







Delete what you just added. Run command again. Edit your answer by highlighting all the output from the terminal with your mouse, then copy it - Ctrl+Shft+C. Paste output into question from a new line, then highlight with mouse, and click on the double braces ( curly brackets {} ). I might be able to read this then.

– Paul Benson
Mar 12 at 19:23















@PaulBenson it's done

– Lucas Werner
Mar 12 at 19:31





@PaulBenson it's done

– Lucas Werner
Mar 12 at 19:31













The bios_grub is used for grub install in BIOS/Legacy/CSM boot mode on gpt partitioned drives. UEFI & BIOS boot are not compatible, you can only dual boot from UEFI boot menu as you are. You can easily convert install to UEFI boot, using Boot-Repair and Ubuntu live installer booted in UEFI mode. Use advanced mode to totally reinstall the UEFI version of grub. help.ubuntu.com/community/Boot-Repair If still issues post link to summary report it creates.

– oldfred
Mar 12 at 20:04





The bios_grub is used for grub install in BIOS/Legacy/CSM boot mode on gpt partitioned drives. UEFI & BIOS boot are not compatible, you can only dual boot from UEFI boot menu as you are. You can easily convert install to UEFI boot, using Boot-Repair and Ubuntu live installer booted in UEFI mode. Use advanced mode to totally reinstall the UEFI version of grub. help.ubuntu.com/community/Boot-Repair If still issues post link to summary report it creates.

– oldfred
Mar 12 at 20:04










0






active

oldest

votes











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
});


}
});






Lucas Werner is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125110%2fdual-bootgrub-is-not-working-properly%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Lucas Werner is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Lucas Werner is a new contributor. Be nice, and check out our Code of Conduct.













Lucas Werner is a new contributor. Be nice, and check out our Code of Conduct.












Lucas Werner is a new contributor. Be nice, and check out our Code of Conduct.
















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125110%2fdual-bootgrub-is-not-working-properly%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局