Advertisement
Guest User

kingofswords

a guest
Aug 24th, 2011
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.92 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 6 for /boot/grub.
  9.  
  10. sda2: __________________________________________________________________________
  11.  
  12. File system: Extended Partition
  13. Boot sector type: -
  14. Boot sector info:
  15.  
  16. sda5: __________________________________________________________________________
  17.  
  18. File system: ntfs
  19. Boot sector type: Windows XP
  20. Boot sector info: According to the info in the boot sector, sda5 starts
  21. at sector 63.
  22. Operating System: Windows XP
  23. Boot files:
  24.  
  25. sda6: __________________________________________________________________________
  26.  
  27. File system: ext4
  28. Boot sector type: -
  29. Boot sector info:
  30. Operating System: Ubuntu 10.04.3 LTS
  31. Boot files: /boot/grub/menu.lst /boot/grub/grub.cfg /etc/fstab
  32. /boot/grub/core.img
  33.  
  34. sda7: __________________________________________________________________________
  35.  
  36. File system: swap
  37. Boot sector type: -
  38. Boot sector info:
  39.  
  40. ============================ Drive/Partition Info: =============================
  41.  
  42. Drive: sda _____________________________________________________________________
  43.  
  44. Disk /dev/sda: 128.0 GB, 128035676160 bytes
  45. 255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
  46. Units = sectors of 1 * 512 = 512 bytes
  47. Sector size (logical/physical): 512 bytes / 512 bytes
  48.  
  49. Partition Boot Start Sector End Sector # of Sectors Id System
  50.  
  51. /dev/sda2 4,193,026 250,068,991 245,875,966 f W95 Extended (LBA)
  52. /dev/sda5 4,193,028 75,874,994 71,681,967 7 NTFS / exFAT / HPFS
  53. /dev/sda6 75,875,058 247,095,764 171,220,707 83 Linux
  54. /dev/sda7 247,097,344 250,068,991 2,971,648 82 Linux swap / Solaris
  55.  
  56.  
  57. "blkid" output: ________________________________________________________________
  58.  
  59. Device UUID TYPE LABEL
  60.  
  61. /dev/sda5 6A0CA92E0CA8F5EB ntfs
  62. /dev/sda6 eaeca659-f2b5-437d-b816-cc317bb53a9e ext4
  63. /dev/sda7 23924af0-dc48-4f2e-a41d-fc8724429f23 swap
  64.  
  65. ================================ Mount points: =================================
  66.  
  67. Device Mount_Point Type Options
  68.  
  69. /dev/sda6 / ext4 (rw,errors=remount-ro)
  70.  
  71.  
  72. =========================== sda6/boot/grub/menu.lst: ===========================
  73.  
  74. --------------------------------------------------------------------------------
  75. title Microsoft Windows XP Home
  76. root (hd0,0)
  77. chainloader +1
  78. ### BEGIN AUTOMAGIC KERNELS LIST
  79. ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
  80. ## by the debian update-grub script except for the default options below
  81.  
  82. ## DO NOT UNCOMMENT THEM, Just edit them to your needs
  83.  
  84. ## ## Start Default Options ##
  85. ## default kernel options
  86. ## default kernel options for automagic boot options
  87. ## If you want special options for specific kernels use kopt_x_y_z
  88. ## where x.y.z is kernel version. Minor versions can be omitted.
  89. ## e.g. kopt=root=/dev/hda1 ro
  90. ## kopt_2_6_8=root=/dev/hdc1 ro
  91. ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
  92. # kopt=root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro
  93.  
  94. ## default grub root device
  95. ## e.g. groot=(hd0,0)
  96. # groot=eaeca659-f2b5-437d-b816-cc317bb53a9e
  97.  
  98. ## should update-grub create alternative automagic boot options
  99. ## e.g. alternative=true
  100. ## alternative=false
  101. # alternative=true
  102.  
  103. ## should update-grub lock alternative automagic boot options
  104. ## e.g. lockalternative=true
  105. ## lockalternative=false
  106. # lockalternative=false
  107.  
  108. ## additional options to use with the default boot option, but not with the
  109. ## alternatives
  110. ## e.g. defoptions=vga=791 resume=/dev/hda5
  111. # defoptions=quiet splash
  112.  
  113. ## should update-grub lock old automagic boot options
  114. ## e.g. lockold=false
  115. ## lockold=true
  116. # lockold=false
  117.  
  118. ## Xen hypervisor options to use with the default Xen boot option
  119. # xenhopt=
  120.  
  121. ## Xen Linux kernel options to use with the default Xen boot option
  122. # xenkopt=console=tty0
  123.  
  124. ## altoption boot targets option
  125. ## multiple altoptions lines are allowed
  126. ## e.g. altoptions=(extra menu suffix) extra boot options
  127. ## altoptions=(recovery) single
  128. # altoptions=(recovery mode) single
  129.  
  130. ## controls how many kernels should be put into the menu.lst
  131. ## only counts the first occurence of a kernel, not the
  132. ## alternative kernel options
  133. ## e.g. howmany=all
  134. ## howmany=7
  135. # howmany=all
  136.  
  137. ## specify if running in Xen domU or have grub detect automatically
  138. ## update-grub will ignore non-xen kernels when running in domU and vice versa
  139. ## e.g. indomU=detect
  140. ## indomU=true
  141. ## indomU=false
  142. # indomU=detect
  143.  
  144. ## should update-grub create memtest86 boot option
  145. ## e.g. memtest86=true
  146. ## memtest86=false
  147. # memtest86=true
  148.  
  149. ## should update-grub adjust the value of the default booted system
  150. ## can be true or false
  151. # updatedefaultentry=false
  152.  
  153. ## should update-grub add savedefault to the default options
  154. ## can be true or false
  155. # savedefault=false
  156.  
  157. ## ## End Default Options ##
  158.  
  159. title Ubuntu 10.04.3 LTS, kernel 2.6.32-34-generic
  160. uuid eaeca659-f2b5-437d-b816-cc317bb53a9e
  161. kernel /boot/vmlinuz-2.6.32-34-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro quiet splash
  162. initrd /boot/initrd.img-2.6.32-34-generic
  163. quiet
  164.  
  165. title Ubuntu 10.04.3 LTS, kernel 2.6.32-34-generic (recovery mode)
  166. uuid eaeca659-f2b5-437d-b816-cc317bb53a9e
  167. kernel /boot/vmlinuz-2.6.32-34-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro single
  168. initrd /boot/initrd.img-2.6.32-34-generic
  169.  
  170. title Ubuntu 10.04.3 LTS, kernel 2.6.32-33-generic
  171. uuid eaeca659-f2b5-437d-b816-cc317bb53a9e
  172. kernel /boot/vmlinuz-2.6.32-33-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro quiet splash
  173. initrd /boot/initrd.img-2.6.32-33-generic
  174. quiet
  175.  
  176. title Ubuntu 10.04.3 LTS, kernel 2.6.32-33-generic (recovery mode)
  177. uuid eaeca659-f2b5-437d-b816-cc317bb53a9e
  178. kernel /boot/vmlinuz-2.6.32-33-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro single
  179. initrd /boot/initrd.img-2.6.32-33-generic
  180.  
  181. title Ubuntu 10.04.3 LTS, kernel 2.6.32-32-generic
  182. uuid eaeca659-f2b5-437d-b816-cc317bb53a9e
  183. kernel /boot/vmlinuz-2.6.32-32-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro quiet splash
  184. initrd /boot/initrd.img-2.6.32-32-generic
  185. quiet
  186.  
  187. title Ubuntu 10.04.3 LTS, kernel 2.6.32-32-generic (recovery mode)
  188. uuid eaeca659-f2b5-437d-b816-cc317bb53a9e
  189. kernel /boot/vmlinuz-2.6.32-32-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro single
  190. initrd /boot/initrd.img-2.6.32-32-generic
  191.  
  192. title Ubuntu 10.04.3 LTS, kernel 2.6.32-31-generic
  193. uuid eaeca659-f2b5-437d-b816-cc317bb53a9e
  194. kernel /boot/vmlinuz-2.6.32-31-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro quiet splash
  195. initrd /boot/initrd.img-2.6.32-31-generic
  196. quiet
  197.  
  198. title Ubuntu 10.04.3 LTS, kernel 2.6.32-31-generic (recovery mode)
  199. uuid eaeca659-f2b5-437d-b816-cc317bb53a9e
  200. kernel /boot/vmlinuz-2.6.32-31-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro single
  201. initrd /boot/initrd.img-2.6.32-31-generic
  202.  
  203. title Ubuntu 10.04.3 LTS, kernel 2.6.32-28-generic
  204. uuid eaeca659-f2b5-437d-b816-cc317bb53a9e
  205. kernel /boot/vmlinuz-2.6.32-28-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro quiet splash
  206. initrd /boot/initrd.img-2.6.32-28-generic
  207. quiet
  208.  
  209. title Ubuntu 10.04.3 LTS, kernel 2.6.32-28-generic (recovery mode)
  210. uuid eaeca659-f2b5-437d-b816-cc317bb53a9e
  211. kernel /boot/vmlinuz-2.6.32-28-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro single
  212. initrd /boot/initrd.img-2.6.32-28-generic
  213.  
  214. title Chainload into GRUB 2
  215. root eaeca659-f2b5-437d-b816-cc317bb53a9e
  216. kernel /boot/grub/core.img
  217.  
  218. title Ubuntu 10.04.3 LTS, memtest86+
  219. uuid eaeca659-f2b5-437d-b816-cc317bb53a9e
  220. kernel /boot/memtest86+.bin
  221. quiet
  222.  
  223. ### END DEBIAN AUTOMAGIC KERNELS LIST
  224. --------------------------------------------------------------------------------
  225.  
  226. =========================== sda6/boot/grub/grub.cfg: ===========================
  227.  
  228. --------------------------------------------------------------------------------
  229. #
  230. # DO NOT EDIT THIS FILE
  231. #
  232. # It is automatically generated by /usr/sbin/grub-mkconfig using templates
  233. # from /etc/grub.d and settings from /etc/default/grub
  234. #
  235.  
  236. ### BEGIN /etc/grub.d/00_header ###
  237. if [ -s $prefix/grubenv ]; then
  238. load_env
  239. fi
  240. set default="0"
  241. if [ ${prev_saved_entry} ]; then
  242. set saved_entry=${prev_saved_entry}
  243. save_env saved_entry
  244. set prev_saved_entry=
  245. save_env prev_saved_entry
  246. set boot_once=true
  247. fi
  248.  
  249. function savedefault {
  250. if [ -z ${boot_once} ]; then
  251. saved_entry=${chosen}
  252. save_env saved_entry
  253. fi
  254. }
  255.  
  256. function recordfail {
  257. set recordfail=1
  258. if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
  259. }
  260. insmod ext2
  261. set root='(hd0,6)'
  262. search --no-floppy --fs-uuid --set eaeca659-f2b5-437d-b816-cc317bb53a9e
  263. if loadfont /usr/share/grub/unicode.pf2 ; then
  264. set gfxmode=640x480
  265. insmod gfxterm
  266. insmod vbe
  267. if terminal_output gfxterm ; then true ; else
  268. # For backward compatibility with versions of terminal.mod that don't
  269. # understand terminal_output
  270. terminal gfxterm
  271. fi
  272. fi
  273. insmod ext2
  274. set root='(hd0,6)'
  275. search --no-floppy --fs-uuid --set eaeca659-f2b5-437d-b816-cc317bb53a9e
  276. set locale_dir=($root)/boot/grub/locale
  277. set lang=en
  278. insmod gettext
  279. if [ ${recordfail} = 1 ]; then
  280. set timeout=-1
  281. else
  282. set timeout=10
  283. fi
  284. ### END /etc/grub.d/00_header ###
  285.  
  286. ### BEGIN /etc/grub.d/05_debian_theme ###
  287. set menu_color_normal=white/black
  288. set menu_color_highlight=black/light-gray
  289. ### END /etc/grub.d/05_debian_theme ###
  290.  
  291. ### BEGIN /etc/grub.d/10_linux ###
  292. menuentry 'Ubuntu, with Linux 2.6.32-32-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  293. recordfail
  294. insmod ext2
  295. set root='(hd0,6)'
  296. search --no-floppy --fs-uuid --set eaeca659-f2b5-437d-b816-cc317bb53a9e
  297. linux /boot/vmlinuz-2.6.32-32-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro quiet splash
  298. initrd /boot/initrd.img-2.6.32-32-generic
  299. }
  300. menuentry 'Ubuntu, with Linux 2.6.32-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  301. recordfail
  302. insmod ext2
  303. set root='(hd0,6)'
  304. search --no-floppy --fs-uuid --set eaeca659-f2b5-437d-b816-cc317bb53a9e
  305. echo 'Loading Linux 2.6.32-32-generic ...'
  306. linux /boot/vmlinuz-2.6.32-32-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro single
  307. echo 'Loading initial ramdisk ...'
  308. initrd /boot/initrd.img-2.6.32-32-generic
  309. }
  310. menuentry 'Ubuntu, with Linux 2.6.32-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  311. recordfail
  312. insmod ext2
  313. set root='(hd0,6)'
  314. search --no-floppy --fs-uuid --set eaeca659-f2b5-437d-b816-cc317bb53a9e
  315. linux /boot/vmlinuz-2.6.32-31-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro quiet splash
  316. initrd /boot/initrd.img-2.6.32-31-generic
  317. }
  318. menuentry 'Ubuntu, with Linux 2.6.32-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  319. recordfail
  320. insmod ext2
  321. set root='(hd0,6)'
  322. search --no-floppy --fs-uuid --set eaeca659-f2b5-437d-b816-cc317bb53a9e
  323. echo 'Loading Linux 2.6.32-31-generic ...'
  324. linux /boot/vmlinuz-2.6.32-31-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro single
  325. echo 'Loading initial ramdisk ...'
  326. initrd /boot/initrd.img-2.6.32-31-generic
  327. }
  328. menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  329. recordfail
  330. insmod ext2
  331. set root='(hd0,6)'
  332. search --no-floppy --fs-uuid --set eaeca659-f2b5-437d-b816-cc317bb53a9e
  333. linux /boot/vmlinuz-2.6.32-28-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro quiet splash
  334. initrd /boot/initrd.img-2.6.32-28-generic
  335. }
  336. menuentry 'Ubuntu, with Linux 2.6.32-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  337. recordfail
  338. insmod ext2
  339. set root='(hd0,6)'
  340. search --no-floppy --fs-uuid --set eaeca659-f2b5-437d-b816-cc317bb53a9e
  341. echo 'Loading Linux 2.6.32-28-generic ...'
  342. linux /boot/vmlinuz-2.6.32-28-generic root=UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e ro single
  343. echo 'Loading initial ramdisk ...'
  344. initrd /boot/initrd.img-2.6.32-28-generic
  345. }
  346. ### END /etc/grub.d/10_linux ###
  347.  
  348. ### BEGIN /etc/grub.d/20_memtest86+ ###
  349. menuentry "Memory test (memtest86+)" {
  350. insmod ext2
  351. set root='(hd0,6)'
  352. search --no-floppy --fs-uuid --set eaeca659-f2b5-437d-b816-cc317bb53a9e
  353. linux16 /boot/memtest86+.bin
  354. }
  355. menuentry "Memory test (memtest86+, serial console 115200)" {
  356. insmod ext2
  357. set root='(hd0,6)'
  358. search --no-floppy --fs-uuid --set eaeca659-f2b5-437d-b816-cc317bb53a9e
  359. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  360. }
  361. ### END /etc/grub.d/20_memtest86+ ###
  362.  
  363. ### BEGIN /etc/grub.d/30_os-prober ###
  364. ### END /etc/grub.d/30_os-prober ###
  365.  
  366. ### BEGIN /etc/grub.d/40_custom ###
  367. # This file provides an easy way to add custom menu entries. Simply type the
  368. # menu entries you want to add after this comment. Be careful not to change
  369. # the 'exec tail' line above.
  370. ### END /etc/grub.d/40_custom ###
  371. --------------------------------------------------------------------------------
  372.  
  373. =============================== sda6/etc/fstab: ================================
  374.  
  375. --------------------------------------------------------------------------------
  376. # /etc/fstab: static file system information.
  377. #
  378. # Use 'blkid -o value -s UUID' to print the universally unique identifier
  379. # for a device; this may be used with UUID= as a more robust way to name
  380. # devices that works even if disks are added and removed. See fstab(5).
  381. #
  382. # <file system> <mount point> <type> <options> <dump> <pass>
  383. proc /proc proc nodev,noexec,nosuid 0 0
  384. # / was on /dev/sda6 during installation
  385. UUID=eaeca659-f2b5-437d-b816-cc317bb53a9e / ext4 errors=remount-ro 0 1
  386. # swap was on /dev/sda7 during installation
  387. UUID=23924af0-dc48-4f2e-a41d-fc8724429f23 none swap sw 0 0
  388. --------------------------------------------------------------------------------
  389.  
  390. =================== sda6: Location of files loaded by Grub: ====================
  391.  
  392. GiB - GB File Fragment(s)
  393.  
  394. 36.524353981 = 39.217726464 boot/grub/core.img 1
  395. 67.617917061 = 72.604185600 boot/grub/grub.cfg 1
  396. 67.945576668 = 72.956007424 boot/grub/menu.lst 1
  397. 66.463242531 = 71.364363264 boot/grub/stage2 1
  398. 66.437813759 = 71.337059328 boot/initrd.img-2.6.32-28-generic 1
  399. 66.451973915 = 71.352263680 boot/initrd.img-2.6.32-31-generic 1
  400. 94.481438637 = 101.448672256 boot/initrd.img-2.6.32-32-generic 1
  401. 68.068791389 = 73.088308224 boot/initrd.img-2.6.32-33-generic 1
  402. 83.984383583 = 90.177545216 boot/initrd.img-2.6.32-34-generic 1
  403. 66.377976418 = 71.272809472 boot/vmlinuz-2.6.32-28-generic 1
  404. 66.441594124 = 71.341118464 boot/vmlinuz-2.6.32-31-generic 1
  405. 81.023465157 = 86.998283264 boot/vmlinuz-2.6.32-32-generic 1
  406. 67.953354836 = 72.964359168 boot/vmlinuz-2.6.32-33-generic 1
  407. 83.904808998 = 90.092102656 boot/vmlinuz-2.6.32-34-generic 1
  408. 83.984383583 = 90.177545216 initrd.img 1
  409. 68.068791389 = 73.088308224 initrd.img.old 1
  410. 83.904808998 = 90.092102656 vmlinuz 1
  411. 67.953354836 = 72.964359168 vmlinuz.old 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement