custom initramfs: switch_root woes
Natanael Copa
natanael.copa at gmail.com
Tue Apr 10 09:35:58 UTC 2007
On Mon, 2007-04-09 at 19:59 -0500, ctlink at binaryelysium.com wrote:
> I'm implementing the dm-crypt w/ Luks disk encryption solution as
> outlined in this wiki entry
> http://gentoo-wiki.com/SECURITY_System_Encryption_DM-Crypt_with_LUKS.
[ snip ]
> Some debugging has revealed that there is indeed a /dev/console
> however there is no /new-root/dev/console.
>
> I'd be glad to post the init script, or any conf files. Anyone know
> what might be going on?
I think you need /dev/console on your new root to be able to run init.
At this step:
http://gentoo-wiki.com/SECURITY_System_Encryption_DM-Crypt_with_LUKS#Mounting_the_filesystem.28s.29
Try to create the /dev/console
mkdir -p /mnt/gentoo/dev
mknod /mnt/gentoo/dev/console c 5 1
Natanael Copa
More information about the busybox
mailing list