“Unable to install GRUB” error on installation with RAID 1, cannot set boot flag on any partition












0















I am trying to install Ubuntu 18.04 Server on my fresh new PC which is intended to be a server. I am trying to install it with RAID 1 since I have 2 SSD with 500 GB. I have managed to get in the installation to GRUB bootloader and on 50% of bootloader installation I got the error:




Unable to install GRUB in /dev/sda. Executing 'grub-install /dev/sda' failed. This is fatal error.




I have also noticed when I followed tutorial, that when I created partitions (swap, + RAID partition) on both disks that there was not option for primary/logical partition. But I have managed to create both partitions for both disks and I have managed to create special partition.



What I have also noticed is that I can't flag bootable on any of non swappable partition, when I chose Ext4.



I have tried to swap SSD SATA cables and nothing helped. This also happen with 16.04.



Thank you.



EDIT: What I think is that I need to do something in BIOS (don't know what), so I can enable option during installation to choose between primary and logical partition. Maybe then I will be able to install GRUB bootloader. The problem is that I am not sure if I need to do something in BIOS, and if I do, what?










share|improve this question




















  • 1





    Welcome to Ask Ubuntu. What command are you using to install grub ? and also please add the output of fdisk -l

    – JoKeR
    Jul 24 '18 at 8:00













  • I am not using commands. I am just following step by step in installation.

    – Ryukote
    Jul 24 '18 at 8:03











  • I have edited my question so you can have (I hope) better overview of my problem.

    – Ryukote
    Jul 24 '18 at 12:54











  • check this thread askubuntu.com/questions/459620/…

    – JoKeR
    Jul 26 '18 at 15:37






  • 2





    Possible duplicate of "Unable to install GRUB in /dev/sda" when installing GRUB

    – karel
    yesterday
















0















I am trying to install Ubuntu 18.04 Server on my fresh new PC which is intended to be a server. I am trying to install it with RAID 1 since I have 2 SSD with 500 GB. I have managed to get in the installation to GRUB bootloader and on 50% of bootloader installation I got the error:




Unable to install GRUB in /dev/sda. Executing 'grub-install /dev/sda' failed. This is fatal error.




I have also noticed when I followed tutorial, that when I created partitions (swap, + RAID partition) on both disks that there was not option for primary/logical partition. But I have managed to create both partitions for both disks and I have managed to create special partition.



What I have also noticed is that I can't flag bootable on any of non swappable partition, when I chose Ext4.



I have tried to swap SSD SATA cables and nothing helped. This also happen with 16.04.



Thank you.



EDIT: What I think is that I need to do something in BIOS (don't know what), so I can enable option during installation to choose between primary and logical partition. Maybe then I will be able to install GRUB bootloader. The problem is that I am not sure if I need to do something in BIOS, and if I do, what?










share|improve this question




















  • 1





    Welcome to Ask Ubuntu. What command are you using to install grub ? and also please add the output of fdisk -l

    – JoKeR
    Jul 24 '18 at 8:00













  • I am not using commands. I am just following step by step in installation.

    – Ryukote
    Jul 24 '18 at 8:03











  • I have edited my question so you can have (I hope) better overview of my problem.

    – Ryukote
    Jul 24 '18 at 12:54











  • check this thread askubuntu.com/questions/459620/…

    – JoKeR
    Jul 26 '18 at 15:37






  • 2





    Possible duplicate of "Unable to install GRUB in /dev/sda" when installing GRUB

    – karel
    yesterday














0












0








0








I am trying to install Ubuntu 18.04 Server on my fresh new PC which is intended to be a server. I am trying to install it with RAID 1 since I have 2 SSD with 500 GB. I have managed to get in the installation to GRUB bootloader and on 50% of bootloader installation I got the error:




Unable to install GRUB in /dev/sda. Executing 'grub-install /dev/sda' failed. This is fatal error.




I have also noticed when I followed tutorial, that when I created partitions (swap, + RAID partition) on both disks that there was not option for primary/logical partition. But I have managed to create both partitions for both disks and I have managed to create special partition.



What I have also noticed is that I can't flag bootable on any of non swappable partition, when I chose Ext4.



I have tried to swap SSD SATA cables and nothing helped. This also happen with 16.04.



Thank you.



EDIT: What I think is that I need to do something in BIOS (don't know what), so I can enable option during installation to choose between primary and logical partition. Maybe then I will be able to install GRUB bootloader. The problem is that I am not sure if I need to do something in BIOS, and if I do, what?










share|improve this question
















I am trying to install Ubuntu 18.04 Server on my fresh new PC which is intended to be a server. I am trying to install it with RAID 1 since I have 2 SSD with 500 GB. I have managed to get in the installation to GRUB bootloader and on 50% of bootloader installation I got the error:




Unable to install GRUB in /dev/sda. Executing 'grub-install /dev/sda' failed. This is fatal error.




I have also noticed when I followed tutorial, that when I created partitions (swap, + RAID partition) on both disks that there was not option for primary/logical partition. But I have managed to create both partitions for both disks and I have managed to create special partition.



What I have also noticed is that I can't flag bootable on any of non swappable partition, when I chose Ext4.



I have tried to swap SSD SATA cables and nothing helped. This also happen with 16.04.



Thank you.



EDIT: What I think is that I need to do something in BIOS (don't know what), so I can enable option during installation to choose between primary and logical partition. Maybe then I will be able to install GRUB bootloader. The problem is that I am not sure if I need to do something in BIOS, and if I do, what?







server grub2 raid bootloader






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 10 hours ago









Zanna

50.6k13136241




50.6k13136241










asked Jul 24 '18 at 7:42









RyukoteRyukote

11




11








  • 1





    Welcome to Ask Ubuntu. What command are you using to install grub ? and also please add the output of fdisk -l

    – JoKeR
    Jul 24 '18 at 8:00













  • I am not using commands. I am just following step by step in installation.

    – Ryukote
    Jul 24 '18 at 8:03











  • I have edited my question so you can have (I hope) better overview of my problem.

    – Ryukote
    Jul 24 '18 at 12:54











  • check this thread askubuntu.com/questions/459620/…

    – JoKeR
    Jul 26 '18 at 15:37






  • 2





    Possible duplicate of "Unable to install GRUB in /dev/sda" when installing GRUB

    – karel
    yesterday














  • 1





    Welcome to Ask Ubuntu. What command are you using to install grub ? and also please add the output of fdisk -l

    – JoKeR
    Jul 24 '18 at 8:00













  • I am not using commands. I am just following step by step in installation.

    – Ryukote
    Jul 24 '18 at 8:03











  • I have edited my question so you can have (I hope) better overview of my problem.

    – Ryukote
    Jul 24 '18 at 12:54











  • check this thread askubuntu.com/questions/459620/…

    – JoKeR
    Jul 26 '18 at 15:37






  • 2





    Possible duplicate of "Unable to install GRUB in /dev/sda" when installing GRUB

    – karel
    yesterday








1




1





Welcome to Ask Ubuntu. What command are you using to install grub ? and also please add the output of fdisk -l

– JoKeR
Jul 24 '18 at 8:00







Welcome to Ask Ubuntu. What command are you using to install grub ? and also please add the output of fdisk -l

– JoKeR
Jul 24 '18 at 8:00















I am not using commands. I am just following step by step in installation.

– Ryukote
Jul 24 '18 at 8:03





I am not using commands. I am just following step by step in installation.

– Ryukote
Jul 24 '18 at 8:03













I have edited my question so you can have (I hope) better overview of my problem.

– Ryukote
Jul 24 '18 at 12:54





I have edited my question so you can have (I hope) better overview of my problem.

– Ryukote
Jul 24 '18 at 12:54













check this thread askubuntu.com/questions/459620/…

– JoKeR
Jul 26 '18 at 15:37





check this thread askubuntu.com/questions/459620/…

– JoKeR
Jul 26 '18 at 15:37




2




2





Possible duplicate of "Unable to install GRUB in /dev/sda" when installing GRUB

– karel
yesterday





Possible duplicate of "Unable to install GRUB in /dev/sda" when installing GRUB

– karel
yesterday










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


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1058916%2funable-to-install-grub-error-on-installation-with-raid-1-cannot-set-boot-flag%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
















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%2f1058916%2funable-to-install-grub-error-on-installation-with-raid-1-cannot-set-boot-flag%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

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b