Failed to install grub2 while installing ubuntu












0















I am getting error while installing Ubuntu 18.04 LTS in my laptop. I can not understand why such problem is happening. The error is:



'grub-efi-amd64-signed' package failed to install into /target/. without the grub boot loader, the installed system will not boot.


Last week my laptop stop working and shutdown I tried all possible solution but iI couldn't start, then stared to install Ubuntu in my partition SDA6 (one of partitions) but at the end of installation process I got grub-efi-amd64-signed package failed to install.










share|improve this question

























  • Is it dual boot or Ubuntu alone?? You missed creating EFI Partition that's why you are getting that error. If it's Ubuntu alone. Create a EFI partition. ext4 / and then if you want /home and swap etc..

    – PRATAP
    Jun 23 '18 at 22:15











  • ubuntu alone, i have create EFI partition choosing ext4 from dropdown while installing,

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:18













  • is it a empty disk or do you have data on it? Go with "try Ubuntu" option. Open GParted and post the Pic to see further..

    – PRATAP
    Jun 23 '18 at 22:21











  • The ESP - efi system partition must be FAT32 with boot flag on gpt partitioned drives. Only if using BIOS boot on gpt drive, then you need a tiny 1 or 2MB unformatted partition with the bios_grub flag. If using gdisk, the ESP is code ef00 and bios_grub is ef02. Actual code inside gpt partition is a very long GUID for partition type. en.wikipedia.org/wiki/GUID_Partition_Table

    – oldfred
    Jun 23 '18 at 22:46






  • 2





    Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end

    – psusi
    Jun 24 '18 at 23:51
















0















I am getting error while installing Ubuntu 18.04 LTS in my laptop. I can not understand why such problem is happening. The error is:



'grub-efi-amd64-signed' package failed to install into /target/. without the grub boot loader, the installed system will not boot.


Last week my laptop stop working and shutdown I tried all possible solution but iI couldn't start, then stared to install Ubuntu in my partition SDA6 (one of partitions) but at the end of installation process I got grub-efi-amd64-signed package failed to install.










share|improve this question

























  • Is it dual boot or Ubuntu alone?? You missed creating EFI Partition that's why you are getting that error. If it's Ubuntu alone. Create a EFI partition. ext4 / and then if you want /home and swap etc..

    – PRATAP
    Jun 23 '18 at 22:15











  • ubuntu alone, i have create EFI partition choosing ext4 from dropdown while installing,

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:18













  • is it a empty disk or do you have data on it? Go with "try Ubuntu" option. Open GParted and post the Pic to see further..

    – PRATAP
    Jun 23 '18 at 22:21











  • The ESP - efi system partition must be FAT32 with boot flag on gpt partitioned drives. Only if using BIOS boot on gpt drive, then you need a tiny 1 or 2MB unformatted partition with the bios_grub flag. If using gdisk, the ESP is code ef00 and bios_grub is ef02. Actual code inside gpt partition is a very long GUID for partition type. en.wikipedia.org/wiki/GUID_Partition_Table

    – oldfred
    Jun 23 '18 at 22:46






  • 2





    Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end

    – psusi
    Jun 24 '18 at 23:51














0












0








0


2






I am getting error while installing Ubuntu 18.04 LTS in my laptop. I can not understand why such problem is happening. The error is:



'grub-efi-amd64-signed' package failed to install into /target/. without the grub boot loader, the installed system will not boot.


Last week my laptop stop working and shutdown I tried all possible solution but iI couldn't start, then stared to install Ubuntu in my partition SDA6 (one of partitions) but at the end of installation process I got grub-efi-amd64-signed package failed to install.










share|improve this question
















I am getting error while installing Ubuntu 18.04 LTS in my laptop. I can not understand why such problem is happening. The error is:



'grub-efi-amd64-signed' package failed to install into /target/. without the grub boot loader, the installed system will not boot.


Last week my laptop stop working and shutdown I tried all possible solution but iI couldn't start, then stared to install Ubuntu in my partition SDA6 (one of partitions) but at the end of installation process I got grub-efi-amd64-signed package failed to install.







boot grub2 partitioning uefi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 1 at 20:15







Ishwar Chandra Tiwari

















asked Jun 23 '18 at 22:04









Ishwar Chandra TiwariIshwar Chandra Tiwari

34




34













  • Is it dual boot or Ubuntu alone?? You missed creating EFI Partition that's why you are getting that error. If it's Ubuntu alone. Create a EFI partition. ext4 / and then if you want /home and swap etc..

    – PRATAP
    Jun 23 '18 at 22:15











  • ubuntu alone, i have create EFI partition choosing ext4 from dropdown while installing,

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:18













  • is it a empty disk or do you have data on it? Go with "try Ubuntu" option. Open GParted and post the Pic to see further..

    – PRATAP
    Jun 23 '18 at 22:21











  • The ESP - efi system partition must be FAT32 with boot flag on gpt partitioned drives. Only if using BIOS boot on gpt drive, then you need a tiny 1 or 2MB unformatted partition with the bios_grub flag. If using gdisk, the ESP is code ef00 and bios_grub is ef02. Actual code inside gpt partition is a very long GUID for partition type. en.wikipedia.org/wiki/GUID_Partition_Table

    – oldfred
    Jun 23 '18 at 22:46






  • 2





    Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end

    – psusi
    Jun 24 '18 at 23:51



















  • Is it dual boot or Ubuntu alone?? You missed creating EFI Partition that's why you are getting that error. If it's Ubuntu alone. Create a EFI partition. ext4 / and then if you want /home and swap etc..

    – PRATAP
    Jun 23 '18 at 22:15











  • ubuntu alone, i have create EFI partition choosing ext4 from dropdown while installing,

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:18













  • is it a empty disk or do you have data on it? Go with "try Ubuntu" option. Open GParted and post the Pic to see further..

    – PRATAP
    Jun 23 '18 at 22:21











  • The ESP - efi system partition must be FAT32 with boot flag on gpt partitioned drives. Only if using BIOS boot on gpt drive, then you need a tiny 1 or 2MB unformatted partition with the bios_grub flag. If using gdisk, the ESP is code ef00 and bios_grub is ef02. Actual code inside gpt partition is a very long GUID for partition type. en.wikipedia.org/wiki/GUID_Partition_Table

    – oldfred
    Jun 23 '18 at 22:46






  • 2





    Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end

    – psusi
    Jun 24 '18 at 23:51

















Is it dual boot or Ubuntu alone?? You missed creating EFI Partition that's why you are getting that error. If it's Ubuntu alone. Create a EFI partition. ext4 / and then if you want /home and swap etc..

– PRATAP
Jun 23 '18 at 22:15





Is it dual boot or Ubuntu alone?? You missed creating EFI Partition that's why you are getting that error. If it's Ubuntu alone. Create a EFI partition. ext4 / and then if you want /home and swap etc..

– PRATAP
Jun 23 '18 at 22:15













ubuntu alone, i have create EFI partition choosing ext4 from dropdown while installing,

– Ishwar Chandra Tiwari
Jun 23 '18 at 22:18







ubuntu alone, i have create EFI partition choosing ext4 from dropdown while installing,

– Ishwar Chandra Tiwari
Jun 23 '18 at 22:18















is it a empty disk or do you have data on it? Go with "try Ubuntu" option. Open GParted and post the Pic to see further..

– PRATAP
Jun 23 '18 at 22:21





is it a empty disk or do you have data on it? Go with "try Ubuntu" option. Open GParted and post the Pic to see further..

– PRATAP
Jun 23 '18 at 22:21













The ESP - efi system partition must be FAT32 with boot flag on gpt partitioned drives. Only if using BIOS boot on gpt drive, then you need a tiny 1 or 2MB unformatted partition with the bios_grub flag. If using gdisk, the ESP is code ef00 and bios_grub is ef02. Actual code inside gpt partition is a very long GUID for partition type. en.wikipedia.org/wiki/GUID_Partition_Table

– oldfred
Jun 23 '18 at 22:46





The ESP - efi system partition must be FAT32 with boot flag on gpt partitioned drives. Only if using BIOS boot on gpt drive, then you need a tiny 1 or 2MB unformatted partition with the bios_grub flag. If using gdisk, the ESP is code ef00 and bios_grub is ef02. Actual code inside gpt partition is a very long GUID for partition type. en.wikipedia.org/wiki/GUID_Partition_Table

– oldfred
Jun 23 '18 at 22:46




2




2





Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end

– psusi
Jun 24 '18 at 23:51





Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end

– psusi
Jun 24 '18 at 23:51










1 Answer
1






active

oldest

votes


















0














You are trying to install Ubuntu in UEFI mode without setting up partiton for bios-grub. You must have to create partition for it. Ideal size for it should be 100 MB.






share|improve this answer
























  • I have created 90GB partition of ext4/ with 8GB swap but when grup2 installing start it terminates with such error

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:41











  • Before creating those 2 partitions create EFI partition of 100mb

    – PRATAP
    Jun 23 '18 at 22:44











  • This error comes in the last of ubuntu installation process, After application,games,utility packages and user creation process when grub2 and bootloader start installing then such error occures

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:45











  • How do i create EFI partion of 100mb give me any link or content

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:46











  • same as ext4 and swap you will have EFI option from drop down menu.

    – PRATAP
    Jun 23 '18 at 22:48












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


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1049167%2ffailed-to-install-grub2-while-installing-ubuntu%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









0














You are trying to install Ubuntu in UEFI mode without setting up partiton for bios-grub. You must have to create partition for it. Ideal size for it should be 100 MB.






share|improve this answer
























  • I have created 90GB partition of ext4/ with 8GB swap but when grup2 installing start it terminates with such error

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:41











  • Before creating those 2 partitions create EFI partition of 100mb

    – PRATAP
    Jun 23 '18 at 22:44











  • This error comes in the last of ubuntu installation process, After application,games,utility packages and user creation process when grub2 and bootloader start installing then such error occures

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:45











  • How do i create EFI partion of 100mb give me any link or content

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:46











  • same as ext4 and swap you will have EFI option from drop down menu.

    – PRATAP
    Jun 23 '18 at 22:48
















0














You are trying to install Ubuntu in UEFI mode without setting up partiton for bios-grub. You must have to create partition for it. Ideal size for it should be 100 MB.






share|improve this answer
























  • I have created 90GB partition of ext4/ with 8GB swap but when grup2 installing start it terminates with such error

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:41











  • Before creating those 2 partitions create EFI partition of 100mb

    – PRATAP
    Jun 23 '18 at 22:44











  • This error comes in the last of ubuntu installation process, After application,games,utility packages and user creation process when grub2 and bootloader start installing then such error occures

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:45











  • How do i create EFI partion of 100mb give me any link or content

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:46











  • same as ext4 and swap you will have EFI option from drop down menu.

    – PRATAP
    Jun 23 '18 at 22:48














0












0








0







You are trying to install Ubuntu in UEFI mode without setting up partiton for bios-grub. You must have to create partition for it. Ideal size for it should be 100 MB.






share|improve this answer













You are trying to install Ubuntu in UEFI mode without setting up partiton for bios-grub. You must have to create partition for it. Ideal size for it should be 100 MB.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jun 23 '18 at 22:26









Ketan PatelKetan Patel

10.5k94465




10.5k94465













  • I have created 90GB partition of ext4/ with 8GB swap but when grup2 installing start it terminates with such error

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:41











  • Before creating those 2 partitions create EFI partition of 100mb

    – PRATAP
    Jun 23 '18 at 22:44











  • This error comes in the last of ubuntu installation process, After application,games,utility packages and user creation process when grub2 and bootloader start installing then such error occures

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:45











  • How do i create EFI partion of 100mb give me any link or content

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:46











  • same as ext4 and swap you will have EFI option from drop down menu.

    – PRATAP
    Jun 23 '18 at 22:48



















  • I have created 90GB partition of ext4/ with 8GB swap but when grup2 installing start it terminates with such error

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:41











  • Before creating those 2 partitions create EFI partition of 100mb

    – PRATAP
    Jun 23 '18 at 22:44











  • This error comes in the last of ubuntu installation process, After application,games,utility packages and user creation process when grub2 and bootloader start installing then such error occures

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:45











  • How do i create EFI partion of 100mb give me any link or content

    – Ishwar Chandra Tiwari
    Jun 23 '18 at 22:46











  • same as ext4 and swap you will have EFI option from drop down menu.

    – PRATAP
    Jun 23 '18 at 22:48

















I have created 90GB partition of ext4/ with 8GB swap but when grup2 installing start it terminates with such error

– Ishwar Chandra Tiwari
Jun 23 '18 at 22:41





I have created 90GB partition of ext4/ with 8GB swap but when grup2 installing start it terminates with such error

– Ishwar Chandra Tiwari
Jun 23 '18 at 22:41













Before creating those 2 partitions create EFI partition of 100mb

– PRATAP
Jun 23 '18 at 22:44





Before creating those 2 partitions create EFI partition of 100mb

– PRATAP
Jun 23 '18 at 22:44













This error comes in the last of ubuntu installation process, After application,games,utility packages and user creation process when grub2 and bootloader start installing then such error occures

– Ishwar Chandra Tiwari
Jun 23 '18 at 22:45





This error comes in the last of ubuntu installation process, After application,games,utility packages and user creation process when grub2 and bootloader start installing then such error occures

– Ishwar Chandra Tiwari
Jun 23 '18 at 22:45













How do i create EFI partion of 100mb give me any link or content

– Ishwar Chandra Tiwari
Jun 23 '18 at 22:46





How do i create EFI partion of 100mb give me any link or content

– Ishwar Chandra Tiwari
Jun 23 '18 at 22:46













same as ext4 and swap you will have EFI option from drop down menu.

– PRATAP
Jun 23 '18 at 22:48





same as ext4 and swap you will have EFI option from drop down menu.

– PRATAP
Jun 23 '18 at 22:48


















draft saved

draft discarded




















































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%2f1049167%2ffailed-to-install-grub2-while-installing-ubuntu%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

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido