daily pastebin goal
26%
SHARE
TWEET

BOOT INFO SCRIPT

a guest Apr 15th, 2015 153 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                   Boot Info Script 0.61      [1 April 2012]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6.  => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
  7.     the same hard drive for core.img. core.img is at this location and looks
  8.     in partition 94 for .
  9.  => Grub2 (v1.99) is installed in the MBR of /dev/sdb.
  10.  
  11. sda1: __________________________________________________________________________
  12.  
  13.     File system:       ext4
  14.     Boot sector type:  -
  15.     Boot sector info:
  16.     Operating System:  Ubuntu 13.10
  17.     Boot files:        /boot/grub/grub.cfg /etc/fstab
  18.  
  19. sda2: __________________________________________________________________________
  20.  
  21.     File system:       Extended Partition
  22.     Boot sector type:  -
  23.     Boot sector info:
  24.  
  25. sda5: __________________________________________________________________________
  26.  
  27.     File system:       swap
  28.     Boot sector type:  -
  29.     Boot sector info:
  30.  
  31. sdb1: __________________________________________________________________________
  32.  
  33.     File system:       iso9660
  34.     Boot sector type:  Unknown
  35.     Boot sector info:
  36.     Operating System:  
  37.     Boot files:        
  38.  
  39. ============================ Drive/Partition Info: =============================
  40.  
  41. Drive: sda _____________________________________________________________________
  42.  
  43. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  44. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  45. Units = sectors of 1 * 512 = 512 bytes
  46. Sector size (logical/physical): 512 bytes / 4096 bytes
  47.  
  48. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  49.  
  50. /dev/sda1    *          2,048   974,768,127   974,766,080  83 Linux
  51. /dev/sda2         974,770,174   976,771,071     2,000,898   5 Extended
  52. /dev/sda5         974,770,176   976,771,071     2,000,896  82 Linux swap / Solaris
  53.  
  54.  
  55. Drive: sdb _____________________________________________________________________
  56.  
  57. Disk /dev/sdb: 16.0 GB, 16003694592 bytes
  58. 64 heads, 32 sectors/track, 15262 cylinders, total 31257216 sectors
  59. Units = sectors of 1 * 512 = 512 bytes
  60. Sector size (logical/physical): 512 bytes / 512 bytes
  61.  
  62. Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
  63.  
  64. /dev/sdb1    *              0     2,564,095     2,564,096  17 Hidden NTFS / HPFS
  65.  
  66.  
  67. "blkid" output: ________________________________________________________________
  68.  
  69. Device           UUID                                   TYPE       LABEL
  70.  
  71. /dev/loop0                                              squashfs  
  72. /dev/sda1        801fe3a0-979a-4c0d-9572-eb4c085b27a2   ext4      
  73. /dev/sda5        0084b197-18c6-45a5-9522-932090ed98bb   swap      
  74. /dev/sdb1                                               iso9660    Linux Mint LMDE 32-bit (UP6)
  75.  
  76. ================================ Mount points: =================================
  77.  
  78. Device           Mount_Point              Type       Options
  79.  
  80. /dev/loop0       /live/rofs/filesystem.squashfs squashfs   (ro,noatime)
  81. /dev/sdb1        /live/image              iso9660    (ro,noatime)
  82.  
  83.  
  84. =========================== sda1/boot/grub/grub.cfg: ===========================
  85.  
  86. --------------------------------------------------------------------------------
  87. #
  88. # DO NOT EDIT THIS FILE
  89. #
  90. # It is automatically generated by grub-mkconfig using templates
  91. # from /etc/grub.d and settings from /etc/default/grub
  92. #
  93.  
  94. ### BEGIN /etc/grub.d/00_header ###
  95. if [ -s $prefix/grubenv ]; then
  96.   set have_grubenv=true
  97.   load_env
  98. fi
  99. set default="0"
  100.  
  101. if [ x"${feature_menuentry_id}" = xy ]; then
  102.   menuentry_id_option="--id"
  103. else
  104.   menuentry_id_option=""
  105. fi
  106.  
  107. export menuentry_id_option
  108.  
  109. if [ "${prev_saved_entry}" ]; then
  110.   set saved_entry="${prev_saved_entry}"
  111.   save_env saved_entry
  112.   set prev_saved_entry=
  113.   save_env prev_saved_entry
  114.   set boot_once=true
  115. fi
  116.  
  117. function savedefault {
  118.   if [ -z "${boot_once}" ]; then
  119.     saved_entry="${chosen}"
  120.     save_env saved_entry
  121.   fi
  122. }
  123.  
  124. function recordfail {
  125.   set recordfail=1
  126.   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  127. }
  128.  
  129. function load_video {
  130.   if [ x$feature_all_video_module = xy ]; then
  131.     insmod all_video
  132.   else
  133.     insmod efi_gop
  134.     insmod efi_uga
  135.     insmod ieee1275_fb
  136.     insmod vbe
  137.     insmod vga
  138.     insmod video_bochs
  139.     insmod video_cirrus
  140.   fi
  141. }
  142.  
  143. if [ x$feature_default_font_path = xy ] ; then
  144.    font=unicode
  145. else
  146. insmod part_msdos
  147. insmod ext2
  148. set root='hd0,msdos1'
  149. if [ x$feature_platform_search_hint = xy ]; then
  150.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  801fe3a0-979a-4c0d-9572-eb4c085b27a2
  151. else
  152.   search --no-floppy --fs-uuid --set=root 801fe3a0-979a-4c0d-9572-eb4c085b27a2
  153. fi
  154.     font="/usr/share/grub/unicode.pf2"
  155. fi
  156.  
  157. if loadfont $font ; then
  158.   set gfxmode=auto
  159.   load_video
  160.   insmod gfxterm
  161.   set locale_dir=$prefix/locale
  162.   set lang=es_AR
  163.   insmod gettext
  164. fi
  165. terminal_output gfxterm
  166. if [ "${recordfail}" = 1 ]; then
  167.   set timeout=-1
  168. else
  169.   set timeout=10
  170. fi
  171. ### END /etc/grub.d/00_header ###
  172.  
  173. ### BEGIN /etc/grub.d/05_debian_theme ###
  174. set menu_color_normal=white/black
  175. set menu_color_highlight=black/light-gray
  176. ### END /etc/grub.d/05_debian_theme ###
  177.  
  178. ### BEGIN /etc/grub.d/10_linux ###
  179. function gfxmode {
  180.         set gfxpayload="${1}"
  181.         if [ "${1}" = "keep" ]; then
  182.                 set vt_handoff=vt.handoff=7
  183.         else
  184.                 set vt_handoff=
  185.         fi
  186. }
  187. if [ "${recordfail}" != 1 ]; then
  188.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  189.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  190.       if [ ${match} = 0 ]; then
  191.         set linux_gfx_mode=keep
  192.       else
  193.         set linux_gfx_mode=text
  194.       fi
  195.     else
  196.       set linux_gfx_mode=text
  197.     fi
  198.   else
  199.     set linux_gfx_mode=keep
  200.   fi
  201. else
  202.   set linux_gfx_mode=text
  203. fi
  204. export linux_gfx_mode
  205. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-801fe3a0-979a-4c0d-9572-eb4c085b27a2' {
  206. recordfail
  207.         load_video
  208.         gfxmode $linux_gfx_mode
  209.         insmod gzio
  210.         insmod part_msdos
  211.         insmod ext2
  212.         set root='hd0,msdos1'
  213.         if [ x$feature_platform_search_hint = xy ]; then
  214.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  801fe3a0-979a-4c0d-9572-eb4c085b27a2
  215.         else
  216.           search --no-floppy --fs-uuid --set=root 801fe3a0-979a-4c0d-9572-eb4c085b27a2
  217.         fi
  218.         linux   /boot/vmlinuz-3.11.0-22-generic root=UUID=801fe3a0-979a-4c0d-9572-eb4c085b27a2 ro   splash quiet consoleblank=0 $vt_handoff
  219.         initrd  /boot/initrd.img-3.11.0-22-generic
  220. }
  221. submenu 'Opciones avanzadas para Ubuntu' $menuentry_id_option 'gnulinux-advanced-801fe3a0-979a-4c0d-9572-eb4c085b27a2' {
  222.         menuentry 'Ubuntu, con Linux 3.11.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-22-generic-advanced-801fe3a0-979a-4c0d-9572-eb4c085b27a2' {
  223.         recordfail
  224.                 load_video
  225.                 gfxmode $linux_gfx_mode
  226.                 insmod gzio
  227.                 insmod part_msdos
  228.                 insmod ext2
  229.                 set root='hd0,msdos1'
  230.                 if [ x$feature_platform_search_hint = xy ]; then
  231.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  801fe3a0-979a-4c0d-9572-eb4c085b27a2
  232.                 else
  233.                   search --no-floppy --fs-uuid --set=root 801fe3a0-979a-4c0d-9572-eb4c085b27a2
  234.                 fi
  235.                 echo    'Cargando Linux 3.11.0-22-generic ...'
  236.                 linux   /boot/vmlinuz-3.11.0-22-generic root=UUID=801fe3a0-979a-4c0d-9572-eb4c085b27a2 ro   splash quiet consoleblank=0 $vt_handoff
  237.                 echo    'Cargando el disco RAM inicial...'
  238.                 initrd  /boot/initrd.img-3.11.0-22-generic
  239.         }
  240.         menuentry 'Ubuntu, con Linux 3.11.0-22-generic (modo recuperación)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-22-generic-recovery-801fe3a0-979a-4c0d-9572-eb4c085b27a2' {
  241.         recordfail
  242.                 load_video
  243.                 insmod gzio
  244.                 insmod part_msdos
  245.                 insmod ext2
  246.                 set root='hd0,msdos1'
  247.                 if [ x$feature_platform_search_hint = xy ]; then
  248.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  801fe3a0-979a-4c0d-9572-eb4c085b27a2
  249.                 else
  250.                   search --no-floppy --fs-uuid --set=root 801fe3a0-979a-4c0d-9572-eb4c085b27a2
  251.                 fi
  252.                 echo    'Cargando Linux 3.11.0-22-generic ...'
  253.                 linux   /boot/vmlinuz-3.11.0-22-generic root=UUID=801fe3a0-979a-4c0d-9572-eb4c085b27a2 ro recovery nomodeset
  254.                 echo    'Cargando el disco RAM inicial...'
  255.                 initrd  /boot/initrd.img-3.11.0-22-generic
  256.         }
  257. }
  258.  
  259. ### END /etc/grub.d/10_linux ###
  260.  
  261. ### BEGIN /etc/grub.d/20_linux_xen ###
  262.  
  263. ### END /etc/grub.d/20_linux_xen ###
  264.  
  265. ### BEGIN /etc/grub.d/20_memtest86+ ###
  266. menuentry 'Memory test (memtest86+)' {
  267.         insmod part_msdos
  268.         insmod ext2
  269.         set root='hd0,msdos1'
  270.         if [ x$feature_platform_search_hint = xy ]; then
  271.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  801fe3a0-979a-4c0d-9572-eb4c085b27a2
  272.         else
  273.           search --no-floppy --fs-uuid --set=root 801fe3a0-979a-4c0d-9572-eb4c085b27a2
  274.         fi
  275.         linux16 /boot/memtest86+.bin
  276. }
  277. menuentry 'Memory test (memtest86+, serial console 115200)' {
  278.         insmod part_msdos
  279.         insmod ext2
  280.         set root='hd0,msdos1'
  281.         if [ x$feature_platform_search_hint = xy ]; then
  282.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  801fe3a0-979a-4c0d-9572-eb4c085b27a2
  283.         else
  284.           search --no-floppy --fs-uuid --set=root 801fe3a0-979a-4c0d-9572-eb4c085b27a2
  285.         fi
  286.         linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  287. }
  288. ### END /etc/grub.d/20_memtest86+ ###
  289.  
  290. ### BEGIN /etc/grub.d/30_os-prober ###
  291. if [ "x${timeout}" != "x-1" ]; then
  292.   if keystatus; then
  293.     if keystatus --shift; then
  294.       set timeout=-1
  295.     else
  296.       set timeout=0
  297.     fi
  298.   else
  299.     if sleep --interruptible 3 ; then
  300.       set timeout=0
  301.     fi
  302.   fi
  303. fi
  304. ### END /etc/grub.d/30_os-prober ###
  305.  
  306. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  307. ### END /etc/grub.d/30_uefi-firmware ###
  308.  
  309. ### BEGIN /etc/grub.d/40_custom ###
  310. # This file provides an easy way to add custom menu entries.  Simply type the
  311. # menu entries you want to add after this comment.  Be careful not to change
  312. # the 'exec tail' line above.
  313. ### END /etc/grub.d/40_custom ###
  314.  
  315. ### BEGIN /etc/grub.d/41_custom ###
  316. if [ -f  ${config_directory}/custom.cfg ]; then
  317.   source ${config_directory}/custom.cfg
  318. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  319.   source $prefix/custom.cfg;
  320. fi
  321. ### END /etc/grub.d/41_custom ###
  322. --------------------------------------------------------------------------------
  323.  
  324. =============================== sda1/etc/fstab: ================================
  325.  
  326. --------------------------------------------------------------------------------
  327. # /etc/fstab: static file system information.
  328. #
  329. # Use 'blkid' to print the universally unique identifier for a
  330. # device; this may be used with UUID= as a more robust way to name devices
  331. # that works even if disks are added and removed. See fstab(5).
  332. #
  333. # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  334. # / was on /dev/sdb1 during installation
  335. UUID=801fe3a0-979a-4c0d-9572-eb4c085b27a2 /               ext4    errors=remount-ro 0       1
  336. # swap was on /dev/sdb5 during installation
  337. UUID=0084b197-18c6-45a5-9522-932090ed98bb none            swap    sw              0       0
  338. --------------------------------------------------------------------------------
  339.  
  340. =================== sda1: Location of files loaded by Grub: ====================
  341.  
  342.            GiB - GB             File                                 Fragment(s)
  343.  
  344.  354.131847382 = 380.246175744  boot/grub/grub.cfg                             1
  345.  250.954353333 = 269.460185088  boot/initrd.img-3.11.0-22-generic              2
  346.  250.303131104 = 268.760940544  boot/vmlinuz-3.11.0-22-generic                 2
  347.  250.954353333 = 269.460185088  initrd.img                                     2
  348.  250.303131104 = 268.760940544  vmlinuz                                        2
  349.  250.303131104 = 268.760940544  vmlinuz.old                                    2
  350.  
  351. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  352.  
  353. Unknown BootLoader on sdb1
  354.  
  355. 00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
  356. 00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
  357. 00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
  358. 00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
  359. 00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
  360. 00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
  361. 00000060  83 e1 01 74 0b 66 c7 06  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
  362. 00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
  363. 00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
  364. 00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
  365. 000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
  366. 000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
  367. 000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
  368. 000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
  369. 000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
  370. 000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
  371. 00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
  372. 00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
  373. 00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
  374. 00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
  375. 00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
  376. 00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  377. *
  378. 000001b0  9c 00 00 00 00 00 00 00  9c e5 74 35 00 00 80 00  |..........t5....|
  379. 000001c0  01 00 17 3f e0 ff 00 00  00 00 00 20 27 00 00 00  |...?....... '...|
  380. 000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  381. *
  382. 000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
  383. 00000200
RAW Paste Data
Top