Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2012
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.07 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 cd.
  6.  
  7. sda1: _________________________________________________________________________
  8.  
  9. File system: Extended Partition
  10. Boot sector type: -
  11. Boot sector info:
  12.  
  13. sda5: _________________________________________________________________________
  14.  
  15. File system: swap
  16. Boot sector type: -
  17. Boot sector info:
  18.  
  19. sda2: _________________________________________________________________________
  20.  
  21. File system: ntfs
  22. Boot sector type: Windows Vista/7
  23. Boot sector info: No errors found in the Boot Parameter Block.
  24. Operating System: Windows 7
  25. Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe
  26.  
  27. sda3: _________________________________________________________________________
  28.  
  29. File system: ext4
  30. Boot sector type: -
  31. Boot sector info:
  32. Operating System: Ubuntu 11.10
  33. Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  34.  
  35. =========================== Drive/Partition Info: =============================
  36.  
  37. Drive: sda ___________________ _____________________________________________________
  38.  
  39. Disk /dev/sda: 640.1 GB, 640135028736 bytes
  40. 255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
  41. Units = sectors of 1 * 512 = 512 bytes
  42. Sector size (logical/physical): 512 bytes / 4096 bytes
  43.  
  44. Partition Boot Start End Size Id System
  45.  
  46. /dev/sda1 2,046 204,799 202,754 5 Extended
  47. /dev/sda5 2,048 204,799 202,752 82 Linux swap / Solaris
  48. /dev/sda2 * 206,848 472,023,039 471,816,192 7 HPFS/NTFS
  49. /dev/sda3 472,023,040 1,250,260,991 778,237,952 83 Linux
  50.  
  51.  
  52. blkid -c /dev/null: ____________________________________________________________
  53.  
  54. Device UUID TYPE LABEL
  55.  
  56. /dev/sda1: PTTYPE="dos" PART_ENTRY_SCHEME="dos" PART_ENTRY_TYPE="0x5" PART_ENTRY_NUMBER="1"
  57. /dev/sda2 50AADC3AAADC1E72 ntfs
  58. /dev/sda3 b6800421-055e-40ee-86d9-2d6d3435afbf ext4
  59. /dev/sda5 30b20858-6ac6-4549-a3b3-eddc2f7391fa swap
  60. /dev/sda: PTTYPE="dos"
  61.  
  62. ============================ "mount | grep ^/dev output: ===========================
  63.  
  64. Device Mount_Point Type Options
  65.  
  66. /dev/sda3 / ext4 (rw,errors=remount-ro,commit=0)
  67.  
  68.  
  69. =========================== sda3/boot/grub/grub.cfg: ===========================
  70.  
  71. #
  72. # DO NOT EDIT THIS FILE
  73. #
  74. # It is automatically generated by grub-mkconfig using templates
  75. # from /etc/grub.d and settings from /etc/default/grub
  76. #
  77.  
  78. ### BEGIN /etc/grub.d/00_header ###
  79. if [ -s $prefix/grubenv ]; then
  80. set have_grubenv=true
  81. load_env
  82. fi
  83. set default="0"
  84. if [ "${prev_saved_entry}" ]; then
  85. set saved_entry="${prev_saved_entry}"
  86. save_env saved_entry
  87. set prev_saved_entry=
  88. save_env prev_saved_entry
  89. set boot_once=true
  90. fi
  91.  
  92. function savedefault {
  93. if [ -z "${boot_once}" ]; then
  94. saved_entry="${chosen}"
  95. save_env saved_entry
  96. fi
  97. }
  98.  
  99. function recordfail {
  100. set recordfail=1
  101. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  102. }
  103.  
  104. function load_video {
  105. insmod vbe
  106. insmod vga
  107. insmod video_bochs
  108. insmod video_cirrus
  109. }
  110.  
  111. insmod part_msdos
  112. insmod ext2
  113. set root='(hd0,msdos3)'
  114. search --no-floppy --fs-uuid --set=root b6800421-055e-40ee-86d9-2d6d3435afbf
  115. if loadfont /usr/share/grub/unicode.pf2 ; then
  116. set gfxmode=auto
  117. load_video
  118. insmod gfxterm
  119. insmod part_msdos
  120. insmod ext2
  121. set root='(hd0,msdos3)'
  122. search --no-floppy --fs-uuid --set=root b6800421-055e-40ee-86d9-2d6d3435afbf
  123. set locale_dir=($root)/boot/grub/locale
  124. set lang=en_US
  125. insmod gettext
  126. fi
  127. terminal_output gfxterm
  128. if [ "${recordfail}" = 1 ]; then
  129. set timeout=-1
  130. else
  131. set timeout=10
  132. fi
  133. ### END /etc/grub.d/00_header ###
  134.  
  135. ### BEGIN /etc/grub.d/10_linux ###
  136. if [ ${recordfail} != 1 ]; then
  137. if [ -e ${prefix}/gfxblacklist.txt ]; then
  138. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  139. if [ ${match} = 0 ]; then
  140. set linux_gfx_mode=keep
  141. else
  142. set linux_gfx_mode=text
  143. fi
  144. else
  145. set linux_gfx_mode=text
  146. fi
  147. else
  148. set linux_gfx_mode=keep
  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 3.0.0-16-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
  156. recordfail
  157. set gfxpayload=$linux_gfx_mode
  158. insmod gzio
  159. insmod part_msdos
  160. insmod ext2
  161. set root='(hd0,msdos3)'
  162. search --no-floppy --fs-uuid --set=root b6800421-055e-40ee-86d9-2d6d3435afbf
  163. linux /boot/vmlinuz-3.0.0-16-generic-pae root=UUID=b6800421-055e-40ee-86d9-2d6d3435afbf ro quiet splash vt.handoff=7
  164. initrd /boot/initrd.img-3.0.0-16-generic-pae
  165. }
  166. menuentry 'Ubuntu, with Linux 3.0.0-16-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  167. recordfail
  168. insmod gzio
  169. insmod part_msdos
  170. insmod ext2
  171. set root='(hd0,msdos3)'
  172. search --no-floppy --fs-uuid --set=root b6800421-055e-40ee-86d9-2d6d3435afbf
  173. echo 'Loading Linux 3.0.0-16-generic-pae ...'
  174. linux /boot/vmlinuz-3.0.0-16-generic-pae root=UUID=b6800421-055e-40ee-86d9-2d6d3435afbf ro recovery nomodeset
  175. echo 'Loading initial ramdisk ...'
  176. initrd /boot/initrd.img-3.0.0-16-generic-pae
  177. }
  178. submenu "Previous Linux versions" {
  179. menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  180. recordfail
  181. set gfxpayload=$linux_gfx_mode
  182. insmod gzio
  183. insmod part_msdos
  184. insmod ext2
  185. set root='(hd0,msdos3)'
  186. search --no-floppy --fs-uuid --set=root b6800421-055e-40ee-86d9-2d6d3435afbf
  187. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=b6800421-055e-40ee-86d9-2d6d3435afbf ro quiet splash vt.handoff=7
  188. initrd /boot/initrd.img-3.0.0-12-generic
  189. }
  190. menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  191. recordfail
  192. insmod gzio
  193. insmod part_msdos
  194. insmod ext2
  195. set root='(hd0,msdos3)'
  196. search --no-floppy --fs-uuid --set=root b6800421-055e-40ee-86d9-2d6d3435afbf
  197. echo 'Loading Linux 3.0.0-12-generic ...'
  198. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=b6800421-055e-40ee-86d9-2d6d3435afbf ro recovery nomodeset
  199. echo 'Loading initial ramdisk ...'
  200. initrd /boot/initrd.img-3.0.0-12-generic
  201. }
  202. }
  203. ### END /etc/grub.d/10_linux ###
  204.  
  205. ### BEGIN /etc/grub.d/20_linux_xen ###
  206. ### END /etc/grub.d/20_linux_xen ###
  207.  
  208. ### BEGIN /etc/grub.d/20_memtest86+ ###
  209. menuentry "Memory test (memtest86+)" {
  210. insmod part_msdos
  211. insmod ext2
  212. set root='(hd0,msdos3)'
  213. search --no-floppy --fs-uuid --set=root b6800421-055e-40ee-86d9-2d6d3435afbf
  214. linux16 /boot/memtest86+.bin
  215. }
  216. menuentry "Memory test (memtest86+, serial console 115200)" {
  217. insmod part_msdos
  218. insmod ext2
  219. set root='(hd0,msdos3)'
  220. search --no-floppy --fs-uuid --set=root b6800421-055e-40ee-86d9-2d6d3435afbf
  221. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  222. }
  223. ### END /etc/grub.d/20_memtest86+ ###
  224.  
  225. ### BEGIN /etc/grub.d/30_os-prober ###
  226. ### END /etc/grub.d/30_os-prober ###
  227.  
  228. ### BEGIN /etc/grub.d/40_custom ###
  229. # This file provides an easy way to add custom menu entries. Simply type the
  230. # menu entries you want to add after this comment. Be careful not to change
  231. # the 'exec tail' line above.
  232. ### END /etc/grub.d/40_custom ###
  233.  
  234. ### BEGIN /etc/grub.d/41_custom ###
  235. if [ -f $prefix/custom.cfg ]; then
  236. source $prefix/custom.cfg;
  237. fi
  238. ### END /etc/grub.d/41_custom ###
  239.  
  240. =============================== sda3/etc/fstab: ===============================
  241.  
  242. # /etc/fstab: static file system information.
  243. #
  244. # Use 'blkid' to print the universally unique identifier for a
  245. # device; this may be used with UUID= as a more robust way to name devices
  246. # that works even if disks are added and removed. See fstab(5).
  247. #
  248. # <file system> <mount point> <type> <options> <dump> <pass>
  249. proc /proc proc nodev,noexec,nosuid 0 0
  250. # / was on /dev/sda3 during installation
  251. UUID=b6800421-055e-40ee-86d9-2d6d3435afbf / ext4 errors=remount-ro 0 1
  252. # swap was on /dev/sda5 during installation
  253. UUID=30b20858-6ac6-4549-a3b3-eddc2f7391fa none swap sw 0 0
  254.  
  255. =================== sda3: Location of files loaded by Grub: ===================
  256.  
  257.  
  258. 289.0GB: boot/grub/core.img
  259. 289.0GB: boot/grub/grub.cfg
  260. 242.9GB: boot/initrd.img-3.0.0-12-generic
  261. 457.5GB: boot/initrd.img-3.0.0-16-generic
  262. 457.5GB: boot/initrd.img-3.0.0-16-generic-pae
  263. 289.0GB: boot/vmlinuz-3.0.0-12-generic
  264. 457.0GB: boot/vmlinuz-3.0.0-16-generic
  265. 242.7GB: boot/vmlinuz-3.0.0-16-generic-pae
  266. 457.5GB: initrd.img
  267. 242.9GB: initrd.img.old
  268. 457.0GB: vmlinuz
  269. 289.0GB: vmlinuz.old
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement