Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.13 KB | None | 0 0
  1. Boot Info Script 0.60 from 17 May 2011
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector
  7. 1 of the same hard drive for core.img. core.img is at this location and
  8. looks in partition 5 for /boot/grub.
  9. => No boot loader? is installed in the MBR of /dev/sdf.
  10.  
  11. sda1: __________________________________________________________________________
  12.  
  13. File system: ntfs
  14. Boot sector type: Windows XP
  15. Boot sector info: No errors found in the Boot Parameter Block.
  16. Operating System: Windows XP
  17. Boot files: /boot.ini /ntldr /NTDETECT.COM
  18.  
  19. sda2: __________________________________________________________________________
  20.  
  21. File system: Extended Partition
  22. Boot sector type: -
  23. Boot sector info:
  24.  
  25. sda5: __________________________________________________________________________
  26.  
  27. File system: ext4
  28. Boot sector type: -
  29. Boot sector info:
  30. Operating System: Ubuntu 10.04 LTS
  31. Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  32.  
  33. sda6: __________________________________________________________________________
  34.  
  35. File system: swap
  36. Boot sector type: -
  37. Boot sector info:
  38.  
  39. sdf1: __________________________________________________________________________
  40.  
  41. File system: vfat
  42. Boot sector type: MSWIN4.1: FAT32
  43. Boot sector info: No errors found in the Boot Parameter Block.
  44. Operating System:
  45. Boot files:
  46.  
  47. ============================ Drive/Partition Info: =============================
  48.  
  49. Drive: sda _____________________________________________________________________
  50.  
  51. Disk /dev/sda: 80.0 GB, 80000000000 bytes
  52. 255 heads, 63 sectors/track, 9726 cylinders, total 156250000 sectors
  53. Units = sectors of 1 * 512 = 512 bytes
  54. Sector size (logical/physical): 512 bytes / 512 bytes
  55.  
  56. Partition Boot Start Sector End Sector # of Sectors Id System
  57.  
  58. /dev/sda1 * 63 96,036,569 96,036,507 7 NTFS / exFAT / HPFS
  59. /dev/sda2 96,036,862 156,248,063 60,211,202 5 Extended
  60. /dev/sda5 96,036,864 153,675,775 57,638,912 83 Linux
  61. /dev/sda6 153,677,824 156,248,063 2,570,240 82 Linux swap / Solaris
  62.  
  63.  
  64. Drive: sdf _____________________________________________________________________
  65.  
  66. Disk /dev/sdf: 8032 MB, 8032092160 bytes
  67. 5 heads, 32 sectors/track, 98048 cylinders, total 15687680 sectors
  68. Units = sectors of 1 * 512 = 512 bytes
  69. Sector size (logical/physical): 512 bytes / 512 bytes
  70.  
  71. Partition Boot Start Sector End Sector # of Sectors Id System
  72.  
  73. /dev/sdf1 8,064 15,687,679 15,679,616 c W95 FAT32 (LBA)
  74.  
  75.  
  76. "blkid" output: ________________________________________________________________
  77.  
  78. Device UUID TYPE LABEL
  79.  
  80. /dev/sda1 00186E99186E8E0A ntfs
  81. /dev/sda5 2453e572-c584-45b6-a342-d99e59f68711 ext4
  82. /dev/sda6 f46a3cbc-8e1f-4677-ad46-3026924dcef2 swap
  83. /dev/sdf1 1FE1-45DF vfat KINGSTON
  84.  
  85. ================================ Mount points: =================================
  86.  
  87. Device Mount_Point Type Options
  88.  
  89. /dev/sda5 / ext4 (rw,errors=remount-ro)
  90. /dev/sdf1 /media/KINGSTON vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
  91.  
  92.  
  93. ================================ sda1/boot.ini: ================================
  94.  
  95. --------------------------------------------------------------------------------
  96. [boot loader]
  97. timeout=30
  98. default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
  99. [operating systems]
  100. multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
  101. --------------------------------------------------------------------------------
  102.  
  103. =========================== sda5/boot/grub/grub.cfg: ===========================
  104.  
  105. --------------------------------------------------------------------------------
  106. #
  107. # DO NOT EDIT THIS FILE
  108. #
  109. # It is automatically generated by /usr/sbin/grub-mkconfig using templates
  110. # from /etc/grub.d and settings from /etc/default/grub
  111. #
  112.  
  113. ### BEGIN /etc/grub.d/00_header ###
  114. if [ -s $prefix/grubenv ]; then
  115. load_env
  116. fi
  117. set default="0"
  118. if [ ${prev_saved_entry} ]; then
  119. set saved_entry=${prev_saved_entry}
  120. save_env saved_entry
  121. set prev_saved_entry=
  122. save_env prev_saved_entry
  123. set boot_once=true
  124. fi
  125.  
  126. function savedefault {
  127. if [ -z ${boot_once} ]; then
  128. saved_entry=${chosen}
  129. save_env saved_entry
  130. fi
  131. }
  132.  
  133. function recordfail {
  134. set recordfail=1
  135. if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
  136. }
  137. insmod ext2
  138. set root='(hd0,5)'
  139. search --no-floppy --fs-uuid --set 2453e572-c584-45b6-a342-d99e59f68711
  140. if loadfont /usr/share/grub/unicode.pf2 ; then
  141. set gfxmode=640x480
  142. insmod gfxterm
  143. insmod vbe
  144. if terminal_output gfxterm ; then true ; else
  145. # For backward compatibility with versions of terminal.mod that don't
  146. # understand terminal_output
  147. terminal gfxterm
  148. fi
  149. fi
  150. insmod ext2
  151. set root='(hd0,5)'
  152. search --no-floppy --fs-uuid --set 2453e572-c584-45b6-a342-d99e59f68711
  153. set locale_dir=($root)/boot/grub/locale
  154. set lang=en
  155. insmod gettext
  156. if [ ${recordfail} = 1 ]; then
  157. set timeout=-1
  158. else
  159. set timeout=10
  160. fi
  161. ### END /etc/grub.d/00_header ###
  162.  
  163. ### BEGIN /etc/grub.d/05_debian_theme ###
  164. set menu_color_normal=white/black
  165. set menu_color_highlight=black/light-gray
  166. ### END /etc/grub.d/05_debian_theme ###
  167.  
  168. ### BEGIN /etc/grub.d/10_linux ###
  169. menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  170. recordfail
  171. insmod ext2
  172. set root='(hd0,5)'
  173. search --no-floppy --fs-uuid --set 2453e572-c584-45b6-a342-d99e59f68711
  174. linux /boot/vmlinuz-2.6.32-21-generic root=UUID=2453e572-c584-45b6-a342-d99e59f68711 ro quiet splash
  175. initrd /boot/initrd.img-2.6.32-21-generic
  176. }
  177. menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  178. recordfail
  179. insmod ext2
  180. set root='(hd0,5)'
  181. search --no-floppy --fs-uuid --set 2453e572-c584-45b6-a342-d99e59f68711
  182. echo 'Loading Linux 2.6.32-21-generic ...'
  183. linux /boot/vmlinuz-2.6.32-21-generic root=UUID=2453e572-c584-45b6-a342-d99e59f68711 ro single
  184. echo 'Loading initial ramdisk ...'
  185. initrd /boot/initrd.img-2.6.32-21-generic
  186. }
  187. ### END /etc/grub.d/10_linux ###
  188.  
  189. ### BEGIN /etc/grub.d/20_memtest86+ ###
  190. menuentry "Memory test (memtest86+)" {
  191. insmod ext2
  192. set root='(hd0,5)'
  193. search --no-floppy --fs-uuid --set 2453e572-c584-45b6-a342-d99e59f68711
  194. linux16 /boot/memtest86+.bin
  195. }
  196. menuentry "Memory test (memtest86+, serial console 115200)" {
  197. insmod ext2
  198. set root='(hd0,5)'
  199. search --no-floppy --fs-uuid --set 2453e572-c584-45b6-a342-d99e59f68711
  200. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  201. }
  202. ### END /etc/grub.d/20_memtest86+ ###
  203.  
  204. ### BEGIN /etc/grub.d/30_os-prober ###
  205. menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
  206. insmod ntfs
  207. set root='(hd0,1)'
  208. search --no-floppy --fs-uuid --set 00186e99186e8e0a
  209. drivemap -s (hd0) ${root}
  210. chainloader +1
  211. }
  212. ### END /etc/grub.d/30_os-prober ###
  213.  
  214. ### BEGIN /etc/grub.d/40_custom ###
  215. # This file provides an easy way to add custom menu entries. Simply type the
  216. # menu entries you want to add after this comment. Be careful not to change
  217. # the 'exec tail' line above.
  218. ### END /etc/grub.d/40_custom ###
  219. --------------------------------------------------------------------------------
  220.  
  221. =============================== sda5/etc/fstab: ================================
  222.  
  223. --------------------------------------------------------------------------------
  224. # /etc/fstab: static file system information.
  225. #
  226. # Use 'blkid -o value -s UUID' to print the universally unique identifier
  227. # for a device; this may be used with UUID= as a more robust way to name
  228. # devices that works even if disks are added and removed. See fstab(5).
  229. #
  230. # <file system> <mount point> <type> <options> <dump> <pass>
  231. proc /proc proc nodev,noexec,nosuid 0 0
  232. # / was on /dev/sda5 during installation
  233. UUID=2453e572-c584-45b6-a342-d99e59f68711 / ext4 errors=remount-ro 0 1
  234. # swap was on /dev/sda6 during installation
  235. UUID=f46a3cbc-8e1f-4677-ad46-3026924dcef2 none swap sw 0 0
  236. --------------------------------------------------------------------------------
  237.  
  238. =================== sda5: Location of files loaded by Grub: ====================
  239.  
  240. GiB - GB File Fragment(s)
  241.  
  242. 54.252223969 = 58.252881920 boot/grub/core.img 1
  243. 58.214797974 = 62.507663360 boot/grub/grub.cfg 1
  244. 54.313602448 = 58.318786560 boot/initrd.img-2.6.32-21-generic 1
  245. 54.250816345 = 58.251370496 boot/vmlinuz-2.6.32-21-generic 1
  246. 54.313602448 = 58.318786560 initrd.img 1
  247. 54.250816345 = 58.251370496 vmlinuz 1
  248.  
  249. ========= Devices which don't seem to have a corresponding hard drive: =========
  250.  
  251. sdb sdc sdd sde
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement