Backtrack 4 Video – USB With “Full” Disk Encryption

This video is based on my Backtrack 4 - Bootable USB Thumbdrive with "Full" Disk Encryption how-to. Please feel free to point out any errors or issues.

{ 173 comments… read them below or add one }

Whiskey January 19, 2010 at 1:21 pm

Hello,

I just glanced at your video to check out your work once again. I’m sure this will be a great visual aid to all those performing the installation for the first time.

I noticed one interesting bit… After I followed your written tutorial, my “Luks Passphrase” prompt is totally in a command prompt screen with no color or graphics and your video shows the fancy Back|Track GUI in the background…Any thoughts?

Regards,
Wh|$KeY

Reply

kriggins January 20, 2010 at 9:39 am

@Whiskey,

the fix-splash command will take care of that. I haven’t included it in the how-to yet because I just found out about it recently. If you execute that after you have booted Backtrack from your USB drive, it will use the pretty boot screen 🙂

Kevin

Reply

singularity January 21, 2010 at 10:20 am

Great tutorial. Keep it up.

Reply

capron January 22, 2010 at 11:02 am

I was afraid off running the fix-splash because it mix with the initfs.

Wood bee a sad end off installation if the last command destroys the system
only too make it a littel bit more preitty. But it worked great.

Reply

.bT January 29, 2010 at 11:26 am

please can you tell me the title of the music track that you used for this video?

Reply

SD January 29, 2010 at 1:24 pm

Hi, Thanks so much for the video Kevin. I’m sure this is a total noob question. I did try to answer this myself before I asked. At 10:00 how did you get UUID replaced with the crypted volume ID? What keystrokes or procedure did you do?
Thanks,
Steve

Reply

kriggins January 29, 2010 at 4:02 pm

@.bT,

The music is from Farbo’s first album “Far Beyond”. The whole album can be found here: http://www.ektoplazm.com/free-music/farbo-far-beyond/ and is free which is very cool 🙂

I used “Filthy Stereo” and “Playful Sunshine.”

@SD,

I used right click copy on the vol_id output and then when you have the cursor at the beginning of UUID type ‘cw’ without the quotes. That stands for ‘change word’ in vi. Then right click and paste.

-Kevin

Reply

.bT January 30, 2010 at 2:52 pm

thanks Kevin

Reply

SD January 30, 2010 at 7:15 pm

thanks Kevin! no wonder I couldn’t find what the keystroke was.. I was looking for shortcuts to terminal!

Reply

Mike February 11, 2010 at 4:31 pm

Umm at the fix-splash you’re in a different directory than before. This might confuse some users 🙂

Reply

Kevin February 12, 2010 at 4:59 pm

hey, Thanks a lot for this guide! I seem to be stuck at one point (around 10:00 on video), after u replaced the “UUID” with the actual UUID, how did you manage to go down the way you did inorder to type in “:wq”? sorry if this is a stupid question, but it’s had me stumped for hours 🙂 Thanks again!

Reply

kriggins February 12, 2010 at 5:25 pm

@kevin,

Once you have pasted the new UUID, hit the escape key and then ‘:wq’ without the quotes.

-Kevin

Reply

Kevin February 20, 2010 at 3:52 pm

awsome! thanks a lot 🙂

Reply

nasos February 22, 2010 at 9:42 am

Hi
Thanks for the guide.
I got a warning with fdisk that I have to use gparted.
Continued anyway and everything seemed to work fine.
When I had to do “update-initramfs -u”
got an error that I cannot do it from a live cd.
Tried it 3 times so far but no luck.
Any ideas please?
Thanks
Nasos

Reply

Victor February 22, 2010 at 4:49 pm

Hello, I’m having a slight problem, I was following your tutorial and i was at the step where you paste the UUID and my computer shut down, so I though it’s probably best to format and start again. I put the USB in, went to format, set it to FAT#@ and hit forma, it still said only 1kb left and the max cap. was 103MB left at the end (this is on a 8gb USB). Now i remember that I encrypted it, so how would i go about formatting it? Im guessing i should use the terminal? How would i do this, im new to Linux.

Reply

kriggins February 22, 2010 at 4:58 pm

@Nasos,

That is an indication that you didn’t get chrooted. Make sure you get chrooted before you install hashalot, lvm2 and do all the script work.

@Victor,

Check out the written tutorial. It has instructions on how to open the encrypted partition if you have to do troubleshooting.

http://www.infosecramblings.com/backtrack/backtrack-4-bootable-usb-thumb-drive-with-full-disk-encryption/

It should get you to where you can finish up.

-Kevin

Reply

Nasos February 23, 2010 at 3:42 pm

Thanks very much kriggins for your reply.
I’ve tried it again and when I reboot, in the splash screen
I have to enter LUKS passphrase twice and then it drops in to shell
with an alert that ” /dev/mapper/vg-root ” does not exist.
Thanks again for your time.
Nasos

Reply

Nasos February 24, 2010 at 3:13 am

I have redone the steps after installation and it works!
Don’t know what I did different from last time though 🙂
Thanks very much
Nasos

Reply

Flow February 27, 2010 at 3:27 pm

Hi guys,

I just followed this nice video, but I have a litle problem.

After mounting the new installation and chrooting it / I do not have any network connections in the console.
I cannot run apt-get install and udpate for the new thumb drive installation.

In another new command line it is working but not in the one I mounted and chrooted the new installation.

I actually do not know what to do in this case?
Could you help me out? / many thanks!

Reply

kriggins February 27, 2010 at 6:23 pm

@Flow,

Sounds like you didn’t get the proc and sys filesystems mounted after you chrooted. Check out the instructions here and see if that helps.

http://www.infosecramblings.com/backtrack/backtrack-4-bootable-usb-thumb-drive-with-full-disk-encryption/

-Kevin

Reply

Flow February 28, 2010 at 7:50 am

Hey Kevin,

thanks for your fast response.
I followed all the instructions in the mentioned article before and mounted proc and sys after chrooting – but I have the same problem.

I will start from scratch today and see if that helps, because I disconnected the network during installation for a short period / maybe this is related.

Best regards,
Florian

Reply

max3d February 28, 2010 at 1:28 pm

problem at the updateing the image: update-initramfs is disabled since running on a live CD ….

solution was found at ubuntu bugs:

mv /usr/sbin/update-initramfs /usr/sbin/update-initramfs.old
ln -s /rofs/usr/sbin/update-initramfs /usr/sbin/update-initramfs

Reply

kriggins February 28, 2010 at 3:08 pm

@max,

Actually the problem here is usually caused because the user did not chroot correctly. That error is fine during much of the install. One just has to make sure to chroot before the final update-initrams.

-kevin

Reply

Flow March 1, 2010 at 4:26 am

Hey,

it worked now for me, I just did it again – maybe it was a problem during installation and disconnecting from the Lan.
So far everything is fine.

Thanks again for your help Kevin!

Reply

bala March 1, 2010 at 4:30 pm

Hey!

10x for the video. Really nice and simple. I just don’t know why the installation takes so loooooong 😐 I think about an hour or more has passed and it has only come up to 42%…
I’m not using it anyway on this pc so i guess i’ll have to wait about another hour or so. Hope everything will work fine because I plan on using it tomorrow(today).
Thank you again! Gonna light a big spliff for you 🙂

Reply

Thx1138 March 2, 2010 at 10:37 pm

Enter LUKS passphrase:
device-mapper: table: 253:0: crypt: Error allocating crypto tfm
Command failed: No key availible with this passphrase

Get this on boot.. this is the 3th or 4th install. I’m not getting there 😐
The password is right, I know that.
I tried veeeery many hours to install please help me.

Reply

Thx1138 March 2, 2010 at 10:40 pm

Are there any password policies?

Reply

kriggins March 3, 2010 at 12:15 am

@thx1138,

The crypto tfm error is almost always due to the crypto modules not getting copied to the initrd image correctly. Double check that you have the /etc/initramfs-tools/modules file updated to include the indicated modules.

As far as password policies go, what exactly are you referring to? Ubuntu uses pam for authentication, so any password complexity, etc. policies that can be configured for pam on any other Linux system should work.

-Kevin

Reply

max3d March 3, 2010 at 12:33 am

quote @ 78% of the install: “We are sorry. The installer crashed”

– I am getting no luck 3rd day in a row.

Reply

Thx1138 March 11, 2010 at 6:34 am

well i followed the instructions exactley… for many times :). I was wondering if i could use the same method to install on hdd with encryption by simply replacing the device name. Is it possible?
As i remember i did have some pb with the update.. i tought i sorted it out. I want to try to install to hdd with encryption asap. Waiting for reply.

Reply

Bobbi July 18, 2016 at 11:05 am

If inrfomation were soccer, this would be a goooooal!

Reply

neattube.com October 27, 2016 at 7:00 pm

Weiter so, Roger!!Das Gedicht über Steinbrück trifft es auf den Punkt.Mein persönlicher Favorit unter den Gedichten ist das zum “Volksparkstadion”, da ich ein großer Fußball-Fan bin.Aber auch dein Roadtrip mit den Kölner Haien ist echt interessant.

Reply

Thx1138 March 11, 2010 at 6:35 am

Ps: i can’t fail since i plan on formating my entire hdd 250gb
If i fail i’ll most probably give up and all my data will be gone 🙁

Reply

N March 12, 2010 at 11:28 pm

Many thanks for this incredibly helpful guide!

N

Reply

easyguy48 March 13, 2010 at 7:56 am

nice tutorial … but if I run install.sh everything is allright, until I want to launch the partition manager. After the loading screen the partition window appears for half a second and shuts down then. Any ideas about that problem?

Reply

Thx1138 March 14, 2010 at 1:54 pm

I have the same problem like easyguy48 now..

Reply

hash420 March 15, 2010 at 6:39 am

Dude!! 10x for the tut! =]

I have did evry thing like u sed and i cant get to that LUK thing
just after i reboot i get busybox and Im stuck – its not going.

now i have to do it all over again.

what have i done wrong?

just incase it happens again…

any how love does sweet commands (have no idea what they mean but…)

tnx again Kevin.

Reply

hash420 March 15, 2010 at 6:55 am

cant even delete with fdisk & start over cause its now encrypted! shit! what do i do ??

help!!

Reply

kriggins March 15, 2010 at 7:16 am

@thx1138,

You can use this guide to install to a hard drive, but the contents of the hard drive will be erased in the process. Make sure you back up everything before you do it.

@N,

Thanks!

@hash420,

For the initial problem, there are some trouble shooting steps at the bottom of the how-to that might help.

http://www.infosecramblings.com/backtrack/backtrack-4-bootable-usb-thumb-drive-with-full-disk-encryption/

Also, you can try executeing the luksOpen command from the busybox prompt.

Finally, even though the partition is encrypted, you can still delete it and start over. You have to delete the logical partition first though.

-Kevin

Reply

hash420 March 15, 2010 at 7:44 am

ok Got it – say on the first hashalot time I do ‘apt-get install hashalot lvm2’ after it installs does it supose to say that it cannot update-initramfs from live cd??

hope it will work…
tnx again and sorry for the many replays.

ill sit peacfuly and wait for an answer… =]

Reply

hash420 March 15, 2010 at 7:46 am

WOW u r Quick!! I realy hope it work! and admire ur commitment (sorry for spelling like shit) and knowlage!!!
awsome m8

im giving it another go….

Reply

kriggins March 15, 2010 at 7:53 am

@hash420,

You got lucky, I just happen to be paying attention 🙂

The cannot update because of live cd message is normal for the first apt-get install. After you chroot, that message will not be displayed. If it is, then the chroot step didn’t get done or didn’t get done correctly.

Hope it works out for you this time.

-Kevin

Reply

hash420 March 15, 2010 at 8:03 am

Chroot – what the hell is that?! =]
(ill give it another go) lucky for u I dont know where u live cause i would be being for u to teach me evry thing u know and u know ALOT!!!

u r the Man!!! u be cerful the GOV wont snatch u lol

Reply

hash420 March 15, 2010 at 10:01 am

when I finely do ‘update-initramfs -u’ it sey its disable since running on a live cd…

what can u do?

should i do what max3d said??
(“mv /usr/sbin/update-initramfs /usr/sbin/update-initramfs.old
ln -s /rofs/usr/sbin/update-initramfs /usr/sbin/update-initramfs”)

cause i did it last time with out much choice and got to the busy box – it didnt move from there…

Please help!
it takes forever to reinstall again…

tnx much Kevin.

Reply

kriggins March 15, 2010 at 10:12 am

@hash420,

As I indicated above and to max3d, it looks like the chroot step is not taking right. Check out the written how-to and go down to where it talks about chrooting. Start from there and you should be okay.

There are also some things you you can try at the end for troubleshooting.

http://www.infosecramblings.com/backtrack/backtrack-4-bootable-usb-thumb-drive-with-full-disk-encryption/

-Kevin

Reply

hash420 March 15, 2010 at 10:15 am

Sorry for beeing dumb.!
u mean from here
“mkdir /mnt/backtrack4
mount /dev/mapper/vg-root /mnt/backtrack4
mount /dev/sdb1 /mnt/backtrack4/boot
chroot /mnt/backtrack4
mount -t proc proc /proc
mount -t sysfs sys /sys”

or before … (or after)

Reply

hash420 March 15, 2010 at 10:19 am

OOOhh OOO i See I seee!! I didnt see the buttom…
ill give it a go! tnx for being so patiant!! (and im not even st1d =-} )

Reply

hash420 March 15, 2010 at 10:33 am

Just if other ppl hed that problem – what i realy needed was the ‘chroot /mnt/backtrack4’ & managed to run the ‘mount -t /dev/pts’ (mount -t pts pts /dev/pts didnt work for me) and then it happened it updated the initramfs…

crossing my fingers and rebooting….

Kevin u r the man!!!

Bill Gates Got cencer!!! =]

Reply

hash420 March 15, 2010 at 10:42 am

BusyBox again…

and when i do the luksOpen i need to change from original sdc5 to sdb5 and then when i put my pass in it ses command failed: No key available with this passphrase

now what !! 3rd time…? help! aaaaaaahhh

Reply

hash420 March 15, 2010 at 10:43 am

cannot acces device!! nurf!

Reply

Rick Flores March 15, 2010 at 2:15 pm

Kevin,

I am in the process of creating some videos for backTrack4. Which screen capture software did you use for this recording? It looks like Camtasia, I know its not recordmydesktop is it?

Thanks for the awesome tutorial.

Reply

kriggins March 15, 2010 at 3:11 pm

@rick,

Yup, Camtasia. I have found nothing else that is as easy to use. I tried Camstudio with some other tools, but Camtasia is just too easy 🙂

-Kevin

Reply

kriggins March 15, 2010 at 3:11 pm

@hack420,

Can you tell me the exact error message and when it happens?

-Kevin

Reply

Daniel March 15, 2010 at 3:46 pm

Everything has gone swimmingly up until the actual installation of BT4. The installation process is failing. The first time around after an hour it crashed to to desktop with the “copying files” progress bar at 30%. I rebooted and did the process again with the same result. The video shows the process as occurring super quick. Both my drives are SD Class 4 running on USB 2.0 ports so I don’t think that’s what causing it to be so slow. The only error that occurs is “connection with the X server reset”.

Reply

Daniel March 15, 2010 at 8:00 pm

On the third try the copying worked although it took four hours(!). When I got to the screen “continue with live CD” and clicked on it, it then promptly crashed to root again with an “unknown error”. Is there any way that I can get back to this step

mkdir /mnt/backtrack4

without starting over…because I’m ready to cry.

Reply

kriggins March 15, 2010 at 8:17 pm

@daniel,

Go to the written how-to and towards the end are some troubleshooting tips. Follow them to the point where you have chrooted and then hop back to the how-to and continue.

Should work fine.

-Kevin

Reply

Rick Flores March 16, 2010 at 2:02 am

Thanks Kevin. Awesome job. Instructions are easy to follow and allow for great customization.

Rick

Reply

Daniel March 16, 2010 at 9:45 am

kriggins

Still not working for me. I followed the directions and I am getting a problem on the last step where it refuses to update initramfs because I am on a live cd. I tried it a second time using the command by commenter EXE (update-initramfs.distrub) but that fails too. When I try and boot the drive I get the error “gave up waiting for root device” and
“cannot find /dev/mapper/vg-root.”

I will note that when I run apt-get to get hashalot the very last line says “update-initramfs disabled due to running from a live cd”.

Any suggestion? I am grateful for your assistance.

Reply

Daniel March 16, 2010 at 9:59 am

I’d like to add that I noticed that the changes I made to the modules file and to the other files in local-top and hooks don’t persist after reboot. It’s as if the commands are rebuilding the files on the live cd.

Reply

kriggins March 16, 2010 at 10:08 am

@daniel,

The only explanantion for the problems you are having that I can think of is that you are still not getting chrooted to the newly installed system correctly.

Double-check that you are mounting the correct partition for your installation and chrooting to it. If you accidentally mount the cdrom partition, you can still successfully chroot, but won’t be able to write to the disk.

Hope this helps.

-kevin

Reply

Daniel March 16, 2010 at 11:01 am

Kevin. You’re correct. I don’t know why because i was paying particular attention to those commands based upon prior comments to your post. The third time through was the charm. It’s working now. I tested it on two different computers.

You might consider updating the written walk though to make note of that fact. If the command update-initiramfs fails it’s because the chroot command didn’t “take” (for lack of a better word). If the chroot command takes you will get the results seen in the video.

Thanks for all your effort in putting this guide together. It has obviously been a real help not only to myself but to the community.

Reply

easyguy48 March 17, 2010 at 9:26 am

hey it’s me again,
I’m glad there is another person with my problem (thx1183). Maybe I should recapulate my problem:
1) I do what you told to do
2) Starting the partition manager, the window appears for half a second and the skript shuts down
I really need your help, because now I’ve got a formatted disk, but can’t install backtrack on it.
Can you help thx1183 an me?

thx for responding
easyguy48

Reply

easyguy48 March 17, 2010 at 3:26 pm

Hey Kevin,
sorry for asking again about my problem with the partition manager. I can add the information, thats an external hdd I’m talking about and that the problem always appeared in the several times I tried.

easyguy48

Reply

kriggins March 18, 2010 at 6:52 am

@easyguy48,

Two things you should make sure you of:

1. The the boot partition is formatted. This is /dev/sd[x]1 partition.
2. That the boot partition is not mounted. It can cause problems if it is.

Other than that, I do not know why this is happening to you.

-Kevin

Reply

easyguy48 March 18, 2010 at 10:10 am

Hey
I’m sure the boot partition is formatted, but how do I controll whether it is mounted?

Reply

arvindh March 22, 2010 at 8:47 am

Hi,..
Im totally new to linux,.. but iam using it from past 1 year.
can any one say whats the exact difference b/w,
1.live version on usb
2.Persistent to USB (With Nessus)
3.Persistent to USB with full disk encryption
4. USB with full disk encryption

Reply

Kasper March 23, 2010 at 10:13 pm

1) Live on USB operates just like a live-CD environment. Meaning that everything works, but none of your changes will remain beyond just that session.

2) Persistent on USB works more like a hard drive install. Changes you make will remain, files you save will stay, that sort of thing. (The ‘with nessus’ part indicates that it installs Nessus as well.)

3) Persistent on USB with Full Disk Encryption is just like #2 except that the partitioning is different to allow all your data to be encrypted, rendering it far more secure should you happen to lose your USB stick.

As for #4, I can only assume that it is either a redundant mention of #3, or it functions similar to a Live CD, but all the data is encrypted. Not sure about that one though sine a live cd environment wouldn’t allow you to save any data that would need encrypting…

Reply

Kasper March 23, 2010 at 10:15 pm

It occurs to me however, that if the partitioning was correct, one could set up a separate partition on the USB stick specifically for data storage…and that partition could be encrypted…which -might- explain #4 as well.

Reply

alan March 28, 2010 at 6:44 am

is it possible to use this tutorial with the “full disk encrytion” to the main Hard Disk??

thanks for responses

al

Reply

kriggins March 28, 2010 at 7:41 am

Sorry I have been MIA for a bit.

@easyguy48,

To make sure the partition isn’t mounted execute the ‘mount’ command and check the list for your target partition. If it is mounted for some reason, execute ‘umount .

@Arvindh,

Kasper did a great job of describing the differences. One thing I will offer is that previous incarnations of the How-to made use of Truecrypt for the encryption part. This changed with the release of Backtrack 4 and the built-in encryption libraries. That is the difference between ‘with encryption’ and ‘full disk encryption’

@Kasper,

Thanks for stepping in and answering arvindh’s question.

@Alan,

Yup, works great to the main hard drive too. Just change the target device to the appropriate drive and go from there.

-Kevin

Reply

Syph0n March 31, 2010 at 5:37 am

Greetings everyon and thanks Kevin for this well done Tutorial !
I was messing up alot with the ‘new’ ideas this one gave me 😛 and as you could have bet
encrypting hdd’s as a non-pro will effekt some troubles 😉
Actualy i just have this single Question: Does this Tutorial will work for a Hard Drive install too or do i have to change some lines instead of others(seriously sdb will turn to hda/sda)?

ps: I’m not totaly new to Linux Operating Systems and im Pentesting since Whoppix/Whax/PHLAK came out.

Reply

Kelvin April 6, 2010 at 5:37 am

Hi, first, thank for your tutorial. I follow every single bit of your tutorial until it said ‘cannot access device’. Please can anyone tell me what to do? The following is what it appear on the konsole when I try to install it on my 16gb usb.

root@bt:~# clear
root@bt:~# cryptsetup -y –cipher aes-xts-plain –key-size 512 luksFormat /dev/sdc5

WARNING!
========
This will overwrite data on /dev/sdc5 irrevocably.

Are you sure? (Type uppercase yes): YES
Command failed: Can not access device
root@bt:~#

Reply

lee April 7, 2010 at 1:06 pm

hi…can i ask?
how do i connect bt4 to wireless network????i have tried to connect but cannot to connect to wireless network…thanks.

Reply

kriggins April 8, 2010 at 10:21 am

@syphon,

Yup, works for hard drives equally well. Just replace the target device name with the device name of your hard drive.

@kelvin,

It appears to me that there is a strong likelihood that you are trying to partition the device you are booting off of. The target device needs to be different than the device you are booting from.

@lee,

Check out the forums at http://backtrack-linux.org for advice on wireless.

-Kevin

Reply

chris December 31, 2010 at 9:22 pm

“The target device needs to be different than the device you are booting from.” wish i had known that 🙁 now i cant boot it back up on my usb waht should i do?

Reply

Syph0n April 13, 2010 at 7:27 am

Yes indeed Kev~ i didn’t reposted my success SORRY ofcourse I only had to change the device name and it’s working pretty well propably, hehe im actualy working with it without having any issues. I also got some partitions left i didn’t encrypted for the easy use of MS windump7 (im almost expacting to format win7 so i dont need to encrypt it) and to got a place to share data (those who can be shared).

Thanks for your time Kev~ and may the Source be with you !

@All Newcomers and Drive by Readers (^_^)*
Please use the Forum Serch Engine and also check out the old back|track forum,
if you got some troubles/issues wich ones do not depends to this Thread/Turotial! ! !
I admit that we got the most of your problems already fixed and solved. (common bug is ‘you just misstyped’)

Reply

Richard April 15, 2010 at 12:46 pm

Hello
I’m having a bit of trouble at the stage when i’m editing the pvcrypt file to add the UUID. I’m completely new to linux and have no idea how to paste in the file. The only hint is in the video when it changes from UUID to UUI$, but when I try and paste in it deletes half of the file. help please!!

Reply

Thomas April 15, 2010 at 9:24 pm

I have a question about replacing the UUID with the UUID numbers. i see you got the UUI$ in the video. hod did you get that. also how do you exit out of the script
Thanks

Reply

kriggins April 16, 2010 at 6:55 am

@Richard and Thomas,

The editor I use is vi. After copying the UUID into the clipboard by highlighting it with the mouse and use the right-click/copy function. You vi the file, use the cursor keys to get to the first character of UUID and type ‘cw’ without the quotes. This stands for change word. Then right-click/paste. Then type ‘:wq’ without the quotes and hit enter and the file will be written to disk.

-Kevin

Reply

TotalNoob April 20, 2010 at 5:01 pm

Where on earth did you get the install.sh script…
I’m booting from a VMWare image of Backtrack 4 Final and was able to do every step just fine until you said to click the install.sh icon on the desktop. There is no such icon. Am I skipping a step completely? I feel like an idiot lol.

Reply

heero April 23, 2010 at 3:11 pm

Can I install bt4 on usb 4 gb ?

Reply

kriggins April 23, 2010 at 3:23 pm

If you use the persistence mode. Go to the backtrack page above or use the pages list at the left to get to the how-to on Backtrack 4 and USB/Persistence.

Reply

mike April 26, 2010 at 12:48 pm

Hi, first of all thank you for your good tuto.

I did almost successfully.. yeah i’ve got an error a the end of the tuto. When typing, “fix-splash” in this directory: “/etc/initramfs-tools/scripts/local-top” i’ve got this error:
[quote]
[*] Fixing Initrd
[*] Extracting Initrd
24464 blocks
[b]cpio: File ./initrd grew, 12816384 new bytes not copied[/b]
50546 blocks
[*] Reboot and bask in the joys of BootSplash [/quote]

Please do you know what is this due to ? And how to fix it ?

P.S: sorry… but i’m french and my english is not very good.

Reply

kriggins April 28, 2010 at 6:21 am

@mike,

I haven’t recieved this error before, but I say that the fix-splash command is only included for cosmetic reasons. If it continues to give you problems, simply omit it. Providing everything else went well, the device will boot correctly. You just won’t get the fancy boot splash screen.

-Kevin

Reply

mt01 May 3, 2010 at 6:16 pm

I’m having a bit of a problem with the live CD i have, I cannot get any mode to display in a graphical UI, not on my wifes machine or my own.. my video card is not particularly rare either its an ASUS ATI RAEON HD 5770.. any idea if backtrack doesnt support this card or do i have to do something special to get the video support. My machine is using HDMI to an LCD tv, and my wifes machine is legacy hardware so she’s using standard analog. No video card in her machine to speak of. I can load Linux mint, and puppy linux from their respective live CD’s graphically with no problem. Mint is a debian format, and i thought i read some place that backtrack is also debian based. any input would be appreciated 🙂

Reply

kriggins May 5, 2010 at 12:58 pm

@mt01,

I have not had any experience with video not working with Backtrack. Have you tried the Backtrack-linux.org forums? They may be able to help you.

@Mala,

Did you follow the troubleshooting steps exactly at the end of the how-to? This seems like maybe the encrypted volume didn’t get opened correctly.

Kevin

Reply

Dexxra May 17, 2010 at 9:07 am

Great written and visual tutorials! Thanks a lot once again, Kriggins!

Reply

Luks June 9, 2010 at 5:07 am

I have usb 32GB ,when i follow you tutorial ,error occurre when i install back track on usb.It sasy not enough disk space.
In line:
lvcreate -n root -L 7.3G vg i enterd 5G is that the problem or?

Reply

Luks June 9, 2010 at 8:25 am

how to edit on 9:55 ( how to paste delete )

Reply

Luks June 9, 2010 at 8:38 am

?

Reply

Luks June 9, 2010 at 8:48 am

i fail a few time at 9:54 (vi pvcrypt) how to edit help plz

Reply

kriggins June 9, 2010 at 9:00 am

@Luks,

Yes, you need more space. Use the rest of the drive or a minimum of 7.5 GB.

I used right click copy on the vol_id output and then when you have the cursor at the beginning of UUID type ‘cw’ without the quotes. That stands for ‘change word’ in vi. Then right click and paste.

-Kevin

Reply

serano June 9, 2010 at 9:20 am

hello,

Does applying this lesson will remove Windows and all data, hard disk partitions.
Or be resize and repartition my drive to allow a BackTrack install alongside my Windows.

Thank you.

Reply

kriggins June 9, 2010 at 9:56 am

@serano,

Be very careful if you use the how-to to install to an existing hard drive. If you do not have experience with creating dual-boot systems, I would double check every step. DO NOT DELETE EXISTING PARTITIONS ON YOU HARD DRIVE.

Kevin

Reply

luks June 9, 2010 at 2:30 pm

how to edit at 10:28
vi modules
i am doing this for 7 time i dont want to screw

Reply

kriggins June 9, 2010 at 3:01 pm

@luks,

Here is a tutorial on vi: http://www.washington.edu/computing/unix/vi.html

Kevin

Reply

Luks June 9, 2010 at 3:46 pm

Thx for your help:

but for final result i get this when bt4 boot:

Loading, please wait…..
sd 6:0:0:0: [sda] Assuming drive cache: write trough
sd 6:0:0:0: [sda] Assuming drive cache: write trough
Usage: cryptsetup [ alot of text]
/sbin/cryptsetup: luksOpen: requires as arguments
Gave up waiting for root devic. Common problems:
-Boots args ˙(cat/proc/cmdline)
Alert! /dev/mapper/vg-root does not exist.Droping to shell!
BusyBox v1.10.2 (Ubuntu 1:1….)

(initramfs)

Plz help Kevin

Reply

kriggins June 10, 2010 at 7:37 am

@Luks,

This is usually and indicated that the build process didn’t complete correctly when making updating the initrd image. Check out the written how-to for the exact instructions and there is a troubleshooting section at the bottom that might keep you from having to start over.

http://www.infosecramblings.com/backtrack/backtrack-4-bootable-usb-thumb-drive-with-full-disk-encryption/

-Kevin

Reply

Mark Stelios June 13, 2010 at 12:19 pm

I get to the last step in partitioning the drive and I enter the w command and I get this error
Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.

Will this sort itself out on a reboot?
Also my default sizes are different from yours, does this matter? I am using an 8gig stick.
Selected partition 1
First cylinder (1-1020, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-1020, default 1020): +100

irst cylinder (101-1020, default 101):
Using default value 101
Last cylinder, +cylinders or +size{K,M,G} (101-1020, default 1020):
Using default value 1020
Any help much appreciated.

Reply

kriggins June 13, 2010 at 1:11 pm

@Mark,

This is not uncommon. Just reboot and pick up after the partitioning step. I would expect track/cylinder counts to be different. I was using a virtual machine for my examples. One comment though. You forgot to add the M on the the size definition of the first partition. We only want it to be 100MB.

-Kevin

Reply

Mark June 13, 2010 at 1:37 pm

Thanks Kevin.
Yeah it returned an error untill I realized I had forgot the M.
I will see how I go now after a reboot.
I must say that it is often to see a well presented and user friendly tutorial like this one. To have the author still taking the time out to answer questions from noobs months later is not.
Thank you mate.

Reply

Mark June 13, 2010 at 1:55 pm

I picked up where I left off after the reboot but when I try to do the encryption it can’t access the drive?
Are you sure? (Type uppercase yes): YES
Command failed: Can not access device
root@bt:~# ?
Thanks.

Reply

kriggins June 13, 2010 at 2:32 pm

@mark,

Double check and make sure that the drive did not get mounted. That can cause this type
of error. Also check to make sure the partitioning did get written.

Kevin

Reply

kriggins June 13, 2010 at 1:55 pm

@mark,

Thank you for your kind words.

-Kevin

Reply

Luks June 15, 2010 at 2:06 pm

Hi kriggins

Thx for your help,i finally get working usb with partition crypt.
Can you give me a link or a suggestion,when i put usb on windows pc it recognized only 100Mb ext3 partiton from linux i didnt format or similar (usb is 32Gb) how to create partiton that windows recognized ?

Reply

kriggins June 16, 2010 at 8:35 am

@luks,

Glad you got it working. Do a google search for dual booting ubuntu and windows. That should get you started down the right path.

Kevin

Reply

Chris June 19, 2010 at 11:29 am

hey i hace a ? how i make a dual boot for windows and backtrak 4

and wen i want to conect to a wifi conecction they dosent read the the wiriless adapter

can u help mi
???

Reply

Stealth June 24, 2010 at 6:33 am

Kevin:

I am having trouble with the pvcreate /dev/mapper/pvcrypt command. I keep getting the error “Device /dev/mapper/pvcrypt not found.

I have been researching the Internet and the control file located in the /dev/mapper appears to be some kind of device file. However, I do not know how it works and I am researching trying to get a clue as to why it no longer works. Before I crashed the disk, and had to start all over, I had gotten all the way to the end of the install and the pvcreate command worked just find. As well as all the vg commands.

What do you suggest? What could possibly make the command no longer work? The bt4 installation is no a cd-r disk and should not be corrupted upon reboot. Therefore all files should be accurate and working as they were on the first install. The USB seems to be working find when I use it on the windows machine, I have once again reached the point of successfully entering the luks passphrase and attempting to create the volume groups but I am having no success with the “pvcreate” command.

Reply

Stealth June 24, 2010 at 6:52 am

Kevin:

I am having trouble with the pvcreate command not working. I get the error “Device /dev/mapper/pvcrypt not found (or ignored by filtering)”

I have been researching the Internet and the control file located in the /dev/mapper appears to be some kind of device file. However, I do not know how it works and I am researching trying to get a clue as to why it no longer works. Before I crashed the disk, and had to start all over, I had gotten all the way to the end and the pvcreate command worked just find. As well as all the vg commands.

What do you suggest? What could possibly make the command no longer work? The bt4 installation is no a cd-r disk and should not be corrupted upon reboot. Therefore all files should be accurate and working as they were on the first install. The USB seems to be working find when I use it on the windows machine, I have once again reached the point of successfully entering the luks passphrase and attempting to create the volume groups.

Reply

Rej June 25, 2010 at 11:07 pm

Try using Virtual box instead of having dual boot. It runs well.

You can install BT4 in Virtual Box. Got lots of tutorial in YT. 😉

Reply

BGS June 27, 2010 at 5:53 am

Hey Kriggins i am kinda stuck here i did everithing as you made on tutorial infact i copy and pasted the commands and when i press install and it starts to format it gets stuck at 5 percent when it is formating the file system to ext3.

Reply

lgrnerea June 29, 2010 at 9:32 pm

fabuloso tutorial el cual he conseguido terminar con la inestimable ayuda de fataku que cual me encauzó a la hora de realizar modificaciones en el script (vi pvcrypt) al tener que sustituir el UUID por el codigo de mi laptop, sustituyendo este último comando por “nano pvcrypt” en el cual es igual que si manipularas un block de notas el borrar, escribir,guardar y salir del script.
Tambien encontré diferencias entre este videotutorial y el pdftutorial, los dos usb persistente cifrado completo en el apartado apt-get update, apt-get install ò apt-get update y apt-get install hashalot lvm2, solución personal (meter los tres, el que coincide y los otros dos) xDD.
Y nada mas, todo muy bien detallado tanto en el video como en el pdf, por lo que doy mi agradecimiento al creador así como a la comunidad y como no a fataku.
Un saludo

Reply

imslppb July 2, 2010 at 8:20 pm

Can someone explain this please?
(root@bt:~# lvcreate -n root -L 7.3G vg
Insufficient free extents (1765) in volume group vg: 1920 required)
Thanks.

Reply

Jazz July 3, 2010 at 10:06 am

You dont have enough space on your drive. Use, for example, lvcreate -n root -L 6.5G vg

Reply

Shootme July 11, 2010 at 7:33 am

Ok, I made it all the way to the end but now I am stuck.

I have no idea how you managed to edit the pvcrypt using “root@bt:/etc/initramfs-tools/scripts/local-top# vi pvcrypt” command to edit the UUID. It’s like I can’t edit anything like normal. Or how you managed to get the :wx to save. It seems like I can’t type anything in. The only way I manage to get out of that screen is by pressing CTRL+Z twice and then it tells me that my instance crashed and that I have a recovery file somewhere.

Maybe it’s my lack of expertise in linux based command prompting. I’m also having a hard time figuring out where to find a link online to help me out on this matter.

Reply

kriggins July 11, 2010 at 7:44 am

@chris,

There are several how-tos on dual booting Ubuntu and Windows on the internet. A Google search will turn up what you are looking for. The Backtrack forums are a better spot for your wireless questions.

@shootme,

Not sure what you mean about the vi pvcrypt command and it is :wq to get out of vi. Anyway, have you checked out the full tutorial here: http://www.infosecramblings.com/backtrack/backtrack-4-bootable-usb-thumb-drive-with-full-disk-encryption/

-Kevin

Reply

Stealth July 13, 2010 at 2:04 pm

Kevin:

Have you found any reason the above problems occurred installing bt4.

In reference to encrypting Backtrack 4 on a USB stick using the hashalot and lvm2 encryption files, I have previously installed BT4 to a 16 GB USB, and encrypted the stick using apt-get hashalot and apt-get install lvm2 commands and had no problems.

On this new install I forgot to include the UUID and of course when I rebooted the file did USB did not work. I then reformatted the disk and started all over again, but when I got to the point where I was creating the logical volumes the “pvcreate” command would not work.

Here is what happened:

I issued pvcreate /dev/mapper/pvcrypt command and kept getting error “Device /dev/mapper/pvcrypt not found.

I have been researching the Internet and the control file located in the /dev/mapper appears to be some kind of device file. However, I do not know how it works and I am researching trying to get a clue as to why it no longer works. Before I crashed the disk, and had to start all over, I had gotten all the way to the end of the install and the pvcreate command worked just find. As well as all the vg commands.

What do you suggest? What could possibly make the command no longer work? The bt4 installation is on a cd-r disk and should not be corrupted upon reboot. Therefore all files should be accurate and working as they were on the first install. The USB seems to be working find when I use it on the windows machine, I have reached the point of successfully entering the luks passphrase and attempting to create the volume groups but I am having no success with the “pvcreate” command.

Here is an instance where it would definitely be helpful to have the hashalot and lvm2 files to install from the ISO. I would then be able to isolate the problem as to whether it was a faulty file downloaded using apt-get update/install command , or some other issue. As of now, I have to assume the files I downloaded using apt-get were faulty. However, I have tried over and over again and having the same problem, I figure if they were faulty others would be having the same problem. I have not tried again yet, I was hoping to find the files or some time of modules for hashalot and lvm2.

Apparently the only way to get and install the files is through apt-get which sucks. Suppose you are somewhere and can’t get to the Internet but need to do an install. They should be included in the next distribution as they are critical files to doing encryption.

Has anyone else had this problem??

Reply

j0kerm4n December 31, 2010 at 3:26 am

I am sure you have overcome this problem, but for all those who might run into this problem and read the comments here, this can be solved by making sure to ‘open’ the encrypted volume FIRST.

$ cryptsetup luksOpen /dev/ pvcrypt

Reply

kriggins July 13, 2010 at 8:14 pm

@stealth,

First I apologize for the delay in getting a response to you.

Nobody else has mentioned this issue. I was just able to complete a full install without any problems. I am not sure why it is giving you fits.

I understand that it would be nice to have the hashalot and lvm2 packages includes, but that is a decision for the Backtrack folks.

-Kevin

Reply

Bryan July 16, 2010 at 12:13 am

Everything worked fine up to the very last line.

“update-initramfs is disabled since running on a live CD”

what should I do?

Reply

kriggins July 16, 2010 at 6:25 am

@bryan,

It looks like you missed the chroot command either didn’t take or you missed it. It is about half-way through the how-to. You might be able to recover using the troubleshooting steps at the end of the how-to.

-Kevin

Reply

Bryan July 16, 2010 at 5:10 pm

After redoing the entire process, I crossed my fingers, rebooted, and came to a screen which displayed the following:

Gave up waiting for the root device. Common problems:
– Boot args (cat /proc/cmdline)
– Check rootdelay= (did the system wait long enough?)
– Check root= (dd the system wait for the right device?)
– Missing modules (cat /proc/modules; ls /dev)
Alert! /dev/mapper/vg-root does not exist. Dropping to a shell!

I did follow the directions exactly in the pdf version of this tutorial. Thanks in advance for the help

Bryan

Reply

Darren July 18, 2010 at 11:43 am

Awesome Vid, this worked perfect for me, thanks. I just wanted to make a small comment on the networking start / apt-get steps…

As I am using wireless and manual configuration instead of a RJ45/DHCP connection and needed to input the Static IP, Gateway etc myself. I had to take a few additional steps..

If you have booted from a Live DVD (backtrack4) and tried to configure your wireless connection using Wicd (KMenu->Internet->Wicd Network Manager) and this does not open or load up for you (basically does nothing) Then you need to load the module first. Open “Konsole” and then run “modprobe ath_pci”, then try again to open Wicd and it should now open.

To enter your connection details, next to your Wifi ESSID you should see a small arrow. Click this arrow to enter your static ip, subnet, gateway and dns , then click connect.

You can use firefox to check that you are connected. apt-get should now work 🙂

Reply

sam July 19, 2010 at 2:49 pm

I have spent along time trying to get the instructions to work. The frist prolbem was the installer froze at 94% while installing grup so I did so manually. Then I ran in to a problem with the internet not working after I used chroot. After a long time i found that I could fix it by running cp -L /etc/resolv.conf /mnt/etc/resolv.conf before chroot. Now I am getting a smiler problem as Bryan. I am getting

Gave up waiting for the root device. Common problems:
– Boot args (cat /proc/cmdline)
– Check rootdelay= (did the system wait long enough?)
– Check root= (dd the system wait for the right device?)
– Missing modules (cat /proc/modules; ls /dev)
Alert! /dev/disk/by-uuid/XXXXXXXXXXXXXXXXXXXXXXXXXX does not exist. Dropping to a shell!

the X’s represent my uuid

also the problem is coming up after It asks me and I entered the correct password. rebooting dose nothing to fix it

also I am installing bt4 on (hd0,5) with (hd0,0)being windows and (hd0,2) being /boot

Reply

paul July 19, 2010 at 7:59 pm

hi there kevin,
first of hats off thanks for this tuts, this is one among many of the excellent tuts i have seen.
i have a simple question. well, i did this ages ago with ferago, with not lvm2, it was a simple, ext3 /dev/mapper/uuid-root and ext2 /boot and no swap, reason, this is a USB disk and it has a limited write cycle, reads its okay, but write is limited. so is it a must? that i need to create a swap, well i am getting the debs for debian sid/experimental and using the bt debs to make my own things. you know, YMMV, so what i am saying is may be we can skip the swap part, swap can kill the pen drive with excess write cycles which is limited IIRC i.e. limited 10 million cycles of write. then again. you did this tuts and i am referreing and customising it, so i cant ask much, but may be we can skip the swap, swap is a killer for pen drives, if its a proper hdd or a ssd then no issue.
oh yeah before i go? a 5* for this tuts. and i am 50% done with the deb sid/experimental, i need to change a few steps here and there, especially aes with twofish, and rsync the existing setup to the pen drive. thanks mate. cheers.
-paul

Reply

kriggins July 19, 2010 at 8:50 pm

@bryan,

This is usually a symptom that lvm2 didn’t get copied into the initrd image correctly. Try the troubleshooting steps in the how-to and see if you can get to the point where you are chrooted again and things are working. If you can, then double check the initramfs stuff and re-run update-initramfs -u.

@Darren,

Thanks for the tips about wireless. Good stuff.

@Sam,

It seems that there is possible by a typo in the UUID. Try using just the device name to make sure that is the issue. As mentioned about, use the troubleshooting steps in the how-to to check this.

@Paul,

You are correct about the write cycle on pen drives. I need to update the how-to to at least mention this. Another thing you can do to save write cycles is to mount the root filesystem as ext2. This disable journalling which also uses extra write cycles. Granted you open yourself up to the risks of not having a journaling filesystem.

Now that I think about it, we might even see a performance gain as the system quits messing around with swap as long as the system has enough memory. Will need to test that.

Thank you for the kind words.

-Kevin

Reply

confused... July 26, 2010 at 6:47 pm

First off, thanks a lot for the tutorial. It’s been a huge help! But, there’s one thing I’m confused on. I think it’s the same thing that “shootme” was talking about. When editing the UUID in the second scrypt in the vi, I’m having troubles navigating it and getting it to do what I want. When I try and paste it in it pastes in between the text that’s already there when I want it to replace the text there. Then when I try to edit it, like delete the extra characters or type in a few characters, the output on the screen doesn’t line up with the keys I’m pressing, ex: I press the “Up” key and it says “A” and lots of other things like that. I assume it’s my lack of experience with linux and scripting in general, but any help would be greatly appreciated. Thanks again!

Reply

kriggins July 27, 2010 at 6:38 am

@confused,

In vi, with the cursor over the first U, type ‘cw’ without the quotes. That stands for change word, then type/paste in the UUID.

Navigation is via the and h,j,k,l keys. It doesn’t matter what editor you use, so if you are more comfortable with another, use it.

-Kevin

-Kevin

Reply

no_longer_confused July 27, 2010 at 6:26 pm

Thanks a lot for the quick vi lesson. I just finished everything and it’s all working greatly. Thanks again for the awesome tutorial and for the help!

Reply

Dan July 30, 2010 at 9:44 am

Hi,
Does anyone know what could be wrong with my Backtrack 4 live-dvd.It seems to work okay after I log in using the startx command,but when I try to log out the cd-tray won’t eject. After writing the halt command I am being asked to remove the dvd from the cd-tray and hit enter,but the cd-tray doesn’t automatically eject as it always does when I use Backtrack 3.I have also tried the commands eject and shutdown.One google-search-result indicate a script in Backtrack 4 should be modified,but it’s strange that cd’s work well in backtrack 3 version and not in the fourth version.
-Dan

Reply

Lee August 1, 2010 at 9:50 am

The installer needs to commit changes to partition tables, but cannot do so because partitions on the following mount points could not be unmounted:

/

Please close any applications using these mount points.

Would you like the installer to try to unmount these partitions again?

Reply

Lee August 1, 2010 at 10:24 am

I have bt4 installed on my laptop. Followed the video everything went ok up until the previous posted point, when trying to install. If anyone knows a solution to this problem it would be appreciated.

Reply

kriggins August 24, 2010 at 8:59 pm

@lee,

I haven’t run into this problem. Sorry I don’t have any suggestions for you.

Kevin

Reply

step5 September 6, 2010 at 10:23 am

Hi, i have this problem, too.

And i guess i know why… the (virtual)harddisk (in my case it is “hda”) shows up in the patitioner with its swap and the installer wants to format it but it is not possible because it is mounted…
there is no chance to tell the installer not to format the internal swap becuase you can’t check or uncheck it…

Scroll down in the “Ready to install” screen. In my case there is this:

The following partitions are going to be formatted:
partition #5 of IDE1 master (hda) as swap <<–this causes the error
LVM VG vg, LV root as ext3
LVG VG vg, LV swap as swap
partition #1 of SCSI3 (0,0,0) (sda) as ext3

If anyone knows how to supress formatting of the hda swap please help ;-(
kthxbye

Reply

step5 September 7, 2010 at 1:10 am

Forgot to mention that i use virtualbox with the vmware image of backtrack.
So the partitioner inside the installer shows the “virtual harddisk” besides the usb device and the encrypted partitions. And the partitioner wants to format the internal swap… no way to suppress this.
I hope you can understand what i mean…

Reply

azorius October 12, 2010 at 10:47 am

I had the same problem, my solution was to convert my /dev/sda5 from swap to ext2… then my plan was to changed it back to swap after the instalation… however I crashed with the following error message:

Traceback (most recent call last):
File “/usr/lib/ubiquity/bin/ubiquity”, line 229, in
main()
File “/usr/lib/ubiquity/bin/ubiquity”, line 224, in main
install(args[0])
File “/usr/lib/ubiquity/bin/ubiquity”, line 68, in install
ret = wizard.run()
File “/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py”, line 437, in run
self.progress_loop()
File “/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py”, line 831, in progress_loop
(ret, realtb))
RuntimeError: Install failed with exit code 1
Traceback (most recent call last):
File “/usr/share/ubiquity/install.py”, line 2112, in
install.run()
File “/usr/share/ubiquity/install.py”, line 368, in run
self.configure_locales()
File “/usr/share/ubiquity/install.py”, line 1041, in configure_locales
raise InstallStepError(“LanguageApply failed with code %d” % ret)
InstallStepError: LanguageApply failed with code 1

so now I am realy clueless how to progress from here

Tom October 14, 2010 at 2:01 am

swapoff /dev/hda2 helped me. I swapon after installation.

Reply

Yuhanas August 10, 2010 at 2:53 am

Can someone gimme a hint/direct me on how to use this on my local service provider – Malaysia, such as TMnet, P-1, or etc.

Reply

Pwnahz August 23, 2010 at 11:04 am

Hello there!
Hmm… I watched this tutorial and i though it was great, but as I’m new to BackTrack and Linux in genral, what’s exactly the point of doing this? This is for people who have installed BackTrack on a USB driv, somehow 😛 But what does this do?
I’d be glad if you replied to my comment. 🙂

-Pwnahz

Reply

kriggins August 24, 2010 at 8:58 pm

@pwnahz,

It provides the user with a very portable encrypted penetration platform. This can be very useful for penetration testers.

Kevin

Reply

Sam September 1, 2010 at 9:10 pm

Good tutorial’s bro
.

Reply

Abhi September 16, 2010 at 2:34 am

Hey kriggins!
Can U give, all the step in text written, So that I can print the step.
IT will helpful.
Thanx in advance

Reply

madman587587 September 16, 2010 at 10:43 am

Thanks, great video… just because you mentioned the clock, i kept looking at it 😛

Reply

buffer overflow October 22, 2010 at 5:15 pm

Why the mouse cursor not responding after booting Backtrack 4 R1 from DVD disk? I have tried Backtrack 4 and it works. Where did I go wrong? Thanks

Reply

jb December 27, 2010 at 12:27 am

hi
at 10:18
on vi modules
you go down to add aes…
when i go down my cursor stay on vesafb no way to go down to type aes…
i tried ctrl insert … not working

Reply

el che December 29, 2010 at 6:38 am

tienes un video explicado en español

Reply

Feyd January 9, 2011 at 12:00 pm

Hi,

I have been trying to follow the tutorial (that it is great) but when the install.sh script gets to the partitioning step (5:05) always close. Fore less than a second I can see a orange bar… but then the windows close.

I’m trying to install it in a USB hard drive from a VirtualBox machine. I have removed the hard disk of the VM and runs only from the ISO.

Any idea why this could be happening?

Thanks in advance.

Reply

Ironwil January 19, 2011 at 10:14 am

I’m a bit confused over a few things in the tutorial. First, I’m wondering how filling the encrypted partition with random data will hide where the data is written in the device. Also, in the following from the tutorial:

pvcreate /dev/mapper/pvcrypt
Physical “volume /dev/mapper/pvcrypt” successfully created
vgcreate vg /dev/mapper/pvcrypt
Volume group “vg” successfully created
lvcreate -n root -l 100%FREE vg
Logical volume “root” created.

mkfs.ext3 /dev/mapper/vg-root

Where did “vg-root” come from? The volume group “vg” was created and the logical volume “root”. Is “vg-root” the syntax for referring to the volume “root” as a member of volume group “vg”?

Lastly, what is the functional difference between the “easy way” and the “slightly harder way”? The latter is fairly involved compared to the former, so I’m wondering if some extra benefit is obtained from it.

Reply

jonathan January 25, 2011 at 10:00 am

first of all. i used “install backtrack live to usb with unetbootin. everything works upto the point where i have to scan the area and it doesnt find any. nada. but its only this program because i have one for wep and it works great im able to go into monitoring mode with both and its only this program that im not able to find anything.

plus, i noticed this is like your desktop….maybe im asking dumb questions. but ya i am kinda new with this. but.. if i install the one with ‘backtrack dual boot installation” is that going to get me where you are on the screen?

anyways, thanks for your help and great work guys:)

Reply

Nicolas February 23, 2011 at 4:31 pm

i created the boot partition with fdisk and then I activated it, but when i install BT4 with install.sh and go to manual installation the boot partition is nowhere to be found, plz help

Thanks in advance

Reply

jairus m. April 15, 2011 at 10:36 am

why can’t i go to root@bt:,,after i boot bt4 r2,the initramfs is root

Reply

psyck April 19, 2011 at 10:48 am

Great job/great vid – thx a lot
i’ll try it next weekend.
hope it ends with a working system and no mess 😀

Reply

corbro April 19, 2011 at 10:32 pm

on the cryptsetup -y –cipher aes-xts-plain –key-size 512 luksFormat /dev/sdb5
command, it keep telling me : command failed: cannot access the device, any suggestions?

Reply

dalamarek April 22, 2011 at 3:13 am

Hi i tried to follow your guide few times, and all the time the same problem.(bt4r2 – maybe thats a problem)

cryptsetup luksOpen /dev/sdb5 pvcrypt
Enter LUKS passphrase:
Command failed: No key available with this passphrase.

I tried booting from CD, VMware. I noticed when i install hashalot and lvm2 the lvm2 writes:
Processing triggers for initramfs-tools …
update-initramfs: Generating /boot/initrd.img-2.6.35.8
W: Possible missing firmware /lib/firmware/2.6.35.8/e100/d102e_ucode.bin for module e100
W: Possible missing firmware /lib/firmware/2.6.35.8/e100/d101s_ucode.bin for module e100
W: Possible missing firmware /lib/firmware/2.6.35.8/e100/d101m_ucode.bin for module e100
but i assume that lvm2 is not the problem of my luksOpen.

I checked the steps you mentioned in 59 comment from this site:
http://www.infosecramblings.com/backtrack/backtrack-4-bootable-usb-thumb-drive-with-full-disk-encryption/
and i cannot find aes_i586 and xts in /tmp/foo/conf/modules file.
I found lvm but lvm2 is in different dir, there is no pre-mount dir.
The pvcrypt is not there too, i couldn’t find it.

So i have no clue how to pass through this guide in bt4r2, i will try this on bt4

Reply

dalamarek April 22, 2011 at 4:02 am

same thing on bt4 final, so where is the problem?

Reply

Chris May 13, 2011 at 5:38 pm

Thanks for posting this video. It’s a big help.

Reply

David Smith May 19, 2011 at 11:53 pm

hello
i am very happy to c your video. it’s a best site i even seen.

Reply

Nouveau August 26, 2011 at 2:29 pm

Why is full disc encryption a good thing?

Reply

ian October 6, 2011 at 1:17 pm

Dear Kevin,

I am using Linux Mint. Can I install in that. I am new with Linux, I will go through all your notes and guides.. Please help me..

Thanks
Ian

Reply

Mokapi November 19, 2011 at 5:12 am

Hi, I am using BT5 R1 on the DVD, I followed all your steps until where i tried to rsync and that is where I got stuck with the message “there no files to copy …., cannot find the source file” where did i go wrong.

Can I do the same steps in windows 7?

Thanks
Mokapi

Reply

hfv December 6, 2011 at 1:19 pm

thx, nice tut! – there is a typo in your twitter link, cheers

Reply

Satish January 24, 2012 at 4:11 am

Hello,

The “boot” partition is not encrypted. So it is not a “full” hard disk encryption.

Is there any boor loader exist, which can read and execute kernel and initramfs from the “encrypted” partition ?

Reply

kriggins January 24, 2012 at 3:33 pm

The first part of the how-to clearly states that the boot partition is un-encrypted.

Reply

zaheer February 11, 2012 at 2:52 am

how can install back track idon.t khow install back track please send me back track softwer

Reply

Chris March 12, 2012 at 8:25 pm

hello Kevin,
thx for this video Tut.
I have the same Problem as Whiskey.
If i start my BT USB System than boot the first Step, before come the “Luks Passphrase” with a Command promt Screen with ne nice BackTrack Background Theme.
Then switch the Screen automatic to a totaly Command Promt Screen and i can see, the
Entry for the “Luks Passphrase” .
I write my Crypt Pass in the Entry and from then boot only the totaly Command Promt up to the login.

But in your Video Tut is the completly Command Promt up to Login with the nice Background from BackTrack.

I have after my Install also write the Line “fix-splash” as root and a reebot
But I still have no Complete Color/Pictures Background with all Boot Lines

Why damn ?? 😉

I have the Version of BackTrack (R2 )

Best Regards

Reply

Chris March 13, 2012 at 1:21 pm

BackTrack 5!! R2 😉

Reply

hakam baba April 7, 2012 at 4:36 am

i recently download backtrack 5r2 but i am unable to install its just show BT5R2-KDE-64.iso when i click its ask chose the option to open what can i do please tell me
i am new

Reply

THE WATCHER September 18, 2012 at 8:31 am

newb here,but do you have to have this installed on hard disk before you can set it up for usb?I tried using the usb tutorial and it seems like I have to already have it installed so it can find a file.

Reply

Ilan November 12, 2012 at 12:29 pm

Hey,

I tried many times to install it, but every time I get
Device /dev/sdb5 doesn’t exist or access denied!
Tried to umount it, doesnt work, any idea???

Reply

Peter November 26, 2012 at 8:44 am

I’m having the exact same issue, by any chance someone found a solution to this yet?

Reply

MUHON December 21, 2012 at 10:07 am

I NEED SOMEBODY HELP PLEASE HOW TO USE DVD WORD LIST ON BACKTRACK 5R3. BECAUSE WHEN I USE WORD LIST DVD ON BACKTRACK NO OPEN DVD TOOLS CAN YOU HELP ANY ONE HOW TO INSTALL VMWARE TOOLS AND COMMAND PLEASE PLEASE HELP

Reply

zeroallies September 27, 2013 at 4:50 am

anyone know the song?

Reply

adam September 16, 2016 at 9:54 pm

whats the name of this song and who did it?

Reply

Leave a Comment

{ 5 trackbacks }