You are not logged in.

#1 2021-02-24 09:28:00

badbyte
Member
Registered: 2021-02-24
Posts: 2

Unable to get RAID0 root partition to boot

I want to install arch on a raid1 configuration. The installation didn't throw up any issues but right after grub the screen freezes in it's state, but I can see that the hdd led blinks indicating that it is booting.
I was also able to log in, reboot / shutdown the system that is all I could do blindly.
This is my current configuration of my system:

[root@archiso /]# blkid
/dev/sda1: UUID="a7131608-9234-a1c5-d07e-5778172a2489" UUID_SUB="919ac014-bef7-4b15-4dd1-bfca75b19a5b" LABEL="archiso:0" TYPE="linux_raid_member" PARTUUID="43eeb253-0bda-8e4f-9554-f885ff105d8d"
/dev/sdb1: UUID="a7131608-9234-a1c5-d07e-5778172a2489" UUID_SUB="7a27795b-3783-b145-b1a7-56b0c047cde1" LABEL="archiso:0" TYPE="linux_raid_member" PARTUUID="8a4f5e07-be7f-6347-b54e-c48528046c65"
[root@archiso /]# cat /etc/fstab
# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/md0 UUID=657a2877-9a53-459d-93b7-a7de31830ca6
LABEL=ROOT              /               ext4            rw,relatime     0 1

# /dev/sdd1 UUID=7695-C3EA
LABEL=BOOT              /boot/EFI       vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro   0 2


#LABEL=SWAP, UUID=663cb131-069c-4446-b3eb-40b3ae81c95a
LABEL=SWAP              /swapfile       none            sw              0 0
[root@archiso /]# lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
loop0     7:0    0 571.4M  1 loop
sda       8:0    0 931.5G  0 disk
└─sda1    8:1    0 931.5G  0 part
  └─md0   9:0    0 931.4G  0 raid1 /
sdb       8:16   0 931.5G  0 disk
└─sdb1    8:17   0 931.5G  0 part
  └─md0   9:0    0 931.4G  0 raid1 /
sdc       8:32   1   7.4G  0 disk
├─sdc1    8:33   1   634M  0 part
├─sdc2    8:34   1    61M  0 part
└─sdc3    8:35   1   300K  0 part
sdd       8:48   1  14.3G  0 disk
└─sdd1    8:49   1  14.3G  0 part

And here is my mkinitcpio.conf:

HOOKS=(base udev autodetect modconf block filesystems mdadm_udev keyboard fsck)

This is my first time setting up arch in raid1 and I'm still new from debian/ubuntu side, so I somehow know myself around in linux but not completely.
Let me know if I need  to post more info.

Thank you for your tipps and help in advance.

Offline

#2 2021-02-24 12:12:53

edacval
Member
From: .LT
Registered: 2008-10-23
Posts: 75

Re: Unable to get RAID0 root partition to boot

Try to put  'mdadm_udev' before 'filesystems' in HOOKS() and rebuild initrd.

Offline

#3 2021-02-24 12:35:36

badbyte
Member
Registered: 2021-02-24
Posts: 2

Re: Unable to get RAID0 root partition to boot

edacval wrote:

Try to put  'mdadm_udev' before 'filesystems' in HOOKS() and rebuild initrd.

Tried that, made: mkinitcpio -P linux
Then rebooted but nothing changed

Offline

Board footer

Powered by FluxBB