[HEADS UP] Introduced "make initrd" and removed mkinitrd(8)

Tim Darby t+dfbsd at timdarby.net
Sat Jun 9 09:30:25 PDT 2018


​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 <aly at aaronly.me> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20180609/6f44f414/attachment.html>


More information about the Users mailing list