Gentoo Archives: gentoo-user

From: Wols Lists <antlists@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] New system, systemd, and dm-integrity
Date: Fri, 15 May 2020 08:56:09
Message-Id: 5EBE591D.3050505@youngman.org.uk
1 I'm finally building my new system, but I'm pretty certain I'll need
2 some advice to get it to boot. As you might guess from the subject the
3 "problem" is dm-integrity.
4
5 I'm using openSUSE as my host system, which I used to set up the disk(s).
6
7 So currently I have
8
9 sdb
10 --> sdb3
11 --> dm-integity
12 --> md-raid
13 --> lvm
14 --> root
15
16 And my root partition is on lvm. Currently I have a custom systemd
17 config file that sets up dm-integrity. How do I add this to the gentoo
18 initramfs? Without it raid won't recognise the disk, so there'll be no
19 root partition to switch to at boot.
20
21 Plan for the future is to add dm-integrity recognition to upstream
22 mdadm, but for that I need my new system, so's I can demote my old
23 system to a test-bed.
24
25 Cheers,
26 Wol

Replies

Subject Author
Re: [gentoo-user] New system, systemd, and dm-integrity Neil Bothwick <neil@××××××××××.uk>