kenwi

bootinfoscript-initial

Sep 15th, 2014
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.51 KB | None | 0 0
  1. Boot Info Script 0.61 [1 April 2012]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => Windows is installed in the MBR of /dev/sda.
  7. => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
  8. the same hard drive for core.img. core.img is at this location and looks
  9. for (,msdos1)/grub on this drive.
  10.  
  11. sda1: __________________________________________________________________________
  12.  
  13. File system: vfat
  14. Boot sector type: Dell Utility: FAT16
  15. Boot sector info: No errors found in the Boot Parameter Block.
  16. Operating System:
  17. Boot files: /DELLBIO.BIN /DELLRMK.BIN /COMMAND.COM
  18.  
  19. sda2: __________________________________________________________________________
  20.  
  21. File system: ntfs
  22. Boot sector type: Windows Vista/7: NTFS
  23. Boot sector info: No errors found in the Boot Parameter Block.
  24. Operating System:
  25. Boot files: /bootmgr /Boot/BCD
  26.  
  27. sda3: __________________________________________________________________________
  28.  
  29. File system: ntfs
  30. Boot sector type: Windows Vista/7: NTFS
  31. Boot sector info: No errors found in the Boot Parameter Block.
  32. Operating System: Windows 7
  33. Boot files: /Windows/System32/winload.exe
  34.  
  35. sdb1: __________________________________________________________________________
  36.  
  37. File system: ext4
  38. Boot sector type: -
  39. Boot sector info:
  40. Operating System:
  41. Boot files: /grub/grub.cfg /grub/core.img
  42.  
  43. sdb2: __________________________________________________________________________
  44.  
  45. File system: ext4
  46. Boot sector type: -
  47. Boot sector info:
  48. Operating System: Debian GNU/Linux 7
  49. Boot files: /etc/fstab
  50.  
  51. sdb3: __________________________________________________________________________
  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: 320.1 GB, 320072933376 bytes
  62. 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
  63. Units = sectors of 1 * 512 = 512 bytes
  64. Sector size (logical/physical): 512 bytes / 512 bytes
  65.  
  66. Partition Boot Start Sector End Sector # of Sectors Id System
  67.  
  68. /dev/sda1 63 80,324 80,262 de Dell Utility
  69. /dev/sda2 * 81,920 30,801,919 30,720,000 7 NTFS / exFAT / HPFS
  70. /dev/sda3 30,801,920 625,140,399 594,338,480 7 NTFS / exFAT / HPFS
  71.  
  72.  
  73. Drive: sdb _____________________________________________________________________
  74.  
  75. Disk /dev/sdb: 60.0 GB, 60022480896 bytes
  76. 64 heads, 32 sectors/track, 57241 cylinders, total 117231408 sectors
  77. Units = sectors of 1 * 512 = 512 bytes
  78. Sector size (logical/physical): 512 bytes / 512 bytes
  79.  
  80. Partition Boot Start Sector End Sector # of Sectors Id System
  81.  
  82. /dev/sdb1 * 2,048 514,047 512,000 83 Linux
  83. /dev/sdb2 514,048 80,386,047 79,872,000 83 Linux
  84. /dev/sdb3 80,386,048 84,482,047 4,096,000 82 Linux swap / Solaris
  85.  
  86.  
  87. "blkid" output: ________________________________________________________________
  88.  
  89. Device UUID TYPE LABEL
  90.  
  91. /dev/cloop0 iso9660 KNOPPIX_FS
  92. /dev/sda1 3030-3030 vfat DellUtility
  93. /dev/sda2 DCE62697E62671C6 ntfs RECOVERY
  94. /dev/sda3 0A662A6A662A572B ntfs OS
  95. /dev/sdb1 a44cebdb-8078-42ec-91b9-5264a4bb3ffa ext4 boot
  96. /dev/sdb2 5d954180-eb95-47a2-a90d-5ad7f9db62c4 ext4 root
  97. /dev/sdb3 5ae3af4d-40be-4099-9b2e-9ec222fff70d swap
  98. /dev/sr0 iso9660 KNOPPIX
  99. /dev/zram0 7c0e0d37-ef53-48bf-a31e-0ad087a38745 swap
  100.  
  101. ================================ Mount points: =================================
  102.  
  103. Device Mount_Point Type Options
  104.  
  105. /dev/cloop /KNOPPIX iso9660 (ro,relatime)
  106. /dev/sr0 /mnt-system iso9660 (ro,relatime)
  107.  
  108.  
  109. ============================= sdb1/grub/grub.cfg: ==============================
  110.  
  111. --------------------------------------------------------------------------------
  112. #
  113. # DO NOT EDIT THIS FILE
  114. #
  115. # It is automatically generated by grub-mkconfig using templates
  116. # from /etc/grub.d and settings from /etc/default/grub
  117. #
  118.  
  119. ### BEGIN /etc/grub.d/00_header ###
  120. if [ -s $prefix/grubenv ]; then
  121. load_env
  122. fi
  123. set default="0"
  124. if [ "${prev_saved_entry}" ]; then
  125. set saved_entry="${prev_saved_entry}"
  126. save_env saved_entry
  127. set prev_saved_entry=
  128. save_env prev_saved_entry
  129. set boot_once=true
  130. fi
  131.  
  132. function savedefault {
  133. if [ -z "${boot_once}" ]; then
  134. saved_entry="${chosen}"
  135. save_env saved_entry
  136. fi
  137. }
  138.  
  139. function load_video {
  140. insmod vbe
  141. insmod vga
  142. insmod video_bochs
  143. insmod video_cirrus
  144. }
  145.  
  146. insmod part_msdos
  147. insmod ext2
  148. set root='(hd1,msdos2)'
  149. search --no-floppy --fs-uuid --set=root 5d954180-eb95-47a2-a90d-5ad7f9db62c4
  150. if loadfont /usr/share/grub/unicode.pf2 ; then
  151. set gfxmode=640x480
  152. load_video
  153. insmod gfxterm
  154. insmod part_msdos
  155. insmod ext2
  156. set root='(hd1,msdos1)'
  157. search --no-floppy --fs-uuid --set=root a44cebdb-8078-42ec-91b9-5264a4bb3ffa
  158. set locale_dir=($root)/grub/locale
  159. set lang=en_US
  160. insmod gettext
  161. fi
  162. terminal_output gfxterm
  163. set timeout=5
  164. ### END /etc/grub.d/00_header ###
  165.  
  166. ### BEGIN /etc/grub.d/05_debian_theme ###
  167. set menu_color_normal=cyan/blue
  168. set menu_color_highlight=white/blue
  169. ### END /etc/grub.d/05_debian_theme ###
  170.  
  171. ### BEGIN /etc/grub.d/10_linux ###
  172. menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae' --class debian --class gnu-linux --class gnu --class os {
  173. load_video
  174. insmod gzio
  175. insmod part_msdos
  176. insmod ext2
  177. set root='(hd1,msdos1)'
  178. search --no-floppy --fs-uuid --set=root a44cebdb-8078-42ec-91b9-5264a4bb3ffa
  179. echo 'Loading Linux 3.2.0-4-686-pae ...'
  180. linux /vmlinuz-3.2.0-4-686-pae root=UUID=5d954180-eb95-47a2-a90d-5ad7f9db62c4 ro quiet
  181. echo 'Loading initial ramdisk ...'
  182. initrd /initrd.img-3.2.0-4-686-pae
  183. }
  184. menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
  185. load_video
  186. insmod gzio
  187. insmod part_msdos
  188. insmod ext2
  189. set root='(hd1,msdos1)'
  190. search --no-floppy --fs-uuid --set=root a44cebdb-8078-42ec-91b9-5264a4bb3ffa
  191. echo 'Loading Linux 3.2.0-4-686-pae ...'
  192. linux /vmlinuz-3.2.0-4-686-pae root=UUID=5d954180-eb95-47a2-a90d-5ad7f9db62c4 ro single
  193. echo 'Loading initial ramdisk ...'
  194. initrd /initrd.img-3.2.0-4-686-pae
  195. }
  196. ### END /etc/grub.d/10_linux ###
  197.  
  198. ### BEGIN /etc/grub.d/20_linux_xen ###
  199. ### END /etc/grub.d/20_linux_xen ###
  200.  
  201. ### BEGIN /etc/grub.d/30_os-prober ###
  202. menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
  203. insmod part_msdos
  204. insmod ntfs
  205. set root='(hd0,msdos2)'
  206. search --no-floppy --fs-uuid --set=root DCE62697E62671C6
  207. chainloader +1
  208. }
  209. ### END /etc/grub.d/30_os-prober ###
  210.  
  211. ### BEGIN /etc/grub.d/40_custom ###
  212. # This file provides an easy way to add custom menu entries. Simply type the
  213. # menu entries you want to add after this comment. Be careful not to change
  214. # the 'exec tail' line above.
  215. ### END /etc/grub.d/40_custom ###
  216.  
  217. ### BEGIN /etc/grub.d/41_custom ###
  218. if [ -f $prefix/custom.cfg ]; then
  219. source $prefix/custom.cfg;
  220. fi
  221. ### END /etc/grub.d/41_custom ###
  222. --------------------------------------------------------------------------------
  223.  
  224. =================== sdb1: Location of files loaded by Grub: ====================
  225.  
  226. GiB - GB File Fragment(s)
  227.  
  228. 0.024714470 = 0.026536960 grub/core.img 1
  229. 0.138207436 = 0.148399104 grub/grub.cfg 1
  230. 0.011905670 = 0.012783616 initrd.img-3.2.0-4-686-pae 1
  231. 0.023021698 = 0.024719360 vmlinuz-3.2.0-4-686-pae 1
  232.  
  233. =============================== sdb2/etc/fstab: ================================
  234.  
  235. --------------------------------------------------------------------------------
  236. # /etc/fstab: static file system information.
  237. #
  238. # Use 'blkid' to print the universally unique identifier for a
  239. # device; this may be used with UUID= as a more robust way to name devices
  240. # that works even if disks are added and removed. See fstab(5).
  241. #
  242. # <file system> <mount point> <type> <options> <dump> <pass>
  243. # / was on /dev/sdb2 during installation
  244. UUID=5d954180-eb95-47a2-a90d-5ad7f9db62c4 / ext4 errors=remount-ro 0 1
  245. # /boot was on /dev/sdb1 during installation
  246. UUID=a44cebdb-8078-42ec-91b9-5264a4bb3ffa /boot ext4 defaults 0 2
  247. # swap was on /dev/sdb3 during installation
  248. UUID=5ae3af4d-40be-4099-9b2e-9ec222fff70d none swap sw 0 0
  249. /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
  250. --------------------------------------------------------------------------------
  251.  
  252. ========= Devices which don't seem to have a corresponding hard drive: =========
  253.  
  254. sdc sdd sde sdf sdg sdh
  255.  
  256. =============================== StdErr Messages: ===============================
  257.  
  258. xz: (stdin): Compressed data is corrupt
  259. No volume groups found
  260. mdadm: No arrays found in config file or automatically
Advertisement
Add Comment
Please, Sign In to add comment