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: -
  7. Boot sector info: No errors found in the Boot Parameter Block.
  8. Operating System:
  9. Boot files: /EFI/Boot/bkpbootx64.efi /EFI/Boot/bootx64.efi
  10. /EFI/ubuntu/MokManager.efi /EFI/ubuntu/fwupx64.efi
  11. /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
  12. /EFI/Microsoft/Boot/bootmgfw.efi
  13. /EFI/Microsoft/Boot/bootmgr.efi
  14. /EFI/Microsoft/Boot/memtest.efi
  15. sda2: __________________________________________________________________________
  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: /bootmgr /Boot/BCD /Windows/System32/winload.exe
  21. sda3: __________________________________________________________________________
  22. File system: ntfs
  23. Boot sector type: Windows 8/2012: NTFS
  24. Boot sector info: No errors found in the Boot Parameter Block.
  25. Operating System:
  26. Boot files:
  27. sda4: __________________________________________________________________________
  28. File system: swap
  29. Boot sector type: -
  30. Boot sector info:
  31. sda5: __________________________________________________________________________
  32. File system: ext4
  33. Boot sector type: -
  34. Boot sector info:
  35. Operating System: Ubuntu 16.04.1 LTS
  36. Boot files: /boot/grub/grub.cfg /etc/fstab
  37. ============================ Drive/Partition Info: =============================
  38. Drive: sda _____________________________________________________________________
  39. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  40. Units: sectors of 1 * 512 = 512 bytes
  41. Sector size (logical/physical): 512 bytes / 4096 bytes
  42. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  43. Disklabel type: gpt
  44. Partition Boot Start Sector End Sector # of Sectors Id System
  45. /dev/sda1 1 976,773,167 976,773,167 ee GPT
  46. GUID Partition Table detected.
  47. Partition Attrs Start Sector End Sector # of Sectors System
  48. /dev/sda1 2,048 567,295 565,248 EFI System partition
  49. /dev/sda2 567,296 389,689,343 389,122,048 Data partition (Windows/Linux)
  50. /dev/sda3 389,689,344 692,436,991 302,747,648 Data partition (Windows/Linux)
  51. /dev/sda4 692,436,992 701,652,991 9,216,000 Swap partition (Linux)
  52. /dev/sda5 701,652,992 976,773,134 275,120,143 Data partition (Linux)
  53. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  54. "blkid" output: ________________________________________________________________
  55. Device UUID TYPE LABEL
  56. /dev/sda1 0CDE-104D vfat SYSTEM
  57. /dev/sda2 D49CE0F99CE0D6D0 ntfs OS
  58. /dev/sda3 6C50925C50922D38 ntfs DATA
  59. /dev/sda4 c37d19ee-31ed-4bac-8520-180443edfdba swap
  60. /dev/sda5 0db62fbb-8508-42e1-804e-6d778ab35170 ext4
  61. ========================= "ls -l /dev/disk/by-id" output: ======================
  62. total 0
  63. lrwxrwxrwx 1 root root 9 Aug 6 14:10 ata-TOSHIBA_MQ01ABF050_265XCWMGT -> ../../sda
  64. lrwxrwxrwx 1 root root 10 Aug 6 14:10 ata-TOSHIBA_MQ01ABF050_265XCWMGT-part1 -> ../../sda1
  65. lrwxrwxrwx 1 root root 10 Aug 6 14:11 ata-TOSHIBA_MQ01ABF050_265XCWMGT-part2 -> ../../sda2
  66. lrwxrwxrwx 1 root root 10 Aug 6 14:11 ata-TOSHIBA_MQ01ABF050_265XCWMGT-part3 -> ../../sda3
  67. lrwxrwxrwx 1 root root 10 Aug 6 14:10 ata-TOSHIBA_MQ01ABF050_265XCWMGT-part4 -> ../../sda4
  68. lrwxrwxrwx 1 root root 10 Aug 6 14:10 ata-TOSHIBA_MQ01ABF050_265XCWMGT-part5 -> ../../sda5
  69. lrwxrwxrwx 1 root root 9 Aug 6 14:10 wwn-0x50000396d4301a55 -> ../../sda
  70. lrwxrwxrwx 1 root root 10 Aug 6 14:10 wwn-0x50000396d4301a55-part1 -> ../../sda1
  71. lrwxrwxrwx 1 root root 10 Aug 6 14:11 wwn-0x50000396d4301a55-part2 -> ../../sda2
  72. lrwxrwxrwx 1 root root 10 Aug 6 14:11 wwn-0x50000396d4301a55-part3 -> ../../sda3
  73. lrwxrwxrwx 1 root root 10 Aug 6 14:10 wwn-0x50000396d4301a55-part4 -> ../../sda4
  74. lrwxrwxrwx 1 root root 10 Aug 6 14:10 wwn-0x50000396d4301a55-part5 -> ../../sda5
  75. ================================ Mount points: =================================
  76. Device Mount_Point Type Options
  77. /dev/sda1 /boot/efi vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  78. /dev/sda5 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
  79. =========================== sda5/boot/grub/grub.cfg: ===========================
  80. --------------------------------------------------------------------------------
  81. #
  82. # DO NOT EDIT THIS FILE
  83. #
  84. # It is automatically generated by grub-mkconfig using templates
  85. # from /etc/grub.d and settings from /etc/default/grub
  86. #
  87. ### BEGIN /etc/grub.d/00_header ###
  88. if [ -s $prefix/grubenv ]; then
  89. set have_grubenv=true
  90. load_env
  91. fi
  92. if [ "${next_entry}" ] ; then
  93. set default="${next_entry}"
  94. set next_entry=
  95. save_env next_entry
  96. set boot_once=true
  97. else
  98. set default="0"
  99. fi
  100. if [ x"${feature_menuentry_id}" = xy ]; then
  101. menuentry_id_option="--id"
  102. else
  103. menuentry_id_option=""
  104. fi
  105. export menuentry_id_option
  106. if [ "${prev_saved_entry}" ]; then
  107. set saved_entry="${prev_saved_entry}"
  108. save_env saved_entry
  109. set prev_saved_entry=
  110. save_env prev_saved_entry
  111. set boot_once=true
  112. fi
  113. function savedefault {
  114. if [ -z "${boot_once}" ]; then
  115. saved_entry="${chosen}"
  116. save_env saved_entry
  117. fi
  118. }
  119. function recordfail {
  120. set recordfail=1
  121. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  122. }
  123. function load_video {
  124. if [ x$feature_all_video_module = xy ]; then
  125. insmod all_video
  126. else
  127. insmod efi_gop
  128. insmod efi_uga
  129. insmod ieee1275_fb
  130. insmod vbe
  131. insmod vga
  132. insmod video_bochs
  133. insmod video_cirrus
  134. fi
  135. }
  136. if [ x$feature_default_font_path = xy ] ; then
  137. font=unicode
  138. else
  139. insmod part_gpt
  140. insmod ext2
  141. set root='hd0,gpt5'
  142. if [ x$feature_platform_search_hint = xy ]; then
  143. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0db62fbb-8508-42e1-804e-6d778ab35170
  144. else
  145. search --no-floppy --fs-uuid --set=root 0db62fbb-8508-42e1-804e-6d778ab35170
  146. fi
  147. font="/usr/share/grub/unicode.pf2"
  148. fi
  149. if loadfont $font ; then
  150. set gfxmode=auto
  151. load_video
  152. insmod gfxterm
  153. set locale_dir=$prefix/locale
  154. set lang=en_US
  155. insmod gettext
  156. fi
  157. terminal_output gfxterm
  158. if [ "${recordfail}" = 1 ] ; then
  159. set timeout=10
  160. else
  161. if [ x$feature_timeout_style = xy ] ; then
  162. set timeout_style=menu
  163. set timeout=10
  164. # Fallback normal timeout code in case the timeout_style feature is
  165. # unavailable.
  166. else
  167. set timeout=10
  168. fi
  169. fi
  170. ### END /etc/grub.d/00_header ###
  171. ### BEGIN /etc/grub.d/05_debian_theme ###
  172. set menu_color_normal=white/black
  173. set menu_color_highlight=black/light-gray
  174. if background_color 44,0,30,0; then
  175. clear
  176. fi
  177. ### END /etc/grub.d/05_debian_theme ###
  178. ### BEGIN /etc/grub.d/10_linux ###
  179. function gfxmode {
  180. set gfxpayload="${1}"
  181. if [ "${1}" = "keep" ]; then
  182. set vt_handoff=vt.handoff=7
  183. else
  184. set vt_handoff=
  185. fi
  186. }
  187. if [ "${recordfail}" != 1 ]; then
  188. if [ -e ${prefix}/gfxblacklist.txt ]; then
  189. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  190. if [ ${match} = 0 ]; then
  191. set linux_gfx_mode=keep
  192. else
  193. set linux_gfx_mode=text
  194. fi
  195. else
  196. set linux_gfx_mode=text
  197. fi
  198. else
  199. set linux_gfx_mode=keep
  200. fi
  201. else
  202. set linux_gfx_mode=text
  203. fi
  204. export linux_gfx_mode
  205. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0db62fbb-8508-42e1-804e-6d778ab35170' {
  206. recordfail
  207. load_video
  208. gfxmode $linux_gfx_mode
  209. insmod gzio
  210. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  211. insmod part_gpt
  212. insmod ext2
  213. set root='hd0,gpt5'
  214. if [ x$feature_platform_search_hint = xy ]; then
  215. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0db62fbb-8508-42e1-804e-6d778ab35170
  216. else
  217. search --no-floppy --fs-uuid --set=root 0db62fbb-8508-42e1-804e-6d778ab35170
  218. fi
  219. linux /boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=0db62fbb-8508-42e1-804e-6d778ab35170 ro quiet splash acpi=force $vt_handoff
  220. initrd /boot/initrd.img-4.4.0-31-generic
  221. }
  222. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-0db62fbb-8508-42e1-804e-6d778ab35170' {
  223. menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-0db62fbb-8508-42e1-804e-6d778ab35170' {
  224. recordfail
  225. load_video
  226. gfxmode $linux_gfx_mode
  227. insmod gzio
  228. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  229. insmod part_gpt
  230. insmod ext2
  231. set root='hd0,gpt5'
  232. if [ x$feature_platform_search_hint = xy ]; then
  233. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0db62fbb-8508-42e1-804e-6d778ab35170
  234. else
  235. search --no-floppy --fs-uuid --set=root 0db62fbb-8508-42e1-804e-6d778ab35170
  236. fi
  237. echo 'Loading Linux 4.4.0-31-generic ...'
  238. linux /boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=0db62fbb-8508-42e1-804e-6d778ab35170 ro quiet splash acpi=force $vt_handoff
  239. echo 'Loading initial ramdisk ...'
  240. initrd /boot/initrd.img-4.4.0-31-generic
  241. }
  242. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-0db62fbb-8508-42e1-804e-6d778ab35170' {
  243. recordfail
  244. load_video
  245. gfxmode $linux_gfx_mode
  246. insmod gzio
  247. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  248. insmod part_gpt
  249. insmod ext2
  250. set root='hd0,gpt5'
  251. if [ x$feature_platform_search_hint = xy ]; then
  252. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0db62fbb-8508-42e1-804e-6d778ab35170
  253. else
  254. search --no-floppy --fs-uuid --set=root 0db62fbb-8508-42e1-804e-6d778ab35170
  255. fi
  256. echo 'Loading Linux 4.4.0-31-generic ...'
  257. linux /boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=0db62fbb-8508-42e1-804e-6d778ab35170 ro quiet splash acpi=force $vt_handoff init=/sbin/upstart
  258. echo 'Loading initial ramdisk ...'
  259. initrd /boot/initrd.img-4.4.0-31-generic
  260. }
  261. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-0db62fbb-8508-42e1-804e-6d778ab35170' {
  262. recordfail
  263. load_video
  264. insmod gzio
  265. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  266. insmod part_gpt
  267. insmod ext2
  268. set root='hd0,gpt5'
  269. if [ x$feature_platform_search_hint = xy ]; then
  270. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0db62fbb-8508-42e1-804e-6d778ab35170
  271. else
  272. search --no-floppy --fs-uuid --set=root 0db62fbb-8508-42e1-804e-6d778ab35170
  273. fi
  274. echo 'Loading Linux 4.4.0-31-generic ...'
  275. linux /boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=0db62fbb-8508-42e1-804e-6d778ab35170 ro recovery nomodeset
  276. echo 'Loading initial ramdisk ...'
  277. initrd /boot/initrd.img-4.4.0-31-generic
  278. }
  279. }
  280. ### END /etc/grub.d/10_linux ###
  281. ### BEGIN /etc/grub.d/20_linux_xen ###
  282. ### END /etc/grub.d/20_linux_xen ###
  283. ### BEGIN /etc/grub.d/20_memtest86+ ###
  284. ### END /etc/grub.d/20_memtest86+ ###
  285. ### BEGIN /etc/grub.d/25_custom ###
  286. menuentry "Windows UEFI bootmgfw.efi" {
  287. search --fs-uuid --no-floppy --set=root 0CDE-104D
  288. chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
  289. }
  290. menuentry "Windows Boot UEFI loader" {
  291. search --fs-uuid --no-floppy --set=root 0CDE-104D
  292. chainloader (${root})/EFI/Boot/bkpbootx64.efi
  293. }
  294. menuentry "EFI/ubuntu/fwupx64.efi" {
  295. search --fs-uuid --no-floppy --set=root 0CDE-104D
  296. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  297. }
  298. menuentry "EFI/ubuntu/MokManager.efi" {
  299. search --fs-uuid --no-floppy --set=root 0CDE-104D
  300. chainloader (${root})/EFI/ubuntu/MokManager.efi
  301. }
  302. ### END /etc/grub.d/25_custom ###
  303. ### BEGIN /etc/grub.d/30_os-prober ###
  304. menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-0CDE-104D' {
  305. insmod part_gpt
  306. insmod fat
  307. set root='hd0,gpt1'
  308. if [ x$feature_platform_search_hint = xy ]; then
  309. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 0CDE-104D
  310. else
  311. search --no-floppy --fs-uuid --set=root 0CDE-104D
  312. fi
  313. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  314. }
  315. set timeout_style=menu
  316. if [ "${timeout}" = 0 ]; then
  317. set timeout=10
  318. fi
  319. ### END /etc/grub.d/30_os-prober ###
  320. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  321. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  322. fwsetup
  323. }
  324. ### END /etc/grub.d/30_uefi-firmware ###
  325. ### BEGIN /etc/grub.d/40_custom ###
  326. # This file provides an easy way to add custom menu entries. Simply type the
  327. # menu entries you want to add after this comment. Be careful not to change
  328. # the 'exec tail' line above.
  329. ### END /etc/grub.d/40_custom ###
  330. ### BEGIN /etc/grub.d/41_custom ###
  331. if [ -f ${config_directory}/custom.cfg ]; then
  332. source ${config_directory}/custom.cfg
  333. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  334. source $prefix/custom.cfg;
  335. fi
  336. ### END /etc/grub.d/41_custom ###
  337. --------------------------------------------------------------------------------
  338. =============================== sda5/etc/fstab: ================================
  339. --------------------------------------------------------------------------------
  340. # /etc/fstab: static file system information.
  341. #
  342. # Use 'blkid' to print the universally unique identifier for a
  343. # device; this may be used with UUID= as a more robust way to name devices
  344. # that works even if disks are added and removed. See fstab(5).
  345. #
  346. # <file system> <mount point> <type> <options> <dump> <pass>
  347. # / was on /dev/sda5 during installation
  348. UUID=0db62fbb-8508-42e1-804e-6d778ab35170 / ext4 errors=remount-ro 0 1
  349. # /boot/efi was on /dev/sda1 during installation
  350. #UUID=0CDE-104D /boot/efi vfat umask=0077 0 1
  351. # swap was on /dev/sda4 during installation
  352. UUID=c37d19ee-31ed-4bac-8520-180443edfdba none swap sw 0 0
  353. UUID=0CDE-104D /boot/efi vfat defaults 0 1
  354. --------------------------------------------------------------------------------
  355. =================== sda5: Location of files loaded by Grub: ====================
  356. GiB - GB File Fragment(s)
  357. 376.701366425 = 404.480012288 boot/grub/grub.cfg 1
  358. 335.791717529 = 360.553611264 boot/vmlinuz-4.4.0-31-generic 1
  359. 370.901714325 = 398.252683264 boot/vmlinuz-4.4.0-31-generic.efi.signed 1
  360. 335.791717529 = 360.553611264 vmlinuz 1
  361. 372.869022369 = 400.365064192 boot/initrd.img-4.4.0-31-generic 2
  362. 372.869022369 = 400.365064192 initrd.img 2
  363. ADDITIONAL INFORMATION :
  364. =================== log of boot-repair 2016-08-06__14h10 ===================
  365. boot-repair version : 4ppa38
  366. boot-sav version : 4ppa38
  367. glade2script version : 3.2.3~ppa1
  368. boot-sav-extra version : 4ppa38
  369. boot-repair is executed in installed-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
  370. CPU op-mode(s): 32-bit, 64-bit
  371. BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=0db62fbb-8508-42e1-804e-6d778ab35170 ro quiet splash acpi=force vt.handoff=7
  372. Windows is hibernated, refused to mount.
  373. Failed to mount '/dev/sda2': Operation not permitted
  374. The NTFS partition is in an unsafe state. Please resume and shutdown
  375. Windows fully (no hibernation or fast restarting), or mount the volume
  376. read-only with the 'ro' mount option.
  377. mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /mnt/boot-sav/sda2
  378. The disk contains an unclean file system (0, 0).
  379. Metadata kept in Windows cache, refused to mount.
  380. Failed to mount '/dev/sda2': Operation not permitted
  381. The NTFS partition is in an unsafe state. Please resume and shutdown
  382. Windows fully (no hibernation or fast restarting), or mount the volume
  383. read-only with the 'ro' mount option.
  384. mount /dev/sda2 : Error code 14
  385. mount -r /dev/sda2 /mnt/boot-sav/sda2
  386. =================== os-prober:
  387. /dev/sda5:The OS now in use - Ubuntu 16.04.1 LTS CurrentSession:linux
  388. /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
  389. =================== blkid:
  390. /dev/sda1: LABEL="SYSTEM" UUID="0CDE-104D" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="f88ade56-1346-4847-8e71-88f353886d75"
  391. /dev/sda2: LABEL="OS" UUID="D49CE0F99CE0D6D0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="be570bbf-0b50-45c9-b66b-19b567dbe3e0"
  392. /dev/sda3: LABEL="DATA" UUID="6C50925C50922D38" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="17d51023-f0f3-4313-9046-1cccfed06354"
  393. /dev/sda4: UUID="c37d19ee-31ed-4bac-8520-180443edfdba" TYPE="swap" PARTUUID="929daf71-ca84-4d8b-92fb-12806422ba1e"
  394. /dev/sda5: UUID="0db62fbb-8508-42e1-804e-6d778ab35170" TYPE="ext4" PARTUUID="364fe610-83c6-42b8-9f44-76771a49b39a"
  395. 1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
  396. Windows not detected by os-prober on sda2.
  397. =================== /etc/grub.d/ :
  398. drwxr-xr-x 2 root root 4096 ago 5 16:26 grub.d
  399. total 76
  400. -rwxr-xr-x 1 root root 9791 giu 17 11:10 00_header
  401. -rwxr-xr-x 1 root root 6258 mar 15 19:08 05_debian_theme
  402. -rwxr-xr-x 1 root root 12261 giu 17 11:10 10_linux
  403. -rwxr-xr-x 1 root root 11082 giu 17 11:10 20_linux_xen
  404. -rwxr-xr-x 1 root root 1992 gen 28 2016 20_memtest86+
  405. -rwxr-xr-x 1 root root 11692 giu 17 11:10 30_os-prober
  406. -rwxr-xr-x 1 root root 1418 giu 17 11:10 30_uefi-firmware
  407. -rwxr-xr-x 1 root root 214 giu 17 11:10 40_custom
  408. -rwxr-xr-x 1 root root 216 giu 17 11:10 41_custom
  409. -rw-r--r-- 1 root root 483 giu 17 11:10 README
  410. =================== /etc/default/grub :
  411. # If you change this file, run 'update-grub' afterwards to update
  412. # /boot/grub/grub.cfg.
  413. # For full documentation of the options in this file, see:
  414. # info -f grub -n 'Simple configuration'
  415. GRUB_DEFAULT=0
  416. #GRUB_HIDDEN_TIMEOUT=0
  417. GRUB_HIDDEN_TIMEOUT_QUIET=true
  418. GRUB_TIMEOUT=10
  419. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  420. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"
  421. GRUB_CMDLINE_LINUX=""
  422. # Uncomment to enable BadRAM filtering, modify to suit your needs
  423. # This works with Linux (no patch required) and with any kernel that obtains
  424. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  425. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  426. # Uncomment to disable graphical terminal (grub-pc only)
  427. #GRUB_TERMINAL=console
  428. # The resolution used on graphical terminal
  429. # note that you can use only modes which your graphic card supports via VBE
  430. # you can see them in real GRUB with the command `vbeinfo'
  431. #GRUB_GFXMODE=640x480
  432. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  433. #GRUB_DISABLE_LINUX_UUID=true
  434. # Uncomment to disable generation of recovery mode menu entries
  435. #GRUB_DISABLE_RECOVERY="true"
  436. # Uncomment to get a beep at grub start
  437. #GRUB_INIT_TUNE="480 440 1"
  438. /boot/efi detected in the fstab of sda5: UUID=0CDE-104D (sda1)
  439. Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  440. Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
  441. =================== efibootmgr -v
  442. BootCurrent: 0001
  443. Timeout: 2 seconds
  444. BootOrder: 0001,0000,0002,0003
  445. Boot0000* Windows Boot Manager HD(1,GPT,f88ade56-1346-4847-8e71-88f353886d75,0x800,0x82000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
  446. Boot0001* ubuntu HD(1,GPT,f88ade56-1346-4847-8e71-88f353886d75,0x800,0x8a000)/File(EFIUBUNTUSHIMX64.EFI)
  447. Boot0002* Windows Boot Manager HD(1,GPT,f88ade56-1346-4847-8e71-88f353886d75,0x800,0x8a000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO
  448. Boot0003* ubuntu HD(1,GPT,f88ade56-1346-4847-8e71-88f353886d75,0x800,0x8a000)/File(EFIUBUNTUGRUBX64.EFI)..BO
  449. =================== UEFI/Legacy mode:
  450. BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
  451. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  452. =================== PARTITIONS & DISKS:
  453. sda5 : 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, .
  454. 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, /boot/efi.
  455. sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
  456. sda3 : 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, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
  457. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  458. =================== parted -l:
  459. Model: ATA TOSHIBA MQ01ABF0 (scsi)
  460. Disk /dev/sda: 500GB
  461. Sector size (logical/physical): 512B/4096B
  462. Partition Table: gpt
  463. Disk Flags:
  464. Number Start End Size File system Name Flags
  465. 1 1049kB 290MB 289MB fat32 EFI system partition boot, esp
  466. 2 290MB 200GB 199GB ntfs Basic data partition msftdata
  467. 3 200GB 355GB 155GB ntfs Basic data partition msftdata
  468. 4 355GB 359GB 4719MB linux-swap(v1)
  469. 5 359GB 500GB 141GB ext4
  470. =================== parted -lm:
  471. BYT;
  472. /dev/sda:500GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABF0:;
  473. 1:1049kB:290MB:289MB:fat32:EFI system partition:boot, esp;
  474. 2:290MB:200GB:199GB:ntfs:Basic data partition:msftdata;
  475. 3:200GB:355GB:155GB:ntfs:Basic data partition:msftdata;
  476. 4:355GB:359GB:4719MB:linux-swap(v1)::;
  477. 5:359GB:500GB:141GB:ext4::;
  478. =================== lsblk:
  479. KNAME TYPE FSTYPE SIZE LABEL
  480. sda disk 465,8G
  481. sda1 part vfat 276M SYSTEM
  482. sda2 part ntfs 185,6G OS
  483. sda3 part ntfs 144,4G DATA
  484. sda4 part swap 4,4G
  485. sda5 part ext4 131,2G
  486. KNAME ROTA RO RM STATE MOUNTPOINT
  487. sda 1 0 0 running
  488. sda1 1 0 0 /boot/efi
  489. sda2 1 0 0 /mnt/boot-sav/sda2
  490. sda3 1 0 0 /mnt/boot-sav/sda3
  491. sda4 1 0 0 [SWAP]
  492. sda5 1 0 0 /
  493. =================== mount:
  494. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  495. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  496. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1955124k,nr_inodes=488781,mode=755)
  497. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  498. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=394876k,mode=755)
  499. /dev/sda5 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
  500. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  501. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  502. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  503. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  504. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  505. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  506. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  507. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  508. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  509. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  510. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  511. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  512. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  513. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  514. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  515. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  516. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  517. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  518. mqueue on /dev/mqueue type mqueue (rw,relatime)
  519. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  520. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  521. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  522. /dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  523. tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=394876k,mode=700,uid=1000,gid=1000)
  524. gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
  525. /dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  526. /dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  527. =================== ls:
  528. /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 size slaves stat subsystem trace uevent
  529. /dev (filtered): acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 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 sg0 shm snapshot snd stderr stdin stdout tpm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  530. ls /dev/mapper: control
  531. ls: cannot access '': No such file or directory
  532. =================== hexdump -n512 -C /dev/sda1
  533. 00000000 a8 04 00 4d 53 57 49 4e 34 2e 31 00 02 08 28 00 |...MSWIN4.1...(.|
  534. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  535. 00000020 00 a0 08 00 28 02 00 00 00 00 00 00 02 00 00 00 |....(...........|
  536. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  537. 00000040 80 01 29 4d 10 de 0c 4e 4f 20 4e 41 4d 45 20 20 |..)M...NO NAME |
  538. 00000050 20 20 46 41 54 33 32 20 20 20 00 00 00 00 00 00 | FAT32 ......|
  539. 00000060 00 00 00 00 00 00 00 00 40 b5 97 14 84 7f 00 00 |........@.......|
  540. 00000070 ff ff ff ff 00 00 00 00 31 20 4c 54 53 20 61 6d |........1 LTS am|
  541. 00000080 00 00 34 22 20 54 59 50 40 44 00 00 84 7f 00 00 |..4" TYP@D......|
  542. 00000090 ff ff ff ff ff ff ff ff 49 44 3d 22 34 30 61 38 |........ID="40a8|
  543. 000000a0 50 44 00 00 84 7f 00 00 00 00 00 00 00 00 00 00 |PD..............|
  544. 000000b0 73 22 20 50 41 52 54 55 55 49 44 3d 22 34 30 61 |s" PARTUUID="40a|
  545. 000000c0 ff ff ff ff 37 2d 30 31 22 0a 2f 64 65 76 2f 73 |....7-01"./dev/s|
  546. 000000d0 64 62 32 3a 20 53 45 43 e0 96 97 14 84 7f 00 00 |db2: SEC........|
  547. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  548. *
  549. 00000140 00 00 00 00 00 00 00 00 35 36 2d 31 33 34 36 2d |........56-1346-|
  550. 00000150 34 38 34 37 2d 38 65 37 31 2d 38 38 66 33 35 33 |4847-8e71-88f353|
  551. 00000160 38 38 36 64 37 35 22 0a 2f 64 65 76 2f 73 64 61 |886d75"./dev/sda|
  552. 00000170 32 3a 20 4c 41 42 45 4c 3d 22 4f 53 22 20 55 55 |2: LABEL="OS" UU|
  553. 00000180 49 44 3d 22 44 34 39 43 45 30 46 39 39 43 45 30 |ID="D49CE0F99CE0|
  554. 00000190 44 36 44 30 22 20 54 59 50 45 3d 22 6e 74 66 73 |D6D0" TYPE="ntfs|
  555. 000001a0 22 20 50 41 52 54 4c 41 42 45 4c 3d 22 42 61 73 |" PARTLABEL="Bas|
  556. 000001b0 69 63 20 64 61 74 61 20 70 61 72 74 69 74 69 6f |ic data partitio|
  557. 000001c0 6e 22 20 50 41 52 54 55 55 49 44 3d 22 62 65 35 |n" PARTUUID="be5|
  558. 000001d0 f0 03 00 00 00 00 00 00 74 00 00 00 00 00 00 00 |........t.......|
  559. 000001e0 00 00 00 00 00 00 00 00 03 28 40 21 51 00 00 00 |.........(@!Q...|
  560. 000001f0 ff ff ff ff ff ff ff ff 20 00 22 00 00 00 55 aa |........ ."...U.|
  561. 00000200
  562. =================== hexdump -n512 -C /dev/sda2
  563. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  564. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 a8 08 00 |........?.......|
  565. 00000020 00 00 00 00 80 00 80 00 ff 87 31 17 00 00 00 00 |..........1.....|
  566. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  567. 00000040 f6 00 00 00 01 00 00 00 d0 d6 e0 9c f9 e0 9c d4 |................|
  568. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  569. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  570. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  571. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  572. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  573. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  574. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  575. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  576. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  577. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  578. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  579. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  580. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  581. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  582. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  583. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  584. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  585. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  586. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  587. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  588. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  589. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  590. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  591. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  592. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  593. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  594. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  595. 00000200
  596. =================== hexdump -n512 -C /dev/sda3
  597. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  598. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 30 3a 17 |........?....0:.|
  599. 00000020 00 00 00 00 80 00 80 00 f8 8f 0b 12 00 00 00 00 |................|
  600. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  601. 00000040 f6 00 00 00 01 00 00 00 38 2d 92 50 5c 92 50 6c |........8-.P.Pl|
  602. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  603. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  604. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  605. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  606. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  607. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  608. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  609. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  610. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  611. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  612. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  613. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  614. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  615. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  616. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  617. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  618. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  619. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  620. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  621. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  622. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  623. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  624. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  625. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  626. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  627. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  628. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  629. 00000200
  630. =================== df -Th:
  631. Filesystem Type Size Used Avail Use% Mounted on
  632. udev devtmpfs 1.9G 0 1.9G 0% /dev
  633. tmpfs tmpfs 386M 6.4M 380M 2% /run
  634. /dev/sda5 ext4 130G 4.1G 119G 4% /
  635. tmpfs tmpfs 1.9G 524K 1.9G 1% /dev/shm
  636. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  637. tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
  638. /dev/sda1 vfat 276M 24M 253M 9% /boot/efi
  639. tmpfs tmpfs 386M 64K 386M 1% /run/user/1000
  640. /dev/sda2 fuseblk 186G 31G 155G 17% /mnt/boot-sav/sda2
  641. /dev/sda3 fuseblk 145G 109M 145G 1% /mnt/boot-sav/sda3
  642. =================== fdisk -l:
  643. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  644. Units: sectors of 1 * 512 = 512 bytes
  645. Sector size (logical/physical): 512 bytes / 4096 bytes
  646. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  647. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  648. Units: sectors of 1 * 512 = 512 bytes
  649. Sector size (logical/physical): 512 bytes / 4096 bytes
  650. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  651. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  652. Units: sectors of 1 * 512 = 512 bytes
  653. Sector size (logical/physical): 512 bytes / 4096 bytes
  654. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  655. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  656. Units: sectors of 1 * 512 = 512 bytes
  657. Sector size (logical/physical): 512 bytes / 4096 bytes
  658. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  659. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  660. Units: sectors of 1 * 512 = 512 bytes
  661. Sector size (logical/physical): 512 bytes / 4096 bytes
  662. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  663. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  664. Units: sectors of 1 * 512 = 512 bytes
  665. Sector size (logical/physical): 512 bytes / 4096 bytes
  666. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  667. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  668. Units: sectors of 1 * 512 = 512 bytes
  669. Sector size (logical/physical): 512 bytes / 4096 bytes
  670. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  671. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  672. Units: sectors of 1 * 512 = 512 bytes
  673. Sector size (logical/physical): 512 bytes / 4096 bytes
  674. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  675. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  676. Units: sectors of 1 * 512 = 512 bytes
  677. Sector size (logical/physical): 512 bytes / 4096 bytes
  678. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  679. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  680. Units: sectors of 1 * 512 = 512 bytes
  681. Sector size (logical/physical): 512 bytes / 4096 bytes
  682. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  683. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  684. Units: sectors of 1 * 512 = 512 bytes
  685. Sector size (logical/physical): 512 bytes / 4096 bytes
  686. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  687. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  688. Units: sectors of 1 * 512 = 512 bytes
  689. Sector size (logical/physical): 512 bytes / 4096 bytes
  690. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  691. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  692. Units: sectors of 1 * 512 = 512 bytes
  693. Sector size (logical/physical): 512 bytes / 4096 bytes
  694. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  695. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  696. Units: sectors of 1 * 512 = 512 bytes
  697. Sector size (logical/physical): 512 bytes / 4096 bytes
  698. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  699. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  700. Units: sectors of 1 * 512 = 512 bytes
  701. Sector size (logical/physical): 512 bytes / 4096 bytes
  702. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  703. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  704. Units: sectors of 1 * 512 = 512 bytes
  705. Sector size (logical/physical): 512 bytes / 4096 bytes
  706. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  707. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  708. Units: sectors of 1 * 512 = 512 bytes
  709. Sector size (logical/physical): 512 bytes / 4096 bytes
  710. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  711. Disklabel type: gpt
  712. Disk identifier: 55200D0D-33FA-4338-8400-B8B96DFD0919
  713. Device Start End Sectors Size Type
  714. /dev/sda1 2048 567295 565248 276M EFI System
  715. /dev/sda2 567296 389689343 389122048 185.6G Microsoft basic data
  716. /dev/sda3 389689344 692436991 302747648 144.4G Microsoft basic data
  717. /dev/sda4 692436992 701652991 9216000 4.4G Linux swap
  718. /dev/sda5 701652992 976773134 275120143 131.2G Linux filesystem
  719. =================== Recommended repair
  720. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda5, using the following options: sda1/boot/efi,
  721. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
  722. /boot/efi added in sda5/fstab
  723. sda5/boot/efi not empty
  724. *******lspci -nnk | grep -iA3 vga
  725. 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b1] (rev 21)
  726. Subsystem: ASUSTeK Computer Inc. Device [1043:1d5d]
  727. Kernel driver in use: i915
  728. Kernel modules: i915
  729. *******
  730. grub-install --version
  731. grub-install (GRUB) 2.02~beta2-36ubuntu3.2,grub-install (GRUB) 2.
  732. efibootmgr -v
  733. BootCurrent: 0001
  734. Timeout: 2 seconds
  735. BootOrder: 0001,0000,0002,0003
  736. Boot0000* Windows Boot Manager HD(1,GPT,f88ade56-1346-4847-8e71-88f353886d75,0x800,0x82000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
  737. Boot0001* ubuntu HD(1,GPT,f88ade56-1346-4847-8e71-88f353886d75,0x800,0x8a000)/File(EFIUBUNTUSHIMX64.EFI)
  738. Boot0002* Windows Boot Manager HD(1,GPT,f88ade56-1346-4847-8e71-88f353886d75,0x800,0x8a000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO
  739. Boot0003* ubuntu HD(1,GPT,f88ade56-1346-4847-8e71-88f353886d75,0x800,0x8a000)/File(EFIUBUNTUGRUBX64.EFI)..BO
  740. uname -r
  741. Kernel: 4.4.0-31-generic
  742. Reinstall the grub-efi-amd64-signed of sda5
  743. Installing for x86_64-efi platform.
  744. Installation finished. No error reported.
  745. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  746. ls sda1/efi: /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/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/ru-RU /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/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/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /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/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 /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi
  747. ls sda1: boot-sav
  748. EFI . Please report this message to [email protected]
  749. df /dev/sda1
  750. Save and rename /boot/efi/EFI/Boot/bootx64.efi (/boot/efi/EFI/Boot/bkpbootx64.efi)
  751. cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi
  752. ls sda1/efi: /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/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/ru-RU /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/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/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /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/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 /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi /Boot/bkpbootx64.efi
  753. ls sda1: boot-sav
  754. EFI . Please report this message to [email protected]
  755. Add /boot/efi efi entries in /etc/grub.d/25_custom
  756. Adding custom /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  757. Adding custom /boot/efi/EFI/Boot/bkpbootx64.efi
  758. sda1/bkpbootx64.efi already added
  759. Adding custom /boot/efi/EFI/ubuntu/fwupx64.efi
  760. Adding custom /boot/efi/EFI/ubuntu/MokManager.efi
  761. sda1/bootmgfw.efi already added
  762. Installing for x86_64-efi platform.
  763. Installation finished. No error reported.
  764. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  765. efibootmgr -v
  766. BootCurrent: 0001
  767. Timeout: 2 seconds
  768. BootOrder: 0001,0000,0002
  769. Boot0000* Windows Boot Manager HD(1,GPT,f88ade56-1346-4847-8e71-88f353886d75,0x800,0x82000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
  770. Boot0001* ubuntu HD(1,GPT,f88ade56-1346-4847-8e71-88f353886d75,0x800,0x8a000)/File(EFIubuntushimx64.efi)
  771. Boot0002* Windows Boot Manager HD(1,GPT,f88ade56-1346-4847-8e71-88f353886d75,0x800,0x8a000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO
  772. update-grub
  773. Generating grub configuration file ...
  774. Found linux image: /boot/vmlinuz-4.4.0-31-generic
  775. Found initrd image: /boot/initrd.img-4.4.0-31-generic
  776. Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
  777. Adding boot menu entry for EFI firmware configuration
  778. Windows is hibernated, refused to mount.
  779. Failed to mount '/dev/sda2': Operation not permitted
  780. The NTFS partition is in an unsafe state. Please resume and shutdown
  781. Windows fully (no hibernation or fast restarting), or mount the volume
  782. read-only with the 'ro' mount option.
  783. mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /mnt/boot-sav/sda2
  784. The disk contains an unclean file system (0, 0).
  785. Metadata kept in Windows cache, refused to mount.
  786. Failed to mount '/dev/sda2': Operation not permitted
  787. The NTFS partition is in an unsafe state. Please resume and shutdown
  788. Windows fully (no hibernation or fast restarting), or mount the volume
  789. read-only with the 'ro' mount option.
  790. mount /dev/sda2 : Error code 14
  791. mount -r /dev/sda2 /mnt/boot-sav/sda2
  792. Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
  793. Boot successfully repaired.
  794. You can now reboot your computer.
  795. The boot files of [The OS now in use - Ubuntu 16.04.1 LTS] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)
  796. If your computer reboots directly into Windows, try to change the boot order in your BIOS.
  797. If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
  798. For example you can boot into Windows, then type the following command in an admin command prompt:
  799. bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
  800. paste.ubuntu.com ko (), using paste.debian
  801. paste.debian.net ko (), using paste2