Just curious, what do you do with a headless machine that has an encrypted root? I guess you could put the crypto key on a thumb drive, but initrd doesn't have a provision for that.
Tim On Fri, Jun 8, 2018 at 2:34 AM Aaron LI <[email protected]> wrote: > Hi, > > I justed committed the big initrd change to master. I should wait > for more reviews, but made a mistake with Git and got it pushed earlier. > The patch was reviewed by swildner and barely by tuxillo. I already well > tested this patch by building a new ISO with nrelease and installing > on a vbox with encrypted hammer2 root. > > The initrd is a small initial ramdisk image that packs some statically > linked tools, init and rc scripts. It can be used to help mount the > real root that resides on an encrypted volume or LVM, and it also provides > a rescue environment to help solve system problems. > > This patch removed the mkinitrd(8) and /usr/share/initrd directory, but > introduced the top-level "initrd" make target to build the statically > linked rescue tools (will be installed under /rescue) and create > the initrd image. So, after rebooting into the upgraded system and > verifying it works well, do: > > # cd /usr/src && make initrd > > For more details, please see this commit: > > https://gitweb.dragonflybsd.org/dragonfly.git/commit/e79a303f7db7331d570bb6c6abdd555eeefdcdc2 > > Cheers, > -- > Aaron >
