1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2. ============================= Boot Info Summary: ===============================
  3. => No boot loader is installed in the MBR of /dev/sda.
  4. sda1: __________________________________________________________________________
  5. File system: vfat
  6. Boot sector type: Windows 8/2012: FAT32
  7. Boot sector info: No errors found in the Boot Parameter Block.
  8. Operating System:
  9. Boot files:
  10. sda2: __________________________________________________________________________
  11. File system:
  12. Boot sector type: -
  13. Boot sector info:
  14. Mounting failed: mount: unknown filesystem type ''
  15. sda3: __________________________________________________________________________
  16. File system: ntfs
  17. Boot sector type: Windows 8/2012: NTFS
  18. Boot sector info: No errors found in the Boot Parameter Block.
  19. Operating System:
  20. Boot files:
  21. sda4: __________________________________________________________________________
  22. File system: swap
  23. Boot sector type: -
  24. Boot sector info:
  25. sda5: __________________________________________________________________________
  26. File system: ntfs
  27. Boot sector type: Windows 8/2012: NTFS
  28. Boot sector info: No errors found in the Boot Parameter Block.
  29. Operating System:
  30. Boot files:
  31. sda6: __________________________________________________________________________
  32. File system: ext4
  33. Boot sector type: -
  34. Boot sector info:
  35. Operating System: Ubuntu 16.04 LTS
  36. Boot files: /boot/grub/grub.cfg /etc/fstab
  37. /boot/grub/i386-pc/core.img
  38. ============================ Drive/Partition Info: =============================
  39. Drive: sda _____________________________________________________________________
  40. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  41. Units: sectors of 1 * 512 = 512 bytes
  42. Sector size (logical/physical): 512 bytes / 4096 bytes
  43. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  44. Disklabel type: gpt
  45. Partition Boot Start Sector End Sector # of Sectors Id System
  46. /dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
  47. GUID Partition Table detected.
  48. Partition Attrs Start Sector End Sector # of Sectors System
  49. /dev/sda1 2,048 206,847 204,800 EFI System partition
  50. /dev/sda2 206,848 239,615 32,768 Microsoft Reserved Partition (Windows)
  51. /dev/sda3 239,616 1,542,897,663 1,542,658,048 Data partition (Windows/Linux)
  52. /dev/sda4 1,921,247,232 1,952,497,663 31,250,432 Swap partition (Linux)
  53. /dev/sda5 1,952,497,664 1,953,521,663 1,024,000 Windows Recovery Environment (Windows)
  54. /dev/sda6 1,542,897,664 1,921,247,231 378,349,568 Data partition (Linux)
  55. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  56. "blkid" output: ________________________________________________________________
  57. Device UUID TYPE LABEL
  58. /dev/loop0 squashfs
  59. /dev/sda1 6A3C-0104 vfat ESP
  60. /dev/sda2
  61. /dev/sda3 883C3D4C3C3D3712 ntfs Acer
  62. /dev/sda4 fa85e69d-49e5-43fd-9981-9ab1eb89f918 swap
  63. /dev/sda5 8E683E32683E1983 ntfs Recovery
  64. /dev/sda6 d16c14fd-958e-4935-b5a8-a98240bf3e7f ext4
  65. /dev/sr0 2016-04-20-22-29-52-00 iso9660 Ubuntu 16.04 LTS amd64
  66. ========================= "ls -l /dev/disk/by-id" output: ======================
  67. total 0
  68. lrwxrwxrwx 1 root root 9 Jul 2 19:25 ata-HL-DT-ST_DVDRAM_GUC0N_KX4F8LB1536 -> ../../sr0
  69. lrwxrwxrwx 1 root root 9 Jul 2 19:42 ata-WDC_WD10JPVX-22JC3T0_WD-WXW1E45FPY33 -> ../../sda
  70. lrwxrwxrwx 1 root root 10 Jul 2 19:42 ata-WDC_WD10JPVX-22JC3T0_WD-WXW1E45FPY33-part1 -> ../../sda1
  71. lrwxrwxrwx 1 root root 10 Jul 2 19:42 ata-WDC_WD10JPVX-22JC3T0_WD-WXW1E45FPY33-part2 -> ../../sda2
  72. lrwxrwxrwx 1 root root 10 Jul 2 19:43 ata-WDC_WD10JPVX-22JC3T0_WD-WXW1E45FPY33-part3 -> ../../sda3
  73. lrwxrwxrwx 1 root root 10 Jul 2 19:42 ata-WDC_WD10JPVX-22JC3T0_WD-WXW1E45FPY33-part4 -> ../../sda4
  74. lrwxrwxrwx 1 root root 10 Jul 2 19:42 ata-WDC_WD10JPVX-22JC3T0_WD-WXW1E45FPY33-part5 -> ../../sda5
  75. lrwxrwxrwx 1 root root 10 Jul 2 19:42 ata-WDC_WD10JPVX-22JC3T0_WD-WXW1E45FPY33-part6 -> ../../sda6
  76. lrwxrwxrwx 1 root root 9 Jul 2 19:25 wwn-0x5001480000000000 -> ../../sr0
  77. lrwxrwxrwx 1 root root 9 Jul 2 19:42 wwn-0x50014ee605eac626 -> ../../sda
  78. lrwxrwxrwx 1 root root 10 Jul 2 19:42 wwn-0x50014ee605eac626-part1 -> ../../sda1
  79. lrwxrwxrwx 1 root root 10 Jul 2 19:42 wwn-0x50014ee605eac626-part2 -> ../../sda2
  80. lrwxrwxrwx 1 root root 10 Jul 2 19:43 wwn-0x50014ee605eac626-part3 -> ../../sda3
  81. lrwxrwxrwx 1 root root 10 Jul 2 19:42 wwn-0x50014ee605eac626-part4 -> ../../sda4
  82. lrwxrwxrwx 1 root root 10 Jul 2 19:42 wwn-0x50014ee605eac626-part5 -> ../../sda5
  83. lrwxrwxrwx 1 root root 10 Jul 2 19:42 wwn-0x50014ee605eac626-part6 -> ../../sda6
  84. ================================ Mount points: =================================
  85. Device Mount_Point Type Options
  86. /dev/loop0 /rofs squashfs (ro,noatime)
  87. /dev/sda6 /mnt ext4 (rw,relatime,data=ordered)
  88. /dev/sr0 /cdrom iso9660 (ro,noatime)
  89. =========================== sda6/boot/grub/grub.cfg: ===========================
  90. --------------------------------------------------------------------------------
  91. #
  92. # DO NOT EDIT THIS FILE
  93. #
  94. # It is automatically generated by grub-mkconfig using templates
  95. # from /etc/grub.d and settings from /etc/default/grub
  96. #
  97. ### BEGIN /etc/grub.d/00_header ###
  98. if [ -s $prefix/grubenv ]; then
  99. set have_grubenv=true
  100. load_env
  101. fi
  102. if [ "${next_entry}" ] ; then
  103. set default="${next_entry}"
  104. set next_entry=
  105. save_env next_entry
  106. set boot_once=true
  107. else
  108. set default="0"
  109. fi
  110. if [ x"${feature_menuentry_id}" = xy ]; then
  111. menuentry_id_option="--id"
  112. else
  113. menuentry_id_option=""
  114. fi
  115. export menuentry_id_option
  116. if [ "${prev_saved_entry}" ]; then
  117. set saved_entry="${prev_saved_entry}"
  118. save_env saved_entry
  119. set prev_saved_entry=
  120. save_env prev_saved_entry
  121. set boot_once=true
  122. fi
  123. function savedefault {
  124. if [ -z "${boot_once}" ]; then
  125. saved_entry="${chosen}"
  126. save_env saved_entry
  127. fi
  128. }
  129. function recordfail {
  130. set recordfail=1
  131. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  132. }
  133. function load_video {
  134. if [ x$feature_all_video_module = xy ]; then
  135. insmod all_video
  136. else
  137. insmod efi_gop
  138. insmod efi_uga
  139. insmod ieee1275_fb
  140. insmod vbe
  141. insmod vga
  142. insmod video_bochs
  143. insmod video_cirrus
  144. fi
  145. }
  146. if [ x$feature_default_font_path = xy ] ; then
  147. font=unicode
  148. else
  149. insmod part_gpt
  150. insmod ext2
  151. set root='hd0,gpt6'
  152. if [ x$feature_platform_search_hint = xy ]; then
  153. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 d16c14fd-958e-4935-b5a8-a98240bf3e7f
  154. else
  155. search --no-floppy --fs-uuid --set=root d16c14fd-958e-4935-b5a8-a98240bf3e7f
  156. fi
  157. font="/usr/share/grub/unicode.pf2"
  158. fi
  159. if loadfont $font ; then
  160. set gfxmode=auto
  161. load_video
  162. insmod gfxterm
  163. set locale_dir=$prefix/locale
  164. set lang=en_US
  165. insmod gettext
  166. fi
  167. terminal_output gfxterm
  168. if [ "${recordfail}" = 1 ] ; then
  169. set timeout=10
  170. else
  171. if [ x$feature_timeout_style = xy ] ; then
  172. set timeout_style=menu
  173. set timeout=10
  174. # Fallback normal timeout code in case the timeout_style feature is
  175. # unavailable.
  176. else
  177. set timeout=10
  178. fi
  179. fi
  180. ### END /etc/grub.d/00_header ###
  181. ### BEGIN /etc/grub.d/05_debian_theme ###
  182. set menu_color_normal=white/black
  183. set menu_color_highlight=black/light-gray
  184. if background_color 44,0,30,0; then
  185. clear
  186. fi
  187. ### END /etc/grub.d/05_debian_theme ###
  188. ### BEGIN /etc/grub.d/10_linux ###
  189. function gfxmode {
  190. set gfxpayload="${1}"
  191. if [ "${1}" = "keep" ]; then
  192. set vt_handoff=vt.handoff=7
  193. else
  194. set vt_handoff=
  195. fi
  196. }
  197. if [ "${recordfail}" != 1 ]; then
  198. if [ -e ${prefix}/gfxblacklist.txt ]; then
  199. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  200. if [ ${match} = 0 ]; then
  201. set linux_gfx_mode=keep
  202. else
  203. set linux_gfx_mode=text
  204. fi
  205. else
  206. set linux_gfx_mode=text
  207. fi
  208. else
  209. set linux_gfx_mode=keep
  210. fi
  211. else
  212. set linux_gfx_mode=text
  213. fi
  214. export linux_gfx_mode
  215. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d16c14fd-958e-4935-b5a8-a98240bf3e7f' {
  216. recordfail
  217. load_video
  218. gfxmode $linux_gfx_mode
  219. insmod gzio
  220. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  221. insmod part_gpt
  222. insmod ext2
  223. set root='hd0,gpt6'
  224. if [ x$feature_platform_search_hint = xy ]; then
  225. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 d16c14fd-958e-4935-b5a8-a98240bf3e7f
  226. else
  227. search --no-floppy --fs-uuid --set=root d16c14fd-958e-4935-b5a8-a98240bf3e7f
  228. fi
  229. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=d16c14fd-958e-4935-b5a8-a98240bf3e7f ro quiet splash $vt_handoff
  230. initrd /boot/initrd.img-4.4.0-21-generic
  231. }
  232. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-d16c14fd-958e-4935-b5a8-a98240bf3e7f' {
  233. menuentry 'Ubuntu, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-d16c14fd-958e-4935-b5a8-a98240bf3e7f' {
  234. recordfail
  235. load_video
  236. gfxmode $linux_gfx_mode
  237. insmod gzio
  238. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  239. insmod part_gpt
  240. insmod ext2
  241. set root='hd0,gpt6'
  242. if [ x$feature_platform_search_hint = xy ]; then
  243. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 d16c14fd-958e-4935-b5a8-a98240bf3e7f
  244. else
  245. search --no-floppy --fs-uuid --set=root d16c14fd-958e-4935-b5a8-a98240bf3e7f
  246. fi
  247. echo 'Loading Linux 4.4.0-21-generic ...'
  248. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=d16c14fd-958e-4935-b5a8-a98240bf3e7f ro quiet splash $vt_handoff
  249. echo 'Loading initial ramdisk ...'
  250. initrd /boot/initrd.img-4.4.0-21-generic
  251. }
  252. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-d16c14fd-958e-4935-b5a8-a98240bf3e7f' {
  253. recordfail
  254. load_video
  255. gfxmode $linux_gfx_mode
  256. insmod gzio
  257. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  258. insmod part_gpt
  259. insmod ext2
  260. set root='hd0,gpt6'
  261. if [ x$feature_platform_search_hint = xy ]; then
  262. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 d16c14fd-958e-4935-b5a8-a98240bf3e7f
  263. else
  264. search --no-floppy --fs-uuid --set=root d16c14fd-958e-4935-b5a8-a98240bf3e7f
  265. fi
  266. echo 'Loading Linux 4.4.0-21-generic ...'
  267. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=d16c14fd-958e-4935-b5a8-a98240bf3e7f ro quiet splash $vt_handoff init=/sbin/upstart
  268. echo 'Loading initial ramdisk ...'
  269. initrd /boot/initrd.img-4.4.0-21-generic
  270. }
  271. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-d16c14fd-958e-4935-b5a8-a98240bf3e7f' {
  272. recordfail
  273. load_video
  274. insmod gzio
  275. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  276. insmod part_gpt
  277. insmod ext2
  278. set root='hd0,gpt6'
  279. if [ x$feature_platform_search_hint = xy ]; then
  280. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 d16c14fd-958e-4935-b5a8-a98240bf3e7f
  281. else
  282. search --no-floppy --fs-uuid --set=root d16c14fd-958e-4935-b5a8-a98240bf3e7f
  283. fi
  284. echo 'Loading Linux 4.4.0-21-generic ...'
  285. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=d16c14fd-958e-4935-b5a8-a98240bf3e7f ro recovery nomodeset
  286. echo 'Loading initial ramdisk ...'
  287. initrd /boot/initrd.img-4.4.0-21-generic
  288. }
  289. }
  290. ### END /etc/grub.d/10_linux ###
  291. ### BEGIN /etc/grub.d/20_linux_xen ###
  292. ### END /etc/grub.d/20_linux_xen ###
  293. ### BEGIN /etc/grub.d/20_memtest86+ ###
  294. ### END /etc/grub.d/20_memtest86+ ###
  295. ### BEGIN /etc/grub.d/25_custom ###
  296. menuentry "Windows UEFI bootmgfw.efi" {
  297. search --fs-uuid --no-floppy --set=root 6A3C-0104
  298. chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
  299. }
  300. menuentry "Windows Boot UEFI loader" {
  301. search --fs-uuid --no-floppy --set=root 6A3C-0104
  302. chainloader (${root})/EFI/Boot/bkpbootx64.efi
  303. }
  304. menuentry "EFI/ubuntu/fwupx64.efi" {
  305. search --fs-uuid --no-floppy --set=root 6A3C-0104
  306. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  307. }
  308. menuentry "EFI/ubuntu/MokManager.efi" {
  309. search --fs-uuid --no-floppy --set=root 6A3C-0104
  310. chainloader (${root})/EFI/ubuntu/MokManager.efi
  311. }
  312. menuentry "EFI/OEM/Boot/bootmgfw.efi" {
  313. search --fs-uuid --no-floppy --set=root 6A3C-0104
  314. chainloader (${root})/EFI/OEM/Boot/bootmgfw.efi
  315. }
  316. ### END /etc/grub.d/25_custom ###
  317. ### BEGIN /etc/grub.d/30_os-prober ###
  318. menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-6A3C-0104' {
  319. insmod part_gpt
  320. insmod fat
  321. set root='hd0,gpt1'
  322. if [ x$feature_platform_search_hint = xy ]; then
  323. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 6A3C-0104
  324. else
  325. search --no-floppy --fs-uuid --set=root 6A3C-0104
  326. fi
  327. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  328. }
  329. set timeout_style=menu
  330. if [ "${timeout}" = 0 ]; then
  331. set timeout=10
  332. fi
  333. ### END /etc/grub.d/30_os-prober ###
  334. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  335. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  336. fwsetup
  337. }
  338. ### END /etc/grub.d/30_uefi-firmware ###
  339. ### BEGIN /etc/grub.d/40_custom ###
  340. # This file provides an easy way to add custom menu entries. Simply type the
  341. # menu entries you want to add after this comment. Be careful not to change
  342. # the 'exec tail' line above.
  343. ### END /etc/grub.d/40_custom ###
  344. ### BEGIN /etc/grub.d/41_custom ###
  345. if [ -f ${config_directory}/custom.cfg ]; then
  346. source ${config_directory}/custom.cfg
  347. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  348. source $prefix/custom.cfg;
  349. fi
  350. ### END /etc/grub.d/41_custom ###
  351. --------------------------------------------------------------------------------
  352. =============================== sda6/etc/fstab: ================================
  353. --------------------------------------------------------------------------------
  354. # /etc/fstab: static file system information.
  355. #
  356. # Use 'blkid' to print the universally unique identifier for a
  357. # device; this may be used with UUID= as a more robust way to name devices
  358. # that works even if disks are added and removed. See fstab(5).
  359. #
  360. # <file system> <mount point> <type> <options> <dump> <pass>
  361. # / was on /dev/sda6 during installation
  362. UUID=d16c14fd-958e-4935-b5a8-a98240bf3e7f / ext4 errors=remount-ro 0 1
  363. # /boot/efi was on /dev/sda1 during installation
  364. #UUID=6A3C-0104 /boot/efi vfat umask=0077 0 1
  365. # swap was on /dev/sda4 during installation
  366. UUID=fa85e69d-49e5-43fd-9981-9ab1eb89f918 none swap sw 0 0
  367. UUID=6A3C-0104 /boot/efi vfat defaults 0 1
  368. --------------------------------------------------------------------------------
  369. =================== sda6: Location of files loaded by Grub: ====================
  370. GiB - GB File Fragment(s)
  371. 735.710945129 = 789.963612160 boot/grub/grub.cfg 1
  372. 837.866607666 = 899.652419584 boot/grub/i386-pc/core.img 1
  373. 736.889343262 = 791.228907520 boot/vmlinuz-4.4.0-21-generic 1
  374. 837.850154877 = 899.634753536 boot/vmlinuz-4.4.0-21-generic.efi.signed 1
  375. 736.889343262 = 791.228907520 vmlinuz 1
  376. 737.171871185 = 791.532269568 boot/initrd.img-4.4.0-21-generic 2
  377. 737.171871185 = 791.532269568 initrd.img 2
  378. =============================== StdErr Messages: ===============================
  379. File descriptor 9 (/proc/10777/mounts) leaked on lvs invocation. Parent PID 22518: bash
  380. File descriptor 63 (pipe:[96664]) leaked on lvs invocation. Parent PID 22518: bash
  381. ADDITIONAL INFORMATION :
  382. =================== log of boot-repair 2016-07-02__19h42 ===================
  383. boot-repair version : 4ppa38
  384. boot-sav version : 4ppa38
  385. glade2script version : 3.2.3~ppa1
  386. boot-sav-extra version : 4ppa38
  387. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
  388. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
  389. boot-repair is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
  390. CPU op-mode(s): 32-bit, 64-bit
  391. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper no splash ---
  392. ls: cannot access '/home/usr/.config': No such file or directory
  393. The disk contains an unclean file system (0, 0).
  394. Metadata kept in Windows cache, refused to mount.
  395. Failed to mount '/dev/sda3': Operation not permitted
  396. The NTFS partition is in an unsafe state. Please resume and shutdown
  397. Windows fully (no hibernation or fast restarting), or mount the volume
  398. read-only with the 'ro' mount option.
  399. mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /mnt/boot-sav/sda3
  400. The disk contains an unclean file system (0, 0).
  401. Metadata kept in Windows cache, refused to mount.
  402. Failed to mount '/dev/sda3': Operation not permitted
  403. The NTFS partition is in an unsafe state. Please resume and shutdown
  404. Windows fully (no hibernation or fast restarting), or mount the volume
  405. read-only with the 'ro' mount option.
  406. mount /dev/sda3 : Error code 14
  407. mount -r /dev/sda3 /mnt/boot-sav/sda3
  408. The disk contains an unclean file system (0, 0).
  409. Metadata kept in Windows cache, refused to mount.
  410. Failed to mount '/dev/sda5': Operation not permitted
  411. The NTFS partition is in an unsafe state. Please resume and shutdown
  412. Windows fully (no hibernation or fast restarting), or mount the volume
  413. read-only with the 'ro' mount option.
  414. mount -t ntfs-3g -o remove_hiberfile /dev/sda5 /mnt/boot-sav/sda5
  415. The disk contains an unclean file system (0, 0).
  416. Metadata kept in Windows cache, refused to mount.
  417. Failed to mount '/dev/sda5': Operation not permitted
  418. The NTFS partition is in an unsafe state. Please resume and shutdown
  419. Windows fully (no hibernation or fast restarting), or mount the volume
  420. read-only with the 'ro' mount option.
  421. mount /dev/sda5 : Error code 14
  422. mount -r /dev/sda5 /mnt/boot-sav/sda5
  423. =================== os-prober:
  424. /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
  425. /dev/sda6:Ubuntu 16.04 LTS (16.04):Ubuntu:linux
  426. =================== blkid:
  427. /dev/sda1: LABEL="ESP" UUID="6A3C-0104" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="23336c20-0bd6-4603-b08b-3d770d72ecb5"
  428. /dev/sda3: LABEL="Acer" UUID="883C3D4C3C3D3712" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="5b0600f1-0e4e-4999-9aef-9cb820a0143b"
  429. /dev/sda5: LABEL="Recovery" UUID="8E683E32683E1983" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="1e6efff6-29f6-4eda-a33e-cbe172cd8736"
  430. /dev/sda6: UUID="d16c14fd-958e-4935-b5a8-a98240bf3e7f" TYPE="ext4" PARTUUID="c861833e-9eb3-41ac-990d-2d420b2980ef"
  431. /dev/sr0: UUID="2016-04-20-22-29-52-00" LABEL="Ubuntu 16.04 LTS amd64" TYPE="iso9660" PTUUID="0e0e8e70" PTTYPE="dos"
  432. /dev/loop0: TYPE="squashfs"
  433. /dev/sda4: UUID="fa85e69d-49e5-43fd-9981-9ab1eb89f918" TYPE="swap" PARTUUID="00e02b2a-ada9-4430-8537-fe7c896b8474"
  434. /dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="711d112f-d803-4a50-acab-8e41a15f075e"
  435. 1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
  436. Windows not detected by os-prober on sda3.
  437. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
  438. Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi
  439. Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
  440. Presence of bkp file detected: /mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi
  441. =================== /mnt/etc/grub.d/ :
  442. drwxr-xr-x 2 root root 4096 Apr 20 22:15 grub.d
  443. total 76
  444. -rwxr-xr-x 1 root root 9791 Apr 15 22:00 00_header
  445. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  446. -rwxr-xr-x 1 root root 12261 Apr 15 22:00 10_linux
  447. -rwxr-xr-x 1 root root 11082 Apr 15 22:00 20_linux_xen
  448. -rwxr-xr-x 1 root root 1992 Jan 28 12:44 20_memtest86+
  449. -rwxr-xr-x 1 root root 11692 Apr 15 22:00 30_os-prober
  450. -rwxr-xr-x 1 root root 1418 Apr 15 22:00 30_uefi-firmware
  451. -rwxr-xr-x 1 root root 214 Apr 15 22:00 40_custom
  452. -rwxr-xr-x 1 root root 216 Apr 15 22:00 41_custom
  453. -rw-r--r-- 1 root root 483 Apr 15 22:00 README
  454. =================== /mnt/etc/default/grub :
  455. # If you change this file, run 'update-grub' afterwards to update
  456. # /boot/grub/grub.cfg.
  457. # For full documentation of the options in this file, see:
  458. # info -f grub -n 'Simple configuration'
  459. GRUB_DEFAULT=0
  460. #GRUB_HIDDEN_TIMEOUT=0
  461. GRUB_HIDDEN_TIMEOUT_QUIET=true
  462. GRUB_TIMEOUT=10
  463. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  464. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  465. GRUB_CMDLINE_LINUX=""
  466. # Uncomment to enable BadRAM filtering, modify to suit your needs
  467. # This works with Linux (no patch required) and with any kernel that obtains
  468. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  469. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  470. # Uncomment to disable graphical terminal (grub-pc only)
  471. #GRUB_TERMINAL=console
  472. # The resolution used on graphical terminal
  473. # note that you can use only modes which your graphic card supports via VBE
  474. # you can see them in real GRUB with the command `vbeinfo'
  475. #GRUB_GFXMODE=640x480
  476. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  477. #GRUB_DISABLE_LINUX_UUID=true
  478. # Uncomment to disable generation of recovery mode menu entries
  479. #GRUB_DISABLE_RECOVERY="true"
  480. # Uncomment to get a beep at grub start
  481. #GRUB_INIT_TUNE="480 440 1"
  482. /boot/efi detected in the fstab of sda6: UUID=6A3C-0104 (sda1)
  483. =================== efibootmgr -v
  484. BootCurrent: 0003
  485. Timeout: 0 seconds
  486. BootOrder: 2002,0002,2001,2003
  487. Boot0001* Unknown Device: HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  488. Boot0002* Windows Boot Manager HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)RC
  489. Boot0003* ATAPI CDROM: HL-DT-ST DVDRAM GUC0N PciRoot(0x0)/Pci(0x1f,0x2)/Sata(1,0,0)/CDROM(1,0xb0451,0x1280)RC
  490. Boot0004* Unknown Device: HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  491. Boot0005* Unknown Device: HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  492. Boot2001* EFI USB Device RC
  493. Boot2002* EFI DVD/CDROM RC
  494. Boot2003* EFI Network RC
  495. =================== UEFI/Legacy mode:
  496. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  497. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  498. =================== PARTITIONS & DISKS:
  499. sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-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.
  500. sda3 : 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, haswinload, no-recov-nor-hid, bootmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
  501. sda5 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.
  502. sda6 : 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.
  503. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  504. =================== parted -l:
  505. Model: ATA WDC WD10JPVX-22J (scsi)
  506. Disk /dev/sda: 1000GB
  507. Sector size (logical/physical): 512B/4096B
  508. Partition Table: gpt
  509. Disk Flags:
  510. Number Start End Size File system Name Flags
  511. 1 1049kB 106MB 105MB fat32 EFI system partition boot, esp
  512. 2 106MB 123MB 16.8MB Microsoft reserved partition msftres
  513. 3 123MB 790GB 790GB ntfs Basic data partition msftdata
  514. 6 790GB 984GB 194GB ext4
  515. 4 984GB 1000GB 16.0GB linux-swap(v1)
  516. 5 1000GB 1000GB 524MB ntfs Basic data partition diag
  517. Model: HL-DT-ST DVDRAM GUC0N (scsi)
  518. Disk /dev/sr0: 1486MB
  519. Sector size (logical/physical): 2048B/2048B
  520. Partition Table: mac
  521. Disk Flags:
  522. Number Start End Size File system Name Flags
  523. 1 2048B 6143B 4096B Apple
  524. 2 1479MB 1481MB 2425kB EFI
  525. =================== parted -lm:
  526. BYT;
  527. /dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10JPVX-22J:;
  528. 1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
  529. 2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
  530. 3:123MB:790GB:790GB:ntfs:Basic data partition:msftdata;
  531. 6:790GB:984GB:194GB:ext4::;
  532. 4:984GB:1000GB:16.0GB:linux-swap(v1)::;
  533. 5:1000GB:1000GB:524MB:ntfs:Basic data partition:diag;
  534. BYT;
  535. /dev/sr0:1486MB:scsi:2048:2048:mac:HL-DT-ST DVDRAM GUC0N:;
  536. 1:2048B:6143B:4096B::Apple:;
  537. 2:1479MB:1481MB:2425kB::EFI:;
  538. =================== lsblk:
  539. KNAME TYPE FSTYPE SIZE LABEL
  540. sda disk 931.5G
  541. sda1 part vfat 100M ESP
  542. sda2 part 16M
  543. sda3 part ntfs 735.6G Acer
  544. sda4 part swap 14.9G
  545. sda5 part ntfs 500M Recovery
  546. sda6 part ext4 180.4G
  547. sr0 rom iso9660 1.4G Ubuntu 16.04 LTS amd64
  548. loop0 loop squashfs 1.3G
  549. KNAME ROTA RO RM STATE MOUNTPOINT
  550. sda 1 0 0 running
  551. sda1 1 0 0 /mnt/boot-sav/sda1
  552. sda2 1 0 0
  553. sda3 1 0 0 /mnt/boot-sav/sda3
  554. sda4 1 0 0 [SWAP]
  555. sda5 1 0 0 /mnt/boot-sav/sda5
  556. sda6 1 0 0 /mnt
  557. sr0 1 0 1 running /cdrom
  558. loop0 1 1 0 /rofs
  559. =================== mount:
  560. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  561. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  562. udev on /dev type devtmpfs (rw,nosuid,relatime,size=4029256k,nr_inodes=1007314,mode=755)
  563. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  564. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=808784k,mode=755)
  565. /dev/sr0 on /cdrom type iso9660 (ro,noatime)
  566. /dev/loop0 on /rofs type squashfs (ro,noatime)
  567. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  568. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  569. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  570. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  571. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  572. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
  573. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  574. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  575. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
  576. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
  577. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
  578. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
  579. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
  580. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
  581. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
  582. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
  583. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
  584. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
  585. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  586. mqueue on /dev/mqueue type mqueue (rw,relatime)
  587. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  588. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  589. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  590. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  591. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  592. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=808784k,mode=700,uid=999,gid=999)
  593. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  594. /dev/sda6 on /mnt type ext4 (rw,relatime,data=ordered)
  595. /dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  596. /dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  597. /dev/sda5 on /mnt/boot-sav/sda5 type fuseblk (ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  598. =================== ls:
  599. /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 size slaves stat subsystem trace uevent
  600. /sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  601. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-19 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  602. ls /dev/mapper: control
  603. =================== hexdump -n512 -C /dev/sda1
  604. 00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 fe 19 |.X.MSDOS5.0.....|
  605. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  606. 00000020 00 20 03 00 01 03 00 00 00 00 00 00 02 00 00 00 |. ..............|
  607. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  608. 00000040 80 01 29 04 01 3c 6a 4e 4f 20 4e 41 4d 45 20 20 |..)..<jNO NAME |
  609. 00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
  610. 00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|[email protected]|
  611. 00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
  612. 00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
  613. 00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
  614. 000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
  615. 000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
  616. 000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
  617. 000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
  618. 000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
  619. 000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
  620. 00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
  621. 00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
  622. 00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
  623. 00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
  624. 00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
  625. 00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
  626. 00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |[email protected]|
  627. 00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
  628. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  629. *
  630. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
  631. 000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
  632. 000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
  633. 000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
  634. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  635. 000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
  636. 00000200
  637. =================== hexdump -n512 -C /dev/sda3
  638. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  639. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 a8 03 00 |........?.......|
  640. 00000020 00 00 00 00 80 00 80 00 ff 17 f3 5b 00 00 00 00 |...........[....|
  641. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  642. 00000040 f6 00 00 00 01 00 00 00 12 37 3d 3c 4c 3d 3c 88 |.........7=<L=<.|
  643. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  644. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  645. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  646. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  647. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  648. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  649. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  650. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  651. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  652. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  653. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  654. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  655. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  656. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  657. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  658. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  659. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  660. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  661. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  662. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  663. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  664. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  665. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  666. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  667. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  668. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  669. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  670. 00000200
  671. =================== hexdump -n512 -C /dev/sda5
  672. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  673. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 c0 60 74 |........?.....`t|
  674. 00000020 00 00 00 00 80 00 80 00 ff 9f 0f 00 00 00 00 00 |................|
  675. 00000030 aa a6 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  676. 00000040 f6 00 00 00 01 00 00 00 83 19 3e 68 32 3e 68 8e |..........>h2>h.|
  677. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  678. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  679. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  680. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  681. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  682. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  683. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  684. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  685. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  686. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  687. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  688. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  689. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  690. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  691. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  692. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  693. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  694. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  695. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  696. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  697. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  698. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  699. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  700. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  701. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  702. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  703. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  704. 00000200
  705. =================== df -Th:
  706. Filesystem Type Size Used Avail Use% Mounted on
  707. udev devtmpfs 3.9G 0 3.9G 0% /dev
  708. tmpfs tmpfs 790M 9.5M 781M 2% /run
  709. /dev/sr0 iso9660 1.4G 1.4G 0 100% /cdrom
  710. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  711. /cow overlay 3.9G 100M 3.8G 3% /
  712. tmpfs tmpfs 3.9G 144K 3.9G 1% /dev/shm
  713. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  714. tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
  715. tmpfs tmpfs 3.9G 368K 3.9G 1% /tmp
  716. tmpfs tmpfs 790M 76K 790M 1% /run/user/999
  717. /dev/sda6 ext4 178G 3.5G 166G 3% /mnt
  718. /dev/sda1 vfat 96M 58M 39M 61% /mnt/boot-sav/sda1
  719. /dev/sda3 fuseblk 736G 613G 124G 84% /mnt/boot-sav/sda3
  720. /dev/sda5 fuseblk 500M 343M 158M 69% /mnt/boot-sav/sda5
  721. =================== fdisk -l:
  722. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  723. Units: sectors of 1 * 512 = 512 bytes
  724. Sector size (logical/physical): 512 bytes / 4096 bytes
  725. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  726. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  727. Units: sectors of 1 * 512 = 512 bytes
  728. Sector size (logical/physical): 512 bytes / 4096 bytes
  729. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  730. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  731. Units: sectors of 1 * 512 = 512 bytes
  732. Sector size (logical/physical): 512 bytes / 4096 bytes
  733. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  734. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  735. Units: sectors of 1 * 512 = 512 bytes
  736. Sector size (logical/physical): 512 bytes / 4096 bytes
  737. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  738. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  739. Units: sectors of 1 * 512 = 512 bytes
  740. Sector size (logical/physical): 512 bytes / 4096 bytes
  741. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  742. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  743. Units: sectors of 1 * 512 = 512 bytes
  744. Sector size (logical/physical): 512 bytes / 4096 bytes
  745. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  746. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  747. Units: sectors of 1 * 512 = 512 bytes
  748. Sector size (logical/physical): 512 bytes / 4096 bytes
  749. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  750. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  751. Units: sectors of 1 * 512 = 512 bytes
  752. Sector size (logical/physical): 512 bytes / 4096 bytes
  753. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  754. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  755. Units: sectors of 1 * 512 = 512 bytes
  756. Sector size (logical/physical): 512 bytes / 4096 bytes
  757. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  758. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  759. Units: sectors of 1 * 512 = 512 bytes
  760. Sector size (logical/physical): 512 bytes / 4096 bytes
  761. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  762. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  763. Units: sectors of 1 * 512 = 512 bytes
  764. Sector size (logical/physical): 512 bytes / 4096 bytes
  765. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  766. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  767. Units: sectors of 1 * 512 = 512 bytes
  768. Sector size (logical/physical): 512 bytes / 4096 bytes
  769. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  770. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  771. Units: sectors of 1 * 512 = 512 bytes
  772. Sector size (logical/physical): 512 bytes / 4096 bytes
  773. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  774. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  775. Units: sectors of 1 * 512 = 512 bytes
  776. Sector size (logical/physical): 512 bytes / 4096 bytes
  777. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  778. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  779. Units: sectors of 1 * 512 = 512 bytes
  780. Sector size (logical/physical): 512 bytes / 4096 bytes
  781. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  782. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  783. Units: sectors of 1 * 512 = 512 bytes
  784. Sector size (logical/physical): 512 bytes / 4096 bytes
  785. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  786. Disk /dev/loop0: 1.3 GiB, 1433468928 bytes, 2799744 sectors
  787. Units: sectors of 1 * 512 = 512 bytes
  788. Sector size (logical/physical): 512 bytes / 512 bytes
  789. I/O size (minimum/optimal): 512 bytes / 512 bytes
  790. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  791. Units: sectors of 1 * 512 = 512 bytes
  792. Sector size (logical/physical): 512 bytes / 4096 bytes
  793. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  794. Disklabel type: gpt
  795. Disk identifier: 5B046436-6AF0-4796-8A98-2E9628CB4E64
  796. Device Start End Sectors Size Type
  797. /dev/sda1 2048 206847 204800 100M EFI System
  798. /dev/sda2 206848 239615 32768 16M Microsoft reserved
  799. /dev/sda3 239616 1542897663 1542658048 735.6G Microsoft basic data
  800. /dev/sda4 1921247232 1952497663 31250432 14.9G Linux swap
  801. /dev/sda5 1952497664 1953521663 1024000 500M Windows recovery environment
  802. /dev/sda6 1542897664 1921247231 378349568 180.4G Linux filesystem
  803. Partition table entries are not in disk order.
  804. =================== Recommended repair
  805. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda6, using the following options: sda1/boot/efi,
  806. Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file restore-efi-backups
  807. /boot/efi added in sda6/fstab
  808. rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
  809. Quantity of real Windows: 1
  810. Mount sda1 on /mnt/boot/efi
  811. ls sda1/efi: /OEM/Recovery/BCD.LOG2 /OEM/Recovery/BCD.LOG1 /OEM/Recovery/BCD.LOG /OEM/Recovery/BCD /OEM/Boot/zh-TW /OEM/Boot/zh-HK /OEM/Boot/zh-CN /OEM/Boot/uk-UA /OEM/Boot/tr-TR /OEM/Boot/sv-SE /OEM/Boot/sr-Latn-RS /OEM/Boot/sr-Latn-CS /OEM/Boot/sl-SI /OEM/Boot/sk-SK /OEM/Boot/ru-RU /OEM/Boot/ro-RO /OEM/Boot/Resources /OEM/Boot/qps-ploc /OEM/Boot/pt-PT /OEM/Boot/pt-BR /OEM/Boot/pl-PL /OEM/Boot/nl-NL /OEM/Boot/nb-NO /OEM/Boot/memtest.efi /OEM/Boot/lv-LV /OEM/Boot/lt-LT /OEM/Boot/ko-KR /OEM/Boot/kdstub.dll /OEM/Boot/kd_0C_8086.dll /OEM/Boot/kd_07_1415.dll /OEM/Boot/kd_02_8086.dll /OEM/Boot/kd_02_19a2.dll /OEM/Boot/kd_02_1969.dll /OEM/Boot/kd_02_15b3.dll /OEM/Boot/kd_02_14e4.dll /OEM/Boot/kd_02_1137.dll /OEM/Boot/kd_02_10ec.dll /OEM/Boot/kd_02_10df.dll /OEM/Boot/ja-JP /OEM/Boot/it-IT /OEM/Boot/hu-HU /OEM/Boot/hr-HR /OEM/Boot/fr-FR /OEM/Boot/fr-CA /OEM/Boot/Fonts /OEM/Boot/fi-FI /OEM/Boot/et-EE /OEM/Boot/es-MX /OEM/Boot/es-ES /OEM/Boot/en-US /OEM/Boot/en-GB /OEM/Boot/el-GR /OEM/Boot/de-DE /OEM/Boot/da-DK /OEM/Boot/cs-CZ /OEM/Boot/boot.stl /OEM/Boot/BOOTSTAT.DAT /OEM/Boot/bootmgr.efi /OEM/Boot/bootmgfw.efi /OEM/Boot/bg-BG /OEM/Boot/BCD.LOG2 /OEM/Boot/BCD.LOG1 /OEM/Boot/BCD.LOG /OEM/Boot/BCD /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/uk-UA /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-RS /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/sl-SI /Microsoft/Boot/sk-SK /Microsoft/Boot/ru-RU /Microsoft/Boot/ro-RO /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/lv-LV /Microsoft/Boot/lt-LT /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_15b3.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_1137.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/fr-CA /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /Microsoft/Boot/es-MX /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/en-GB /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/bg-BG /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /OEM/Recovery /OEM/Boot /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi
  812. ls sda1: boot-sav
  813. EFI . Please report this message to [email protected]
  814. *******lspci -nnk | grep -iA3 vga
  815. 00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09)
  816. Subsystem: Acer Incorporated [ALI] Broadwell-U Integrated Graphics [1025:098a]
  817. Kernel driver in use: i915
  818. Kernel modules: i915
  819. *******
  820. grub-install --version
  821. grub-install (GRUB) 2.02~beta2-36ubuntu3,grub-install (GRUB) 2.
  822. chroot /mnt efibootmgr -v
  823. BootCurrent: 0003
  824. Timeout: 0 seconds
  825. BootOrder: 2002,0002,2001,2003
  826. Boot0001* Unknown Device: HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  827. Boot0002* Windows Boot Manager HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)RC
  828. Boot0003* ATAPI CDROM: HL-DT-ST DVDRAM GUC0N PciRoot(0x0)/Pci(0x1f,0x2)/Sata(1,0,0)/CDROM(1,0xb0451,0x1280)RC
  829. Boot0004* Unknown Device: HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  830. Boot0005* Unknown Device: HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  831. Boot2001* EFI USB Device RC
  832. Boot2002* EFI DVD/CDROM RC
  833. Boot2003* EFI Network RC
  834. chroot /mnt uname -r
  835. Kernel: 4.4.0-21-generic
  836. Reinstall the grub-efi-amd64-signed of sda6
  837. Installing for x86_64-efi platform.
  838. Installation finished. No error reported.
  839. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  840. ls sda1/efi: /OEM/Recovery/BCD.LOG2 /OEM/Recovery/BCD.LOG1 /OEM/Recovery/BCD.LOG /OEM/Recovery/BCD /OEM/Boot/zh-TW /OEM/Boot/zh-HK /OEM/Boot/zh-CN /OEM/Boot/uk-UA /OEM/Boot/tr-TR /OEM/Boot/sv-SE /OEM/Boot/sr-Latn-RS /OEM/Boot/sr-Latn-CS /OEM/Boot/sl-SI /OEM/Boot/sk-SK /OEM/Boot/ru-RU /OEM/Boot/ro-RO /OEM/Boot/Resources /OEM/Boot/qps-ploc /OEM/Boot/pt-PT /OEM/Boot/pt-BR /OEM/Boot/pl-PL /OEM/Boot/nl-NL /OEM/Boot/nb-NO /OEM/Boot/memtest.efi /OEM/Boot/lv-LV /OEM/Boot/lt-LT /OEM/Boot/ko-KR /OEM/Boot/kdstub.dll /OEM/Boot/kd_0C_8086.dll /OEM/Boot/kd_07_1415.dll /OEM/Boot/kd_02_8086.dll /OEM/Boot/kd_02_19a2.dll /OEM/Boot/kd_02_1969.dll /OEM/Boot/kd_02_15b3.dll /OEM/Boot/kd_02_14e4.dll /OEM/Boot/kd_02_1137.dll /OEM/Boot/kd_02_10ec.dll /OEM/Boot/kd_02_10df.dll /OEM/Boot/ja-JP /OEM/Boot/it-IT /OEM/Boot/hu-HU /OEM/Boot/hr-HR /OEM/Boot/fr-FR /OEM/Boot/fr-CA /OEM/Boot/Fonts /OEM/Boot/fi-FI /OEM/Boot/et-EE /OEM/Boot/es-MX /OEM/Boot/es-ES /OEM/Boot/en-US /OEM/Boot/en-GB /OEM/Boot/el-GR /OEM/Boot/de-DE /OEM/Boot/da-DK /OEM/Boot/cs-CZ /OEM/Boot/boot.stl /OEM/Boot/BOOTSTAT.DAT /OEM/Boot/bootmgr.efi /OEM/Boot/bootmgfw.efi /OEM/Boot/bg-BG /OEM/Boot/BCD.LOG2 /OEM/Boot/BCD.LOG1 /OEM/Boot/BCD.LOG /OEM/Boot/BCD /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/uk-UA /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-RS /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/sl-SI /Microsoft/Boot/sk-SK /Microsoft/Boot/ru-RU /Microsoft/Boot/ro-RO /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/lv-LV /Microsoft/Boot/lt-LT /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_15b3.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_1137.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/fr-CA /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /Microsoft/Boot/es-MX /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/en-GB /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/bg-BG /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /OEM/Recovery /OEM/Boot /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi
  841. ls sda1: boot-sav
  842. EFI . Please report this message to [email protected]
  843. df /dev/sda1
  844. Save and rename /mnt/boot/efi/EFI/Boot/bootx64.efi (/mnt/boot/efi/EFI/Boot/bkpbootx64.efi)
  845. cp /mnt/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot/efi/EFI/Boot/bootx64.efi
  846. ls sda1/efi: /OEM/Recovery/BCD.LOG2 /OEM/Recovery/BCD.LOG1 /OEM/Recovery/BCD.LOG /OEM/Recovery/BCD /OEM/Boot/zh-TW /OEM/Boot/zh-HK /OEM/Boot/zh-CN /OEM/Boot/uk-UA /OEM/Boot/tr-TR /OEM/Boot/sv-SE /OEM/Boot/sr-Latn-RS /OEM/Boot/sr-Latn-CS /OEM/Boot/sl-SI /OEM/Boot/sk-SK /OEM/Boot/ru-RU /OEM/Boot/ro-RO /OEM/Boot/Resources /OEM/Boot/qps-ploc /OEM/Boot/pt-PT /OEM/Boot/pt-BR /OEM/Boot/pl-PL /OEM/Boot/nl-NL /OEM/Boot/nb-NO /OEM/Boot/memtest.efi /OEM/Boot/lv-LV /OEM/Boot/lt-LT /OEM/Boot/ko-KR /OEM/Boot/kdstub.dll /OEM/Boot/kd_0C_8086.dll /OEM/Boot/kd_07_1415.dll /OEM/Boot/kd_02_8086.dll /OEM/Boot/kd_02_19a2.dll /OEM/Boot/kd_02_1969.dll /OEM/Boot/kd_02_15b3.dll /OEM/Boot/kd_02_14e4.dll /OEM/Boot/kd_02_1137.dll /OEM/Boot/kd_02_10ec.dll /OEM/Boot/kd_02_10df.dll /OEM/Boot/ja-JP /OEM/Boot/it-IT /OEM/Boot/hu-HU /OEM/Boot/hr-HR /OEM/Boot/fr-FR /OEM/Boot/fr-CA /OEM/Boot/Fonts /OEM/Boot/fi-FI /OEM/Boot/et-EE /OEM/Boot/es-MX /OEM/Boot/es-ES /OEM/Boot/en-US /OEM/Boot/en-GB /OEM/Boot/el-GR /OEM/Boot/de-DE /OEM/Boot/da-DK /OEM/Boot/cs-CZ /OEM/Boot/boot.stl /OEM/Boot/BOOTSTAT.DAT /OEM/Boot/bootmgr.efi /OEM/Boot/bootmgfw.efi /OEM/Boot/bg-BG /OEM/Boot/BCD.LOG2 /OEM/Boot/BCD.LOG1 /OEM/Boot/BCD.LOG /OEM/Boot/BCD /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/uk-UA /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-RS /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/sl-SI /Microsoft/Boot/sk-SK /Microsoft/Boot/ru-RU /Microsoft/Boot/ro-RO /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/lv-LV /Microsoft/Boot/lt-LT /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_15b3.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_1137.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/fr-CA /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /Microsoft/Boot/es-MX /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/en-GB /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/bg-BG /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /OEM/Recovery /OEM/Boot /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi /Boot/bkpbootx64.efi
  847. ls sda1: boot-sav
  848. EFI . Please report this message to [email protected]
  849. Add /mnt/boot/efi efi entries in /mnt/etc/grub.d/25_custom
  850. Adding custom /mnt/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  851. Adding custom /mnt/boot/efi/EFI/Boot/bkpbootx64.efi
  852. sda1/bkpbootx64.efi already added
  853. Adding custom /mnt/boot/efi/EFI/ubuntu/fwupx64.efi
  854. Adding custom /mnt/boot/efi/EFI/ubuntu/MokManager.efi
  855. sda1/bootmgfw.efi already added
  856. Adding custom /mnt/boot/efi/EFI/OEM/Boot/bootmgfw.efi
  857. Installing for x86_64-efi platform.
  858. Installation finished. No error reported.
  859. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  860. chroot /mnt efibootmgr -v
  861. BootCurrent: 0003
  862. Timeout: 0 seconds
  863. BootOrder: 0000,2002,0002,2001,2003
  864. Boot0000* ubuntu HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIubuntushimx64.efi)
  865. Boot0001* Unknown Device: HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  866. Boot0002* Windows Boot Manager HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)RC
  867. Boot0003* ATAPI CDROM: HL-DT-ST DVDRAM GUC0N PciRoot(0x0)/Pci(0x1f,0x2)/Sata(1,0,0)/CDROM(1,0xb0451,0x1280)RC
  868. Boot0004* Unknown Device: HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  869. Boot0005* Unknown Device: HD(1,GPT,23336c20-0bd6-4603-b08b-3d770d72ecb5,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  870. Boot2001* EFI USB Device RC
  871. Boot2002* EFI DVD/CDROM RC
  872. Boot2003* EFI Network RC
  873. chroot /mnt update-grub
  874. Generating grub configuration file ...
  875. Found linux image: /boot/vmlinuz-4.4.0-21-generic
  876. Found initrd image: /boot/initrd.img-4.4.0-21-generic
  877. Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
  878. Adding boot menu entry for EFI firmware configuration
  879. The disk contains an unclean file system (0, 0).
  880. Metadata kept in Windows cache, refused to mount.
  881. Failed to mount '/dev/sda3': Operation not permitted
  882. The NTFS partition is in an unsafe state. Please resume and shutdown
  883. Windows fully (no hibernation or fast restarting), or mount the volume
  884. read-only with the 'ro' mount option.
  885. mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /mnt/boot-sav/sda3
  886. The disk contains an unclean file system (0, 0).
  887. Metadata kept in Windows cache, refused to mount.
  888. Failed to mount '/dev/sda3': Operation not permitted
  889. The NTFS partition is in an unsafe state. Please resume and shutdown
  890. Windows fully (no hibernation or fast restarting), or mount the volume
  891. read-only with the 'ro' mount option.
  892. mount /dev/sda3 : Error code 14
  893. mount -r /dev/sda3 /mnt/boot-sav/sda3
  894. Unhide GRUB boot menu in sda6/boot/grub/grub.cfg
  895. Boot successfully repaired.
  896. You can now reboot your computer.
  897. If your computer reboots directly into Windows, try to change the boot order in your BIOS.
  898. If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
  899. For example you can boot into Windows, then type the following command in an admin command prompt:
  900. bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
  901. paste.ubuntu.com ko (), using paste.debian
  902. paste.debian.net ko (), using paste2