[pkg-cryptsetup-devel] Bug#961671: Renaming crypttab mapping
Ed Schaller
schallee at gmail.com
Wed May 27 17:17:36 BST 2020
Package: cryptsetup-initramfs
Every time I see bug #671037 referenced in the docs (README.initramfs.gz)
or do a rename I feel bad. When I first encountered this long before the
bug was submitted I found a easier/safer way. Sorry for not responding till
now.
if you have
old_name /dev/... none luks
and you want new_name instead, modify your crypttab
new_name /dev/... none luks
rename the mapping
dmsetup rename old_name new_name
update the initramfs
update-initramfs -uk all
done.
As far as the currently booted system goes, it already sees the new names,
so a reboot is actually optional. I would recommend a reboot though as
you'd likely rather find out now that you have a problem than the next time
the power goes out.
Sorry I didn't send this nearly a decade sooner. Thanks for the fantastic
initram(rd/fs) support provided in Debian.
>>>------>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20200527/c2ba1104/attachment.html>
More information about the pkg-cryptsetup-devel
mailing list