Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@bt:~# fdisk -l
- Disk /dev/sda: 100.0 GB, 100030242816 bytes
- 255 heads, 63 sectors/track, 12161 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x0004d1bd
- Device Boot Start End Blocks Id System
- /dev/sda1 * 1 65 522081 83 Linux
- /dev/sda2 66 12161 97161089+ 5 Extended
- /dev/sda5 66 12161 97161088+ 83 Linux
- root@bt:~#
- root@bt:~# apt-get update
- Get:1 http://32.repository.backtrack-linux.org revolution Release.gpg [197B]
- Ign http://32.repository.backtrack-linux.org/ revolution/main Translation-en_US
- Ign http://32.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
- Ign http://32.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
- Ign http://32.repository.backtrack-linux.org/ revolution/testing Translation-en_US
- Get:2 http://32.repository.backtrack-linux.org revolution Release [5,041B]
- Get:3 http://all.repository.backtrack-linux.org revolution Release.gpg [197B]
- Ign http://all.repository.backtrack-linux.org/ revolution/main Translation-en_US
- Ign http://all.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
- Get:4 http://updates.repository.backtrack-linux.org revolution Release.gpg [197B]
- Ign http://updates.repository.backtrack-linux.org/ revolution/main Translation-en_US
- Ign http://updates.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
- Ign http://updates.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
- Ign http://updates.repository.backtrack-linux.org/ revolution/testing Translation-en_US
- Ign http://all.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
- Ign http://all.repository.backtrack-linux.org/ revolution/testing Translation-en_US
- Get:5 http://updates.repository.backtrack-linux.org revolution Release [13.5kB]
- Get:6 http://all.repository.backtrack-linux.org revolution Release [13.5kB]
- Hit http://32.repository.backtrack-linux.org revolution/main Packages
- Get:7 http://updates.repository.backtrack-linux.org revolution/main Packages [10.7MB]
- Hit http://all.repository.backtrack-linux.org revolution/main Packages
- Hit http://32.repository.backtrack-linux.org revolution/microverse Packages
- Hit http://32.repository.backtrack-linux.org revolution/non-free Packages
- Get:8 http://32.repository.backtrack-linux.org revolution/testing Packages [50.6kB]
- Hit http://all.repository.backtrack-linux.org revolution/microverse Packages
- Hit http://all.repository.backtrack-linux.org revolution/non-free Packages
- Get:9 http://all.repository.backtrack-linux.org revolution/testing Packages [74.4kB]
- Get:10 http://updates.repository.backtrack-linux.org revolution/microverse Packages [14B]
- Get:11 http://updates.repository.backtrack-linux.org revolution/non-free Packages [14B]
- Get:12 http://updates.repository.backtrack-linux.org revolution/testing Packages [14B]
- Fetched 10.8MB in 10s (1,062kB/s)
- Reading package lists... Done
- root@bt:~#
- root@bt:~# apt-get install hashalot lvm2
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- lvm2 is already the newest version.
- The following NEW packages will be installed:
- hashalot
- 0 upgraded, 1 newly installed, 0 to remove and 56 not upgraded.
- Need to get 16.3kB of archives.
- After this operation, 73.7kB of additional disk space will be used.
- Get:1 http://32.repository.backtrack-linux.org/ revolution/main hashalot 0.3-5 [16.3kB]
- Fetched 16.3kB in 0s (33.2kB/s)
- Selecting previously deselected package hashalot.
- (Reading database ... 238113 files and directories currently installed.)
- Unpacking hashalot (from .../hashalot_0.3-5_i386.deb) ...
- Processing triggers for man-db ...
- Setting up hashalot (0.3-5) ...
- root@bt:~#
- root@bt:~# cryptsetup luksOpen /dev/sda5 pvcrypt
- Enter passphrase for /dev/sda5:
- Key slot 0 unlocked.
- root@bt:~#
- root@bt:~# mkdir /mnt/backtrack5
- root@bt:~#
- root@bt:~# mount /dev/mapper/vg-root /mnt/backtrack5
- root@bt:~#
- root@bt:~# mount /dev/sda1 /mnt/backtrack5/boot
- root@bt:~#
- root@bt:~# chroot /mnt/backtrack5
- openpty failed
- root@bt:~# ls -la /mnt/backtrack5
- total 129
- drwxr-xr-x 24 root root 4096 2012-03-24 05:40 .
- drwxr-xr-x 3 root root 60 2012-03-30 07:54 ..
- drwxr-xr-x 2 root root 4096 2012-03-25 15:50 bin
- drwxr-xr-x 4 root root 1024 2012-03-30 03:48 boot
- drwxr-xr-x 2 root root 4096 2011-03-05 11:41 cdrom
- drwxr-xr-x 5 root root 4096 2012-03-30 05:22 dev
- drwxr-xr-x 142 root root 12288 2012-03-30 03:58 etc
- drwxr-xr-x 2 root root 4096 2011-03-05 15:40 home
- lrwxrwxrwx 1 root root 21 2012-03-24 05:40 initrd.img -> boot/initrd.img-3.2.6
- drwxr-xr-x 26 root root 16384 2012-03-30 03:48 lib
- drwx------ 2 root root 16384 2011-03-05 11:40 lost+found
- drwxr-xr-x 3 root root 4096 2011-03-05 15:40 media
- drwxr-xr-x 2 root root 4096 2011-03-05 15:40 mnt
- drwxr-xr-x 12 root root 4096 2012-02-28 09:12 opt
- drwxr-xr-x 26 root root 4096 2012-02-23 23:37 pentest
- drwxr-xr-x 2 root root 4096 2011-03-05 15:40 proc
- drwx------ 29 root root 4096 2012-03-30 03:58 root
- drwxr-xr-x 2 root root 12288 2012-03-30 03:48 sbin
- drwxr-xr-x 2 root root 4096 2009-12-05 16:55 selinux
- drwxr-xr-x 4 root root 4096 2011-05-10 03:42 share
- drwxr-xr-x 3 root root 4096 2011-07-12 06:59 srv
- drwxr-xr-x 2 root root 4096 2011-03-05 15:40 sys
- drwxrwxrwt 6 root root 4096 2012-03-30 03:58 tmp
- drwxr-xr-x 12 root root 4096 2011-05-10 03:41 usr
- drwxr-xr-x 16 root root 4096 2011-06-08 09:16 var
- lrwxrwxrwx 1 root root 18 2012-03-24 05:40 vmlinuz -> boot/vmlinuz-3.2.6
- root@bt:~#
- root@bt:~# ls -la /mnt/backtrack5/boot/
- total 57071
- drwxr-xr-x 4 root root 1024 2012-03-30 03:48 .
- drwxr-xr-x 24 root root 4096 2012-03-24 05:40 ..
- -rw-r--r-- 1 root root 143303 2012-02-17 10:29 config-3.2.6
- drwxr-xr-x 3 root root 6144 2012-03-24 06:27 grub
- -rw-r--r-- 1 root root 17499756 2012-02-28 09:16 initrdf.img-3.2.6
- -rw-r--r-- 1 root root 16525202 2012-03-30 03:48 initrd.img-3.2.6
- -rw-r--r-- 1 root root 17498983 2012-02-28 09:15 initrds.img-3.2.6
- drwx------ 2 root root 12288 2012-03-24 05:11 lost+found
- -rw-r--r-- 1 root root 160280 2010-03-23 05:37 memtest86+.bin
- -rw-r--r-- 1 root root 1875997 2012-02-17 11:41 System.map-3.2.6
- -rw-r--r-- 1 root root 4710864 2012-02-28 10:26 vmlinuz-3.2.6
- root@bt:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement