Advertisement
Guest User

Untitled

a guest
Mar 21st, 2011
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.57 KB | None | 0 0
  1. Boot Info Script 0.55 dated February 15th, 2010
  2.  
  3. ============================= Boot Info Summary: ==============================
  4.  
  5. => Grub 2 is installed in the MBR of /dev/sda and looks for 81soh.
  6.  
  7. sda1: _________________________________________________________________________
  8.  
  9. File system: ntfs
  10. Boot sector type: Windows Vista/7
  11. Boot sector info: No errors found in the Boot Parameter Block.
  12. Operating System: Windows 7
  13. Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe /grldr
  14.  
  15. sda2: _________________________________________________________________________
  16.  
  17. File system: swap
  18. Boot sector type: -
  19. Boot sector info:
  20.  
  21. sda3: _________________________________________________________________________
  22.  
  23. File system: btrfs
  24. Boot sector type: -
  25. Boot sector info:
  26. Operating System: Ubuntu
  27. Boot files/dirs: /boot/grub/grub.cfg /etc/fstab
  28.  
  29. =========================== Drive/Partition Info: =============================
  30.  
  31. Drive: sda ___________________ _____________________________________________________
  32.  
  33. Disk /dev/sda: 100.0 GB, 100030242816 bytes
  34. 255 heads, 63 sectors/track, 12161 cylinders, total 195371568 sectors
  35. Units = sectors of 1 * 512 = 512 bytes
  36. Sector size (logical/physical): 512 bytes / 512 bytes
  37.  
  38. Partition Boot Start End Size Id System
  39.  
  40. /dev/sda1 * 63 63,438,847 63,438,785 83 Linux
  41. /dev/sda2 192,265,920 195,371,007 3,105,088 82 Linux swap / Solaris
  42. /dev/sda3 63,438,848 192,264,191 128,825,344 83 Linux
  43.  
  44.  
  45. blkid -c /dev/null: ____________________________________________________________
  46.  
  47. Device UUID TYPE LABEL
  48.  
  49. /dev/sda1 CA049F1A049F0919 ntfs
  50. /dev/sda2 0d96067b-14e3-4954-a073-8ce2a48da2fc swap
  51. /dev/sda3 05cf3217-44e9-4b49-be62-c26784464bfb btrfs
  52. /dev/sda: PTTYPE="dos"
  53.  
  54. ============================ "mount | grep ^/dev output: ===========================
  55.  
  56. Device Mount_Point Type Options
  57.  
  58. /dev/sda3 / btrfs (rw,subvol=@,compress=lzo,space_cache)
  59. /dev/sda3 /home btrfs (rw,subvol=@home,compress=lzo,space_cache)
  60. /dev/sr0 /media/WORST-CASE SCENARIO udf (ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,iocharset=utf8,umask=0077,dmode=0500)
  61.  
  62.  
  63. =========================== sda3/boot/grub/grub.cfg: ===========================
  64.  
  65. #
  66. # DO NOT EDIT THIS FILE
  67. #
  68. # It is automatically generated by grub-mkconfig using templates
  69. # from /etc/grub.d and settings from /etc/default/grub
  70. #
  71.  
  72. ### BEGIN /etc/grub.d/00_header ###
  73. if [ -s $prefix/grubenv ]; then
  74. set have_grubenv=true
  75. load_env
  76. fi
  77. set default="0"
  78. if [ "${prev_saved_entry}" ]; then
  79. set saved_entry="${prev_saved_entry}"
  80. save_env saved_entry
  81. set prev_saved_entry=
  82. save_env prev_saved_entry
  83. set boot_once=true
  84. fi
  85.  
  86. function savedefault {
  87. if [ -z "${boot_once}" ]; then
  88. saved_entry="${chosen}"
  89. save_env saved_entry
  90. fi
  91. }
  92.  
  93. function recordfail {
  94. set recordfail=1
  95. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  96. }
  97.  
  98. function load_video {
  99. insmod vbe
  100. insmod vga
  101. insmod video_bochs
  102. insmod video_cirrus
  103. }
  104.  
  105. insmod part_msdos
  106. insmod btrfs
  107. set root='(/dev/sda,msdos3)'
  108. search --no-floppy --fs-uuid --set=root 05cf3217-44e9-4b49-be62-c26784464bfb
  109. if loadfont /@/usr/share/grub/unicode.pf2 ; then
  110. set gfxmode=auto
  111. load_video
  112. insmod gfxterm
  113. fi
  114. terminal_output gfxterm
  115. insmod part_msdos
  116. insmod btrfs
  117. set root='(/dev/sda,msdos3)'
  118. search --no-floppy --fs-uuid --set=root 05cf3217-44e9-4b49-be62-c26784464bfb
  119. set locale_dir=($root)/@/boot/grub/locale
  120. set lang=en_US
  121. insmod gettext
  122. if [ "${recordfail}" = 1 ]; then
  123. set timeout=-1
  124. else
  125. set timeout=10
  126. fi
  127. ### END /etc/grub.d/00_header ###
  128.  
  129. ### BEGIN /etc/grub.d/05_debian_theme ###
  130. set menu_color_normal=white/black
  131. set menu_color_highlight=black/light-gray
  132. if background_color 44,0,30; then
  133. clear
  134. fi
  135. ### END /etc/grub.d/05_debian_theme ###
  136.  
  137. ### BEGIN /etc/grub.d/10_linux ###
  138. if [ ${recordfail} != 1 ]; then
  139. set matches_file=${prefix}/gfxblacklist.txt
  140. set class_match=3
  141. if lua ${prefix}/hwmatch.lua; 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=text
  152. fi
  153. export linux_gfx_mode
  154. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  155. menuentry 'Ubuntu, with Linux 2.6.38-7-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  156. recordfail
  157. set gfxpayload=$linux_gfx_mode
  158. insmod part_msdos
  159. insmod btrfs
  160. set root='(/dev/sda,msdos3)'
  161. search --no-floppy --fs-uuid --set=root 05cf3217-44e9-4b49-be62-c26784464bfb
  162. linux /@/boot/vmlinuz-2.6.38-7-generic root=UUID=05cf3217-44e9-4b49-be62-c26784464bfb ro rootflags=subvol=@ noplymouth
  163. initrd /@/boot/initrd.img-2.6.38-7-generic
  164. }
  165. menuentry 'Ubuntu, with Linux 2.6.38-7-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  166. recordfail
  167. set gfxpayload=$linux_gfx_mode
  168. insmod part_msdos
  169. insmod btrfs
  170. set root='(/dev/sda,msdos3)'
  171. search --no-floppy --fs-uuid --set=root 05cf3217-44e9-4b49-be62-c26784464bfb
  172. echo 'Loading Linux 2.6.38-7-generic ...'
  173. linux /@/boot/vmlinuz-2.6.38-7-generic root=UUID=05cf3217-44e9-4b49-be62-c26784464bfb ro single rootflags=subvol=@
  174. echo 'Loading initial ramdisk ...'
  175. initrd /@/boot/initrd.img-2.6.38-7-generic
  176. }
  177. submenu "Previous Linux versions" {
  178. menuentry 'Ubuntu, with Linux 2.6.38-6-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  179. recordfail
  180. set gfxpayload=$linux_gfx_mode
  181. insmod part_msdos
  182. insmod btrfs
  183. set root='(/dev/sda,msdos3)'
  184. search --no-floppy --fs-uuid --set=root 05cf3217-44e9-4b49-be62-c26784464bfb
  185. linux /@/boot/vmlinuz-2.6.38-6-generic root=UUID=05cf3217-44e9-4b49-be62-c26784464bfb ro rootflags=subvol=@ noplymouth
  186. initrd /@/boot/initrd.img-2.6.38-6-generic
  187. }
  188. menuentry 'Ubuntu, with Linux 2.6.38-6-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  189. recordfail
  190. set gfxpayload=$linux_gfx_mode
  191. insmod part_msdos
  192. insmod btrfs
  193. set root='(/dev/sda,msdos3)'
  194. search --no-floppy --fs-uuid --set=root 05cf3217-44e9-4b49-be62-c26784464bfb
  195. echo 'Loading Linux 2.6.38-6-generic ...'
  196. linux /@/boot/vmlinuz-2.6.38-6-generic root=UUID=05cf3217-44e9-4b49-be62-c26784464bfb ro single rootflags=subvol=@
  197. echo 'Loading initial ramdisk ...'
  198. initrd /@/boot/initrd.img-2.6.38-6-generic
  199. }
  200. menuentry 'Ubuntu, with Linux 2.6.38-5-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  201. recordfail
  202. set gfxpayload=$linux_gfx_mode
  203. insmod part_msdos
  204. insmod btrfs
  205. set root='(/dev/sda,msdos3)'
  206. search --no-floppy --fs-uuid --set=root 05cf3217-44e9-4b49-be62-c26784464bfb
  207. linux /@/boot/vmlinuz-2.6.38-5-generic root=UUID=05cf3217-44e9-4b49-be62-c26784464bfb ro rootflags=subvol=@ noplymouth
  208. initrd /@/boot/initrd.img-2.6.38-5-generic
  209. }
  210. menuentry 'Ubuntu, with Linux 2.6.38-5-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  211. recordfail
  212. set gfxpayload=$linux_gfx_mode
  213. insmod part_msdos
  214. insmod btrfs
  215. set root='(/dev/sda,msdos3)'
  216. search --no-floppy --fs-uuid --set=root 05cf3217-44e9-4b49-be62-c26784464bfb
  217. echo 'Loading Linux 2.6.38-5-generic ...'
  218. linux /@/boot/vmlinuz-2.6.38-5-generic root=UUID=05cf3217-44e9-4b49-be62-c26784464bfb ro single rootflags=subvol=@
  219. echo 'Loading initial ramdisk ...'
  220. initrd /@/boot/initrd.img-2.6.38-5-generic
  221. }
  222. }
  223. ### END /etc/grub.d/10_linux ###
  224.  
  225. ### BEGIN /etc/grub.d/20_linux_xen ###
  226. ### END /etc/grub.d/20_linux_xen ###
  227.  
  228. ### BEGIN /etc/grub.d/20_memtest86+ ###
  229. menuentry "Memory test (memtest86+)" {
  230. insmod part_msdos
  231. insmod btrfs
  232. set root='(/dev/sda,msdos3)'
  233. search --no-floppy --fs-uuid --set=root 05cf3217-44e9-4b49-be62-c26784464bfb
  234. linux16 /@/boot/memtest86+.bin
  235. }
  236. menuentry "Memory test (memtest86+, serial console 115200)" {
  237. insmod part_msdos
  238. insmod btrfs
  239. set root='(/dev/sda,msdos3)'
  240. search --no-floppy --fs-uuid --set=root 05cf3217-44e9-4b49-be62-c26784464bfb
  241. linux16 /@/boot/memtest86+.bin console=ttyS0,115200n8
  242. }
  243. ### END /etc/grub.d/20_memtest86+ ###
  244.  
  245. ### BEGIN /etc/grub.d/30_os-prober ###
  246. menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
  247. insmod part_msdos
  248. insmod ntfs
  249. set root='(/dev/sda,msdos1)'
  250. search --no-floppy --fs-uuid --set=root CA049F1A049F0919
  251. chainloader +1
  252. }
  253. ### END /etc/grub.d/30_os-prober ###
  254.  
  255. ### BEGIN /etc/grub.d/40_custom ###
  256. # This file provides an easy way to add custom menu entries. Simply type the
  257. # menu entries you want to add after this comment. Be careful not to change
  258. # the 'exec tail' line above.
  259. ### END /etc/grub.d/40_custom ###
  260.  
  261. ### BEGIN /etc/grub.d/41_custom ###
  262. if [ -f $prefix/custom.cfg ]; then
  263. source $prefix/custom.cfg;
  264. fi
  265. ### END /etc/grub.d/41_custom ###
  266.  
  267. =============================== sda3/etc/fstab: ===============================
  268.  
  269. # /etc/fstab: static file system information.
  270. #
  271. # Use 'blkid -o value -s UUID' to print the universally unique identifier
  272. # for a device; this may be used with UUID= as a more robust way to name
  273. # devices that works even if disks are added and removed. See fstab(5).
  274. #
  275. # <file system> <mount point> <type> <options> <dump> <pass>
  276. proc /proc proc nodev,noexec,nosuid 0 0
  277. # / was on /dev/sda3 during installation
  278. UUID=05cf3217-44e9-4b49-be62-c26784464bfb / btrfs defaults,subvol=@,compress=lzo,space_cache 0 1
  279. # /home was on /dev/sda3 during installation
  280. UUID=05cf3217-44e9-4b49-be62-c26784464bfb /home btrfs defaults,subvol=@home,compress=lzo,space_cache 0 2
  281. # swap was on /dev/sda2 during installation
  282. UUID=0d96067b-14e3-4954-a073-8ce2a48da2fc none swap sw 0 0
  283.  
  284. =================== sda3: Location of files loaded by Grub: ===================
  285.  
  286.  
  287. 69.5GB: boot/grub/grub.cfg
  288. 62.0GB: boot/initrd.img-2.6.38-5-generic
  289. 62.6GB: boot/initrd.img-2.6.38-6-generic
  290. 86.9GB: boot/initrd.img-2.6.38-7-generic
  291. 62.5GB: boot/vmlinuz-2.6.38-5-generic
  292. 64.0GB: boot/vmlinuz-2.6.38-6-generic
  293. 63.5GB: boot/vmlinuz-2.6.38-7-generic
  294. 86.9GB: initrd.img
  295. 62.6GB: initrd.img.old
  296. 63.5GB: vmlinuz
  297. 64.0GB: vmlinuz.old
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement