Page 1 of 1
[Installation] Can't install GRUB with raid1+efi setup
Posted: 2024-07-25 21:07
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
Re: [Installation] cant install GRUB
Posted: 2024-07-26 05:43
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.
Re: [Installation] cant install GRUB
Posted: 2024-07-26 07:29
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?
Re: [Installation] cant install GRUB
Posted: 2024-07-26 19:45
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
Re: [Installation] cant install GRUB
Posted: 2024-07-27 15:14
by Aki
Hello,
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).
Re: [Installation] cant install GRUB
Posted: 2024-07-27 18:44
by flamur
Aki wrote: ↑2024-07-27 15:14
Hello,
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)