Advertisement
Guest User

bootinfo

a guest
Jan 30th, 2012
893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.17 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 ?? on this drive.
  9.  
  10. sda1: __________________________________________________________________________
  11.  
  12. File system: ntfs
  13. Boot sector type: Grub2 (v1.99)
  14. Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda1
  15. and looks at sector 928345056 of the same hard drive
  16. for core.img, but core.img can not be found at this
  17. location. No errors found in the Boot Parameter Block.
  18. Operating System: Windows 7
  19. Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
  20.  
  21. sda2: __________________________________________________________________________
  22.  
  23. File system: ntfs
  24. Boot sector type: Windows Vista/7
  25. Boot sector info: No errors found in the Boot Parameter Block.
  26. Operating System:
  27. Boot files:
  28.  
  29. sda3: __________________________________________________________________________
  30.  
  31. File system: ntfs
  32. Boot sector type: Windows Vista/7
  33. Boot sector info: No errors found in the Boot Parameter Block.
  34. Operating System:
  35. Boot files:
  36.  
  37. sda4: __________________________________________________________________________
  38.  
  39. File system: Extended Partition
  40. Boot sector type: -
  41. Boot sector info:
  42.  
  43. sda5: __________________________________________________________________________
  44.  
  45. File system: ext4
  46. Boot sector type: -
  47. Boot sector info:
  48. Operating System: Ubuntu 11.10
  49. Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  50.  
  51. sda6: __________________________________________________________________________
  52.  
  53. File system: swap
  54. Boot sector type: -
  55. Boot sector info:
  56.  
  57. ============================ Drive/Partition Info: =============================
  58.  
  59. Drive: sda _____________________________________________________________________
  60.  
  61. Disk /dev/sda: 750.2 GB, 750156374016 bytes
  62. 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
  63. Units = sectors of 1 * 512 = 512 bytes
  64. Sector size (logical/physical): 512 bytes / 4096 bytes
  65.  
  66. Partition Boot Start Sector End Sector # of Sectors Id System
  67.  
  68. /dev/sda1 * 2,048 835,794,798 835,792,751 7 NTFS / exFAT / HPFS
  69. /dev/sda2 1,226,758,144 1,436,471,295 209,713,152 7 NTFS / exFAT / HPFS
  70. /dev/sda3 1,436,473,344 1,465,145,343 28,672,000 7 NTFS / exFAT / HPFS
  71. /dev/sda4 835,794,942 1,226,758,143 390,963,202 5 Extended
  72. /dev/sda5 835,794,944 1,210,200,063 374,405,120 83 Linux
  73. /dev/sda6 1,210,202,112 1,226,758,143 16,556,032 82 Linux swap / Solaris
  74.  
  75.  
  76. "blkid" output: ________________________________________________________________
  77.  
  78. Device UUID TYPE LABEL
  79.  
  80. /dev/sda1 FAF0F57DF0F54085 ntfs OSDisk
  81. /dev/sda2 20B87D6EB87D4378 ntfs work
  82. /dev/sda3 CA56F69A56F6868B ntfs Recovery
  83. /dev/sda5 6a578263-e032-41d0-b3dd-48bc4117eb3e ext4
  84. /dev/sda6 52ff7de4-2d64-4305-b178-f778cf3e0900 swap
  85.  
  86. ================================ Mount points: =================================
  87.  
  88. Device Mount_Point Type Options
  89.  
  90. /dev/sda1 /media/OSDisk fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
  91. /dev/sda5 / ext4 (rw,errors=remount-ro,commit=0)
  92.  
  93.  
  94. =========================== sda5/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,msdos5)'
  140. search --no-floppy --fs-uuid --set=root 6a578263-e032-41d0-b3dd-48bc4117eb3e
  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,msdos5)'
  148. search --no-floppy --fs-uuid --set=root 6a578263-e032-41d0-b3dd-48bc4117eb3e
  149. set locale_dir=($root)/boot/grub/locale
  150. set lang=en_IN
  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 44,0,30; 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-12-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,msdos5)'
  196. search --no-floppy --fs-uuid --set=root 6a578263-e032-41d0-b3dd-48bc4117eb3e
  197. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=6a578263-e032-41d0-b3dd-48bc4117eb3e ro quiet splash vt.handoff=7
  198. initrd /boot/initrd.img-3.0.0-12-generic
  199. }
  200. menuentry 'Ubuntu, with Linux 3.0.0-12-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,msdos5)'
  206. search --no-floppy --fs-uuid --set=root 6a578263-e032-41d0-b3dd-48bc4117eb3e
  207. echo 'Loading Linux 3.0.0-12-generic ...'
  208. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=6a578263-e032-41d0-b3dd-48bc4117eb3e ro recovery nomodeset
  209. echo 'Loading initial ramdisk ...'
  210. initrd /boot/initrd.img-3.0.0-12-generic
  211. }
  212. ### END /etc/grub.d/10_linux ###
  213.  
  214. ### BEGIN /etc/grub.d/20_linux_xen ###
  215. ### END /etc/grub.d/20_linux_xen ###
  216.  
  217. ### BEGIN /etc/grub.d/20_memtest86+ ###
  218. menuentry "Memory test (memtest86+)" {
  219. insmod part_msdos
  220. insmod ext2
  221. set root='(hd0,msdos5)'
  222. search --no-floppy --fs-uuid --set=root 6a578263-e032-41d0-b3dd-48bc4117eb3e
  223. linux16 /boot/memtest86+.bin
  224. }
  225. menuentry "Memory test (memtest86+, serial console 115200)" {
  226. insmod part_msdos
  227. insmod ext2
  228. set root='(hd0,msdos5)'
  229. search --no-floppy --fs-uuid --set=root 6a578263-e032-41d0-b3dd-48bc4117eb3e
  230. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  231. }
  232. ### END /etc/grub.d/20_memtest86+ ###
  233.  
  234. ### BEGIN /etc/grub.d/30_os-prober ###
  235. menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
  236. insmod part_msdos
  237. insmod ntfs
  238. set root='(hd0,msdos1)'
  239. search --no-floppy --fs-uuid --set=root FAF0F57DF0F54085
  240. chainloader +1
  241. }
  242. ### END /etc/grub.d/30_os-prober ###
  243.  
  244. ### BEGIN /etc/grub.d/40_custom ###
  245. # This file provides an easy way to add custom menu entries. Simply type the
  246. # menu entries you want to add after this comment. Be careful not to change
  247. # the 'exec tail' line above.
  248. ### END /etc/grub.d/40_custom ###
  249.  
  250. ### BEGIN /etc/grub.d/41_custom ###
  251. if [ -f $prefix/custom.cfg ]; then
  252. source $prefix/custom.cfg;
  253. fi
  254. ### END /etc/grub.d/41_custom ###
  255. --------------------------------------------------------------------------------
  256.  
  257. =============================== sda5/etc/fstab: ================================
  258.  
  259. --------------------------------------------------------------------------------
  260. # /etc/fstab: static file system information.
  261. #
  262. # Use 'blkid' to print the universally unique identifier for a
  263. # device; this may be used with UUID= as a more robust way to name devices
  264. # that works even if disks are added and removed. See fstab(5).
  265. #
  266. # <file system> <mount point> <type> <options> <dump> <pass>
  267. proc /proc proc nodev,noexec,nosuid 0 0
  268. # / was on /dev/sda5 during installation
  269. UUID=6a578263-e032-41d0-b3dd-48bc4117eb3e / ext4 errors=remount-ro 0 1
  270. # swap was on /dev/sda6 during installation
  271. UUID=52ff7de4-2d64-4305-b178-f778cf3e0900 none swap sw 0 0
  272. --------------------------------------------------------------------------------
  273.  
  274. =================== sda5: Location of files loaded by Grub: ====================
  275.  
  276. GiB - GB File Fragment(s)
  277.  
  278. 442.669490814 = 475.312746496 boot/grub/core.img 1
  279. 442.669425964 = 475.312676864 boot/grub/grub.cfg 1
  280. 400.793060303 = 430.348271616 boot/initrd.img-3.0.0-12-generic 2
  281. 442.676876068 = 475.320676352 boot/vmlinuz-3.0.0-12-generic 1
  282. 400.793060303 = 430.348271616 initrd.img 2
  283. 442.676876068 = 475.320676352 vmlinuz 1
  284.  
  285. =============================== StdErr Messages: ===============================
  286.  
  287. To be able to see for which directory Grub2 (v1.99) looks for, install "unlzma".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement