Advertisement
winterpk

Boot Info Script Results

Jun 16th, 2011
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.68 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. for (,msdos1)/boot/grub on this drive.
  9.  
  10. sda1: __________________________________________________________________________
  11.  
  12. File system: ext4
  13. Boot sector type: -
  14. Boot sector info:
  15. Operating System: Ubuntu 11.04
  16. Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  17.  
  18. sda2: __________________________________________________________________________
  19.  
  20. File system: Extended Partition
  21. Boot sector type: -
  22. Boot sector info:
  23.  
  24. sda5: __________________________________________________________________________
  25.  
  26. File system: swap
  27. Boot sector type: -
  28. Boot sector info:
  29.  
  30. ============================ Drive/Partition Info: =============================
  31.  
  32. Drive: sda _____________________________________________________________________
  33.  
  34. Disk /dev/sda: 320.1 GB, 320072933376 bytes
  35. 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
  36. Units = sectors of 1 * 512 = 512 bytes
  37. Sector size (logical/physical): 512 bytes / 512 bytes
  38.  
  39. Partition Boot Start Sector End Sector # of Sectors Id System
  40.  
  41. /dev/sda1 * 2,048 612,560,895 612,558,848 83 Linux
  42. /dev/sda2 612,562,942 625,141,759 12,578,818 5 Extended
  43. /dev/sda5 612,562,944 625,141,759 12,578,816 82 Linux swap / Solaris
  44.  
  45.  
  46. "blkid" output: ________________________________________________________________
  47.  
  48. Device UUID TYPE LABEL
  49.  
  50. /dev/loop0 squashfs
  51. /dev/sda1 ec0f698c-2e6c-4a27-aaba-7c4f99328444 ext4
  52. /dev/sda5 0d419e4b-4a64-4dd8-859b-0396b06016de swap
  53.  
  54. ================================ Mount points: =================================
  55.  
  56. Device Mount_Point Type Options
  57.  
  58. /dev/loop0 /rofs squashfs (ro,noatime)
  59. /dev/sda1 /media/ec0f698c-2e6c-4a27-aaba-7c4f99328444 ext4 (rw,nosuid,nodev,uhelper=udisks)
  60. /dev/sr0 /cdrom iso9660 (ro,noatime)
  61.  
  62.  
  63. =========================== sda1/boot/grub/grub.cfg: ===========================
  64.  
  65. --------------------------------------------------------------------------------
  66. #
  67. # DO NOT EDIT THIS FILE
  68. #
  69. # It is automatically generated by grub-mkconfig using templates
  70. # from /etc/grub.d and settings from /etc/default/grub
  71. #
  72.  
  73. ### BEGIN /etc/grub.d/00_header ###
  74. if [ -s $prefix/grubenv ]; then
  75. set have_grubenv=true
  76. load_env
  77. fi
  78. set default="0"
  79. if [ "${prev_saved_entry}" ]; then
  80. set saved_entry="${prev_saved_entry}"
  81. save_env saved_entry
  82. set prev_saved_entry=
  83. save_env prev_saved_entry
  84. set boot_once=true
  85. fi
  86.  
  87. function savedefault {
  88. if [ -z "${boot_once}" ]; then
  89. saved_entry="${chosen}"
  90. save_env saved_entry
  91. fi
  92. }
  93.  
  94. function recordfail {
  95. set recordfail=1
  96. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  97. }
  98.  
  99. function load_video {
  100. insmod vbe
  101. insmod vga
  102. insmod video_bochs
  103. insmod video_cirrus
  104. }
  105.  
  106. insmod part_msdos
  107. insmod ext2
  108. set root='(/dev/sda,msdos1)'
  109. search --no-floppy --fs-uuid --set=root ec0f698c-2e6c-4a27-aaba-7c4f99328444
  110. if loadfont /usr/share/grub/unicode.pf2 ; then
  111. set gfxmode=auto
  112. load_video
  113. insmod gfxterm
  114. fi
  115. terminal_output gfxterm
  116. insmod part_msdos
  117. insmod ext2
  118. set root='(/dev/sda,msdos1)'
  119. search --no-floppy --fs-uuid --set=root ec0f698c-2e6c-4a27-aaba-7c4f99328444
  120. set locale_dir=($root)/boot/grub/locale
  121. set lang=en_US
  122. insmod gettext
  123. if [ "${recordfail}" = 1 ]; then
  124. set timeout=-1
  125. else
  126. set timeout=10
  127. fi
  128. ### END /etc/grub.d/00_header ###
  129.  
  130. ### BEGIN /etc/grub.d/05_debian_theme ###
  131. set menu_color_normal=white/black
  132. set menu_color_highlight=black/light-gray
  133. if background_color 44,0,30; then
  134. clear
  135. fi
  136. ### END /etc/grub.d/05_debian_theme ###
  137.  
  138. ### BEGIN /etc/grub.d/10_linux ###
  139. if [ ${recordfail} != 1 ]; then
  140. if [ -e ${prefix}/gfxblacklist.txt ]; then
  141. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  142. if [ ${match} = 0 ]; then
  143. set linux_gfx_mode=keep
  144. else
  145. set linux_gfx_mode=text
  146. fi
  147. else
  148. set linux_gfx_mode=text
  149. fi
  150. else
  151. set linux_gfx_mode=keep
  152. fi
  153. else
  154. set linux_gfx_mode=text
  155. fi
  156. export linux_gfx_mode
  157. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  158. menuentry 'Ubuntu, with Linux 2.6.38-8-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
  159. recordfail
  160. set gfxpayload=$linux_gfx_mode
  161. insmod part_msdos
  162. insmod ext2
  163. set root='(/dev/sda,msdos1)'
  164. search --no-floppy --fs-uuid --set=root ec0f698c-2e6c-4a27-aaba-7c4f99328444
  165. linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=ec0f698c-2e6c-4a27-aaba-7c4f99328444 ro quiet splash vt.handoff=7
  166. initrd /boot/initrd.img-2.6.38-8-generic-pae
  167. }
  168. menuentry 'Ubuntu, with Linux 2.6.38-8-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  169. recordfail
  170. set gfxpayload=$linux_gfx_mode
  171. insmod part_msdos
  172. insmod ext2
  173. set root='(/dev/sda,msdos1)'
  174. search --no-floppy --fs-uuid --set=root ec0f698c-2e6c-4a27-aaba-7c4f99328444
  175. echo 'Loading Linux 2.6.38-8-generic-pae ...'
  176. linux /boot/vmlinuz-2.6.38-8-generic-pae root=UUID=ec0f698c-2e6c-4a27-aaba-7c4f99328444 ro single
  177. echo 'Loading initial ramdisk ...'
  178. initrd /boot/initrd.img-2.6.38-8-generic-pae
  179. }
  180. ### END /etc/grub.d/10_linux ###
  181.  
  182. ### BEGIN /etc/grub.d/20_linux_xen ###
  183. ### END /etc/grub.d/20_linux_xen ###
  184.  
  185. ### BEGIN /etc/grub.d/20_memtest86+ ###
  186. menuentry "Memory test (memtest86+)" {
  187. insmod part_msdos
  188. insmod ext2
  189. set root='(/dev/sda,msdos1)'
  190. search --no-floppy --fs-uuid --set=root ec0f698c-2e6c-4a27-aaba-7c4f99328444
  191. linux16 /boot/memtest86+.bin
  192. }
  193. menuentry "Memory test (memtest86+, serial console 115200)" {
  194. insmod part_msdos
  195. insmod ext2
  196. set root='(/dev/sda,msdos1)'
  197. search --no-floppy --fs-uuid --set=root ec0f698c-2e6c-4a27-aaba-7c4f99328444
  198. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  199. }
  200. ### END /etc/grub.d/20_memtest86+ ###
  201.  
  202. ### BEGIN /etc/grub.d/30_os-prober ###
  203. if [ "x${timeout}" != "x-1" ]; then
  204. if keystatus; then
  205. if keystatus --shift; then
  206. set timeout=-1
  207. else
  208. set timeout=0
  209. fi
  210. else
  211. if sleep --interruptible 3 ; then
  212. set timeout=0
  213. fi
  214. fi
  215. fi
  216. ### END /etc/grub.d/30_os-prober ###
  217.  
  218. ### BEGIN /etc/grub.d/40_custom ###
  219. # This file provides an easy way to add custom menu entries. Simply type the
  220. # menu entries you want to add after this comment. Be careful not to change
  221. # the 'exec tail' line above.
  222. ### END /etc/grub.d/40_custom ###
  223.  
  224. ### BEGIN /etc/grub.d/41_custom ###
  225. if [ -f $prefix/custom.cfg ]; then
  226. source $prefix/custom.cfg;
  227. fi
  228. ### END /etc/grub.d/41_custom ###
  229. --------------------------------------------------------------------------------
  230.  
  231. =============================== sda1/etc/fstab: ================================
  232.  
  233. --------------------------------------------------------------------------------
  234. # /etc/fstab: static file system information.
  235. #
  236. # Use 'blkid -o value -s UUID' to print the universally unique identifier
  237. # for a device; this may be used with UUID= as a more robust way to name
  238. # devices that works even if disks are added and removed. See fstab(5).
  239. #
  240. # <file system> <mount point> <type> <options> <dump> <pass>
  241. proc /proc proc nodev,noexec,nosuid 0 0
  242. /dev/sda1 / ext4 errors=remount-ro 0 1
  243. # swap was on /dev/sda5 during installation
  244. UUID=0d419e4b-4a64-4dd8-859b-0396b06016de none swap sw 0 0
  245. --------------------------------------------------------------------------------
  246.  
  247. =================== sda1: Location of files loaded by Grub: ====================
  248.  
  249. GiB - GB File Fragment(s)
  250.  
  251. 268.129470825 = 287.901827072 boot/grub/core.img 1
  252. 192.315757751 = 206.497472512 boot/grub/grub.cfg 1
  253. 0.883998871 = 0.949186560 boot/initrd.img-2.6.38-8-generic-pae 2
  254. 0.692810059 = 0.743899136 boot/vmlinuz-2.6.38-8-generic-pae 1
  255. 0.883998871 = 0.949186560 initrd.img 2
  256. 0.692810059 = 0.743899136 vmlinuz 1
  257.  
  258. =============================== StdErr Messages: ===============================
  259.  
  260. unlzma: Decoder error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement