All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] ing rootfs without initramfs
@ 2013-07-20 19:36 ebelcrom ebelcrom
  2013-07-20 20:06 ` Milan Broz
  0 siblings, 1 reply; 7+ messages in thread
From: ebelcrom ebelcrom @ 2013-07-20 19:36 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

Hello folks,

I played around with dm-crypt without using initramfs for en-/decryption of
my root file system. The rootfs is encrypted plain with cryptsetup and the
key is stored at the disk containing the rootfs between MBR and the
partition. The kernel parameter given to it from the bootloader is
configured as it should be (cryptdevice, cryptkey, root mapper). The disk
driver (loaded before) is built-in as well as dm-crypt (loaded after). The
message I got at boot time is this (cr_rootfs is the encrypted rootfs):

VFS: Cannot open root device "mapper/cr_rootfs" or unknown-block(0,0)

According to some hints in the web there is no need to have an initramfs.
Is that true? If yes what are the steps to get there and what should I keep
into account?

Any suggestions are welcome!

[-- Attachment #2: Type: text/html, Size: 895 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-07-22  3:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-20 19:36 [dm-crypt] ing rootfs without initramfs ebelcrom ebelcrom
2013-07-20 20:06 ` Milan Broz
2013-07-21  5:40   ` Bryan Kadzban
2013-07-21  8:47     ` Milan Broz
2013-07-21  9:01       ` Thomas Bächler
2013-07-21 12:27         ` Milan Broz
2013-07-22  3:51       ` Will Drewry

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.