0
my sd card have two partition,one is the boot,and another is the filesystem,now I use linux tool cryptsetup encrypt the filesystem partition,when boot on my board,the kernel can't mount the filesystem(encrypt),my aim is to protect the whole filesystem,maybe three partition can achieve,if I have only two partition,whether it can be achieved?need to modify the kernel source?
the boot partition I put my boot.scr,MLO,u-boot.bin,u-boot.image,uImage and initrd file(include cryptsetup command etc),the second partition I put my encryption filesystem(include rootfs,some libs,apps etc),right? – Lyric – 2013-02-25T08:58:08.827
Don't know about exactly what you put on /boot (My distro does not use boot.scr, MLO, u-boot.*, rather it users Grub, the kernel and an initramfs (Centos) or initrd (Ubuntu), but yes, thats the right idea. – davidgo – 2013-02-25T18:49:18.140
can you tell me the step make initrd?the more detailed the better.I use kernel3.4 on embedded Linux device. – Lyric – 2013-02-26T03:02:37.403