Help creating bootable UEFI RAID10 Array

Hello, I am trying to create a bootable Raid10 array, and install garuda. I am stuck, I have been searching the internet for two days trying all the different things people say work. None of them do.

I am on my n'Th attempt right now and this time I created 3 partitions on all 4 drives.

Like this.

/dev/sda1 8mb unformated for grub
/dev/sda2 300mb fat32 with a boot flag and will be mounted as /boot/efi
/dev/sda3 300gb btrfs which will be mounted as root

Using mdadm I created a raid array for each partiton md3 for /dev/sda3 /dev/sdb3 .... , and md2.
Can't create an array for unallocated space, so the md1 is just sitting there.

With this command:

sudo mdadm --create --verbose /dev/md2 --level=10 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2

I will install garuda and see what happens.

If anyone can give any help on how to get this done, please let me know.

That didn't work at all.

So I forced my bios to boot to legacy only. Remade my RAID10 array from scratch. Installed garuda using MBR.

What do you know it worked, it boots.

New problem: it hangs in Splash Screen.

I tried editing grub, like a few other posts suggested. Seems to be related to intel vdm or something like that. Tried it anyways, no luck.

I have AMD Ryzen 9 5950x. Xr 6600 xt.

I am updated system in chroot, did not work.

Any ideas?

I move it from #issues-assistance:newbies to #issues-assistance:aur-snaps-flatpaks-other .

Garuda uses 260 MB for /boot/efi. How do you get 8 MB for grub?

So that your request doesn't end up in nirvana please post the requested garuda-inxi, that goes from the live ISO.

Was this included?
https://wiki.archlinux.org/title/RAID_(Español)

Or that?
https://bbs.archlinux.org/viewtopic.php?id=268042

It doesn't help to write that everything didn't help, without linking.
It's frustrating for helpers who then needlessly post links you already know.

1 Like

I am using MBR now, so there is no /boot/efi partition anymore. This is what I got.

The system boots to splash screen but freezes, get "you're on your own error",the kernel is not mounting root for some reason. I think the softRAID is not starting before it starts looking for files.

I edited mkinitcpio.conf and added mdadm_udev to HOOKS.
I then regenerated intramfs with "Sudo mkinitcpio -P"

I edited /etc/default/grub: GRUB_PRELOAD_MODULES and added mdraid09 and mdraid1x
I also added "set root=(md/0,1)"

[[email protected] /]# garuda-inxi
12System:
  12Kernel 5.16.4-zen1-1-zen x86_64 12bits 64 12compiler gcc 12v 11.1.0
    12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC misobasedir=garuda
    misolabel=GARUDA_DR460NIZEDGAMING_WHITETAI quiet systemd.show_status=1 driver=free
    nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
  12Console N/A 12Distro Garuda Linux 12base Arch Linux
12Machine:
  12Type Desktop 12System ASUS 12product N/A 12v N/A 12serial N/A
  12Mobo ASUSTeK 12model ProArt X570-CREATOR WIFI 12v Rev X.0x 12serial <filter>
    12UEFI American Megatrends 12v 0402 12date 08/04/2021
12CPU:
  12Info 12model AMD Ryzen 9 5950X 12socket AM4 12bits 64 12type MT MCP 12arch Zen 3 12family 0x19 (25)
    12model-id 0x21 (33) 12stepping 2 12microcode 0xA201204
  12Topology 12cpus 1x 12cores 16 12tpc 2 12threads 32 12smt enabled 12cache 12L1 1024 KiB
    12desc d-16x32 KiB; i-16x32 KiB 12L2 8 MiB 12desc 16x512 KiB 12L3 64 MiB 12desc 2x32 MiB
  12Speed (MHz) 12avg 3400 12min/max 2200/5083 12boost enabled 12base/boost 3400/5050 12scaling
    12driver acpi-cpufreq 12governor performance 12volts 1.1 V 12ext-clock 100 MHz 12cores 121 3400 122 3400
    123 3400 124 3400 125 3400 126 3400 127 3400 128 3400 129 3400 1210 3400 1211 3400 1212 3400 1213 3400 1214 3400
    1215 3400 1216 3400 1217 3400 1218 3400 1219 3400 1220 3400 1221 3400 1222 3400 1223 3400 1224 3400 1225 3400
    1226 3400 1227 3400 1228 3400 1229 3400 1230 3400 1231 3400 1232 3400 12bogomips 217183
  12Flags avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  12Vulnerabilities
  12Type itlb_multihit 12status Not affected
  12Type l1tf 12status Not affected
  12Type mds 12status Not affected
  12Type meltdown 12status Not affected
  12Type spec_store_bypass 12mitigation Speculative Store Bypass disabled via prctl
  12Type spectre_v1 12mitigation usercopy/swapgs barriers and __user pointer sanitization
  12Type spectre_v2
    12mitigation Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: always-on, RSB filling
  12Type srbds 12status Not affected
  12Type tsx_async_abort 12status Not affected
12Graphics:
  12Device-1 AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] 12vendor ASRock 12driver amdgpu 12v kernel
    12bus-ID 3f:00.0 12chip-ID 1002:73ff 12class-ID 0300
  12Display 12server X.org 1.21.1.3 12compositor kwin_x11 12driver 12loaded amdgpu
    12note n/a (using device driver) 12tty 80x40
  12Message Advanced graphics data unavailable in console for root.
12Audio:
  12Device-1 AMD Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT] 12driver snd_hda_intel 12v kernel
    12bus-ID 3f:00.1 12chip-ID 1002:ab28 12class-ID 0403
  12Device-2 AMD Starship/Matisse HD Audio 12vendor ASUSTeK 12driver snd_hda_intel 12v kernel
    12bus-ID 41:00.4 12chip-ID 1022:1487 12class-ID 0403
  12Sound Server-1 ALSA 12v k5.16.4-zen1-1-zen 12running yes
  12Sound Server-2 PulseAudio 12v 15.0 12running no
  12Sound Server-3 PipeWire 12v 0.3.47 12running yes
12Network:
  12Device-1 Aquantia 12vendor ASUSTeK 12driver atlantic 12v kernel 12port N/A 12bus-ID 37:00.0
    12chip-ID 1d6a:94c0 12class-ID 0200
  12IF enp55s0 12state down 12mac <filter>
  12Device-2 Intel Wi-Fi 6 AX210/AX211/AX411 160MHz 12driver iwlwifi 12v kernel 12bus-ID 38:00.0
    12chip-ID 8086:2725 12class-ID 0280
  12IF wlp56s0 12state up 12mac <filter>
  12Device-3 Intel Ethernet I225-V 12vendor ASUSTeK 12driver igc 12v kernel 12port N/A 12bus-ID 39:00.0
    12chip-ID 8086:15f3 12class-ID 0200
  12IF enp57s0 12state down 12mac <filter>
12Bluetooth:
  12Device-1 Intel AX210 Bluetooth 12type USB 12driver btusb 12v 0.8 12bus-ID 5-2:2 12chip-ID 8087:0032
    12class-ID e001
  12Report bt-adapter 12ID hci0 12rfk-id 0 12state up 12address N/A
12RAID:
  12Supported mdraid levels raid10
  12Device-1 md0 12maj-min 9:0 12type mdraid 12level raid-10 12status active 12state clean 12size 298.1 GiB
  12Info 12report 4/4 UUUU 12blocks 312581120 12chunk-size 512K 12super-blocks 1.0
  12Components 12Online
  120 sda 12maj-min 8:0 12size 149.05 GiB 12state active sync set-A
  121 sdb 12maj-min 8:16 12size 149.05 GiB 12state active sync set-B
  122 sdc 12maj-min 8:32 12size 149.05 GiB 12state active sync set-A
  123 sdd 12maj-min 8:48 12size 149.05 GiB 12state active sync set-B
12Drives:
  12Local Storage 12total 12raw 610.8 GiB 12usable 312.69 GiB 12used 24.08 GiB (7.7%)
  12ID-1 /dev/sda 12maj-min 8:0 12vendor Western Digital 12model WD1600ADFD-60NLR5 12size 149.05 GiB
    12block-size 12physical 512 B 12logical 512 B 12speed 1.5 Gb/s 12type N/A 12serial <filter> 12rev 7QR5
    12temp 34 C
  12SMART yes 12state enabled 12health PASSED 12on 2y 58d 8h 12cycles 61
  12ID-2 /dev/sdb 12maj-min 8:16 12vendor Western Digital 12model WD1600ADFD-60NLR5 12size 149.05 GiB
    12block-size 12physical 512 B 12logical 512 B 12speed 1.5 Gb/s 12type N/A 12serial <filter> 12rev 7QR5
    12temp 34 C
  12SMART yes 12state enabled 12health PASSED 12on 2y 25d 14h 12cycles 73
  12ID-3 /dev/sdc 12maj-min 8:32 12vendor Western Digital 12model WD1600ADFD-60NLR5 12size 149.05 GiB
    12block-size 12physical 512 B 12logical 512 B 12speed 1.5 Gb/s 12type N/A 12serial <filter> 12rev 7QR5
    12temp 38 C
  12SMART yes 12state enabled 12health PASSED 12on 2y 53d 20h 12cycles 69
  12ID-4 /dev/sdd 12maj-min 8:48 12vendor Western Digital 12model WD1600ADFD-60NLR5 12size 149.05 GiB
    12block-size 12physical 512 B 12logical 512 B 12speed 1.5 Gb/s 12type N/A 12serial <filter> 12rev 7QR5
    12temp 34 C
  12SMART yes 12state enabled 12health PASSED 12on 2y 76d 13h 12cycles 82
  12ID-5 /dev/sde 12maj-min 8:64 12type USB 12vendor SanDisk 12model Cruzer Glide 12size 14.59 GiB
    12block-size 12physical 512 B 12logical 512 B 12type N/A 12serial <filter> 12rev 1.00
  12SMART Message Unknown USB bridge. Flash drive/Unsupported enclosure?
12Partition:
  12ID-1 / 12raw-size 298.1 GiB 12size 298.1 GiB (100.00%) 12used 24.08 GiB (8.1%) 12fs btrfs
    12block-size 4096 B 12dev /dev/md0p1 12maj-min 259:0
  12ID-2 /home 12raw-size 298.1 GiB 12size 298.1 GiB (100.00%) 12used 24.08 GiB (8.1%) 12fs btrfs
    12block-size 4096 B 12dev /dev/md0p1 12maj-min 259:0
  12ID-3 /var/log 12raw-size 298.1 GiB 12size 298.1 GiB (100.00%) 12used 24.08 GiB (8.1%) 12fs btrfs
    12block-size 4096 B 12dev /dev/md0p1 12maj-min 259:0
  12ID-4 /var/tmp 12raw-size 298.1 GiB 12size 298.1 GiB (100.00%) 12used 24.08 GiB (8.1%) 12fs btrfs
    12block-size 4096 B 12dev /dev/md0p1 12maj-min 259:0
12Swap:
  12Kernel 12swappiness 133 (default 60) 12cache-pressure 100 (default)
  12ID-1 swap-1 12type zram 12size 62.75 GiB 12used 4.8 MiB (0.0%) 12priority 100 12dev /dev/zram0
12Sensors:
  12System Temperatures 12cpu N/A 12mobo N/A 12gpu amdgpu 12temp 34.0 C 12mem 32.0 C
  12Fan Speeds (RPM) N/A 12gpu amdgpu 12fan 0
12Info:
  12Processes 581 12Uptime 9m 12wakeups 0 12Memory 62.75 GiB 12used 5.5 GiB (8.8%) 12Init systemd 12v 250
  12tool systemctl 12Compilers 12gcc 11.2.0 12clang 13.0.1 12Packages 12pacman 1704 12lib 513
  12Client Unknown Client: kthreadd 12inxi 3.3.12
Garuda (2.5.4-2):
  System install date:     2022-02-18
  Last full system update: 2022-02-18
  Is partially upgraded:   No
  Relevant software:       NetworkManager connman
  Windows dual boot:       No/Undetected
  Snapshots:               Snapper
Running in chroot, ignoring command 'list-units'
  Failed units:
/dev/md0:
           Version : 1.0
     Creation Time : Fri Feb 18 19:25:26 2022
        Raid Level : raid10
        Array Size : 312581120 (298.10 GiB 320.08 GB)
     Used Dev Size : 156290560 (149.05 GiB 160.04 GB)
      Raid Devices : 4
     Total Devices : 4
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Fri Feb 18 23:29:05 2022
             State : clean
    Active Devices : 4
   Working Devices : 4
    Failed Devices : 0
     Spare Devices : 0

            Layout : near=2
        Chunk Size : 512K

Consistency Policy : bitmap

              Name : garuda-dr460nized-gaming:0  (local to host garuda-dr460nized-gaming)
              UUID : df3743e4:95537653:8d7536bb:08e796fa
            Events : 666

    Number   Major   Minor   RaidDevice State
       0       8        0        0      active sync set-A   /dev/sda
       1       8       16        1      active sync set-B   /dev/sdb
       2       8       32        2      active sync set-A   /dev/sdc
       3       8       48        3      active sync set-B   /dev/sdd

https://wiki.archlinux.org/title/LVM_on_software_RAID#RAID_installation

The boot partition must be RAID1; i.e it cannot be striped (RAID0) or RAID5, RAID6, etc.. This is because GRUB does not have RAID drivers. Any other level will prevent your system from booting. Additionally, if there is a problem with one boot partition, the boot loader can boot normally from the other two partitions in the /boot array.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.