Re: UUID updates for dmcrypt/luks
2011/8/19 tv.debian@googlemail.com <tv.debian@googlemail.com>:
> Hi, maybe you should have updated the initramfs too (update-initramfs).
I've done that, too, just forgot to mention it. So there's still some
other problem.
Well, found the problem now:
I've been using "file -s /dev/XXX" to get the UUID. But that truncates
the UUID (in cases where output would exceed n characters?). *Sigh*.
Works now.
> But from the beginning you could have reverted the newly created
> partitions uuid's to the old ones, for instance with "tune2fs -U
> old_uuid /new/partition", this way no need to modify fstab, grub,
> initramfs and whatnot.
Ah, thanks; good to know for next time (if I'll remember; I've started
using Linux long before uuids were being used, so my brain is wired
the old way where my doing would have worked without issue; note to
self: need to change wiring).
Christian.
Reply to: