Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
On boot cryptsetup opens one side of RAID1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
NorthVan
n00b
n00b


Joined: 25 Oct 2005
Posts: 35

PostPosted: Mon Dec 09, 2024 11:38 am    Post subject: On boot cryptsetup opens one side of RAID1 Reply with quote

I am using LUKS to encrypt my root device and that root device is actually RAID1 mdraid. Previously, genkernel (with an initrd) has managed to setup the RAID then prompt for the password.

I genkernel (4.3.16) compiled 6.6.62 (gentoo-sources) and on boot it is trying to cryptsetup one of the components of the RAID (one of the partitions that makes up the mirror), not the /dev/md126 which is the RAID device.

Kernels previous to and including 6.6.52 work fine, but I haven't recompiled one with the latest genkernel to check if it is a genkernel change that has broken things.

Another thing, after trying to open the partition with cryptsetup, this seems to cause some corruption of the EXT4 filesystem, and I have to boot from a USB and fsck before it is happy.

Any ideas how I can get back to a working setup?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum