Advertisement
Guest User

Untitled

a guest
Apr 28th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.24 KB | None | 0 0
  1. Boot Info Script 0.61 [1 April 2012]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => No boot loader is installed in the MBR of /dev/sda.
  7. => No boot loader is installed in the MBR of /dev/sdb.
  8. => Grub2 (v1.99) is installed in the MBR of /dev/sdc and looks at sector 1 of
  9. the same hard drive for core.img. core.img is at this location and looks
  10. for (,msdos1)/boot/grub on this drive.
  11.  
  12. sda1: __________________________________________________________________________
  13.  
  14. File system: ext4
  15. Boot sector type: -
  16. Boot sector info:
  17. Operating System: Ubuntu 12.04 LTS
  18. Boot files: /etc/fstab
  19.  
  20. sdb1: __________________________________________________________________________
  21.  
  22. File system: ext4
  23. Boot sector type: -
  24. Boot sector info:
  25. Operating System:
  26. Boot files:
  27.  
  28. sdc1: __________________________________________________________________________
  29.  
  30. File system: ext4
  31. Boot sector type: -
  32. Boot sector info:
  33. Operating System: Ubuntu 12.04 LTS
  34. Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  35.  
  36. ============================ Drive/Partition Info: =============================
  37.  
  38. Drive: sda _____________________________________________________________________
  39.  
  40. Disk /dev/sda: 64.0 GB, 64023257088 bytes
  41. 255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
  42. Units = sectors of 1 * 512 = 512 bytes
  43. Sector size (logical/physical): 512 bytes / 512 bytes
  44.  
  45. Partition Boot Start Sector End Sector # of Sectors Id System
  46.  
  47. /dev/sda1 2,048 125,044,735 125,042,688 83 Linux
  48.  
  49.  
  50. Drive: sdb _____________________________________________________________________
  51.  
  52. Disk /dev/sdb: 64.0 GB, 64023257088 bytes
  53. 255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
  54. Units = sectors of 1 * 512 = 512 bytes
  55. Sector size (logical/physical): 512 bytes / 512 bytes
  56.  
  57. Partition Boot Start Sector End Sector # of Sectors Id System
  58.  
  59. /dev/sdb1 2,048 125,044,735 125,042,688 83 Linux
  60.  
  61.  
  62. Drive: sdc _____________________________________________________________________
  63.  
  64. Disk /dev/sdc: 320.1 GB, 320072933376 bytes
  65. 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
  66. Units = sectors of 1 * 512 = 512 bytes
  67. Sector size (logical/physical): 512 bytes / 512 bytes
  68.  
  69. Partition Boot Start Sector End Sector # of Sectors Id System
  70.  
  71. /dev/sdc1 * 2,048 625,139,711 625,137,664 83 Linux
  72.  
  73.  
  74. "blkid" output: ________________________________________________________________
  75.  
  76. Device UUID TYPE LABEL
  77.  
  78. /dev/sda1 0da23eac-4d0e-4aa1-a43d-142361decf80 ext4
  79. /dev/sdb1 48d63f1b-f043-4603-8175-12e23806590c ext4
  80. /dev/sdc1 fb0afdb4-7c19-458c-8f33-c09b2afddfb1 ext4
  81.  
  82. ================================ Mount points: =================================
  83.  
  84. Device Mount_Point Type Options
  85.  
  86. /dev/sdc1 / ext4 (rw,errors=remount-ro)
  87.  
  88.  
  89. =============================== sda1/etc/fstab: ================================
  90.  
  91. --------------------------------------------------------------------------------
  92. # /etc/fstab: static file system information.
  93. #
  94. # Use 'blkid' to print the universally unique identifier for a
  95. # device; this may be used with UUID= as a more robust way to name devices
  96. # that works even if disks are added and removed. See fstab(5).
  97. #
  98. # <file system> <mount point> <type> <options> <dump> <pass>
  99. proc /proc proc nodev,noexec,nosuid 0 0
  100. # / was on /dev/sda1 during installation
  101. UUID=0da23eac-4d0e-4aa1-a43d-142361decf80 / ext4 errors=remount-ro 0 1
  102. --------------------------------------------------------------------------------
  103.  
  104. =================== sda1: Location of files loaded by Grub: ====================
  105.  
  106. GiB - GB File Fragment(s)
  107.  
  108. 4.245342255 = 4.558401536 boot/vmlinuz-3.2.0-23-generic-pae 1
  109. 4.245342255 = 4.558401536 vmlinuz 1
  110.  
  111. =========================== sdc1/boot/grub/grub.cfg: ===========================
  112.  
  113. --------------------------------------------------------------------------------
  114. #
  115. # DO NOT EDIT THIS FILE
  116. #
  117. # It is automatically generated by grub-mkconfig using templates
  118. # from /etc/grub.d and settings from /etc/default/grub
  119. #
  120.  
  121. ### BEGIN /etc/grub.d/00_header ###
  122. if [ -s $prefix/grubenv ]; then
  123. set have_grubenv=true
  124. load_env
  125. fi
  126. set default="0"
  127. if [ "${prev_saved_entry}" ]; then
  128. set saved_entry="${prev_saved_entry}"
  129. save_env saved_entry
  130. set prev_saved_entry=
  131. save_env prev_saved_entry
  132. set boot_once=true
  133. fi
  134.  
  135. function savedefault {
  136. if [ -z "${boot_once}" ]; then
  137. saved_entry="${chosen}"
  138. save_env saved_entry
  139. fi
  140. }
  141.  
  142. function recordfail {
  143. set recordfail=1
  144. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  145. }
  146.  
  147. function load_video {
  148. insmod vbe
  149. insmod vga
  150. insmod video_bochs
  151. insmod video_cirrus
  152. }
  153.  
  154. insmod part_msdos
  155. insmod ext2
  156. set root='(hd2,msdos1)'
  157. search --no-floppy --fs-uuid --set=root fb0afdb4-7c19-458c-8f33-c09b2afddfb1
  158. if loadfont /usr/share/grub/unicode.pf2 ; then
  159. set gfxmode=auto
  160. load_video
  161. insmod gfxterm
  162. insmod part_msdos
  163. insmod ext2
  164. set root='(hd2,msdos1)'
  165. search --no-floppy --fs-uuid --set=root fb0afdb4-7c19-458c-8f33-c09b2afddfb1
  166. set locale_dir=($root)/boot/grub/locale
  167. set lang=en_US
  168. insmod gettext
  169. fi
  170. terminal_output gfxterm
  171. if [ "${recordfail}" = 1 ]; then
  172. set timeout=-1
  173. else
  174. set timeout=10
  175. fi
  176. ### END /etc/grub.d/00_header ###
  177.  
  178. ### BEGIN /etc/grub.d/05_debian_theme ###
  179. set menu_color_normal=white/black
  180. set menu_color_highlight=black/light-gray
  181. if background_color 44,0,30; then
  182. clear
  183. fi
  184. ### END /etc/grub.d/05_debian_theme ###
  185.  
  186. ### BEGIN /etc/grub.d/10_linux ###
  187. function gfxmode {
  188. set gfxpayload="$1"
  189. if [ "$1" = "keep" ]; then
  190. set vt_handoff=vt.handoff=7
  191. else
  192. set vt_handoff=
  193. fi
  194. }
  195. if [ ${recordfail} != 1 ]; then
  196. if [ -e ${prefix}/gfxblacklist.txt ]; then
  197. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  198. if [ ${match} = 0 ]; then
  199. set linux_gfx_mode=keep
  200. else
  201. set linux_gfx_mode=text
  202. fi
  203. else
  204. set linux_gfx_mode=text
  205. fi
  206. else
  207. set linux_gfx_mode=keep
  208. fi
  209. else
  210. set linux_gfx_mode=text
  211. fi
  212. export linux_gfx_mode
  213. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  214. menuentry 'Ubuntu, with Linux 3.2.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  215. recordfail
  216. gfxmode $linux_gfx_mode
  217. insmod gzio
  218. insmod part_msdos
  219. insmod ext2
  220. set root='(hd2,msdos1)'
  221. search --no-floppy --fs-uuid --set=root fb0afdb4-7c19-458c-8f33-c09b2afddfb1
  222. linux /boot/vmlinuz-3.2.0-23-generic root=UUID=fb0afdb4-7c19-458c-8f33-c09b2afddfb1 ro quiet splash $vt_handoff
  223. initrd /boot/initrd.img-3.2.0-23-generic
  224. }
  225. menuentry 'Ubuntu, with Linux 3.2.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  226. recordfail
  227. insmod gzio
  228. insmod part_msdos
  229. insmod ext2
  230. set root='(hd2,msdos1)'
  231. search --no-floppy --fs-uuid --set=root fb0afdb4-7c19-458c-8f33-c09b2afddfb1
  232. echo 'Loading Linux 3.2.0-23-generic ...'
  233. linux /boot/vmlinuz-3.2.0-23-generic root=UUID=fb0afdb4-7c19-458c-8f33-c09b2afddfb1 ro recovery nomodeset
  234. echo 'Loading initial ramdisk ...'
  235. initrd /boot/initrd.img-3.2.0-23-generic
  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='(hd2,msdos1)'
  247. search --no-floppy --fs-uuid --set=root fb0afdb4-7c19-458c-8f33-c09b2afddfb1
  248. linux16 /boot/memtest86+.bin
  249. }
  250. menuentry "Memory test (memtest86+, serial console 115200)" {
  251. insmod part_msdos
  252. insmod ext2
  253. set root='(hd2,msdos1)'
  254. search --no-floppy --fs-uuid --set=root fb0afdb4-7c19-458c-8f33-c09b2afddfb1
  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 "Ubuntu 12.04 LTS (12.04) (on /dev/sda1)" --class gnu-linux --class gnu --class os {
  261. insmod part_msdos
  262. insmod ext2
  263. set root='(hd0,msdos1)'
  264. search --no-floppy --fs-uuid --set=root 0da23eac-4d0e-4aa1-a43d-142361decf80
  265. linux /vmlinuz root=/dev/sda1
  266. }
  267. menuentry "Ubuntu 12.04 LTS (12.04) (on /dev/sda1)" --class gnu-linux --class gnu --class os {
  268. insmod part_msdos
  269. insmod ext2
  270. set root='(hd0,msdos1)'
  271. search --no-floppy --fs-uuid --set=root 0da23eac-4d0e-4aa1-a43d-142361decf80
  272. linux /boot/vmlinuz-3.2.0-23-generic-pae root=/dev/sda1
  273. }
  274. menuentry "Ubuntu 12.04 LTS (12.04) (on /dev/sda1)" --class gnu-linux --class gnu --class os {
  275. insmod part_msdos
  276. insmod ext2
  277. set root='(hd0,msdos1)'
  278. search --no-floppy --fs-uuid --set=root 0da23eac-4d0e-4aa1-a43d-142361decf80
  279. linux /vmlinuz root=/dev/sda1
  280. }
  281. ### END /etc/grub.d/30_os-prober ###
  282.  
  283. ### BEGIN /etc/grub.d/40_custom ###
  284. # This file provides an easy way to add custom menu entries. Simply type the
  285. # menu entries you want to add after this comment. Be careful not to change
  286. # the 'exec tail' line above.
  287. ### END /etc/grub.d/40_custom ###
  288.  
  289. ### BEGIN /etc/grub.d/41_custom ###
  290. if [ -f $prefix/custom.cfg ]; then
  291. source $prefix/custom.cfg;
  292. fi
  293. ### END /etc/grub.d/41_custom ###
  294. --------------------------------------------------------------------------------
  295.  
  296. =============================== sdc1/etc/fstab: ================================
  297.  
  298. --------------------------------------------------------------------------------
  299. # /etc/fstab: static file system information.
  300. #
  301. # Use 'blkid' to print the universally unique identifier for a
  302. # device; this may be used with UUID= as a more robust way to name devices
  303. # that works even if disks are added and removed. See fstab(5).
  304. #
  305. # <file system> <mount point> <type> <options> <dump> <pass>
  306. proc /proc proc nodev,noexec,nosuid 0 0
  307. # / was on /dev/sdc1 during installation
  308. UUID=fb0afdb4-7c19-458c-8f33-c09b2afddfb1 / ext4 errors=remount-ro 0 1
  309. --------------------------------------------------------------------------------
  310.  
  311. =================== sdc1: Location of files loaded by Grub: ====================
  312.  
  313. GiB - GB File Fragment(s)
  314.  
  315. 262.230567932 = 281.567928320 boot/grub/core.img 1
  316. 282.209976196 = 303.020654592 boot/grub/grub.cfg 1
  317. 268.631362915 = 288.440729600 boot/initrd.img-3.2.0-23-generic 2
  318. 150.134506226 = 161.205698560 boot/vmlinuz-3.2.0-23-generic 1
  319. 268.631362915 = 288.440729600 initrd.img 2
  320. 150.134506226 = 161.205698560 vmlinuz 1
  321.  
  322. ========= Devices which don't seem to have a corresponding hard drive: =========
  323.  
  324. sdd
  325.  
  326. =============================== StdErr Messages: ===============================
  327.  
  328. xz: (stdin): Compressed data is corrupt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement