Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 49

Thread: HOWTO: BT4 Pre-Final Full Disk Encryption

  1. #21
    HKdnp
    Guest

    Cool

    hi, cant you do the same whit truecrypt? what is a gui...

  2. #22
    Member floyd's Avatar
    Join Date
    Mar 2009
    Posts
    231

    Default

    Quote Originally Posted by HKdnp View Post
    hi, cant you do the same whit truecrypt?
    No, Truecrypt can make encrypted containers, we want pre-boot encryption. We encrypt the partition itself, not only folders.

    what is a gui...
    A gui is a graphical user interface
    Auswaertsspiel

  3. #23
    Member
    Join Date
    Jul 2007
    Posts
    104

    Default

    Quote Originally Posted by HKdnp View Post
    hi, cant you do the same whit truecrypt?
    Quote Originally Posted by floyd View Post
    No, Truecrypt can make encrypted containers, we want pre-boot encryption. We encrypt the partition itself, not only folders.
    Truecrypt is able to do full disk encryption with Windows but not Linux. I believe this is done through the use of a giant container of sorts. Anyway, floyd is correct, Truecrypt will not work for us here.

  4. #24
    Just burned his ISO
    Join Date
    Aug 2009
    Posts
    15

    Default

    Code:
    grub-install --root-directory=/mnt/root/boot /dev/sdX
    should be

    Code:
    grub-install --root-directory=/mnt/root /dev/sdX
    Thanks for the great tutorial!

  5. #25
    Member floyd's Avatar
    Join Date
    Mar 2009
    Posts
    231

    Default

    Quote Originally Posted by TomSawyer View Post
    I'm trying to get this working and everything is working up until this point:

    Code:
    grub-install /dev/sdX
    So I "pivot back" to the live CD and try:

    Code:
    grub-install --root-directory=/mnt/root/boot /dev/sdX
    But then I reboot I end up stuck at the GRUB interface, or whatever it's called. Here's a breakdown:

    Code:
    root@bt:/# grub-install /dev/sda
    /dev/sda: Not found or not a block device.
    Let me quote myself, maybe this helps:

    Quote Originally Posted by floyd View Post
    hey barry

    sorry Im in a hurry, but try this (with mounting the proc and dev before chrooting):

    mkdir /mnt/bt4
    mount /dev/mapper/btcrypt-root /mnt/bt4/
    mkdir /mnt/bt4/boot/
    mount /dev/sda1 /mnt/bt4/boot
    cp --preserve -R /{bin,dev,home,pentest,root,usr,boot,etc,lib,opt,sb in,var} /mnt/bt4/
    mkdir /mnt/bt4/{mnt,tmp,proc,sys}
    chmod 1777 /mnt/bt4/tmp/
    mount -t proc proc /mnt/bt4/proc/
    mount -o bind /dev /mnt/bt4/dev/
    chroot /mnt/bt4/ /bin/bash
    or maybe just try grub-install without any arguments after chrooting
    Auswaertsspiel

  6. #26
    Member
    Join Date
    Jul 2007
    Posts
    104

    Default

    Quote Originally Posted by TomSawyer View Post
    Code:
    grub-install --root-directory=/mnt/root/boot /dev/sdX
    should be

    Code:
    grub-install --root-directory=/mnt/root /dev/sdX
    Thanks for the great tutorial!

    Ahh yes, another typo. I really ought to check over commands I type from memory. Thank you for pointing it out and I'm glad you got it working.

  7. #27
    Just burned his ISO
    Join Date
    Aug 2009
    Posts
    15

    Default

    Sorry about the massive edit before, but once I got it working, it seemed kinda pointless to leave it all.

    Also I think the trailing / might screw things up, ie:

    grub-install --root-directory=/mnt/root /dev/sdX

    instead of

    grub-install --root-directory=/mnt/root/ /dev/sdX

    Pretty sure the grub-install script will end up making that /mnt/root//boot.

  8. #28
    My life is this forum Barry's Avatar
    Join Date
    Jan 2010
    Posts
    3,817

    Default

    Heh, I used to work with a Tom Sawyer.

  9. #29
    Member
    Join Date
    Jul 2007
    Posts
    104

    Default

    Quote Originally Posted by TomSawyer View Post
    Sorry about the massive edit before, but once I got it working, it seemed kinda pointless to leave it all.
    Not necessarily. Others that experience the same error could find it, and the solution, through Google. There's no such thing as too much documentation (relatively speaking).

    Quote Originally Posted by TomSawyer View Post
    Also I think the trailing / might screw things up, ie:

    grub-install --root-directory=/mnt/root /dev/sdX

    instead of

    grub-install --root-directory=/mnt/root/ /dev/sdX

    Pretty sure the grub-install script will end up making that /mnt/root//boot.
    Bash should be able to interpret the extra slash accordingly. For example. open a shell and type "cd /boot/grub" and then "cd /boot//grub". Both take you to the same place; or at least that's how I understand it, someone correct if I am mistaken.

  10. #30
    Just burned his ISO
    Join Date
    Aug 2009
    Posts
    15

    Default

    Quote Originally Posted by Barry View Post
    Heh, I used to work with a Tom Sawyer.
    I hope he wasn't TOO much of a pain.

Page 3 of 5 FirstFirst 12345 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •