Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to boot the Linux from the /boot partition, and also want to encrypt this /boot partition.

[ AFAIK, Grub is unable to find the kernel and initrd from an truecrypted partition or cryptsetup encrypted boot partition. ]

Is there any way to do so ?

share|improve this question
    
Just one remark -- encrypting entire system except /boot is supported by default. This means, that if you fall into problem with your system, you probably fix it easier than in case with /boot encrypted as well. –  greenoldman Apr 20 '11 at 5:07

1 Answer 1

up vote 5 down vote accepted

Yes, using Grub2 you can do this: It has been patched to support not only AES, Twofish, Serpent and CAST5 encryption, but a number of hashing routines such as SHA1, SHA256, SHA512, and RIPEMD160. There is also support for the LUKS on-disk encryption format.

Check out this xercestech post for a full manual walkthrough, but in a nutshell everything is encrypted except for the actual bootloader, which you could have on a USB stick if you really wanted to stay safe.

The LUKS patches to support grub are here.

share|improve this answer
    
Thanks Rory.... I will follow the tutorial and will give you feedback. BTW, the link is broken, it seems. If you have the michael.gorven.za.net/bzr/grub/luks., please do share with us. –  SHW Apr 20 '11 at 5:40
    
Trim the period off the end of that URL and it will work. –  brianbaligad Nov 25 '13 at 5:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.