Advertisement
UncleAsriel

BootInfo Repair summary

Jul 31st, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.70 KB | None | 0 0
  1. Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 31Jan2013]
  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 1 for /boot/grub.
  9. => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
  10. the same hard drive for core.img. core.img is at this location and looks
  11. for (,msdos1)/boot/grub on this drive.
  12.  
  13. sda1: __________________________________________________________________________
  14.  
  15. File system: ntfs
  16. Boot sector type: Windows Vista: NTFS
  17. Boot sector info: No errors found in the Boot Parameter Block.
  18. Operating System: Windows Vista
  19. Boot files: /bootmgr /Boot/BCD /wubildr /wubildr.mbr
  20.  
  21. sda2: __________________________________________________________________________
  22.  
  23. File system: ntfs
  24. Boot sector type: Windows Vista: NTFS
  25. Boot sector info: No errors found in the Boot Parameter Block.
  26. Operating System:
  27. Boot files: /bootmgr /boot/bcd /wubildr
  28.  
  29. sdb1: __________________________________________________________________________
  30.  
  31. File system: ext4
  32. Boot sector type: Grub2 (v1.99-2.00)
  33. Boot sector info: Grub2 (v1.99) is installed in the boot sector of sdb1
  34. and looks at sector 453253680 of the same hard drive
  35. for core.img. core.img is at this location and looks
  36. for (,msdos1)/boot/grub on this drive.
  37. Operating System: Ubuntu 12.04.2 LTS
  38. Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
  39.  
  40. sdb2: __________________________________________________________________________
  41.  
  42. File system:
  43. Boot sector type: -
  44. Boot sector info:
  45. Mounting failed: mount: unknown filesystem type ''
  46.  
  47. ============================ Drive/Partition Info: =============================
  48.  
  49. Drive: sda _____________________________________________________________________
  50.  
  51. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  52. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  53. Units = sectors of 1 * 512 = 512 bytes
  54. Sector size (logical/physical): 512 bytes / 512 bytes
  55.  
  56. Partition Boot Start Sector End Sector # of Sectors Id System
  57.  
  58. /dev/sda1 * 63 920,432,702 920,432,640 7 NTFS / exFAT / HPFS
  59. /dev/sda2 953,200,710 976,768,064 23,567,355 7 NTFS / exFAT / HPFS
  60.  
  61.  
  62. Drive: sdb _____________________________________________________________________
  63.  
  64. Disk /dev/sdb: 500.1 GB, 500107862016 bytes
  65. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  66. Units = sectors of 1 * 512 = 512 bytes
  67. Sector size (logical/physical): 512 bytes / 4096 bytes
  68.  
  69. Partition Boot Start Sector End Sector # of Sectors Id System
  70.  
  71. /dev/sdb1 * 2,048 968,959,999 968,957,952 83 Linux
  72. /dev/sdb2 968,960,000 976,771,071 7,811,072 82 Linux swap / Solaris
  73.  
  74.  
  75. "blkid" output: ________________________________________________________________
  76.  
  77. Device UUID TYPE LABEL
  78.  
  79. /dev/loop0 squashfs
  80. /dev/sda1 6ED84C77D84C3F97 ntfs HP
  81. /dev/sda2 949CA48C9CA46A86 ntfs FACTORY_IMAGE
  82. /dev/sdb1 8864a41d-4c11-460c-99a5-1cc0089a894e ext4
  83. /dev/sr0 iso9660 Boot-Repair-Disk 64bit
  84.  
  85. ================================ Mount points: =================================
  86.  
  87. Device Mount_Point Type Options
  88.  
  89. /dev/loop0 /rofs squashfs (ro,noatime)
  90. /dev/sr0 /cdrom iso9660 (ro,noatime)
  91.  
  92.  
  93. =========================== sdb1/boot/grub/grub.cfg: ===========================
  94.  
  95. --------------------------------------------------------------------------------
  96. #
  97. # DO NOT EDIT THIS FILE
  98. #
  99. # It is automatically generated by grub-mkconfig using templates
  100. # from /etc/grub.d and settings from /etc/default/grub
  101. #
  102.  
  103. ### BEGIN /etc/grub.d/00_header ###
  104. if [ -s $prefix/grubenv ]; then
  105. set have_grubenv=true
  106. load_env
  107. fi
  108. set default="0"
  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. insmod vbe
  131. insmod vga
  132. insmod video_bochs
  133. insmod video_cirrus
  134. }
  135.  
  136. insmod part_msdos
  137. insmod ext2
  138. set root='(hd1,msdos1)'
  139. search --no-floppy --fs-uuid --set=root 8864a41d-4c11-460c-99a5-1cc0089a894e
  140. if loadfont /usr/share/grub/unicode.pf2 ; then
  141. set gfxmode=auto
  142. load_video
  143. insmod gfxterm
  144. insmod part_msdos
  145. insmod ext2
  146. set root='(hd1,msdos1)'
  147. search --no-floppy --fs-uuid --set=root 8864a41d-4c11-460c-99a5-1cc0089a894e
  148. set locale_dir=($root)/boot/grub/locale
  149. set lang=en_US
  150. insmod gettext
  151. fi
  152. terminal_output gfxterm
  153. if [ "${recordfail}" = 1 ]; then
  154. set timeout=10
  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. if background_color 44,0,30; then
  164. clear
  165. fi
  166. ### END /etc/grub.d/05_debian_theme ###
  167.  
  168. ### BEGIN /etc/grub.d/10_linux ###
  169. function gfxmode {
  170. set gfxpayload="${1}"
  171. if [ "${1}" = "keep" ]; then
  172. set vt_handoff=vt.handoff=7
  173. else
  174. set vt_handoff=
  175. fi
  176. }
  177. if [ "${recordfail}" != 1 ]; then
  178. if [ -e ${prefix}/gfxblacklist.txt ]; then
  179. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  180. if [ ${match} = 0 ]; then
  181. set linux_gfx_mode=keep
  182. else
  183. set linux_gfx_mode=text
  184. fi
  185. else
  186. set linux_gfx_mode=text
  187. fi
  188. else
  189. set linux_gfx_mode=keep
  190. fi
  191. else
  192. set linux_gfx_mode=text
  193. fi
  194. export linux_gfx_mode
  195. if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
  196. menuentry 'Ubuntu, with Linux 3.5.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  197. recordfail
  198. gfxmode $linux_gfx_mode
  199. insmod gzio
  200. insmod part_msdos
  201. insmod ext2
  202. set root='(hd1,msdos1)'
  203. search --no-floppy --fs-uuid --set=root 8864a41d-4c11-460c-99a5-1cc0089a894e
  204. linux /boot/vmlinuz-3.5.0-23-generic root=UUID=8864a41d-4c11-460c-99a5-1cc0089a894e ro quiet splash $vt_handoff
  205. initrd /boot/initrd.img-3.5.0-23-generic
  206. }
  207. menuentry 'Ubuntu, with Linux 3.5.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  208. recordfail
  209. insmod gzio
  210. insmod part_msdos
  211. insmod ext2
  212. set root='(hd1,msdos1)'
  213. search --no-floppy --fs-uuid --set=root 8864a41d-4c11-460c-99a5-1cc0089a894e
  214. echo 'Loading Linux 3.5.0-23-generic ...'
  215. linux /boot/vmlinuz-3.5.0-23-generic root=UUID=8864a41d-4c11-460c-99a5-1cc0089a894e ro recovery nomodeset
  216. echo 'Loading initial ramdisk ...'
  217. initrd /boot/initrd.img-3.5.0-23-generic
  218. }
  219. ### END /etc/grub.d/10_linux ###
  220.  
  221. ### BEGIN /etc/grub.d/20_linux_xen ###
  222. ### END /etc/grub.d/20_linux_xen ###
  223.  
  224. ### BEGIN /etc/grub.d/20_memtest86+ ###
  225. menuentry "Memory test (memtest86+)" {
  226. insmod part_msdos
  227. insmod ext2
  228. set root='(hd1,msdos1)'
  229. search --no-floppy --fs-uuid --set=root 8864a41d-4c11-460c-99a5-1cc0089a894e
  230. linux16 /boot/memtest86+.bin
  231. }
  232. menuentry "Memory test (memtest86+, serial console 115200)" {
  233. insmod part_msdos
  234. insmod ext2
  235. set root='(hd1,msdos1)'
  236. search --no-floppy --fs-uuid --set=root 8864a41d-4c11-460c-99a5-1cc0089a894e
  237. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  238. }
  239. ### END /etc/grub.d/20_memtest86+ ###
  240.  
  241. ### BEGIN /etc/grub.d/30_os-prober ###
  242. menuentry "Windows Vista (loader) (on /dev/sda1)" --class windows --class os {
  243. insmod part_msdos
  244. insmod ntfs
  245. set root='(hd0,msdos1)'
  246. search --no-floppy --fs-uuid --set=root 6ED84C77D84C3F97
  247. chainloader +1
  248. }
  249. menuentry "Windows Vista (loader) (on /dev/sda2)" --class windows --class os {
  250. insmod part_msdos
  251. insmod ntfs
  252. set root='(hd0,msdos2)'
  253. search --no-floppy --fs-uuid --set=root 949CA48C9CA46A86
  254. chainloader +1
  255. }
  256. ### END /etc/grub.d/30_os-prober ###
  257.  
  258. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  259. ### END /etc/grub.d/30_uefi-firmware ###
  260.  
  261. ### BEGIN /etc/grub.d/40_custom ###
  262. # This file provides an easy way to add custom menu entries. Simply type the
  263. # menu entries you want to add after this comment. Be careful not to change
  264. # the 'exec tail' line above.
  265. ### END /etc/grub.d/40_custom ###
  266.  
  267. ### BEGIN /etc/grub.d/41_custom ###
  268. if [ -f $prefix/custom.cfg ]; then
  269. source $prefix/custom.cfg;
  270. fi
  271. ### END /etc/grub.d/41_custom ###
  272. --------------------------------------------------------------------------------
  273.  
  274. =============================== sdb1/etc/fstab: ================================
  275.  
  276. --------------------------------------------------------------------------------
  277. # /etc/fstab: static file system information.
  278. #
  279. # Use 'blkid' to print the universally unique identifier for a
  280. # device; this may be used with UUID= as a more robust way to name devices
  281. # that works even if disks are added and removed. See fstab(5).
  282. #
  283. # <file system> <mount point> <type> <options> <dump> <pass>
  284. proc /proc proc nodev,noexec,nosuid 0 0
  285. # / was on /dev/sdb1 during installation
  286. UUID=8864a41d-4c11-460c-99a5-1cc0089a894e / ext4 errors=remount-ro 0 1
  287. # swap was on /dev/sdb2 during installation
  288. #UUID=9ddddbe5-3f0b-48dc-87f1-87b3bff931de none swap sw 0 0
  289. /dev/mapper/cryptswap1 none swap sw 0 0
  290. --------------------------------------------------------------------------------
  291.  
  292. =================== sdb1: Location of files loaded by Grub: ====================
  293.  
  294. GiB - GB File Fragment(s)
  295.  
  296. 4.135658264 = 4.440629248 boot/grub/grub.cfg 1
  297. 4.143619537 = 4.449177600 boot/grub/core.img 1
  298. 0.435497284 = 0.467611648 boot/vmlinuz-3.5.0-23-generic 2
  299. 0.435497284 = 0.467611648 vmlinuz 2
  300. 280.295410156 = 300.964904960 boot/initrd.img-3.5.0-23-generic 1
  301. 280.295410156 = 300.964904960 initrd.img 1
  302.  
  303. =============================== StdErr Messages: ===============================
  304.  
  305. File descriptor 8 (/proc/22423/mounts) leaked on lvscan invocation. Parent PID 1108: bash
  306. No volume groups found
  307.  
  308. ADDITIONAL INFORMATION :
  309. =================== log of boot-repair 2013-07-31__13h36 ===================
  310. boot-repair version : 3.198~ppa16~raring
  311. boot-sav version : 3.198~ppa16~raring
  312. glade2script version : 3.2.2~ppa45~raring
  313. boot-sav-extra version : 3.198~ppa16~raring
  314. File descriptor 8 (/proc/22423/mounts) leaked on lvs invocation. Parent PID 23805: /bin/sh
  315. No volume groups found
  316. boot-repair is executed in live-session (Boot-Repair-Disk 64bit 24avr2013, raring, Ubuntu, x86_64)
  317. ls: cannot access /home/usr/.config: No such file or directory
  318. CPU op-mode(s): 32-bit, 64-bit
  319. file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --
  320.  
  321. =================== os-prober:
  322. /dev/sda1:Windows Vista (loader):Windows:chain
  323. /dev/sda2:Windows Vista (loader):Windows1:chain
  324. /dev/sdb1:Ubuntu 12.04.2 LTS (12.04):Ubuntu:linux
  325.  
  326. =================== blkid:
  327. /dev/loop0: TYPE="squashfs"
  328. /dev/sr0: LABEL="Boot-Repair-Disk 64bit" TYPE="iso9660"
  329. /dev/sda1: LABEL="HP" UUID="6ED84C77D84C3F97" TYPE="ntfs"
  330. /dev/sda2: LABEL="FACTORY_IMAGE" UUID="949CA48C9CA46A86" TYPE="ntfs"
  331. /dev/sdb1: UUID="8864a41d-4c11-460c-99a5-1cc0089a894e" TYPE="ext4"
  332.  
  333.  
  334. 2 disks with OS, 3 OS : 1 Linux, 0 MacOS, 2 Windows, 0 unknown type OS.
  335.  
  336.  
  337.  
  338. =================== sdb1/etc/default/grub :
  339.  
  340. # If you change this file, run 'update-grub' afterwards to update
  341. # /boot/grub/grub.cfg.
  342. # For full documentation of the options in this file, see:
  343. # info -f grub -n 'Simple configuration'
  344.  
  345. GRUB_DEFAULT=0
  346. #GRUB_HIDDEN_TIMEOUT=0
  347. GRUB_HIDDEN_TIMEOUT_QUIET=true
  348. GRUB_TIMEOUT=10
  349. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  350. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  351. GRUB_CMDLINE_LINUX=""
  352.  
  353. # Uncomment to enable BadRAM filtering, modify to suit your needs
  354. # This works with Linux (no patch required) and with any kernel that obtains
  355. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  356. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  357.  
  358. # Uncomment to disable graphical terminal (grub-pc only)
  359. #GRUB_TERMINAL=console
  360.  
  361. # The resolution used on graphical terminal
  362. # note that you can use only modes which your graphic card supports via VBE
  363. # you can see them in real GRUB with the command `vbeinfo'
  364. #GRUB_GFXMODE=640x480
  365.  
  366. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  367. #GRUB_DISABLE_LINUX_UUID=true
  368.  
  369. # Uncomment to disable generation of recovery mode menu entries
  370. #GRUB_DISABLE_RECOVERY="true"
  371.  
  372. # Uncomment to get a beep at grub start
  373. #GRUB_INIT_TUNE="480 440 1"
  374.  
  375.  
  376.  
  377.  
  378. =================== sdb1/etc/grub.d/ :
  379. drwxr-xr-x 2 root root 4096 Feb 13 22:10 grub.d
  380. total 60
  381. -rwxr-xr-x 1 root root 6743 Jan 22 2013 00_header
  382. -rwxr-xr-x 1 root root 5522 Jan 22 2013 05_debian_theme
  383. -rwxr-xr-x 1 root root 7780 Jan 22 2013 10_linux
  384. -rwxr-xr-x 1 root root 6335 Jan 22 2013 20_linux_xen
  385. -rwxr-xr-x 1 root root 1588 Nov 27 2011 20_memtest86+
  386. -rwxr-xr-x 1 root root 7603 Jan 22 2013 30_os-prober
  387. -rwxr-xr-x 1 root root 1388 Jan 22 2013 30_uefi-firmware
  388. -rwxr-xr-x 1 root root 214 Jan 22 2013 40_custom
  389. -rwxr-xr-x 1 root root 95 Jan 22 2013 41_custom
  390. -rw-r--r-- 1 root root 483 Jan 22 2013 README
  391.  
  392.  
  393. =================== UEFI/Legacy mode:
  394. This live-session is not in EFI-mode.
  395. SecureBoot maybe enabled.
  396.  
  397.  
  398. =================== PARTITIONS & DISKS:
  399. sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda1.
  400. sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
  401. sdb1 : sdb, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sdb1.
  402.  
  403. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 63 sectors * 512 bytes
  404. sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  405.  
  406.  
  407. =================== parted -l:
  408.  
  409. Model: ATA Hitachi HDP72505 (scsi)
  410. Disk /dev/sda: 500GB
  411. Sector size (logical/physical): 512B/512B
  412. Partition Table: msdos
  413.  
  414. Number Start End Size Type File system Flags
  415. 1 32.3kB 471GB 471GB primary ntfs boot
  416. 2 488GB 500GB 12.1GB primary ntfs
  417.  
  418.  
  419. Model: ATA ST500DM002-1BD14 (scsi)
  420. Disk /dev/sdb: 500GB
  421. Sector size (logical/physical): 512B/4096B
  422. Partition Table: msdos
  423.  
  424. Number Start End Size Type File system Flags
  425. 1 1049kB 496GB 496GB primary ext4 boot
  426. 2 496GB 500GB 3999MB primary
  427.  
  428.  
  429.  
  430.  
  431. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
  432. has been opened read-only.
  433.  
  434.  
  435. Error: /dev/sr0: unrecognised disk label
  436.  
  437. =================== parted -lm:
  438.  
  439. BYT;
  440. /dev/sda:500GB:scsi:512:512:msdos:ATA Hitachi HDP72505;
  441. 1:32.3kB:471GB:471GB:ntfs::boot;
  442. 2:488GB:500GB:12.1GB:ntfs::;
  443.  
  444. BYT;
  445. /dev/sdb:500GB:scsi:512:4096:msdos:ATA ST500DM002-1BD14;
  446. 1:1049kB:496GB:496GB:ext4::boot;
  447. 2:496GB:500GB:3999MB:::;
  448.  
  449.  
  450.  
  451. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
  452. has been opened read-only.
  453.  
  454.  
  455. Error: /dev/sr0: unrecognised disk label
  456.  
  457.  
  458. =================== mount:
  459. /cow on / type overlayfs (rw)
  460. proc on /proc type proc (rw,noexec,nosuid,nodev)
  461. sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
  462. udev on /dev type devtmpfs (rw,mode=0755)
  463. devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
  464. tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
  465. /dev/sr0 on /cdrom type iso9660 (ro,noatime)
  466. /dev/loop0 on /rofs type squashfs (ro,noatime)
  467. none on /sys/fs/cgroup type tmpfs (rw)
  468. none on /sys/fs/fuse/connections type fusectl (rw)
  469. none on /sys/kernel/debug type debugfs (rw)
  470. none on /sys/kernel/security type securityfs (rw)
  471. tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
  472. none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
  473. none on /run/shm type tmpfs (rw,nosuid,nodev)
  474. none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
  475. gvfsd-fuse on /run/user/lubuntu/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lubuntu)
  476. /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
  477. /dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
  478. /dev/sdb1 on /mnt/boot-sav/sdb1 type ext4 (rw)
  479.  
  480.  
  481. =================== ls:
  482. /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 size slaves stat subsystem trace uevent
  483. /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
  484. /sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  485. /dev (filtered): alarm ashmem autofs binder block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd full fuse fw0 hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uinput urandom vga_arbiter vhost-net zero
  486. ls /dev/mapper: control
  487.  
  488. =================== hexdump -n512 -C /dev/sda1
  489. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  490. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 3f 00 00 00 |........?...?...|
  491. 00000020 00 00 00 00 80 00 80 00 ff af dc 36 00 00 00 00 |...........6....|
  492. 00000030 00 00 0c 00 00 00 00 00 00 0b 8d 03 00 00 00 00 |................|
  493. 00000040 f6 00 00 00 01 00 00 00 97 3f 4c d8 77 4c d8 6e |.........?L.wL.n|
  494. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  495. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  496. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  497. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 d2 00 1e 83 ec |U.u.....u.......|
  498. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  499. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  500. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  501. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  502. 000000d0 40 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |@.+.w......f#.u-|
  503. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  504. 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
  505. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a e9 6a 01 |U...h..fa.....j.|
  506. 00000110 90 90 66 60 1e 06 66 a1 11 00 66 03 06 1c 00 1e |..f`..f...f.....|
  507. 00000120 66 68 00 00 00 00 66 50 06 53 68 01 00 68 10 00 |fh....fP.Sh..h..|
  508. 00000130 b4 42 8a 16 0e 00 16 1f 8b f4 cd 13 66 59 5b 5a |.B..........fY[Z|
  509. 00000140 66 59 66 59 1f 0f 82 16 00 66 ff 06 11 00 03 16 |fYfY.....f......|
  510. 00000150 0f 00 8e c2 ff 0e 16 00 75 bc 07 1f 66 61 c3 a0 |........u...fa..|
  511. 00000160 f8 01 e8 08 00 a0 fb 01 e8 02 00 eb fe b4 01 8b |................|
  512. 00000170 f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 |..<.t...........|
  513. 00000180 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 20 65 72 |..A disk read er|
  514. 00000190 72 6f 72 20 6f 63 63 75 72 72 65 64 00 0d 0a 42 |ror occurred...B|
  515. 000001a0 4f 4f 54 4d 47 52 20 69 73 20 6d 69 73 73 69 6e |OOTMGR is missin|
  516. 000001b0 67 00 0d 0a 42 4f 4f 54 4d 47 52 20 69 73 20 63 |g...BOOTMGR is c|
  517. 000001c0 6f 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 |ompressed...Pres|
  518. 000001d0 73 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 |s Ctrl+Alt+Del t|
  519. 000001e0 6f 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 |o restart.......|
  520. 000001f0 00 00 00 00 00 00 00 00 80 9d b2 ca 00 00 55 aa |..............U.|
  521. 00000200
  522.  
  523. =================== hexdump -n512 -C /dev/sda2
  524. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  525. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 46 b0 d0 38 |........?...F..8|
  526. 00000020 00 00 00 00 80 00 80 00 f9 9b 67 01 00 00 00 00 |..........g.....|
  527. 00000030 08 f6 01 00 00 00 00 00 0b f1 02 00 00 00 00 00 |................|
  528. 00000040 f6 00 00 00 01 00 00 00 86 6a a4 9c 8c a4 9c 94 |.........j......|
  529. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  530. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  531. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  532. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 d2 00 1e 83 ec |U.u.....u.......|
  533. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  534. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  535. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  536. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  537. 000000d0 40 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |@.+.w......f#.u-|
  538. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  539. 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
  540. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a e9 6a 01 |U...h..fa.....j.|
  541. 00000110 90 90 66 60 1e 06 66 a1 11 00 66 03 06 1c 00 1e |..f`..f...f.....|
  542. 00000120 66 68 00 00 00 00 66 50 06 53 68 01 00 68 10 00 |fh....fP.Sh..h..|
  543. 00000130 b4 42 8a 16 0e 00 16 1f 8b f4 cd 13 66 59 5b 5a |.B..........fY[Z|
  544. 00000140 66 59 66 59 1f 0f 82 16 00 66 ff 06 11 00 03 16 |fYfY.....f......|
  545. 00000150 0f 00 8e c2 ff 0e 16 00 75 bc 07 1f 66 61 c3 a0 |........u...fa..|
  546. 00000160 f8 01 e8 08 00 a0 fb 01 e8 02 00 eb fe b4 01 8b |................|
  547. 00000170 f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 |..<.t...........|
  548. 00000180 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 20 65 72 |..A disk read er|
  549. 00000190 72 6f 72 20 6f 63 63 75 72 72 65 64 00 0d 0a 42 |ror occurred...B|
  550. 000001a0 4f 4f 54 4d 47 52 20 69 73 20 6d 69 73 73 69 6e |OOTMGR is missin|
  551. 000001b0 67 00 0d 0a 42 4f 4f 54 4d 47 52 20 69 73 20 63 |g...BOOTMGR is c|
  552. 000001c0 6f 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 |ompressed...Pres|
  553. 000001d0 73 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 |s Ctrl+Alt+Del t|
  554. 000001e0 6f 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 |o restart.......|
  555. 000001f0 52 45 43 4f 56 45 52 59 80 9d b2 ca 00 00 55 aa |RECOVERY......U.|
  556. 00000200
  557.  
  558. =================== df -Th:
  559.  
  560. Filesystem Type Size Used Avail Use% Mounted on
  561. /cow overlayfs 1.9G 22M 1.9G 2% /
  562. udev devtmpfs 1.9G 12K 1.9G 1% /dev
  563. tmpfs tmpfs 383M 788K 382M 1% /run
  564. /dev/sr0 iso9660 508M 508M 0 100% /cdrom
  565. /dev/loop0 squashfs 435M 435M 0 100% /rofs
  566. none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
  567. tmpfs tmpfs 1.9G 1.2M 1.9G 1% /tmp
  568. none tmpfs 5.0M 0 5.0M 0% /run/lock
  569. none tmpfs 1.9G 0 1.9G 0% /run/shm
  570. none tmpfs 100M 12K 100M 1% /run/user
  571. /dev/sda1 fuseblk 439G 293G 147G 67% /mnt/boot-sav/sda1
  572. /dev/sda2 fuseblk 12G 11G 1.1G 91% /mnt/boot-sav/sda2
  573. /dev/sdb1 ext4 455G 2.8G 429G 1% /mnt/boot-sav/sdb1
  574.  
  575. =================== fdisk -l:
  576.  
  577. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  578. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  579. Units = sectors of 1 * 512 = 512 bytes
  580. Sector size (logical/physical): 512 bytes / 512 bytes
  581. I/O size (minimum/optimal): 512 bytes / 512 bytes
  582. Disk identifier: 0x1549f232
  583.  
  584. Device Boot Start End Blocks Id System
  585. /dev/sda1 * 63 920432702 460216320 7 HPFS/NTFS/exFAT
  586. /dev/sda2 953200710 976768064 11783677+ 7 HPFS/NTFS/exFAT
  587.  
  588. Disk /dev/sdb: 500.1 GB, 500107862016 bytes
  589. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  590. Units = sectors of 1 * 512 = 512 bytes
  591. Sector size (logical/physical): 512 bytes / 4096 bytes
  592. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  593. Disk identifier: 0x19280873
  594.  
  595. Device Boot Start End Blocks Id System
  596. /dev/sdb1 * 2048 968959999 484478976 83 Linux
  597. /dev/sdb2 968960000 976771071 3905536 82 Linux swap / Solaris
  598.  
  599.  
  600. User choice: Is sdb (500GB) a removable disk? no
  601.  
  602. =================== Recommended repair
  603. Recommended-Repair
  604. This setting will reinstall the grub2 of sdb1 into the MBRs of all disks (except USB without OS).
  605. Additional repair will be performed: unhide-bootmenu-10s repair-filesystems fix-windows-boot
  606.  
  607.  
  608. Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var
  609.  
  610. ntfsfix /dev/sda1
  611. Refusing to operate on read-write mounted device /dev/sda1.
  612.  
  613. ntfsfix /dev/sda2
  614. Refusing to operate on read-write mounted device /dev/sda2.
  615.  
  616. fsck -fyM /dev/sdb1
  617. fsck from util-linux 2.20.1
  618. Quantity of real Windows: 2
  619.  
  620. Reinstall the GRUB of sdb1 into all MBRs of disks with OS or not-USB
  621. grub-install (GRUB) 1.99-21ubuntu3.9,grub-install (GRUB) 1.
  622.  
  623. Reinstall the GRUB of sdb1 into the MBR of sda
  624. grub-install /dev/sda: Installation finished. No error reported.
  625. exit code of grub-install /dev/sda:0
  626. grub-install (GRUB) 1.99-21ubuntu3.9,grub-install (GRUB) 1.
  627.  
  628. Reinstall the GRUB of sdb1 into the MBR of sdb
  629. grub-install /dev/sdb: Installation finished. No error reported.
  630. exit code of grub-install /dev/sdb:0
  631.  
  632. chroot /mnt/boot-sav/sdb1 update-grub
  633. Generating grub.cfg ...
  634. Found linux image: /boot/vmlinuz-3.5.0-23-generic
  635. Found initrd image: /boot/initrd.img-3.5.0-23-generic
  636. Found memtest86+ image: /boot/memtest86+.bin
  637. Found Windows Vista (loader) on /dev/sda1
  638. Found Windows Vista (loader) on /dev/sda2
  639. Unhide GRUB boot menu in sdb1/boot/grub/grub.cfg
  640.  
  641. Boot successfully repaired.
  642.  
  643. You can now reboot your computer.
  644. Please do not forget to make your BIOS boot on sdb (500GB) disk!
  645.  
  646. A broken Wubi has been detected. Please fix it this way:
  647. https://wiki.ubuntu.com/WubiGuide#Cannot_boot_into_Ubuntu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement