Advertisement
Guest User

sbaker48-bootinfo

a guest
Sep 24th, 2011
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.55 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 (,msdos5)/boot/grub on this drive.
  9.  
  10. sda1: __________________________________________________________________________
  11.  
  12. File system: ntfs
  13. Boot sector type: Windows XP
  14. Boot sector info: No errors found in the Boot Parameter Block.
  15. Operating System: Windows XP
  16. Boot files: /boot.ini /ntldr /NTDETECT.COM
  17.  
  18. sda2: __________________________________________________________________________
  19.  
  20. File system: Extended Partition
  21. Boot sector type: -
  22. Boot sector info:
  23.  
  24. sda5: __________________________________________________________________________
  25.  
  26. File system: ext4
  27. Boot sector type: -
  28. Boot sector info:
  29. Operating System: Ubuntu 11.04
  30. Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  31.  
  32. sda6: __________________________________________________________________________
  33.  
  34. File system: swap
  35. Boot sector type: -
  36. Boot sector info:
  37.  
  38. ============================ Drive/Partition Info: =============================
  39.  
  40. Drive: sda _____________________________________________________________________
  41.  
  42. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  43. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  44. Units = sectors of 1 * 512 = 512 bytes
  45. Sector size (logical/physical): 512 bytes / 512 bytes
  46.  
  47. Partition Boot Start Sector End Sector # of Sectors Id System
  48.  
  49. /dev/sda1 * 63 245,762,369 245,762,307 7 NTFS / exFAT / HPFS
  50. /dev/sda2 245,764,094 312,580,095 66,816,002 5 Extended
  51. /dev/sda5 245,764,096 310,484,991 64,720,896 83 Linux
  52. /dev/sda6 310,487,040 312,580,095 2,093,056 82 Linux swap / Solaris
  53.  
  54.  
  55. "blkid" output: ________________________________________________________________
  56.  
  57. Device UUID TYPE LABEL
  58.  
  59. /dev/loop0 squashfs
  60. /dev/sda1 80906906906903CE ntfs
  61. /dev/sda5 f738414e-a88d-45b9-88c9-5c92a0215961 ext4
  62. /dev/sda6 fe43f37d-2392-4eba-a3d6-a707177d7e53 swap
  63.  
  64. ================================ Mount points: =================================
  65.  
  66. Device Mount_Point Type Options
  67.  
  68. /dev/loop0 /rofs squashfs (ro,noatime)
  69. /dev/sr0 /cdrom iso9660 (ro,noatime)
  70.  
  71.  
  72. ================================ sda1/boot.ini: ================================
  73.  
  74. --------------------------------------------------------------------------------
  75. [boot loader]
  76.  
  77. timeout=30
  78.  
  79. default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
  80.  
  81. [operating systems]
  82.  
  83. multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
  84.  
  85. --------------------------------------------------------------------------------
  86.  
  87. =========================== sda5/boot/grub/grub.cfg: ===========================
  88.  
  89. --------------------------------------------------------------------------------
  90. #
  91. # DO NOT EDIT THIS FILE
  92. #
  93. # It is automatically generated by grub-mkconfig using templates
  94. # from /etc/grub.d and settings from /etc/default/grub
  95. #
  96.  
  97. ### BEGIN /etc/grub.d/00_header ###
  98. if [ -s $prefix/grubenv ]; then
  99. set have_grubenv=true
  100. load_env
  101. fi
  102. set default="0"
  103. if [ "${prev_saved_entry}" ]; then
  104. set saved_entry="${prev_saved_entry}"
  105. save_env saved_entry
  106. set prev_saved_entry=
  107. save_env prev_saved_entry
  108. set boot_once=true
  109. fi
  110.  
  111. function savedefault {
  112. if [ -z "${boot_once}" ]; then
  113. saved_entry="${chosen}"
  114. save_env saved_entry
  115. fi
  116. }
  117.  
  118. function recordfail {
  119. set recordfail=1
  120. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  121. }
  122.  
  123. function load_video {
  124. insmod vbe
  125. insmod vga
  126. insmod video_bochs
  127. insmod video_cirrus
  128. }
  129.  
  130. insmod part_msdos
  131. insmod ext2
  132. set root='(/dev/sda,msdos5)'
  133. search --no-floppy --fs-uuid --set=root f738414e-a88d-45b9-88c9-5c92a0215961
  134. if loadfont /usr/share/grub/unicode.pf2 ; then
  135. set gfxmode=auto
  136. load_video
  137. insmod gfxterm
  138. fi
  139. terminal_output gfxterm
  140. insmod part_msdos
  141. insmod ext2
  142. set root='(/dev/sda,msdos5)'
  143. search --no-floppy --fs-uuid --set=root f738414e-a88d-45b9-88c9-5c92a0215961
  144. set locale_dir=($root)/boot/grub/locale
  145. set lang=en_US
  146. insmod gettext
  147. if [ "${recordfail}" = 1 ]; then
  148. set timeout=-1
  149. else
  150. set timeout=10
  151. fi
  152. ### END /etc/grub.d/00_header ###
  153.  
  154. ### BEGIN /etc/grub.d/05_debian_theme ###
  155. set menu_color_normal=white/black
  156. set menu_color_highlight=black/light-gray
  157. if background_color 44,0,30; then
  158. clear
  159. fi
  160. ### END /etc/grub.d/05_debian_theme ###
  161.  
  162. ### BEGIN /etc/grub.d/10_linux ###
  163. if [ ${recordfail} != 1 ]; then
  164. if [ -e ${prefix}/gfxblacklist.txt ]; then
  165. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  166. if [ ${match} = 0 ]; then
  167. set linux_gfx_mode=keep
  168. else
  169. set linux_gfx_mode=text
  170. fi
  171. else
  172. set linux_gfx_mode=text
  173. fi
  174. else
  175. set linux_gfx_mode=keep
  176. fi
  177. else
  178. set linux_gfx_mode=text
  179. fi
  180. export linux_gfx_mode
  181. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  182. menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  183. recordfail
  184. set gfxpayload=$linux_gfx_mode
  185. insmod part_msdos
  186. insmod ext2
  187. set root='(/dev/sda,msdos5)'
  188. search --no-floppy --fs-uuid --set=root f738414e-a88d-45b9-88c9-5c92a0215961
  189. linux /boot/vmlinuz-2.6.38-8-generic root=UUID=f738414e-a88d-45b9-88c9-5c92a0215961 ro quiet splash vt.handoff=7
  190. initrd /boot/initrd.img-2.6.38-8-generic
  191. }
  192. menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  193. recordfail
  194. set gfxpayload=$linux_gfx_mode
  195. insmod part_msdos
  196. insmod ext2
  197. set root='(/dev/sda,msdos5)'
  198. search --no-floppy --fs-uuid --set=root f738414e-a88d-45b9-88c9-5c92a0215961
  199. echo 'Loading Linux 2.6.38-8-generic ...'
  200. linux /boot/vmlinuz-2.6.38-8-generic root=UUID=f738414e-a88d-45b9-88c9-5c92a0215961 ro single
  201. echo 'Loading initial ramdisk ...'
  202. initrd /boot/initrd.img-2.6.38-8-generic
  203. }
  204. ### END /etc/grub.d/10_linux ###
  205.  
  206. ### BEGIN /etc/grub.d/20_linux_xen ###
  207. ### END /etc/grub.d/20_linux_xen ###
  208.  
  209. ### BEGIN /etc/grub.d/20_memtest86+ ###
  210. menuentry "Memory test (memtest86+)" {
  211. insmod part_msdos
  212. insmod ext2
  213. set root='(/dev/sda,msdos5)'
  214. search --no-floppy --fs-uuid --set=root f738414e-a88d-45b9-88c9-5c92a0215961
  215. linux16 /boot/memtest86+.bin
  216. }
  217. menuentry "Memory test (memtest86+, serial console 115200)" {
  218. insmod part_msdos
  219. insmod ext2
  220. set root='(/dev/sda,msdos5)'
  221. search --no-floppy --fs-uuid --set=root f738414e-a88d-45b9-88c9-5c92a0215961
  222. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  223. }
  224. ### END /etc/grub.d/20_memtest86+ ###
  225.  
  226. ### BEGIN /etc/grub.d/30_os-prober ###
  227. menuentry "Microsoft Windows XP Professional (on /dev/sda1)" --class windows --class os {
  228. insmod part_msdos
  229. insmod ntfs
  230. set root='(/dev/sda,msdos1)'
  231. search --no-floppy --fs-uuid --set=root 80906906906903CE
  232. drivemap -s (hd0) ${root}
  233. chainloader +1
  234. }
  235. ### END /etc/grub.d/30_os-prober ###
  236.  
  237. ### BEGIN /etc/grub.d/40_custom ###
  238. # This file provides an easy way to add custom menu entries. Simply type the
  239. # menu entries you want to add after this comment. Be careful not to change
  240. # the 'exec tail' line above.
  241. ### END /etc/grub.d/40_custom ###
  242.  
  243. ### BEGIN /etc/grub.d/41_custom ###
  244. if [ -f $prefix/custom.cfg ]; then
  245. source $prefix/custom.cfg;
  246. fi
  247. ### END /etc/grub.d/41_custom ###
  248. --------------------------------------------------------------------------------
  249.  
  250. =============================== sda5/etc/fstab: ================================
  251.  
  252. --------------------------------------------------------------------------------
  253. # /etc/fstab: static file system information.
  254. #
  255. # Use 'blkid -o value -s UUID' to print the universally unique identifier
  256. # for a device; this may be used with UUID= as a more robust way to name
  257. # devices that works even if disks are added and removed. See fstab(5).
  258. #
  259. # <file system> <mount point> <type> <options> <dump> <pass>
  260. proc /proc proc nodev,noexec,nosuid 0 0
  261. # / was on /dev/sda5 during installation
  262. UUID=f738414e-a88d-45b9-88c9-5c92a0215961 / ext4 errors=remount-ro 0 1
  263. # swap was on /dev/sda6 during installation
  264. UUID=fe43f37d-2392-4eba-a3d6-a707177d7e53 none swap sw 0 0
  265. --------------------------------------------------------------------------------
  266.  
  267. =================== sda5: Location of files loaded by Grub: ====================
  268.  
  269. GiB - GB File Fragment(s)
  270.  
  271. 137.438003540 = 147.572932608 boot/grub/core.img 1
  272. 129.399997711 = 138.942189568 boot/grub/grub.cfg 1
  273. 118.892578125 = 127.659933696 boot/initrd.img-2.6.38-8-generic 2
  274. 137.436782837 = 147.571621888 boot/vmlinuz-2.6.38-8-generic 1
  275. 118.892578125 = 127.659933696 initrd.img 2
  276. 137.436782837 = 147.571621888 vmlinuz 1
  277.  
  278. =============================== StdErr Messages: ===============================
  279.  
  280. unlzma: Decoder error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement