Re: Whole-disk RAID and GPT/UEFI

2023-02-24 Thread David Christensen
On 2/23/23 11:05, Tim Woodall wrote: On Wed, 22 Feb 2023, Nicolas George wrote: Is there a solution to have a whole-disk RAID (software, mdadm) that is also partitioned in GPT and bootable in UEFI? I've wanted this ... I think only hardware raid where the bios thinks it's a single disk ...

Re: Whole-disk RAID and GPT/UEFI

2023-02-23 Thread Tim Woodall
On Wed, 22 Feb 2023, Nicolas George wrote: Hi. Is there a solution to have a whole-disk RAID (software, mdadm) that is also partitioned in GPT and bootable in UEFI? I've wanted this but settled for using dd to copy the start of the disk, fdisk to rewrite the GPT properly then mdadm to rebuil

Re: Whole-disk RAID and GPT/UEFI

2023-02-22 Thread Juri Grabowski
Hello, I have seen some installations with following setup: GPT sda1 sdb1 bios_grub md1 0.9 sda2 sdb2 efi md2 0.9 sda3 sdb3 /boot md3 0.9 sda4 sdb4 / md? 1.1 on such installations it's important, that grub installation is made with "grub-install --removable" I mean it was some grub bugs about

Re: Whole-disk RAID and GPT/UEFI

2023-02-22 Thread DdB
Am 22.02.2023 um 17:07 schrieb Nicolas George: > Unfortunately, that puts the partition table > and EFI partition outside the RAID: if you have to add/replace a disk, > you need to partition and reinstall GRUB, that makes a few more > manipulations on top of syncing the RAID. Yes, i get it. AFAIK,

Re: Whole-disk RAID and GPT/UEFI

2023-02-22 Thread Dan Ritter
Nicolas George wrote: > Hi. > > Is there a solution to have a whole-disk RAID (software, mdadm) that is > also partitioned in GPT and bootable in UEFI? Not that I know of. An EFI partition needs to be FAT32 or VFAT. What I think you could do: Partition the disks with GPT: 2 partitions each, EF

Re: Whole-disk RAID and GPT/UEFI

2023-02-22 Thread Nicolas George
DdB (12023-02-22): > I cannot say yes or no. But, of the top of my head, i know, that gdisk > does support a strange thing called hybrid between MBR and GPT, where a > clean GPT formatted drive contains (instead of a protective MBR) I have toyed with hybrid GPT in the past, in the hope to make an

Re: Whole-disk RAID and GPT/UEFI

2023-02-22 Thread DdB
Am 22.02.2023 um 16:30 schrieb Nicolas George: > Is there something I have missed? I cannot say yes or no. But, of the top of my head, i know, that gdisk does support a strange thing called hybrid between MBR and GPT, where a clean GPT formatted drive contains (instead of a protective MBR) an MBR

Whole-disk RAID and GPT/UEFI

2023-02-22 Thread Nicolas George
Hi. Is there a solution to have a whole-disk RAID (software, mdadm) that is also partitioned in GPT and bootable in UEFI? What I imagine: - RAID1, mirroring: if you ignore the RAID, the data is there. - The GPT metadata is somewhere not too close to the beginning of the drive nor too close to