Advertisement
Guest User

Untitled

a guest
Dec 14th, 2010
1,742
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 11.60 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 at sector 505377176
  6.     of the same hard drive for core.img, but core.img can not be found at this
  7.     location.
  8.  
  9. sda1: _________________________________________________________________________
  10.  
  11.     File system:       ntfs
  12.     Boot sector type:  Windows Vista/7
  13.     Boot sector info:  No errors found in the Boot Parameter Block.
  14.     Operating System:  Windows 7
  15.     Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe /grldr
  16.  
  17. sda2: _________________________________________________________________________
  18.  
  19.     File system:       Extended Partition
  20.     Boot sector type:  Unknown
  21.     Boot sector info:  
  22.  
  23. sda5: _________________________________________________________________________
  24.  
  25.     File system:       ntfs
  26.     Boot sector type:  Windows XP
  27.     Boot sector info:  According to the info in the boot sector, sda5 starts
  28.                        at sector 10. But according to the info from fdisk,
  29.                        sda5 starts at sector 204799750.
  30.     Operating System:  
  31.     Boot files/dirs:  
  32.  
  33. sda6: _________________________________________________________________________
  34.  
  35.     File system:       ntfs
  36.     Boot sector type:  Windows XP
  37.     Boot sector info:  According to the info in the boot sector, sda6 starts
  38.                        at sector 10. But according to the info from fdisk,
  39.                        sda6 starts at sector 511999360.
  40.     Operating System:  
  41.     Boot files/dirs:  
  42.  
  43. sda7: _________________________________________________________________________
  44.  
  45.     File system:       swap
  46.     Boot sector type:  -
  47.     Boot sector info:  
  48.  
  49. sda8: _________________________________________________________________________
  50.  
  51.     File system:       ext4
  52.     Boot sector type:  -
  53.     Boot sector info:  
  54.     Operating System:  Ubuntu 10.10
  55.     Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  56.  
  57. =========================== Drive/Partition Info: =============================
  58.  
  59. Drive: sda ___________________ _____________________________________________________
  60.  
  61. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  62. 87 heads, 10 sectors/track, 1122727 cylinders, total 976773168 sectors
  63. Units = sectors of 1 * 512 = 512 bytes
  64. Sector size (logical/physical): 512 bytes / 512 bytes
  65.  
  66. Partition  Boot         Start           End          Size  Id System
  67.  
  68. /dev/sda1    *             10   204,799,739   204,799,730   7 HPFS/NTFS
  69. /dev/sda2         204,799,748   976,770,749   771,971,002   f W95 Ext d (LBA)
  70. /dev/sda5         204,799,750   478,868,879   274,069,130   7 HPFS/NTFS
  71. /dev/sda6         511,999,360   976,770,749   464,771,390   7 HPFS/NTFS
  72. /dev/sda7         478,869,504   479,868,927       999,424  82 Linux swap / Solaris
  73. /dev/sda8         479,870,976   511,997,951    32,126,976  83 Linux
  74.  
  75.  
  76. blkid -c /dev/null: ____________________________________________________________
  77.  
  78. Device           UUID                                   TYPE       LABEL                        
  79.  
  80. /dev/sda1        5CB62892B6286EA8                       ntfs                                    
  81. /dev/sda2: PTTYPE="dos"
  82. /dev/sda5        A21885E51885B935                       ntfs                                    
  83. /dev/sda6        DE687E84687E5B6B                       ntfs                                    
  84. /dev/sda7        1fc9bb7b-0370-498e-9a9a-98392870533a   swap                                    
  85. /dev/sda8        c3cd4700-940d-49bc-a573-15453002f55d   ext4                                    
  86. /dev/sda: PTTYPE="dos"
  87.  
  88. ============================ "mount | grep ^/dev  output: ===========================
  89.  
  90. Device           Mount_Point              Type       Options
  91.  
  92. /dev/sda8        /                        ext4       (rw,errors=remount-ro,commit=0)
  93. /dev/sda6        /media/DE687E84687E5B6B  fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
  94.  
  95.  
  96. =========================== sda8/boot/grub/grub.cfg: ===========================
  97.  
  98. #
  99. # DO NOT EDIT THIS FILE
  100. #
  101. # It is automatically generated by grub-mkconfig using templates
  102. # from /etc/grub.d and settings from /etc/default/grub
  103. #
  104.  
  105. ### BEGIN /etc/grub.d/00_header ###
  106. if [ -s $prefix/grubenv ]; then
  107.  set have_grubenv=true
  108.  load_env
  109. fi
  110. set default="0"
  111. if [ "${prev_saved_entry}" ]; then
  112.  set saved_entry="${prev_saved_entry}"
  113.  save_env saved_entry
  114.  set prev_saved_entry=
  115.  save_env prev_saved_entry
  116.  set boot_once=true
  117. fi
  118.  
  119. function savedefault {
  120.  if [ -z "${boot_once}" ]; then
  121.    saved_entry="${chosen}"
  122.    save_env saved_entry
  123.  fi
  124. }
  125.  
  126. function recordfail {
  127.  set recordfail=1
  128.  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  129. }
  130.  
  131. function load_video {
  132.  insmod vbe
  133.  insmod vga
  134. }
  135.  
  136. insmod part_msdos
  137. insmod ext2
  138. set root='(hd0,msdos8)'
  139. search --no-floppy --fs-uuid --set c3cd4700-940d-49bc-a573-15453002f55d
  140. if loadfont /usr/share/grub/unicode.pf2 ; then
  141.  set gfxmode=640x480
  142.  load_video
  143.  insmod gfxterm
  144. fi
  145. terminal_output gfxterm
  146. insmod part_msdos
  147. insmod ext2
  148. set root='(hd0,msdos8)'
  149. search --no-floppy --fs-uuid --set c3cd4700-940d-49bc-a573-15453002f55d
  150. set locale_dir=($root)/boot/grub/locale
  151. set lang=en
  152. insmod gettext
  153. if [ "${recordfail}" = 1 ]; then
  154.  set timeout=-1
  155. else
  156.  set timeout=10
  157. fi
  158. ### END /etc/grub.d/00_header ###
  159.  
  160. ### BEGIN /etc/grub.d/05_debian_theme ###
  161. set menu_color_normal=white/black
  162. set menu_color_highlight=black/light-gray
  163. ### END /etc/grub.d/05_debian_theme ###
  164.  
  165. ### BEGIN /etc/grub.d/10_linux ###
  166. menuentry 'Ubuntu, with Linux 2.6.35-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
  167.     recordfail
  168.     insmod part_msdos
  169.     insmod ext2
  170.     set root='(hd0,msdos8)'
  171.     search --no-floppy --fs-uuid --set c3cd4700-940d-49bc-a573-15453002f55d
  172.     linux   /boot/vmlinuz-2.6.35-23-generic-pae root=UUID=c3cd4700-940d-49bc-a573-15453002f55d ro   quiet splash
  173.     initrd  /boot/initrd.img-2.6.35-23-generic-pae
  174. }
  175. menuentry 'Ubuntu, with Linux 2.6.35-23-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  176.     recordfail
  177.     insmod part_msdos
  178.     insmod ext2
  179.     set root='(hd0,msdos8)'
  180.     search --no-floppy --fs-uuid --set c3cd4700-940d-49bc-a573-15453002f55d
  181.     echo    'Loading Linux 2.6.35-23-generic-pae ...'
  182.     linux   /boot/vmlinuz-2.6.35-23-generic-pae root=UUID=c3cd4700-940d-49bc-a573-15453002f55d ro single
  183.     echo    'Loading initial ramdisk ...'
  184.     initrd  /boot/initrd.img-2.6.35-23-generic-pae
  185. }
  186. ### END /etc/grub.d/10_linux ###
  187.  
  188. ### BEGIN /etc/grub.d/20_linux_xen ###
  189. ### END /etc/grub.d/20_linux_xen ###
  190.  
  191. ### BEGIN /etc/grub.d/20_memtest86+ ###
  192. menuentry "Memory test (memtest86+)" {
  193.     insmod part_msdos
  194.     insmod ext2
  195.     set root='(hd0,msdos8)'
  196.     search --no-floppy --fs-uuid --set c3cd4700-940d-49bc-a573-15453002f55d
  197.     linux16 /boot/memtest86+.bin
  198. }
  199. menuentry "Memory test (memtest86+, serial console 115200)" {
  200.     insmod part_msdos
  201.     insmod ext2
  202.     set root='(hd0,msdos8)'
  203.     search --no-floppy --fs-uuid --set c3cd4700-940d-49bc-a573-15453002f55d
  204.     linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  205. }
  206. ### END /etc/grub.d/20_memtest86+ ###
  207.  
  208. ### BEGIN /etc/grub.d/30_os-prober ###
  209. menuentry "Windows 7 (loader) (on /dev/sda1)" {
  210.     insmod part_msdos
  211.     insmod ntfs
  212.     set root='(hd0,msdos1)'
  213.     search --no-floppy --fs-uuid --set 5cb62892b6286ea8
  214.     chainloader +1
  215. }
  216. ### END /etc/grub.d/30_os-prober ###
  217.  
  218. ### BEGIN /etc/grub.d/40_custom ###
  219. # This file provides an easy way to add custom menu entries.  Simply type the
  220. # menu entries you want to add after this comment.  Be careful not to change
  221. # the 'exec tail' line above.
  222. ### END /etc/grub.d/40_custom ###
  223.  
  224. ### BEGIN /etc/grub.d/41_custom ###
  225. if [ -f  $prefix/custom.cfg ]; then
  226.  source $prefix/custom.cfg;
  227. fi
  228. ### END /etc/grub.d/41_custom ###
  229.  
  230. =============================== sda8/etc/fstab: ===============================
  231.  
  232. # /etc/fstab: static file system information.
  233. #
  234. # Use 'blkid -o value -s UUID' to print the universally unique identifier
  235. # for a device; this may be used with UUID= as a more robust way to name
  236. # devices that works even if disks are added and removed. See fstab(5).
  237. #
  238. # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  239. proc            /proc           proc    nodev,noexec,nosuid 0       0
  240. # / was on /dev/sda8 during installation
  241. UUID=c3cd4700-940d-49bc-a573-15453002f55d /               ext4    errors=remount-ro 0       1
  242. # swap was on /dev/sda7 during installation
  243. UUID=1fc9bb7b-0370-498e-9a9a-98392870533a none            swap    sw              0       0
  244. /dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
  245.  
  246. =================== sda8: Location of files loaded by Grub: ===================
  247.  
  248.  
  249. 258.7GB: boot/grub/core.img
  250. 257.3GB: boot/grub/grub.cfg
  251. 246.5GB: boot/initrd.img-2.6.35-23-generic-pae
  252. 258.9GB: boot/vmlinuz-2.6.35-23-generic-pae
  253. 246.5GB: initrd.img
  254. 258.9GB: vmlinuz
  255. =========================== Unknown MBRs/Boot Sectors/etc =======================
  256.  
  257. Unknown BootLoader  on sda2
  258.  
  259. 00000000  f8 b0 db 7c 15 08 19 f9  f0 dc 04 a2 02 31 cc f9  |...|.........1..|
  260. 00000010  c0 9c 5b 06 65 f9 40 dd  04 a1 02 31 07 7c 17 01  |..[.e.@....1.|..|
  261. 00000020  a8 02 31 e6 7c 43 5d 00  e8 dc 00 09 f6 f8 c0 dc  |..1.|C].........|
  262. 00000030  04 af 02 31 f3 f7 90 db  7c 4a 01 b6 f7 50 db 7c  |...1....|J...P.||
  263. 00000040  53 01 b1 f6 20 da 7d 00  b3 7c 00 04 c1 02 31 30  |S... .}..|....10|
  264. 00000050  f5 70 d8 7d 45 0e 7c 2b  5c 45 01 f1 f4 20 d8 7c  |.p.}E.|+\E... .||
  265. 00000060  3f 01 8f f5 d0 d8 7c 64  7c 8a f4 8e 01 6a cf 6e  |?.....|d|....j.n|
  266. 00000070  87 28 d4 11 00 2e 03 8d  0d 38 b3 4b 31 a6 03 83  |.(.......8.K1...|
  267. 00000080  0d 38 d8 4a b1 a3 03 73  0d 38 5c 49 51 9f 03 72  |.8.J...s.8\IQ..r|
  268. 00000090  0d 38 4a 49 21 9f 03 74  0d 38 80 49 c1 9f 03 6f  |.8JI!..t.8.I...o|
  269. 000000a0  0d 38 12 49 81 9e 03 78  0d 38 f3 49 11 a1 03 90  |.8.I...x.8.I....|
  270. 000000b0  0d 38 22 4c 71 a7 7c 07  00 4a d6 4b 91 a6 03 82  |.8"Lq.|..J.K....|
  271. 000000c0  0d 38 ea 4a e1 a3 03 88  0d 38 72 4b 71 a5 03 a7  |.8.J.....8rKq...|
  272. 000000d0  0d 38 53 4e e1 ad 03 a5  0d 38 23 4e 51 ad 03 ab  |.8SN.....8#NQ...|
  273. 000000e0  0d 38 bb 4e 11 af 03 b2  0d 38 56 4f e1 b0 03 bb  |.8.N.....8VO....|
  274. 000000f0  0d 38 3e 50 81 b3 03 be  0d 38 86 50 51 b4 03 b9  |.8>P.....8.PQ...|
  275. 00000100  0d 38 0d 50 f1 b2 03 bc  0d 38 60 50 e1 b3 03 bd  |.8.P.....8`P....|
  276. 00000110  0d 38 75 50 21 b4 7f 04  48 50 a1 9c 01 0e 71 50  |.8uP!...HP....qP|
  277. 00000120  11 b4 03 c0 0d 38 bd 50  01 b5 03 b8 0d 38 0c 7c  |.....8.P.....8.||
  278. 00000130  05 04 bb 0d 38 4c 50 b1  b3 7c 07 00 42 21 50 31  |....8LP..|..B!P1|
  279. 00000140  b3 03 b4 0d 38 af 4f e1  b1 03 ac 0d 38 f4 4e c1  |....8.O.....8.N.|
  280. 00000150  af 03 a6 0d 38 6d 4e 31  ae 03 a9 0d 38 b9 4e 11  |....8mN1....8.N.|
  281. 00000160  af 03 9b 0d 38 5d 4d 11  ab 03 84 0d 38 57 4b 21  |....8]M.....8WK!|
  282. 00000170  a5 03 87 0d 38 98 4b e1  a5 03 99 0d 38 31 4d 91  |....8.K.....81M.|
  283. 00000180  aa 03 98 0d 38 1c 4d 61  aa 03 92 0d 38 9e 4c e1  |....8.Ma....8.L.|
  284. 00000190  a8 7c 1f 09 d8 49 c1 a0  03 75 0d 38 f7 49 21 a1  |.|...I...u.8.I!.|
  285. 000001a0  7c 05 09 9c 4b f1 a5 03  7a 0d 38 6a 4a 71 a2 7c  ||...K...z.8jJq.||
  286. 000001b0  00 00 0a 63 4a 61 a2 03  7b 0d 38 87 4a c1 00 56  |...cJa..{.8.J..V|
  287. 000001c0  ca ff 07 56 ca ff 02 00  00 00 8a f6 55 10 00 56  |...V........U..V|
  288. 000001d0  ca ff 05 56 ca ff 72 7e  4f 12 48 d9 b3 1b 00 00  |...V..r~O.H.....|
  289. 000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  290. 000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
  291. 00000200
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement