1. Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
  2. ============================= Boot Info Summary: ===============================
  3. => No boot loader is installed in the MBR of /dev/sda.
  4. => Syslinux MBR (3.00-3.35) is installed in the MBR of /dev/sdb.
  5. sda1: __________________________________________________________________________
  6. File system: vfat
  7. Boot sector type: FAT32
  8. Boot sector info: No errors found in the Boot Parameter Block.
  9. Operating System:
  10. Boot files: /EFI/Boot/bootx64.efi /EFI/grub/MokManager.efi
  11. /EFI/grub/grubx64.efi /EFI/grub/shimx64.efi
  12. /EFI/ubuntu/grubx64.efi
  13. /EFI/Microsoft/Boot/bootmgfw.efi
  14. /EFI/Microsoft/Boot/bootx64.efi
  15. /boot/grub/x86_64-efi/core.efi
  16. /boot/grub/x86_64-efi/grub.efi
  17. sda2: __________________________________________________________________________
  18. File system: ext4
  19. Boot sector type: -
  20. Boot sector info:
  21. Operating System: elementary OS Freya
  22. Boot files: /boot/grub/grub.cfg /etc/fstab
  23. sda3: __________________________________________________________________________
  24. File system: swap
  25. Boot sector type: -
  26. Boot sector info:
  27. sdb1: __________________________________________________________________________
  28. File system: vfat
  29. Boot sector type: SYSLINUX 4.07
  30. Boot sector info: Syslinux looks at sector 8200 of /dev/sdb1 for its
  31. second stage. The integrity check of Syslinux failed.
  32. No errors found in the Boot Parameter Block.
  33. Operating System:
  34. Boot files: /boot/grub/grub.cfg /syslinux.cfg
  35. /EFI/BOOT/grubx64.efi /ldlinux.sys
  36. ============================ Drive/Partition Info: =============================
  37. Drive: sda _____________________________________________________________________
  38. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  39. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  40. Units = sectors of 1 * 512 = 512 bytes
  41. Sector size (logical/physical): 512 bytes / 4096 bytes
  42. Partition Boot Start Sector End Sector # of Sectors Id System
  43. /dev/sda1 1 976,773,167 976,773,167 ee GPT
  44. GUID Partition Table detected.
  45. Partition Start Sector End Sector # of Sectors System
  46. /dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
  47. /dev/sda2 1,050,624 968,617,983 967,567,360 Data partition (Linux)
  48. /dev/sda3 968,617,984 976,771,071 8,153,088 Swap partition (Linux)
  49. Drive: sdb _____________________________________________________________________
  50. Disk /dev/sdb: 2002 MB, 2002780160 bytes
  51. 255 heads, 63 sectors/track, 243 cylinders, total 3911680 sectors
  52. Units = sectors of 1 * 512 = 512 bytes
  53. Sector size (logical/physical): 512 bytes / 512 bytes
  54. Partition Boot Start Sector End Sector # of Sectors Id System
  55. /dev/sdb1 * 2,048 3,911,679 3,909,632 c W95 FAT32 (LBA)
  56. "blkid" output: ________________________________________________________________
  57. Device UUID TYPE LABEL
  58. /dev/loop0 squashfs
  59. /dev/sda1 2BAD-4667 vfat
  60. /dev/sda2 1d1e359f-8bef-496b-aabe-d85bb57f0342 ext4
  61. /dev/sda3 2a8dae52-d2bb-4472-a905-fd2e38d2abf5 swap
  62. /dev/sdb1 AC73-9716 vfat ELEMENTARY
  63. ========================= "ls -l /dev/disk/by-id" output: ======================
  64. total 0
  65. lrwxrwxrwx 1 root root 9 Oct 4 12:15 ata-HGST_HTS545050A7E680_TMA55C3J02R25M -> ../../sda
  66. lrwxrwxrwx 1 root root 10 Oct 4 11:14 ata-HGST_HTS545050A7E680_TMA55C3J02R25M-part1 -> ../../sda1
  67. lrwxrwxrwx 1 root root 10 Oct 4 11:14 ata-HGST_HTS545050A7E680_TMA55C3J02R25M-part2 -> ../../sda2
  68. lrwxrwxrwx 1 root root 10 Oct 4 11:14 ata-HGST_HTS545050A7E680_TMA55C3J02R25M-part3 -> ../../sda3
  69. lrwxrwxrwx 1 root root 9 Oct 4 11:14 ata-MATSHITA_DVD-RAM_UJ8E1_1406TP134246ESR6H -> ../../sr0
  70. lrwxrwxrwx 1 root root 9 Oct 4 12:12 usb-General_UDisk-0:0 -> ../../sdb
  71. lrwxrwxrwx 1 root root 10 Oct 4 11:14 usb-General_UDisk-0:0-part1 -> ../../sdb1
  72. lrwxrwxrwx 1 root root 9 Oct 4 12:15 wwn-0x5000cca7dec13b97 -> ../../sda
  73. lrwxrwxrwx 1 root root 10 Oct 4 11:14 wwn-0x5000cca7dec13b97-part1 -> ../../sda1
  74. lrwxrwxrwx 1 root root 10 Oct 4 11:14 wwn-0x5000cca7dec13b97-part2 -> ../../sda2
  75. lrwxrwxrwx 1 root root 10 Oct 4 11:14 wwn-0x5000cca7dec13b97-part3 -> ../../sda3
  76. ================================ Mount points: =================================
  77. Device Mount_Point Type Options
  78. /dev/loop0 /rofs squashfs (ro,noatime)
  79. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  80. =========================== sda2/boot/grub/grub.cfg: ===========================
  81. --------------------------------------------------------------------------------
  82. #
  83. # DO NOT EDIT THIS FILE
  84. #
  85. # It is automatically generated by grub-mkconfig using templates
  86. # from /etc/grub.d and settings from /etc/default/grub
  87. #
  88. ### BEGIN /etc/grub.d/00_header ###
  89. if [ -s $prefix/grubenv ]; then
  90. set have_grubenv=true
  91. load_env
  92. fi
  93. if [ "${next_entry}" ] ; then
  94. set default="${next_entry}"
  95. set next_entry=
  96. save_env next_entry
  97. set boot_once=true
  98. else
  99. set default="0"
  100. fi
  101. if [ x"${feature_menuentry_id}" = xy ]; then
  102. menuentry_id_option="--id"
  103. else
  104. menuentry_id_option=""
  105. fi
  106. export menuentry_id_option
  107. if [ "${prev_saved_entry}" ]; then
  108. set saved_entry="${prev_saved_entry}"
  109. save_env saved_entry
  110. set prev_saved_entry=
  111. save_env prev_saved_entry
  112. set boot_once=true
  113. fi
  114. function savedefault {
  115. if [ -z "${boot_once}" ]; then
  116. saved_entry="${chosen}"
  117. save_env saved_entry
  118. fi
  119. }
  120. function recordfail {
  121. set recordfail=1
  122. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  123. }
  124. function load_video {
  125. if [ x$feature_all_video_module = xy ]; then
  126. insmod all_video
  127. else
  128. insmod efi_gop
  129. insmod efi_uga
  130. insmod ieee1275_fb
  131. insmod vbe
  132. insmod vga
  133. insmod video_bochs
  134. insmod video_cirrus
  135. fi
  136. }
  137. if [ x$feature_default_font_path = xy ] ; then
  138. font=unicode
  139. else
  140. insmod part_gpt
  141. insmod ext2
  142. set root='hd0,gpt2'
  143. if [ x$feature_platform_search_hint = xy ]; then
  144. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 1d1e359f-8bef-496b-aabe-d85bb57f0342
  145. else
  146. search --no-floppy --fs-uuid --set=root 1d1e359f-8bef-496b-aabe-d85bb57f0342
  147. fi
  148. font="/usr/share/grub/unicode.pf2"
  149. fi
  150. if loadfont $font ; then
  151. set gfxmode=auto
  152. load_video
  153. insmod gfxterm
  154. set locale_dir=$prefix/locale
  155. set lang=en_US
  156. insmod gettext
  157. fi
  158. terminal_output gfxterm
  159. if [ "${recordfail}" = 1 ] ; then
  160. set timeout=10
  161. else
  162. if [ x$feature_timeout_style = xy ] ; then
  163. set timeout_style=menu
  164. set timeout=10
  165. # Fallback normal timeout code in case the timeout_style feature is
  166. # unavailable.
  167. else
  168. set timeout=10
  169. fi
  170. fi
  171. ### END /etc/grub.d/00_header ###
  172. ### BEGIN /etc/grub.d/05_debian_theme ###
  173. set menu_color_normal=white/black
  174. set menu_color_highlight=black/white
  175. ### END /etc/grub.d/05_debian_theme ###
  176. ### BEGIN /etc/grub.d/10_linux ###
  177. function gfxmode {
  178. set gfxpayload="${1}"
  179. if [ "${1}" = "keep" ]; then
  180. set vt_handoff=vt.handoff=7
  181. else
  182. set vt_handoff=
  183. fi
  184. }
  185. if [ "${recordfail}" != 1 ]; then
  186. if [ -e ${prefix}/gfxblacklist.txt ]; then
  187. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  188. if [ ${match} = 0 ]; then
  189. set linux_gfx_mode=keep
  190. else
  191. set linux_gfx_mode=text
  192. fi
  193. else
  194. set linux_gfx_mode=text
  195. fi
  196. else
  197. set linux_gfx_mode=keep
  198. fi
  199. else
  200. set linux_gfx_mode=text
  201. fi
  202. export linux_gfx_mode
  203. menuentry 'GNU/Linux' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1d1e359f-8bef-496b-aabe-d85bb57f0342' {
  204. recordfail
  205. load_video
  206. gfxmode $linux_gfx_mode
  207. insmod gzio
  208. insmod part_gpt
  209. insmod ext2
  210. set root='hd0,gpt2'
  211. if [ x$feature_platform_search_hint = xy ]; then
  212. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 1d1e359f-8bef-496b-aabe-d85bb57f0342
  213. else
  214. search --no-floppy --fs-uuid --set=root 1d1e359f-8bef-496b-aabe-d85bb57f0342
  215. fi
  216. linux /boot/vmlinuz-3.19.0-26-generic.efi.signed root=UUID=1d1e359f-8bef-496b-aabe-d85bb57f0342 ro quiet splash $vt_handoff
  217. initrd /boot/initrd.img-3.19.0-26-generic
  218. }
  219. submenu 'Advanced options for GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1d1e359f-8bef-496b-aabe-d85bb57f0342' {
  220. menuentry 'GNU/Linux, with Linux 3.19.0-26-generic' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-26-generic-advanced-1d1e359f-8bef-496b-aabe-d85bb57f0342' {
  221. recordfail
  222. load_video
  223. gfxmode $linux_gfx_mode
  224. insmod gzio
  225. insmod part_gpt
  226. insmod ext2
  227. set root='hd0,gpt2'
  228. if [ x$feature_platform_search_hint = xy ]; then
  229. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 1d1e359f-8bef-496b-aabe-d85bb57f0342
  230. else
  231. search --no-floppy --fs-uuid --set=root 1d1e359f-8bef-496b-aabe-d85bb57f0342
  232. fi
  233. echo 'Loading Linux 3.19.0-26-generic ...'
  234. linux /boot/vmlinuz-3.19.0-26-generic.efi.signed root=UUID=1d1e359f-8bef-496b-aabe-d85bb57f0342 ro quiet splash $vt_handoff
  235. echo 'Loading initial ramdisk ...'
  236. initrd /boot/initrd.img-3.19.0-26-generic
  237. }
  238. menuentry 'GNU/Linux, with Linux 3.19.0-26-generic (recovery mode)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-26-generic-recovery-1d1e359f-8bef-496b-aabe-d85bb57f0342' {
  239. recordfail
  240. load_video
  241. insmod gzio
  242. insmod part_gpt
  243. insmod ext2
  244. set root='hd0,gpt2'
  245. if [ x$feature_platform_search_hint = xy ]; then
  246. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 1d1e359f-8bef-496b-aabe-d85bb57f0342
  247. else
  248. search --no-floppy --fs-uuid --set=root 1d1e359f-8bef-496b-aabe-d85bb57f0342
  249. fi
  250. echo 'Loading Linux 3.19.0-26-generic ...'
  251. linux /boot/vmlinuz-3.19.0-26-generic.efi.signed root=UUID=1d1e359f-8bef-496b-aabe-d85bb57f0342 ro recovery nomodeset
  252. echo 'Loading initial ramdisk ...'
  253. initrd /boot/initrd.img-3.19.0-26-generic
  254. }
  255. }
  256. ### END /etc/grub.d/10_linux ###
  257. ### BEGIN /etc/grub.d/20_linux_xen ###
  258. ### END /etc/grub.d/20_linux_xen ###
  259. ### BEGIN /etc/grub.d/30_os-prober ###
  260. ### END /etc/grub.d/30_os-prober ###
  261. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  262. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  263. fwsetup
  264. }
  265. ### END /etc/grub.d/30_uefi-firmware ###
  266. ### BEGIN /etc/grub.d/40_custom ###
  267. # This file provides an easy way to add custom menu entries. Simply type the
  268. # menu entries you want to add after this comment. Be careful not to change
  269. # the 'exec tail' line above.
  270. ### END /etc/grub.d/40_custom ###
  271. ### BEGIN /etc/grub.d/41_custom ###
  272. if [ -f ${config_directory}/custom.cfg ]; then
  273. source ${config_directory}/custom.cfg
  274. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  275. source $prefix/custom.cfg;
  276. fi
  277. ### END /etc/grub.d/41_custom ###
  278. --------------------------------------------------------------------------------
  279. =============================== sda2/etc/fstab: ================================
  280. --------------------------------------------------------------------------------
  281. # /etc/fstab: static file system information.
  282. #
  283. # Use 'blkid' to print the universally unique identifier for a
  284. # device; this may be used with UUID= as a more robust way to name devices
  285. # that works even if disks are added and removed. See fstab(5).
  286. #
  287. # <file system> <mount point> <type> <options> <dump> <pass>
  288. # / was on /dev/sda2 during installation
  289. UUID=1d1e359f-8bef-496b-aabe-d85bb57f0342 / ext4 errors=remount-ro 0 1
  290. # /boot/efi was on /dev/sda1 during installation
  291. #UUID=2BAD-4667 /boot/efi vfat defaults 0 1
  292. # swap was on /dev/sda3 during installation
  293. UUID=2a8dae52-d2bb-4472-a905-fd2e38d2abf5 none swap sw 0 0
  294. UUID=2BAD-4667 /boot/efi vfat defaults 0 1
  295. --------------------------------------------------------------------------------
  296. =========================== sdb1/boot/grub/grub.cfg: ===========================
  297. --------------------------------------------------------------------------------
  298. if loadfont /boot/grub/font.pf2 ; then
  299. set gfxmode=auto
  300. insmod efi_gop
  301. insmod efi_uga
  302. insmod gfxterm
  303. terminal_output gfxterm
  304. fi
  305. set menu_color_normal=white/black
  306. set menu_color_highlight=black/light-gray
  307. menuentry "Try elementary OS without installing" {
  308. set gfxpayload=keep
  309. linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
  310. initrd /casper/initrd.lz
  311. }
  312. menuentry "Install elementary OS" {
  313. set gfxpayload=keep
  314. linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
  315. initrd /casper/initrd.lz
  316. }
  317. menuentry "OEM install (for manufacturers)" {
  318. set gfxpayload=keep
  319. linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true --
  320. initrd /casper/initrd.lz
  321. }
  322. menuentry "Check disc for defects" {
  323. set gfxpayload=keep
  324. linux /casper/vmlinuz boot=casper integrity-check quiet splash --
  325. initrd /casper/initrd.lz
  326. }
  327. --------------------------------------------------------------------------------
  328. ============================== sdb1/syslinux.cfg: ==============================
  329. --------------------------------------------------------------------------------
  330. DEFAULT loadconfig
  331. LABEL loadconfig
  332. CONFIG /isolinux/isolinux.cfg
  333. APPEND /isolinux/
  334. --------------------------------------------------------------------------------
  335. =============================== StdErr Messages: ===============================
  336. File descriptor 9 (/proc/6069/mounts) leaked on lvs invocation. Parent PID 14080: bash
  337. File descriptor 63 (pipe:[63538]) leaked on lvs invocation. Parent PID 14080: bash
  338. No volume groups found
  339. ADDITIONAL INFORMATION :
  340. =================== log of boot-repair 2015-10-04__12h12 ===================
  341. boot-repair version : 4ppa33
  342. boot-sav version : 4ppa33
  343. glade2script version : 3.2.2~ppa47~saucy
  344. boot-sav-extra version : 4ppa33
  345. boot-repair is executed in live-session (elementary OS Freya, freya, elementary OS, x86_64)
  346. CPU op-mode(s): 32-bit, 64-bit
  347. BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
  348. ls: cannot access /home/usr/.config: No such file or directory
  349. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  350. =================== os-prober:
  351. /dev/sda2:elementary OS Freya (0.3.1):elementaryOS:linux
  352. =================== blkid:
  353. /dev/loop0: TYPE="squashfs"
  354. /dev/sda1: UUID="2BAD-4667" TYPE="vfat"
  355. /dev/sda2: UUID="1d1e359f-8bef-496b-aabe-d85bb57f0342" TYPE="ext4"
  356. /dev/sda3: UUID="2a8dae52-d2bb-4472-a905-fd2e38d2abf5" TYPE="swap"
  357. /dev/sdb1: LABEL="ELEMENTARY" UUID="AC73-9716" TYPE="vfat"
  358. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  359. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
  360. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  361. =================== No kernel in /mnt/boot-sav/sda1/boot:
  362. grub
  363. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
  364. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootx64.efi
  365. Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
  366. =================== sda2/etc/grub.d/ :
  367. drwxr-xr-x 2 root root 4096 Sep 3 11:35 grub.d
  368. total 72
  369. -rwxr-xr-x 1 root root 9424 Jul 8 17:00 00_header
  370. -rwxr-xr-x 1 root root 6076 Jul 8 16:18 05_debian_theme
  371. -rwxr-xr-x 1 root root 11481 Jul 8 17:00 10_linux
  372. -rwxr-xr-x 1 root root 10412 Jul 8 17:00 20_linux_xen
  373. -rwxr-xr-x 1 root root 11692 Jul 8 17:00 30_os-prober
  374. -rwxr-xr-x 1 root root 1416 Jul 8 17:00 30_uefi-firmware
  375. -rwxr-xr-x 1 root root 214 Jul 8 17:00 40_custom
  376. -rwxr-xr-x 1 root root 216 Jul 8 17:00 41_custom
  377. -rw-r--r-- 1 root root 483 Jul 8 17:00 README
  378. =================== sda2/etc/default/grub :
  379. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  380. GRUB_CMDLINE_LINUX=""
  381. /boot/efi detected in the fstab of sda2: UUID=2BAD-4667 (sda1)
  382. =================== efibootmgr -v
  383. BootCurrent: 0004
  384. Timeout: 2 seconds
  385. BootOrder: 0004,0002,0003,0001,0000
  386. Boot0000* grub HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIgrubshimx64.efi)
  387. Boot0001* ubuntu HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIubuntugrubx64.efi)
  388. Boot0002* ubuntu HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIUbuntugrubx64.efi)
  389. Boot0003* Windows Boot Manager HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIMicrosoftBootbootmgfw.efi)
  390. Boot0004* UEFI: General UDisk 5.00 ACPI(a0341d0,0)PCI(1d,0)USB(1,0)USB(2,0)HD(1,800,3ba800,0075cf7c)AMBO
  391. =================== UEFI/Legacy mode:
  392. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  393. SecureBoot enabled.
  394. =================== PARTITIONS & DISKS:
  395. sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-kernel, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
  396. sda2 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, 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/sda2.
  397. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  398. =================== parted -l:
  399. Model: ATA HGST HTS545050A7 (scsi)
  400. Disk /dev/sda: 500GB
  401. Sector size (logical/physical): 512B/4096B
  402. Partition Table: gpt
  403. Number Start End Size File system Name Flags
  404. 1 1049kB 538MB 537MB fat32 boot
  405. 2 538MB 496GB 495GB ext4
  406. 3 496GB 500GB 4174MB linux-swap(v1)
  407. Model: General UDisk (scsi)
  408. Disk /dev/sdb: 2003MB
  409. Sector size (logical/physical): 512B/512B
  410. Partition Table: msdos
  411. Number Start End Size Type File system Flags
  412. 1 1049kB 2003MB 2002MB primary fat32 boot, lba
  413. =================== parted -lm:
  414. BYT;
  415. /dev/sda:500GB:scsi:512:4096:gpt:ATA HGST HTS545050A7;
  416. 1:1049kB:538MB:537MB:fat32::boot;
  417. 2:538MB:496GB:495GB:ext4::;
  418. 3:496GB:500GB:4174MB:linux-swap(v1)::;
  419. BYT;
  420. /dev/sdb:2003MB:scsi:512:512:msdos:General UDisk;
  421. 1:1049kB:2003MB:2002MB:fat32::boot, lba;
  422. =================== lsblk:
  423. KNAME TYPE FSTYPE SIZE LABEL MODEL UUID
  424. sda disk 465.8G HGST HTS
  425. sda1 part vfat 512M 2BAD-4667
  426. sda2 part ext4 461.4G 1d1e359f-8bef-496b-aabe-d85bb57f0342
  427. sda3 part swap 3.9G 2a8dae52-d2bb-4472-a905-fd2e38d2abf5
  428. sdb disk 1.9G UDisk
  429. sdb1 part vfat 1.9G ELEMENTARY
  430. AC73-9716
  431. sr0 rom 1024M DVD-RAM
  432. loop0 loop squashfs 817.1M
  433. KNAME ROTA RO RM STATE MOUNTPOINT
  434. sda 1 0 0 running
  435. sda1 1 0 0 /mnt/boot-sav/sda1
  436. sda2 1 0 0 /mnt/boot-sav/sda2
  437. sda3 1 0 0 [SWAP]
  438. sdb 1 0 1 running
  439. sdb1 1 0 1 /cdrom
  440. sr0 1 0 1 running
  441. loop0 1 1 0 /rofs
  442. =================== mount:
  443. aufs on / type aufs (rw)
  444. proc on /proc type proc (rw,noexec,nosuid,nodev)
  445. sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
  446. udev on /dev type devtmpfs (rw,mode=0755)
  447. devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
  448. tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
  449. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  450. /dev/loop0 on /rofs type squashfs (ro,noatime)
  451. none on /sys/fs/cgroup type tmpfs (rw)
  452. none on /sys/fs/fuse/connections type fusectl (rw)
  453. none on /sys/kernel/debug type debugfs (rw)
  454. none on /sys/kernel/security type securityfs (rw)
  455. none on /sys/firmware/efi/efivars type efivarfs (rw)
  456. tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
  457. none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
  458. none on /run/shm type tmpfs (rw,nosuid,nodev)
  459. none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
  460. none on /sys/fs/pstore type pstore (rw)
  461. systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
  462. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=elementary)
  463. /dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
  464. /dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw)
  465. =================== ls:
  466. /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 sda3 size slaves stat subsystem trace uevent
  467. /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 size slaves stat subsystem trace uevent
  468. /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
  469. /dev (filtered): autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hpet i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 input kmsg kvm log mapper mcelog media0 mei0 mem memory_bandwidth net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vfio vga_arbiter vhci vhost-net video0 zero
  470. ls /dev/mapper: control
  471. =================== hexdump -n512 -C /dev/sda1
  472. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  473. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  474. 00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
  475. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  476. 00000040 80 01 29 67 46 ad 2b 4e 4f 20 4e 41 4d 45 20 20 |..)gF.+NO NAME |
  477. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  478. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  479. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  480. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  481. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  482. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  483. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  484. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  485. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  486. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  487. *
  488. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  489. 00000200
  490. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  491. =================== df -Th:
  492. Filesystem Type Size Used Avail Use% Mounted on
  493. aufs aufs 1.9G 250M 1.7G 14% /
  494. udev devtmpfs 1.9G 12K 1.9G 1% /dev
  495. tmpfs tmpfs 384M 1.2M 383M 1% /run
  496. /dev/sdb1 vfat 1.9G 867M 1.1G 46% /cdrom
  497. /dev/loop0 squashfs 818M 818M 0 100% /rofs
  498. none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
  499. tmpfs tmpfs 1.9G 72K 1.9G 1% /tmp
  500. none tmpfs 5.0M 0 5.0M 0% /run/lock
  501. none tmpfs 1.9G 100K 1.9G 1% /run/shm
  502. none tmpfs 100M 44K 100M 1% /run/user
  503. /dev/sda1 vfat 511M 17M 495M 4% /mnt/boot-sav/sda1
  504. /dev/sda2 ext4 455G 2.9G 429G 1% /mnt/boot-sav/sda2
  505. =================== fdisk -l:
  506. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  507. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  508. Units = sectors of 1 * 512 = 512 bytes
  509. Sector size (logical/physical): 512 bytes / 4096 bytes
  510. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  511. Disk identifier: 0x00000000
  512. Device Boot Start End Blocks Id System
  513. /dev/sda1 1 976773167 488386583+ ee GPT
  514. Partition 1 does not start on physical sector boundary.
  515. Disk /dev/sdb: 2002 MB, 2002780160 bytes
  516. 255 heads, 63 sectors/track, 243 cylinders, total 3911680 sectors
  517. Units = sectors of 1 * 512 = 512 bytes
  518. Sector size (logical/physical): 512 bytes / 512 bytes
  519. I/O size (minimum/optimal): 512 bytes / 512 bytes
  520. Disk identifier: 0x0075cf7c
  521. Device Boot Start End Blocks Id System
  522. /dev/sdb1 * 2048 3911679 1954816 c W95 FAT32 (LBA)
  523. =================== Default settings of Boot Repair
  524. The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
  525. Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  526. =================== User settings
  527. The settings chosen by the user will reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
  528. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  529. rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi.grb
  530. rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi.grb
  531. rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi.grb
  532. Mount sda1 on /mnt/boot-sav/sda2/boot/efi
  533. ls sda1/efi: /ubuntu/grubx64.efi /ubuntu/grub.cfg /Microsoft/Boot /grub/shimx64.efi /grub/MokManager.efi /grub/grubx64.efi /grub/grub.cfg
  534. ls sda1: boot
  535. EFI . Please report this message to [email protected]
  536. *******lspci -nnk | grep -iA3 vga
  537. 00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
  538. Subsystem: ASUSTeK Computer Inc. Device [1043:145d]
  539. Kernel driver in use: i915
  540. 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
  541. *******
  542. grub-install --version
  543. grub-install (GRUB) 2.02~beta2-9ubuntu1.3+elementary10~ubuntu0.3.1,grub-install (GRUB) 2.
  544. chroot /mnt/boot-sav/sda2 efibootmgr -v
  545. BootCurrent: 0004
  546. Timeout: 2 seconds
  547. BootOrder: 0004,0002,0003,0001,0000
  548. Boot0000* grub HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIgrubshimx64.efi)
  549. Boot0001* ubuntu HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIubuntugrubx64.efi)
  550. Boot0002* ubuntu HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIUbuntugrubx64.efi)
  551. Boot0003* Windows Boot Manager HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIMicrosoftBootbootmgfw.efi)
  552. Boot0004* UEFI: General UDisk 5.00 ACPI(a0341d0,0)PCI(1d,0)USB(1,0)USB(2,0)HD(1,800,3ba800,0075cf7c)AMBO
  553. chroot /mnt/boot-sav/sda2 uname -r
  554. Kernel: 3.19.0-26-generic
  555. Reinstall the grub-efi-amd64-signed of sda2
  556. Installing for x86_64-efi platform.
  557. Installation finished. No error reported.
  558. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  559. ls sda1/efi: /ubuntu/grubx64.efi /ubuntu/grub.cfg /Microsoft/Boot /grub/shimx64.efi /grub/MokManager.efi /grub/grubx64.efi /grub/grub.cfg
  560. ls sda1: boot
  561. EFI . Please report this message to [email protected]
  562. df /dev/sda1
  563. cp /mnt/boot-sav/sda2/boot/efi/EFI/grub/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  564. df /dev/sda1
  565. cp /mnt/boot-sav/sda2/boot/efi/EFI/grub/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  566. df /dev/sda1
  567. cp /mnt/boot-sav/sda2/boot/efi/EFI/grub/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi (& .grb)
  568. ls sda1/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /Microsoft/Boot /grub/shimx64.efi /grub/MokManager.efi /grub/grubx64.efi /grub/grub.cfg /Boot/bootx64.efi.grb /Boot/bootx64.efi
  569. ls sda1: boot
  570. EFI . Please report this message to [email protected]
  571. Add /mnt/boot-sav/sda2/boot/efi efi entries in /mnt/boot-sav/sda2/etc/grub.d/25_custom
  572. chroot /mnt/boot-sav/sda2 efibootmgr -v
  573. BootCurrent: 0004
  574. Timeout: 2 seconds
  575. BootOrder: 0000,0004,0002,0003,0001
  576. Boot0000* grub HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIgrubshimx64.efi)
  577. Boot0001* ubuntu HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIubuntugrubx64.efi)
  578. Boot0002* ubuntu HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIUbuntugrubx64.efi)
  579. Boot0003* Windows Boot Manager HD(1,800,100000,af6f9568-4c4c-45c1-a074-287496dbccdb)File(EFIMicrosoftBootbootmgfw.efi)
  580. Boot0004* UEFI: General UDisk 5.00 ACPI(a0341d0,0)PCI(1d,0)USB(1,0)USB(2,0)HD(1,800,3ba800,0075cf7c)AMBO
  581. chroot /mnt/boot-sav/sda2 update-grub
  582. Generating grub configuration file ...
  583. Found linux image: /boot/vmlinuz-3.19.0-26-generic
  584. Found initrd image: /boot/initrd.img-3.19.0-26-generic
  585. Adding boot menu entry for EFI firmware configuration
  586. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  587. Boot successfully repaired.
  588. You can now reboot your computer.