Advertisement
Guest User

Untitled

a guest
Mar 30th, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.71 KB | None | 0 0
  1. root@bt:~# fdisk -l
  2. Disk /dev/sda: 100.0 GB, 100030242816 bytes
  3. 255 heads, 63 sectors/track, 12161 cylinders
  4. Units = cylinders of 16065 * 512 = 8225280 bytes
  5. Sector size (logical/physical): 512 bytes / 512 bytes
  6. I/O size (minimum/optimal): 512 bytes / 512 bytes
  7. Disk identifier: 0x0004d1bd
  8.  
  9. Device Boot Start End Blocks Id System
  10. /dev/sda1 * 1 65 522081 83 Linux
  11. /dev/sda2 66 12161 97161089+ 5 Extended
  12. /dev/sda5 66 12161 97161088+ 83 Linux
  13. root@bt:~#
  14. root@bt:~# apt-get update
  15. Get:1 http://32.repository.backtrack-linux.org revolution Release.gpg [197B]
  16. Ign http://32.repository.backtrack-linux.org/ revolution/main Translation-en_US
  17. Ign http://32.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
  18. Ign http://32.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
  19. Ign http://32.repository.backtrack-linux.org/ revolution/testing Translation-en_US
  20. Get:2 http://32.repository.backtrack-linux.org revolution Release [5,041B]
  21. Get:3 http://all.repository.backtrack-linux.org revolution Release.gpg [197B]
  22. Ign http://all.repository.backtrack-linux.org/ revolution/main Translation-en_US
  23. Ign http://all.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
  24. Get:4 http://updates.repository.backtrack-linux.org revolution Release.gpg [197B]
  25. Ign http://updates.repository.backtrack-linux.org/ revolution/main Translation-en_US
  26. Ign http://updates.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
  27. Ign http://updates.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
  28. Ign http://updates.repository.backtrack-linux.org/ revolution/testing Translation-en_US
  29. Ign http://all.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
  30. Ign http://all.repository.backtrack-linux.org/ revolution/testing Translation-en_US
  31. Get:5 http://updates.repository.backtrack-linux.org revolution Release [13.5kB]
  32. Get:6 http://all.repository.backtrack-linux.org revolution Release [13.5kB]
  33. Hit http://32.repository.backtrack-linux.org revolution/main Packages
  34. Get:7 http://updates.repository.backtrack-linux.org revolution/main Packages [10.7MB]
  35. Hit http://all.repository.backtrack-linux.org revolution/main Packages
  36. Hit http://32.repository.backtrack-linux.org revolution/microverse Packages
  37. Hit http://32.repository.backtrack-linux.org revolution/non-free Packages
  38. Get:8 http://32.repository.backtrack-linux.org revolution/testing Packages [50.6kB]
  39. Hit http://all.repository.backtrack-linux.org revolution/microverse Packages
  40. Hit http://all.repository.backtrack-linux.org revolution/non-free Packages
  41. Get:9 http://all.repository.backtrack-linux.org revolution/testing Packages [74.4kB]
  42. Get:10 http://updates.repository.backtrack-linux.org revolution/microverse Packages [14B]
  43. Get:11 http://updates.repository.backtrack-linux.org revolution/non-free Packages [14B]
  44. Get:12 http://updates.repository.backtrack-linux.org revolution/testing Packages [14B]
  45. Fetched 10.8MB in 10s (1,062kB/s)
  46. Reading package lists... Done
  47. root@bt:~#
  48. root@bt:~# apt-get install hashalot lvm2
  49. Reading package lists... Done
  50. Building dependency tree
  51. Reading state information... Done
  52. lvm2 is already the newest version.
  53. The following NEW packages will be installed:
  54. hashalot
  55. 0 upgraded, 1 newly installed, 0 to remove and 56 not upgraded.
  56. Need to get 16.3kB of archives.
  57. After this operation, 73.7kB of additional disk space will be used.
  58. Get:1 http://32.repository.backtrack-linux.org/ revolution/main hashalot 0.3-5 [16.3kB]
  59. Fetched 16.3kB in 0s (33.2kB/s)
  60. Selecting previously deselected package hashalot.
  61. (Reading database ... 238113 files and directories currently installed.)
  62. Unpacking hashalot (from .../hashalot_0.3-5_i386.deb) ...
  63. Processing triggers for man-db ...
  64. Setting up hashalot (0.3-5) ...
  65. root@bt:~#
  66. root@bt:~# cryptsetup luksOpen /dev/sda5 pvcrypt
  67. Enter passphrase for /dev/sda5:
  68. Key slot 0 unlocked.
  69. root@bt:~#
  70. root@bt:~# mkdir /mnt/backtrack5
  71. root@bt:~#
  72. root@bt:~# mount /dev/mapper/vg-root /mnt/backtrack5
  73. root@bt:~#
  74. root@bt:~# mount /dev/sda1 /mnt/backtrack5/boot
  75. root@bt:~#
  76. root@bt:~# chroot /mnt/backtrack5
  77. openpty failed
  78.  
  79.  
  80.  
  81. root@bt:~# ls -la /mnt/backtrack5
  82. total 129
  83. drwxr-xr-x 24 root root 4096 2012-03-24 05:40 .
  84. drwxr-xr-x 3 root root 60 2012-03-30 07:54 ..
  85. drwxr-xr-x 2 root root 4096 2012-03-25 15:50 bin
  86. drwxr-xr-x 4 root root 1024 2012-03-30 03:48 boot
  87. drwxr-xr-x 2 root root 4096 2011-03-05 11:41 cdrom
  88. drwxr-xr-x 5 root root 4096 2012-03-30 05:22 dev
  89. drwxr-xr-x 142 root root 12288 2012-03-30 03:58 etc
  90. drwxr-xr-x 2 root root 4096 2011-03-05 15:40 home
  91. lrwxrwxrwx 1 root root 21 2012-03-24 05:40 initrd.img -> boot/initrd.img-3.2.6
  92. drwxr-xr-x 26 root root 16384 2012-03-30 03:48 lib
  93. drwx------ 2 root root 16384 2011-03-05 11:40 lost+found
  94. drwxr-xr-x 3 root root 4096 2011-03-05 15:40 media
  95. drwxr-xr-x 2 root root 4096 2011-03-05 15:40 mnt
  96. drwxr-xr-x 12 root root 4096 2012-02-28 09:12 opt
  97. drwxr-xr-x 26 root root 4096 2012-02-23 23:37 pentest
  98. drwxr-xr-x 2 root root 4096 2011-03-05 15:40 proc
  99. drwx------ 29 root root 4096 2012-03-30 03:58 root
  100. drwxr-xr-x 2 root root 12288 2012-03-30 03:48 sbin
  101. drwxr-xr-x 2 root root 4096 2009-12-05 16:55 selinux
  102. drwxr-xr-x 4 root root 4096 2011-05-10 03:42 share
  103. drwxr-xr-x 3 root root 4096 2011-07-12 06:59 srv
  104. drwxr-xr-x 2 root root 4096 2011-03-05 15:40 sys
  105. drwxrwxrwt 6 root root 4096 2012-03-30 03:58 tmp
  106. drwxr-xr-x 12 root root 4096 2011-05-10 03:41 usr
  107. drwxr-xr-x 16 root root 4096 2011-06-08 09:16 var
  108. lrwxrwxrwx 1 root root 18 2012-03-24 05:40 vmlinuz -> boot/vmlinuz-3.2.6
  109. root@bt:~#
  110. root@bt:~# ls -la /mnt/backtrack5/boot/
  111. total 57071
  112. drwxr-xr-x 4 root root 1024 2012-03-30 03:48 .
  113. drwxr-xr-x 24 root root 4096 2012-03-24 05:40 ..
  114. -rw-r--r-- 1 root root 143303 2012-02-17 10:29 config-3.2.6
  115. drwxr-xr-x 3 root root 6144 2012-03-24 06:27 grub
  116. -rw-r--r-- 1 root root 17499756 2012-02-28 09:16 initrdf.img-3.2.6
  117. -rw-r--r-- 1 root root 16525202 2012-03-30 03:48 initrd.img-3.2.6
  118. -rw-r--r-- 1 root root 17498983 2012-02-28 09:15 initrds.img-3.2.6
  119. drwx------ 2 root root 12288 2012-03-24 05:11 lost+found
  120. -rw-r--r-- 1 root root 160280 2010-03-23 05:37 memtest86+.bin
  121. -rw-r--r-- 1 root root 1875997 2012-02-17 11:41 System.map-3.2.6
  122. -rw-r--r-- 1 root root 4710864 2012-02-28 10:26 vmlinuz-3.2.6
  123. root@bt:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement