I tried everything: the BIOS does not see any hard disk (single or in pair with 
its own twin) if you do not first configure, in the LSI environment, either a 
RAID 0 (when there is only one hard disk) or a RAID 1 (when there are two hard 
disks). Leaving Debian 12 to do the partitioning does not create /boot and 
therefore the Grub installation fails. If you create /boot (and all the other 
partitions) manually, Grub is installed but the operating system does not load 
and when you turn it back on, the RAID no longer exists in the loading console. 
Moreover, if you create, in the partitioning, a vg0 unit, the individual 
partitions already made are transformed into others and the entire newly 
created structure is destroyed and the new one becomes unchangeable.

A real nightmare!

PA


________________________________
Da: Michael Paoli
Inviato: Mercoledì, 23 Aprile, 2025 20:15
A: Pier Antonio Corradini
Cc: debian-user@lists.debian.org
Oggetto: Re: Grub problem

So, is this md raid1, or true hardware RAID-1?

If it's md raid1:

MBR system - boot block should be installed to both drives, remainder
is installed to the /boot filesystem (or / if there's no /boot
filesystem)

GPT - I'm not 100% sure (haven't looked into the details), but in that
case, I think GRUB mostly installs to the /efi filesystem, and
possibly also /boot filesystem (or / if there's no /boot filesystem),
similar to the above.  As for /efi, that can't be under md raid1,
however one can have it on two drives and install it to both for
redundancy.

If the RAID-1 is true hardware RAID-1, it would be installed as noted
above, and there's no two separate copies of any of the relevant
filesystems, at least for most intents and purposes as far as the
Operating System (OS) and GRUB, etc. are able to see, but it otherwise
is installed as noted above.

Generally the installation process walks you through the GRUB
installation, it generally will prompt you for the device(s) to
install on.  In the case of true hardware RAID-1, one would generally
just select the one device corresponding to the hardware RAID-1 device
(e.g. generally entire disks done as RAID-1 by hardware, and target
that device as seen by the OS.  RAID-1 other than true hardware RAID-1
or md raid1 may not be (fully) supported, most notably for boot and
GRUB installation.

On Tue, Apr 22, 2025 at 3:27 PM Pier Antonio Corradini
<pierantonio.corrad...@gmail.com> wrote:
>
> Hello everyone,
>
> Debian 12 does not install GRUB on a RAID 1 array of my computer: I don't 
> know if this problem is caused by a hardware failure or by my inexperience so 
> I ask if there is a reference guide for this case. Thanks.
>
>
> C.P.A.

Reply via email to