[Yaird-devel] Bug#355074: yaird: not a bug
Mark Hedges
hedges at ucsd.edu
Sat Apr 29 00:41:49 UTC 2006
On Sat, 29 Apr 2006, Jonathan Kleinehellefort wrote:
>
> I ran into the same problem and think this cannot be considered a bug.
>
> /usr/lib/yaird/exec/run_init is really complaining about /dev/console
> missing on the new cryptoroot, which is caused by this step:
>
> cp -ax / /mnt
>
> Because a tmpfs is mounted over /dev by udev, this command will fail to
> copy any device nodes under /dev. This can be resolved by mounting /
> a second time and then copying the files over:
>
> mount /dev/path_to_old_root /oldroot
> cp -a /oldroot/* /mnt
Thanks for your reply. Yes I eventually figured out that is
what it complained about, thanks to some feedback on dm-crypt.
I planned to try to recreate the device files for console and
null with mknod in the cryptoroot. But I haven't had time to
get back to it.
And to be honest, running encrypted partitions is so incredibly
slow that I may reformat and use luks only for /home.
Mark
More information about the Yaird-devel
mailing list