From: Heinz Diehl <htd@fancy-poultry.org>
To: dm-crypt@saout.de
Subject: [dm-crypt] Encrypted root on Fedora 13
Date: Mon, 25 Oct 2010 18:52:17 +0200 [thread overview]
Message-ID: <20101025165217.GA13366@fancy-poultry.org> (raw)
Hi,
is there any possibility in cryptsetup-1.1.3 to maintain / restore the uuid of an encrypted root
partition on a Fedora 13 system?
What I've planned to do is to switch the standard encryption the Fedora
installer has put on a laptops root partition from aes-xts-plain to
twofish-xts-plain, because twofish is about 25% faster on this machine.
So I'll boot from CD, take a copy of the root fs, reformat it with the new
specs, and restore from backup.
However, the uuid of the partition gets changed by this process, and I'm
curious if writing the new uuid into fstab/crypttab/grub.conf is enough
to boot the system properly.
I tried to chroot into the Fedora root directory from the boot CD and
rebuild the initramfs via dracut, but the root partition could not be
found any more. I guess the uuid of the encrypted root partition is
included in the initramfs, which means that I have to build an initramfs
from the active system, which isn't possible.
So is there a possibility (maybe in cryptsetup) that allows to customize
the uuid? It's possible with xfs_admin to do that, but only the uuid of
the mapped partition, the uuid of the device itself doesn't get changed,
of course.
What am I missing?
Thanks,
Heinz.
next reply other threads:[~2010-10-25 16:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-25 16:52 Heinz Diehl [this message]
2010-10-25 17:35 ` [dm-crypt] Encrypted root on Fedora 13 Milan Broz
2010-10-25 17:40 ` Heinz Diehl
2010-10-27 16:31 ` Heinz Diehl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101025165217.GA13366@fancy-poultry.org \
--to=htd@fancy-poultry.org \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox