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
I'm finally building my new system, but I'm pretty certain I'll need
some advice to get it to boot. As you might guess from the subject the
"problem" is dm-integrity.

I'm using openSUSE as my host system, which I used to set up the disk(s).

So currently I have

sdb
--> sdb3
   --> dm-integity
      --> md-raid
         --> lvm
            --> root

And my root partition is on lvm. Currently I have a custom systemd
config file that sets up dm-integrity. How do I add this to the gentoo
initramfs? Without it raid won't recognise the disk, so there'll be no
root partition to switch to at boot.

Plan for the future is to add dm-integrity recognition to upstream
mdadm, but for that I need my new system, so's I can demote my old
system to a test-bed.

Cheers,
Wol

Replies

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