cfbearden

BootInfoScript 20120327

Mar 27th, 2012
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.27 KB | None | 0 0
  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. in partition 1 for .
  9. => Grub Legacy (v0.97) is installed in the MBR of /dev/sdd and looks on the
  10. same drive in partition #1 for /boot/grub/stage2 and /boot/grub/menu.lst.
  11.  
  12. sda1: __________________________________________________________________________
  13.  
  14. File system: ext3
  15. Boot sector type: -
  16. Boot sector info:
  17. Operating System:
  18. Boot files:
  19.  
  20. sdd1: __________________________________________________________________________
  21.  
  22. File system: ext4
  23. Boot sector type: -
  24. Boot sector info:
  25. Operating System: Ubuntu 11.10
  26. Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  27.  
  28. sdd2: __________________________________________________________________________
  29.  
  30. File system: Extended Partition
  31. Boot sector type: -
  32. Boot sector info:
  33.  
  34. sdd5: __________________________________________________________________________
  35.  
  36. File system: swap
  37. Boot sector type: -
  38. Boot sector info:
  39.  
  40. sdd6: __________________________________________________________________________
  41.  
  42. File system: ext3
  43. Boot sector type: -
  44. Boot sector info:
  45. Operating System:
  46. Boot files:
  47.  
  48. ============================ Drive/Partition Info: =============================
  49.  
  50. Drive: sda _____________________________________________________________________
  51.  
  52. Disk /dev/sda: 250.0 GB, 250000000000 bytes
  53. 255 heads, 63 sectors/track, 30394 cylinders, total 488281250 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/sda1 63 314,584,829 314,584,767 83 Linux
  60.  
  61.  
  62. Drive: sdd _____________________________________________________________________
  63.  
  64. Disk /dev/sdd: 250.0 GB, 250000000000 bytes
  65. 255 heads, 63 sectors/track, 30394 cylinders, total 488281250 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/sdd1 * 63 87,891,614 87,891,552 83 Linux
  72. /dev/sdd2 87,891,676 488,279,609 400,387,934 5 Extended
  73. /dev/sdd5 87,891,678 107,426,654 19,534,977 82 Linux swap / Solaris
  74. /dev/sdd6 107,426,718 488,279,609 380,852,892 83 Linux
  75.  
  76.  
  77. "blkid" output: ________________________________________________________________
  78.  
  79. Device UUID TYPE LABEL
  80.  
  81. /dev/loop0 squashfs
  82. /dev/sda1 0ff1ac07-06ce-4c47-8536-58c769c7add3 ext3
  83. /dev/sdd1 ae10a467-5fc0-473e-89d6-11f53e056e23 ext4
  84. /dev/sdd5 45c2f1b7-2206-4973-9d8f-1b237eb5f8c8 swap
  85. /dev/sdd6 567c7dc8-5a16-49ab-a0d0-08d5a3194931 ext3
  86.  
  87. ================================ Mount points: =================================
  88.  
  89. Device Mount_Point Type Options
  90.  
  91. /dev/loop0 /rofs squashfs (ro,noatime)
  92. /dev/sr0 /cdrom iso9660 (ro,noatime)
  93.  
  94.  
  95. =========================== sdd1/boot/grub/grub.cfg: ===========================
  96.  
  97. --------------------------------------------------------------------------------
  98. #
  99. # DO NOT EDIT THIS FILE
  100. #
  101. # It is automatically generated by grub-mkconfig using templates
  102. # from /etc/grub.d and settings from /etc/default/grub
  103. #
  104.  
  105. ### BEGIN /etc/grub.d/00_header ###
  106. if [ -s $prefix/grubenv ]; then
  107. set have_grubenv=true
  108. load_env
  109. fi
  110. set default="0"
  111. if [ "${prev_saved_entry}" ]; then
  112. set saved_entry="${prev_saved_entry}"
  113. save_env saved_entry
  114. set prev_saved_entry=
  115. save_env prev_saved_entry
  116. set boot_once=true
  117. fi
  118.  
  119. function savedefault {
  120. if [ -z "${boot_once}" ]; then
  121. saved_entry="${chosen}"
  122. save_env saved_entry
  123. fi
  124. }
  125.  
  126. function recordfail {
  127. set recordfail=1
  128. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  129. }
  130.  
  131. function load_video {
  132. insmod vbe
  133. insmod vga
  134. insmod video_bochs
  135. insmod video_cirrus
  136. }
  137.  
  138. insmod part_msdos
  139. insmod ext2
  140. set root='(hd1,msdos1)'
  141. search --no-floppy --fs-uuid --set=root ae10a467-5fc0-473e-89d6-11f53e056e23
  142. if loadfont /usr/share/grub/unicode.pf2 ; then
  143. set gfxmode=auto
  144. load_video
  145. insmod gfxterm
  146. insmod part_msdos
  147. insmod ext2
  148. set root='(hd1,msdos1)'
  149. search --no-floppy --fs-uuid --set=root ae10a467-5fc0-473e-89d6-11f53e056e23
  150. set locale_dir=($root)/boot/grub/locale
  151. set lang=en_US
  152. insmod gettext
  153. fi
  154. terminal_output gfxterm
  155. if [ "${recordfail}" = 1 ]; then
  156. set timeout=-1
  157. else
  158. set timeout=10
  159. fi
  160. ### END /etc/grub.d/00_header ###
  161.  
  162. ### BEGIN /etc/grub.d/05_debian_theme ###
  163. set menu_color_normal=white/black
  164. set menu_color_highlight=black/light-gray
  165. ### END /etc/grub.d/05_debian_theme ###
  166.  
  167. ### BEGIN /etc/grub.d/10_linux ###
  168. if [ ${recordfail} != 1 ]; then
  169. if [ -e ${prefix}/gfxblacklist.txt ]; then
  170. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  171. if [ ${match} = 0 ]; then
  172. set linux_gfx_mode=keep
  173. else
  174. set linux_gfx_mode=text
  175. fi
  176. else
  177. set linux_gfx_mode=text
  178. fi
  179. else
  180. set linux_gfx_mode=keep
  181. fi
  182. else
  183. set linux_gfx_mode=text
  184. fi
  185. export linux_gfx_mode
  186. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  187. menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  188. recordfail
  189. set gfxpayload=$linux_gfx_mode
  190. insmod gzio
  191. insmod part_msdos
  192. insmod ext2
  193. set root='(hd1,msdos1)'
  194. search --no-floppy --fs-uuid --set=root ae10a467-5fc0-473e-89d6-11f53e056e23
  195. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=ae10a467-5fc0-473e-89d6-11f53e056e23 ro quiet splash vt.handoff=7
  196. initrd /boot/initrd.img-3.0.0-12-generic
  197. }
  198. menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  199. recordfail
  200. insmod gzio
  201. insmod part_msdos
  202. insmod ext2
  203. set root='(hd1,msdos1)'
  204. search --no-floppy --fs-uuid --set=root ae10a467-5fc0-473e-89d6-11f53e056e23
  205. echo 'Loading Linux 3.0.0-12-generic ...'
  206. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=ae10a467-5fc0-473e-89d6-11f53e056e23 ro recovery nomodeset
  207. echo 'Loading initial ramdisk ...'
  208. initrd /boot/initrd.img-3.0.0-12-generic
  209. }
  210. ### END /etc/grub.d/10_linux ###
  211.  
  212. ### BEGIN /etc/grub.d/20_linux_xen ###
  213. ### END /etc/grub.d/20_linux_xen ###
  214.  
  215. ### BEGIN /etc/grub.d/20_memtest86+ ###
  216. menuentry "Memory test (memtest86+)" {
  217. insmod part_msdos
  218. insmod ext2
  219. set root='(hd1,msdos1)'
  220. search --no-floppy --fs-uuid --set=root ae10a467-5fc0-473e-89d6-11f53e056e23
  221. linux16 /boot/memtest86+.bin
  222. }
  223. menuentry "Memory test (memtest86+, serial console 115200)" {
  224. insmod part_msdos
  225. insmod ext2
  226. set root='(hd1,msdos1)'
  227. search --no-floppy --fs-uuid --set=root ae10a467-5fc0-473e-89d6-11f53e056e23
  228. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  229. }
  230. ### END /etc/grub.d/20_memtest86+ ###
  231.  
  232. ### BEGIN /etc/grub.d/30_os-prober ###
  233. if [ "x${timeout}" != "x-1" ]; then
  234. if keystatus; then
  235. if keystatus --shift; then
  236. set timeout=-1
  237. else
  238. set timeout=0
  239. fi
  240. else
  241. if sleep --interruptible 3 ; then
  242. set timeout=0
  243. fi
  244. fi
  245. fi
  246. ### END /etc/grub.d/30_os-prober ###
  247.  
  248. ### BEGIN /etc/grub.d/40_custom ###
  249. # This file provides an easy way to add custom menu entries. Simply type the
  250. # menu entries you want to add after this comment. Be careful not to change
  251. # the 'exec tail' line above.
  252. ### END /etc/grub.d/40_custom ###
  253.  
  254. ### BEGIN /etc/grub.d/41_custom ###
  255. if [ -f $prefix/custom.cfg ]; then
  256. source $prefix/custom.cfg;
  257. fi
  258. ### END /etc/grub.d/41_custom ###
  259. --------------------------------------------------------------------------------
  260.  
  261. =============================== sdd1/etc/fstab: ================================
  262.  
  263. --------------------------------------------------------------------------------
  264. # /etc/fstab: static file system information.
  265. #
  266. # Use 'blkid' to print the universally unique identifier for a
  267. # device; this may be used with UUID= as a more robust way to name devices
  268. # that works even if disks are added and removed. See fstab(5).
  269. #
  270. # <file system> <mount point> <type> <options> <dump> <pass>
  271. proc /proc proc nodev,noexec,nosuid 0 0
  272. # / was on /dev/sdd1 during installation
  273. UUID=ae10a467-5fc0-473e-89d6-11f53e056e23 / ext4 errors=remount-ro 0 1
  274. # /home was on /dev/sdd6 during installation
  275. UUID=567c7dc8-5a16-49ab-a0d0-08d5a3194931 /home ext3 defaults 0 2
  276. # swap was on /dev/sdd5 during installation
  277. UUID=45c2f1b7-2206-4973-9d8f-1b237eb5f8c8 none swap sw 0 0
  278. --------------------------------------------------------------------------------
  279.  
  280. =================== sdd1: Location of files loaded by Grub: ====================
  281.  
  282. GiB - GB File Fragment(s)
  283.  
  284. = boot/grub/core.img 1
  285. = boot/grub/grub.cfg 1
  286. = boot/initrd.img-3.0.0-12-generic 1
  287. = boot/vmlinuz-3.0.0-12-generic 1
  288. = initrd.img 1
  289. = vmlinuz 1
  290.  
  291. ========= Devices which don't seem to have a corresponding hard drive: =========
  292.  
  293. sdb sdc
  294.  
  295. =============================== StdErr Messages: ===============================
  296.  
  297. unlzma: Decoder error
  298. awk: cmd. line:36: Math support is not compiled in
  299. awk: cmd. line:36: Math support is not compiled in
  300. awk: cmd. line:36: Math support is not compiled in
  301. awk: cmd. line:36: Math support is not compiled in
  302. awk: cmd. line:36: Math support is not compiled in
  303. awk: cmd. line:36: Math support is not compiled in
Advertisement
Add Comment
Please, Sign In to add comment