|
|||||||
| BackTrack 4 Howto Tutorials and Howtos about BackTrack 4 (NOT for requesting tutorials or how to do anything) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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). |
|
|||
|
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. |
|
|||
|
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. |
|
|||
|
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 Code:
cryptsetup luksOpen /dev/disk/by-uuid/a9f300c7-7156-44a3-be48-560fb189c296 casper-rw >&6 If you are starting over again, make sure you update the UUID in there.
|
|
|||
|
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. |
![]() |
| Bookmarks |
| Tags |
| encryption, esc201, initrd, luks, usb |
| Thread Tools | |
| Display Modes | |
|
|