Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: HOWTO: BT4 Pre-Final USB Encryption

  1. #11
    Member
    Join Date
    Jul 2007
    Posts
    104

    Default

    Try this one.

    On the keymap subject, I don't know what else to tell you except to check if you have a bios setting that turns on number lock at boot.

  2. #12
    Junior Member
    Join Date
    Nov 2006
    Posts
    55

    Default

    Well, I used your initrd and I get the same issue. (The keyboard issue as usual, I'll just use a different password to accomodate). On the computer where the keyboard did work fine, the first password worked perfectly, but then once again, the second password prompt waited no more than 8 seconds before continuing to boot. It just bypassed it. (in fact, typing my password just showed up on the screen, so it's not even expecting one.

    Not sure what log I should check (can't find casper.log...if it's even relevent), to see what the error is, because unlike at the last password, backtrack can continue booting without accessing the changes partition, so maybe it's an unrecognized UUID or something.

    I'll update back when I have a different password..one that'll work on my laptop, because who knows, it could be a individual computer issue again (all three of the computers i've tested on have given different results haha).

  3. #13
    Member
    Join Date
    Jul 2007
    Posts
    104

    Default

    If I understand you correctly, your system is decrypting the filesystem.squashfs file and is able to boot; just not with changes? If so, that's half the battle.

    The contents of casper.log should help us figure out what it's doing. If your system is booted I believe casper.log is located at /var/log/casper.log. If not, try "locate casper.log" to try to find it.

    Also, just to make sure, can you post the initrd you are using? It can't hurt for me to take a look.

  4. #14
    Junior Member
    Join Date
    Nov 2006
    Posts
    55

    Default

    Yep! that's right.

    Casper.log does indeed point out the problem.

    Right after where it says "Enter passphrase" and "command successful" (The first password)...it then asks again for a passphrase (the changes). And that's followed by a "Command Failed: Cannot access this device"

    Here is my initrd.gz file. It could be that I'm not entering the UUID properly, but I believe I did it correctly. And that is the correct UUID, I'm sure. Because I'm not sure what else would prevent access to the changes partition.

    I'm going to run the procedure through clean from start to finish with a password that'll work on both computers.

  5. #15
    Member
    Join Date
    Jul 2007
    Posts
    104

    Default

    I think we have it licked now, in your initrd, on the cryptsetup command (line 387 in the casper file) you have...
    Code:
    cryptsetup luksOpen /dev/disk/a9f300c7-7156-44a3-be48-560fb189c296 casper-rw >&6
    It needs to be...
    Code:
    cryptsetup luksOpen /dev/disk/by-uuid/a9f300c7-7156-44a3-be48-560fb189c296 casper-rw >&6
    That would be why your logs are telling you the device does not exist.

    If you are starting over again, make sure you update the UUID in there.

  6. #16
    Junior Member
    Join Date
    Nov 2006
    Posts
    55

    Default

    Gah...silly mistake!

    Thanks for everything, works beautifully.

    Startup is a little slower, but everything runs at a very manageable rate.

  7. #17
    Member
    Join Date
    Jul 2007
    Posts
    104

    Default

    It happens.

    I'm glad to hear you got it working and it runs at a usable speed.
    The extra start up time is part of the price you have to pay to have your data encrypted; it's worth it though.

  8. #18
    Junior Member
    Join Date
    Nov 2006
    Posts
    55

    Default

    Too bad the encryption worked on my buddy's computer only...

    I tried changing the passphrases to keys with no special attributes to them, still no luck. casper.log says that it's still the wrong password.

    The keyboard works fine in the initramfs (I tried just typing in my password and all the characters showed up fine).

    Really not sure what to do with this one. I know the 1520 Vostro is used to having keyboard issues with backtrack (at one point when using the encrypted liveUSB it wouldn't recognize any keystrokes at all). So I edited the boot parameters and it worked again, but still no luck when typing in passwords.

  9. #19
    Member
    Join Date
    Jul 2007
    Posts
    104

    Default

    So the encryption is working, just not on your laptop? I don't know what to tell you about that one. As I've said before, I know little to nothing about keymaps. Sorry.

  10. #20
    Junior Member
    Join Date
    Nov 2006
    Posts
    55

    Default

    is there anything I can add to the initrd.gz that would for test purposes print out what I typed in?

Page 2 of 3 FirstFirst 123 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
  •