Advertisement
Guest User

Untitled

a guest
Mar 6th, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Boot Info Script 0.60 from 17 May 2011
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
  7. the same hard drive for core.img. core.img is at this location and looks
  8. for on this drive.
  9.  
  10. sda1: __________________________________________________________________________
  11.  
  12. File system: ntfs
  13. Boot sector type: Windows Vista/7
  14. Boot sector info: No errors found in the Boot Parameter Block.
  15. Operating System:
  16. Boot files:
  17.  
  18. sda2: __________________________________________________________________________
  19.  
  20. File system: ntfs
  21. Boot sector type: Windows Vista/7
  22. Boot sector info: No errors found in the Boot Parameter Block.
  23. Operating System: Windows 7
  24. Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
  25.  
  26. sda3: __________________________________________________________________________
  27.  
  28. File system: ntfs
  29. Boot sector type: Windows Vista/7
  30. Boot sector info: No errors found in the Boot Parameter Block.
  31. Operating System:
  32. Boot files:
  33.  
  34. sda4: __________________________________________________________________________
  35.  
  36. File system: Extended Partition
  37. Boot sector type: -
  38. Boot sector info:
  39.  
  40. sda5: __________________________________________________________________________
  41.  
  42. File system: ntfs
  43. Boot sector type: Windows Vista/7
  44. Boot sector info: According to the info in the boot sector, sda5 starts
  45. at sector 2048.
  46. Operating System:
  47. Boot files:
  48.  
  49. sda6: __________________________________________________________________________
  50.  
  51. File system: ext4
  52. Boot sector type: -
  53. Boot sector info:
  54. Operating System: Ubuntu 11.10
  55. Boot files: /boot/grub/grub.cfg /etc/fstab /grub/core.img
  56. /boot/grub/core.img
  57.  
  58. ============================ Drive/Partition Info: =============================
  59.  
  60. Drive: sda _____________________________________________________________________
  61.  
  62. Disk /dev/sda: 250.1 GB, 250059350016 bytes
  63. 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
  64. Units = sectors of 1 * 512 = 512 bytes
  65. Sector size (logical/physical): 512 bytes / 512 bytes
  66.  
  67. Partition Boot Start Sector End Sector # of Sectors Id System
  68.  
  69. /dev/sda1 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
  70. /dev/sda2 * 206,848 94,244,863 94,038,016 7 NTFS / exFAT / HPFS
  71. /dev/sda3 94,244,864 251,529,215 157,284,352 7 NTFS / exFAT / HPFS
  72. /dev/sda4 251,533,310 488,396,799 236,863,490 f W95 Extended (LBA)
  73. /dev/sda5 251,533,312 420,290,559 168,757,248 7 NTFS / exFAT / HPFS
  74. /dev/sda6 420,292,608 488,396,799 68,104,192 83 Linux
  75.  
  76.  
  77. "blkid" output: ________________________________________________________________
  78.  
  79. Device UUID TYPE LABEL
  80.  
  81. /dev/sda1 46A0A45F52EEB2EB ntfs
  82. /dev/sda2 5290606490605091 ntfs
  83. /dev/sda3 D6F811DEF811BDA5 ntfs tiger
  84. /dev/sda5 8A86C98F86C97C67 ntfs Ahmed
  85. /dev/sda6 25dfdfd2-4939-441d-bf74-b07d9e9efbb5 ext4
  86.  
  87. ================================ Mount points: =================================
  88.  
  89. Device Mount_Point Type Options
  90.  
  91. /dev/sda6 / ext4 (rw,errors=remount-ro,commit=0)
  92.  
  93.  
  94. =========================== sda6/boot/grub/grub.cfg: ===========================
  95.  
  96. --------------------------------------------------------------------------------
  97. #
  98. # DO NOT EDIT THIS FILE
  99. #
  100. # It is automatically generated by grub-mkconfig using templates
  101. # from /etc/grub.d and settings from /etc/default/grub
  102. #
  103.  
  104. ### BEGIN /etc/grub.d/00_header ###
  105. if [ -s $prefix/grubenv ]; then
  106. set have_grubenv=true
  107. load_env
  108. fi
  109. set default="0"
  110. if [ "${prev_saved_entry}" ]; then
  111. set saved_entry="${prev_saved_entry}"
  112. save_env saved_entry
  113. set prev_saved_entry=
  114. save_env prev_saved_entry
  115. set boot_once=true
  116. fi
  117.  
  118. function savedefault {
  119. if [ -z "${boot_once}" ]; then
  120. saved_entry="${chosen}"
  121. save_env saved_entry
  122. fi
  123. }
  124.  
  125. function recordfail {
  126. set recordfail=1
  127. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  128. }
  129.  
  130. function load_video {
  131. insmod vbe
  132. insmod vga
  133. insmod video_bochs
  134. insmod video_cirrus
  135. }
  136.  
  137. insmod part_msdos
  138. insmod ext2
  139. set root='(hd0,msdos6)'
  140. search --no-floppy --fs-uuid --set=root 25dfdfd2-4939-441d-bf74-b07d9e9efbb5
  141. if loadfont /usr/share/grub/unicode.pf2 ; then
  142. set gfxmode=auto
  143. load_video
  144. insmod gfxterm
  145. insmod part_msdos
  146. insmod ext2
  147. set root='(hd0,msdos6)'
  148. search --no-floppy --fs-uuid --set=root 25dfdfd2-4939-441d-bf74-b07d9e9efbb5
  149. set locale_dir=($root)/boot/grub/locale
  150. set lang=en_US
  151. insmod gettext
  152. fi
  153. terminal_output gfxterm
  154. if [ "${recordfail}" = 1 ]; then
  155. set timeout=-1
  156. else
  157. set timeout=10
  158. fi
  159. ### END /etc/grub.d/00_header ###
  160.  
  161. ### BEGIN /etc/grub.d/05_debian_theme ###
  162. set menu_color_normal=white/black
  163. set menu_color_highlight=black/light-gray
  164. if background_color 0,71,115; then
  165. clear
  166. fi
  167. ### END /etc/grub.d/05_debian_theme ###
  168.  
  169. ### BEGIN /etc/grub.d/10_linux ###
  170. if [ ${recordfail} != 1 ]; then
  171. if [ -e ${prefix}/gfxblacklist.txt ]; then
  172. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  173. if [ ${match} = 0 ]; then
  174. set linux_gfx_mode=keep
  175. else
  176. set linux_gfx_mode=text
  177. fi
  178. else
  179. set linux_gfx_mode=text
  180. fi
  181. else
  182. set linux_gfx_mode=keep
  183. fi
  184. else
  185. set linux_gfx_mode=text
  186. fi
  187. export linux_gfx_mode
  188. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  189. menuentry 'Ubuntu, with Linux 3.0.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  190. recordfail
  191. set gfxpayload=$linux_gfx_mode
  192. insmod gzio
  193. insmod part_msdos
  194. insmod ext2
  195. set root='(hd0,msdos6)'
  196. search --no-floppy --fs-uuid --set=root 25dfdfd2-4939-441d-bf74-b07d9e9efbb5
  197. linux /boot/vmlinuz-3.0.0-14-generic root=UUID=25dfdfd2-4939-441d-bf74-b07d9e9efbb5 ro quiet splash vt.handoff=7
  198. initrd /boot/initrd.img-3.0.0-14-generic
  199. }
  200. menuentry 'Ubuntu, with Linux 3.0.0-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  201. recordfail
  202. insmod gzio
  203. insmod part_msdos
  204. insmod ext2
  205. set root='(hd0,msdos6)'
  206. search --no-floppy --fs-uuid --set=root 25dfdfd2-4939-441d-bf74-b07d9e9efbb5
  207. echo 'Loading Linux 3.0.0-14-generic ...'
  208. linux /boot/vmlinuz-3.0.0-14-generic root=UUID=25dfdfd2-4939-441d-bf74-b07d9e9efbb5 ro recovery nomodeset
  209. echo 'Loading initial ramdisk ...'
  210. initrd /boot/initrd.img-3.0.0-14-generic
  211. }
  212. submenu "Previous Linux versions" {
  213. menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  214. recordfail
  215. set gfxpayload=$linux_gfx_mode
  216. insmod gzio
  217. insmod part_msdos
  218. insmod ext2
  219. set root='(hd0,msdos6)'
  220. search --no-floppy --fs-uuid --set=root 25dfdfd2-4939-441d-bf74-b07d9e9efbb5
  221. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=25dfdfd2-4939-441d-bf74-b07d9e9efbb5 ro quiet splash vt.handoff=7
  222. initrd /boot/initrd.img-3.0.0-12-generic
  223. }
  224. menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  225. recordfail
  226. insmod gzio
  227. insmod part_msdos
  228. insmod ext2
  229. set root='(hd0,msdos6)'
  230. search --no-floppy --fs-uuid --set=root 25dfdfd2-4939-441d-bf74-b07d9e9efbb5
  231. echo 'Loading Linux 3.0.0-12-generic ...'
  232. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=25dfdfd2-4939-441d-bf74-b07d9e9efbb5 ro recovery nomodeset
  233. echo 'Loading initial ramdisk ...'
  234. initrd /boot/initrd.img-3.0.0-12-generic
  235. }
  236. }
  237. ### END /etc/grub.d/10_linux ###
  238.  
  239. ### BEGIN /etc/grub.d/20_linux_xen ###
  240. ### END /etc/grub.d/20_linux_xen ###
  241.  
  242. ### BEGIN /etc/grub.d/20_memtest86+ ###
  243. menuentry "Memory test (memtest86+)" {
  244. insmod part_msdos
  245. insmod ext2
  246. set root='(hd0,msdos6)'
  247. search --no-floppy --fs-uuid --set=root 25dfdfd2-4939-441d-bf74-b07d9e9efbb5
  248. linux16 /boot/memtest86+.bin
  249. }
  250. menuentry "Memory test (memtest86+, serial console 115200)" {
  251. insmod part_msdos
  252. insmod ext2
  253. set root='(hd0,msdos6)'
  254. search --no-floppy --fs-uuid --set=root 25dfdfd2-4939-441d-bf74-b07d9e9efbb5
  255. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  256. }
  257. ### END /etc/grub.d/20_memtest86+ ###
  258.  
  259. ### BEGIN /etc/grub.d/30_os-prober ###
  260. menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
  261. insmod part_msdos
  262. insmod ntfs
  263. set root='(hd0,msdos2)'
  264. search --no-floppy --fs-uuid --set=root 5290606490605091
  265. chainloader +1
  266. }
  267. ### END /etc/grub.d/30_os-prober ###
  268.  
  269. ### BEGIN /etc/grub.d/40_custom ###
  270. # This file provides an easy way to add custom menu entries. Simply type the
  271. # menu entries you want to add after this comment. Be careful not to change
  272. # the 'exec tail' line above.
  273. ### END /etc/grub.d/40_custom ###
  274.  
  275. ### BEGIN /etc/grub.d/41_custom ###
  276. if [ -f $prefix/custom.cfg ]; then
  277. source $prefix/custom.cfg;
  278. fi
  279. ### END /etc/grub.d/41_custom ###
  280. --------------------------------------------------------------------------------
  281.  
  282. =============================== sda6/etc/fstab: ================================
  283.  
  284. --------------------------------------------------------------------------------
  285. # /etc/fstab: static file system information.
  286. #
  287. # Use 'blkid' to print the universally unique identifier for a
  288. # device; this may be used with UUID= as a more robust way to name devices
  289. # that works even if disks are added and removed. See fstab(5).
  290. #
  291. # <file system> <mount point> <type> <options> <dump> <pass>
  292. proc /proc proc nodev,noexec,nosuid 0 0
  293. # / was on /dev/sda6 during installation
  294. UUID=25dfdfd2-4939-441d-bf74-b07d9e9efbb5 / ext4 errors=remount-ro 0 1
  295. --------------------------------------------------------------------------------
  296.  
  297. =================== sda6: Location of files loaded by Grub: ====================
  298.  
  299. GiB - GB File Fragment(s)
  300.  
  301. 227.352573395 = 244.117966848 boot/grub/core.img 1
  302. 212.778785706 = 228.469481472 boot/grub/grub.cfg 1
  303. 222.698722839 = 239.120932864 boot/grub/stage2 1
  304. 216.044395447 = 231.975903232 boot/initrd.img-3.0.0-12-generic 2
  305. 216.320030212 = 232.271863808 boot/initrd.img-3.0.0-14-generic 3
  306. 222.602973938 = 239.018123264 boot/vmlinuz-3.0.0-12-generic 1
  307. 216.091255188 = 232.026218496 boot/vmlinuz-3.0.0-14-generic 1
  308. 223.356498718 = 239.827214336 grub/core.img 1
  309. 216.320030212 = 232.271863808 initrd.img 3
  310. 216.044395447 = 231.975903232 initrd.img.old 2
  311. 216.091255188 = 232.026218496 vmlinuz 1
  312. 222.602973938 = 239.018123264 vmlinuz.old 1
  313.  
  314. =============================== StdErr Messages: ===============================
  315.  
  316. unlzma: Decoder error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement