grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: luks testing and source deb pkg


From: Lukas Anzinger
Subject: Re: luks testing and source deb pkg
Date: Wed, 2 Nov 2011 18:59:57 +0100

Hi,

I'm currently also trying to use to the luks code from trunk by using
a modified Debian package and the latest source from the Bazaar
repository.

However after entering the password, the grub menu doesn't show up and
it states that the password is incorrect. I used 12345 which is
obviously very hard to misspell repeatedly. I then tried to insert the
master password from the LUKS partition directly into the source code
and luckily succeeded with that! I'll post the snippet and my
modifications to the package tomorrow if someone is interested. Since
there is practically no information about this in the internet, I'll
probably write a tutorial on how to do a full system encryption
"TrueCrypt style" (i.e. with an encrypted /boot partition).

So my question is, James, how did you create your encrypted partition
and what file system did you use?

I always use "cryptsetup luksFormat /dev/sda1" (on Debian Sid) which
uses aes-cbc-essiv as a default value AFAIK and ext3.

Could you also append your tared "debian" folder which generates the
grub package(s)?

Regards,

Lukas

On Tue, Nov 1, 2011 at 23:56, James M. Leddy <address@hidden> wrote:
> Hi,
>
> I've successfully tested the luks code in ubuntu using a modified grub2
> package. You can test yourself if you're already using crypted root and
> separate /boot by rsying the /boot dev to the root filesyste, removing the
> /etc/fstab entry, and running:
>
> # GRUB_CRYPTODISK_ENABLE=y grub-install --debug --modules=configfile
> --modules=gcry_sha1 --modules=gcry_sha256 --modules=fshelp
> --modules=biosdisk --modules=part_msdos --modules=linux --modules=ext2
> --modules=help --modules=minicmd --modules=crypto --modules=cryptodisk
> --modules=gcry_rijndael --modules=luks /dev/sda
> # GRUB_CRYPTODISK_ENABLE=y update-grub
>
>
> The merged source is available here:
>
> https://code.launchpad.net/~jm-leddy/+junk/grub-luks
>
> just do a :
>
>   $ bzr branch lp:~jm-leddy/+junk/grub-luks
>   $ cd grub-luks
> $ bzr builddeb
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]