[Installation] Can't install GRUB with raid1+efi setup

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
flamur
Posts: 17
Joined: 2024-07-24 19:48
Has thanked: 6 times

[Installation] Can't install GRUB with raid1+efi setup

#1 Post by flamur »

Hi,

during install I get the message that the installer fails to install GRUB during install 😥

I use RUFUS and choose GPT and DD mode when fixing the USB install media.
In bios I set the installing computer to UEFI mode.
During install I choose to force UEFI-mode for Debian.
I also install Debian to a RAID1 setup (software RAID during the Debian install process).

What am I doing wrong/missing?

Best regards,
Flamur
Last edited by flamur on 2024-07-27 18:42, edited 1 time in total.

mrmazda
Posts: 500
Joined: 2023-06-02 02:22
Has thanked: 14 times
Been thanked: 63 times

Re: [Installation] cant install GRUB

#2 Post by mrmazda »

Installing Grub has different meaning installing to UEFI rather than legacy MBR. Are you creating a separate ESP partition? How many disks does the PC have, just the two used for the RAID1? How many RAID1 devices are you trying to have, containing what each?

I don't try to use RAID for any kind of boot partition, whether for /boot/ or for the ESP on /boot/efi/. Several years ago I quit putting the OS on the RAID, using the RAID only for user DATA, with all OS filesystems on an ordinary SSD, the idea being that between cloning the SSD's content, and the simplicity and speed of installing a fresh OS on an SSD, OS on RAID is unnecessary bother for me.

flamur
Posts: 17
Joined: 2024-07-24 19:48
Has thanked: 6 times

Re: [Installation] cant install GRUB

#3 Post by flamur »

mrmazda wrote: 2024-07-26 05:43 Are you creating a separate ESP partition? How many disks does the PC have, just the two used for the RAID1? How many RAID1 devices are you trying to have, containing what each?
Thanks for your help!

1) Not sure about the ESP question. I choose to use the automatic solution during debian install and choose the 3 split version = home, temp and swap(?). Then it fixed everything for me. I put this on the software RAID1 I had previously fixed.
2) I have two samsung ssd in raid1, and one extra ssd. All old SSDs but working.
3) I only use the two samsung in raid1. The other one is just there more or less. I have the idea to try and figure out if I can make some automatic backup/stagig site to that disk when I am starting my wordpress server (which is the single goal for this setup)

Hope that can clarify to shed some more light to my issue.

Perhaps I could set BIOS to legacy mode and redo the install with MBR usb installer instead? What would be the disadvantage with that? 🤔

flamur
Posts: 17
Joined: 2024-07-24 19:48
Has thanked: 6 times

Re: [Installation] cant install GRUB

#4 Post by flamur »

I think it might be a bug/or a known problem: https://bugs.debian.org/cgi-bin/bugrepo ... bug=925591

Not sure I am capable of the different fixes people have propoused - its over my knowledge as of now. Will have to work with legacy instead and see if that works 🙂

Aki
Global Moderator
Global Moderator
Posts: 3929
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 108 times
Been thanked: 517 times

Re: [Installation] cant install GRUB

#5 Post by Aki »

Hello,
flamur wrote: 2024-07-26 19:45 I think it might be a bug/or a known problem: https://bugs.debian.org/cgi-bin/bugrepo ... bug=925591
Please, edit the subject of the first post to reflect this, i.e.:
[Installation] Can't install GRUB with raid1+efi setup
Can you please report the Debian version and partition scheme for your disks ? You can use the command:

Code: Select all

cat /etc/debian_version
su -l -c "fdisk -l"
You could use the third ssd as an EFI boot disk (if EFI is required).
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

flamur
Posts: 17
Joined: 2024-07-24 19:48
Has thanked: 6 times

Re: [Installation] cant install GRUB

#6 Post by flamur »

Aki wrote: 2024-07-27 15:14 Hello,
flamur wrote: 2024-07-26 19:45 I think it might be a bug/or a known problem: https://bugs.debian.org/cgi-bin/bugrepo ... bug=925591
Please, edit the subject of the first post to reflect this, i.e.:
[Installation] Can't install GRUB with raid1+efi setup
Can you please report the Debian version and partition scheme for your disks ? You can use the command:

Code: Select all

cat /etc/debian_version
su -l -c "fdisk -l"
You could use the third ssd as an EFI boot disk (if EFI is required).
Hi, fixed the topic.

I reinstalled Debian with LVM and no raid = no issues.

Fixing RAID1 for OS is over my ability as of now. Might try it in the future if I am more comfortable with all the different terminology and how to set it up as propoused in the forum thread of the bug.

Thanks for your input though 🙏

(sorry its reinstalled with other partition scheme. Used the latest Debian 12.6.0)

Post Reply