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: FAT32
  7. Boot sector info: No errors found in the Boot Parameter Block.
  8. Operating System:
  9. Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi
  10. /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi
  11. /EFI/ubuntu/shimx64.efi
  12. /EFI/Microsoft/Boot/bootmgfw.efi
  13. /EFI/Microsoft/Boot/bootx64.efi
  14. sda2: __________________________________________________________________________
  15. File system: ext4
  16. Boot sector type: -
  17. Boot sector info:
  18. Operating System: Ubuntu 16.04 LTS
  19. Boot files: /boot/grub/grub.cfg /etc/fstab
  20. sda3: __________________________________________________________________________
  21. File system: swap
  22. Boot sector type: -
  23. Boot sector info:
  24. ============================ Drive/Partition Info: =============================
  25. Drive: sda _____________________________________________________________________
  26. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  27. Units: sectors of 1 * 512 = 512 bytes
  28. Sector size (logical/physical): 512 bytes / 4096 bytes
  29. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  30. Disklabel type: gpt
  31. Partition Boot Start Sector End Sector # of Sectors Id System
  32. /dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
  33. GUID Partition Table detected.
  34. Partition Attrs Start Sector End Sector # of Sectors System
  35. /dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
  36. /dev/sda2 1,050,624 1,945,356,287 1,944,305,664 Data partition (Linux)
  37. /dev/sda3 1,945,356,288 1,953,523,711 8,167,424 Swap partition (Linux)
  38. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  39. "blkid" output: ________________________________________________________________
  40. Device UUID TYPE LABEL
  41. /dev/sda1 EB4C-0C01 vfat
  42. /dev/sda2 b0f42883-7427-4f05-b77d-176e033946c4 ext4
  43. /dev/sda3 c9415194-de12-4300-bbbc-bf81da16e9ba swap
  44. ========================= "ls -l /dev/disk/by-id" output: ======================
  45. total 0
  46. lrwxrwxrwx 1 root root 9 Apr 30 15:05 ata-HGST_HTS541010A9E680_JDA0001V1B0GPH -> ../../sda
  47. lrwxrwxrwx 1 root root 10 Apr 30 15:05 ata-HGST_HTS541010A9E680_JDA0001V1B0GPH-part1 -> ../../sda1
  48. lrwxrwxrwx 1 root root 10 Apr 30 15:05 ata-HGST_HTS541010A9E680_JDA0001V1B0GPH-part2 -> ../../sda2
  49. lrwxrwxrwx 1 root root 10 Apr 30 15:05 ata-HGST_HTS541010A9E680_JDA0001V1B0GPH-part3 -> ../../sda3
  50. lrwxrwxrwx 1 root root 9 Apr 30 13:55 ata-hp_DVDRAM_GU90N_M8CDCH53836 -> ../../sr0
  51. lrwxrwxrwx 1 root root 9 Apr 30 15:05 wwn-0x5000cca768d3195d -> ../../sda
  52. lrwxrwxrwx 1 root root 10 Apr 30 15:05 wwn-0x5000cca768d3195d-part1 -> ../../sda1
  53. lrwxrwxrwx 1 root root 10 Apr 30 15:05 wwn-0x5000cca768d3195d-part2 -> ../../sda2
  54. lrwxrwxrwx 1 root root 10 Apr 30 15:05 wwn-0x5000cca768d3195d-part3 -> ../../sda3
  55. lrwxrwxrwx 1 root root 9 Apr 30 13:55 wwn-0x5001480000000000 -> ../../sr0
  56. ================================ Mount points: =================================
  57. Device Mount_Point Type Options
  58. /dev/sda1 /boot/efi vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  59. /dev/sda2 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
  60. =========================== sda2/boot/grub/grub.cfg: ===========================
  61. --------------------------------------------------------------------------------
  62. #
  63. # DO NOT EDIT THIS FILE
  64. #
  65. # It is automatically generated by grub-mkconfig using templates
  66. # from /etc/grub.d and settings from /etc/default/grub
  67. #
  68. ### BEGIN /etc/grub.d/00_header ###
  69. if [ -s $prefix/grubenv ]; then
  70. set have_grubenv=true
  71. load_env
  72. fi
  73. if [ "${next_entry}" ] ; then
  74. set default="${next_entry}"
  75. set next_entry=
  76. save_env next_entry
  77. set boot_once=true
  78. else
  79. set default="0"
  80. fi
  81. if [ x"${feature_menuentry_id}" = xy ]; then
  82. menuentry_id_option="--id"
  83. else
  84. menuentry_id_option=""
  85. fi
  86. export menuentry_id_option
  87. if [ "${prev_saved_entry}" ]; then
  88. set saved_entry="${prev_saved_entry}"
  89. save_env saved_entry
  90. set prev_saved_entry=
  91. save_env prev_saved_entry
  92. set boot_once=true
  93. fi
  94. function savedefault {
  95. if [ -z "${boot_once}" ]; then
  96. saved_entry="${chosen}"
  97. save_env saved_entry
  98. fi
  99. }
  100. function recordfail {
  101. set recordfail=1
  102. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  103. }
  104. function load_video {
  105. if [ x$feature_all_video_module = xy ]; then
  106. insmod all_video
  107. else
  108. insmod efi_gop
  109. insmod efi_uga
  110. insmod ieee1275_fb
  111. insmod vbe
  112. insmod vga
  113. insmod video_bochs
  114. insmod video_cirrus
  115. fi
  116. }
  117. if [ x$feature_default_font_path = xy ] ; then
  118. font=unicode
  119. else
  120. insmod part_gpt
  121. insmod ext2
  122. set root='hd0,gpt2'
  123. if [ x$feature_platform_search_hint = xy ]; then
  124. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 b0f42883-7427-4f05-b77d-176e033946c4
  125. else
  126. search --no-floppy --fs-uuid --set=root b0f42883-7427-4f05-b77d-176e033946c4
  127. fi
  128. font="/usr/share/grub/unicode.pf2"
  129. fi
  130. if loadfont $font ; then
  131. set gfxmode=auto
  132. load_video
  133. insmod gfxterm
  134. set locale_dir=$prefix/locale
  135. set lang=en_BW
  136. insmod gettext
  137. fi
  138. terminal_output gfxterm
  139. if [ "${recordfail}" = 1 ] ; then
  140. set timeout=10
  141. else
  142. if [ x$feature_timeout_style = xy ] ; then
  143. set timeout_style=menu
  144. set timeout=10
  145. # Fallback normal timeout code in case the timeout_style feature is
  146. # unavailable.
  147. else
  148. set timeout=10
  149. fi
  150. fi
  151. ### END /etc/grub.d/00_header ###
  152. ### BEGIN /etc/grub.d/05_debian_theme ###
  153. set menu_color_normal=white/black
  154. set menu_color_highlight=black/light-gray
  155. if background_color 44,0,30,0; then
  156. clear
  157. fi
  158. ### END /etc/grub.d/05_debian_theme ###
  159. ### BEGIN /etc/grub.d/10_linux ###
  160. function gfxmode {
  161. set gfxpayload="${1}"
  162. if [ "${1}" = "keep" ]; then
  163. set vt_handoff=vt.handoff=7
  164. else
  165. set vt_handoff=
  166. fi
  167. }
  168. if [ "${recordfail}" != 1 ]; then
  169. if [ -e ${prefix}/gfxblacklist.txt ]; then
  170. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  171. if [ ${match} = 0 ]; then
  172. set linux_gfx_mode=keep
  173. else
  174. set linux_gfx_mode=text
  175. fi
  176. else
  177. set linux_gfx_mode=text
  178. fi
  179. else
  180. set linux_gfx_mode=keep
  181. fi
  182. else
  183. set linux_gfx_mode=text
  184. fi
  185. export linux_gfx_mode
  186. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b0f42883-7427-4f05-b77d-176e033946c4' {
  187. recordfail
  188. load_video
  189. gfxmode $linux_gfx_mode
  190. insmod gzio
  191. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  192. insmod part_gpt
  193. insmod ext2
  194. set root='hd0,gpt2'
  195. if [ x$feature_platform_search_hint = xy ]; then
  196. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 b0f42883-7427-4f05-b77d-176e033946c4
  197. else
  198. search --no-floppy --fs-uuid --set=root b0f42883-7427-4f05-b77d-176e033946c4
  199. fi
  200. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=b0f42883-7427-4f05-b77d-176e033946c4 ro quiet splash $vt_handoff
  201. initrd /boot/initrd.img-4.4.0-21-generic
  202. }
  203. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-b0f42883-7427-4f05-b77d-176e033946c4' {
  204. 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-b0f42883-7427-4f05-b77d-176e033946c4' {
  205. recordfail
  206. load_video
  207. gfxmode $linux_gfx_mode
  208. insmod gzio
  209. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  210. insmod part_gpt
  211. insmod ext2
  212. set root='hd0,gpt2'
  213. if [ x$feature_platform_search_hint = xy ]; then
  214. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 b0f42883-7427-4f05-b77d-176e033946c4
  215. else
  216. search --no-floppy --fs-uuid --set=root b0f42883-7427-4f05-b77d-176e033946c4
  217. fi
  218. echo 'Loading Linux 4.4.0-21-generic ...'
  219. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=b0f42883-7427-4f05-b77d-176e033946c4 ro quiet splash $vt_handoff
  220. echo 'Loading initial ramdisk ...'
  221. initrd /boot/initrd.img-4.4.0-21-generic
  222. }
  223. 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-b0f42883-7427-4f05-b77d-176e033946c4' {
  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,gpt2'
  232. if [ x$feature_platform_search_hint = xy ]; then
  233. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 b0f42883-7427-4f05-b77d-176e033946c4
  234. else
  235. search --no-floppy --fs-uuid --set=root b0f42883-7427-4f05-b77d-176e033946c4
  236. fi
  237. echo 'Loading Linux 4.4.0-21-generic ...'
  238. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=b0f42883-7427-4f05-b77d-176e033946c4 ro quiet splash $vt_handoff init=/sbin/upstart
  239. echo 'Loading initial ramdisk ...'
  240. initrd /boot/initrd.img-4.4.0-21-generic
  241. }
  242. 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-b0f42883-7427-4f05-b77d-176e033946c4' {
  243. recordfail
  244. load_video
  245. insmod gzio
  246. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  247. insmod part_gpt
  248. insmod ext2
  249. set root='hd0,gpt2'
  250. if [ x$feature_platform_search_hint = xy ]; then
  251. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 b0f42883-7427-4f05-b77d-176e033946c4
  252. else
  253. search --no-floppy --fs-uuid --set=root b0f42883-7427-4f05-b77d-176e033946c4
  254. fi
  255. echo 'Loading Linux 4.4.0-21-generic ...'
  256. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=b0f42883-7427-4f05-b77d-176e033946c4 ro recovery nomodeset
  257. echo 'Loading initial ramdisk ...'
  258. initrd /boot/initrd.img-4.4.0-21-generic
  259. }
  260. }
  261. ### END /etc/grub.d/10_linux ###
  262. ### BEGIN /etc/grub.d/20_linux_xen ###
  263. ### END /etc/grub.d/20_linux_xen ###
  264. ### BEGIN /etc/grub.d/20_memtest86+ ###
  265. ### END /etc/grub.d/20_memtest86+ ###
  266. ### BEGIN /etc/grub.d/25_custom ###
  267. menuentry "EFI/ubuntu/fwupx64.efi" {
  268. search --fs-uuid --no-floppy --set=root EB4C-0C01
  269. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  270. }
  271. menuentry "EFI/ubuntu/MokManager.efi" {
  272. search --fs-uuid --no-floppy --set=root EB4C-0C01
  273. chainloader (${root})/EFI/ubuntu/MokManager.efi
  274. }
  275. ### END /etc/grub.d/25_custom ###
  276. ### BEGIN /etc/grub.d/30_os-prober ###
  277. ### END /etc/grub.d/30_os-prober ###
  278. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  279. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  280. fwsetup
  281. }
  282. ### END /etc/grub.d/30_uefi-firmware ###
  283. ### BEGIN /etc/grub.d/40_custom ###
  284. # This file provides an easy way to add custom menu entries. Simply type the
  285. # menu entries you want to add after this comment. Be careful not to change
  286. # the 'exec tail' line above.
  287. ### END /etc/grub.d/40_custom ###
  288. ### BEGIN /etc/grub.d/41_custom ###
  289. if [ -f ${config_directory}/custom.cfg ]; then
  290. source ${config_directory}/custom.cfg
  291. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  292. source $prefix/custom.cfg;
  293. fi
  294. ### END /etc/grub.d/41_custom ###
  295. --------------------------------------------------------------------------------
  296. =============================== sda2/etc/fstab: ================================
  297. --------------------------------------------------------------------------------
  298. # /etc/fstab: static file system information.
  299. #
  300. # Use 'blkid' to print the universally unique identifier for a
  301. # device; this may be used with UUID= as a more robust way to name devices
  302. # that works even if disks are added and removed. See fstab(5).
  303. #
  304. # <file system> <mount point> <type> <options> <dump> <pass>
  305. # / was on /dev/sda2 during installation
  306. UUID=b0f42883-7427-4f05-b77d-176e033946c4 / ext4 errors=remount-ro 0 1
  307. # /boot/efi was on /dev/sda1 during installation
  308. #UUID=EB4C-0C01 /boot/efi vfat umask=0077 0 1
  309. # swap was on /dev/sda3 during installation
  310. UUID=c9415194-de12-4300-bbbc-bf81da16e9ba none swap sw 0 0
  311. UUID=EB4C-0C01 /boot/efi vfat defaults 0 1
  312. --------------------------------------------------------------------------------
  313. =================== sda2: Location of files loaded by Grub: ====================
  314. GiB - GB File Fragment(s)
  315. 680.629566193 = 730.820431872 boot/grub/grub.cfg 1
  316. 1.562194824 = 1.677393920 boot/vmlinuz-4.4.0-21-generic 1
  317. 412.640193939 = 443.069034496 boot/vmlinuz-4.4.0-21-generic.efi.signed 1
  318. 1.562194824 = 1.677393920 vmlinuz 1
  319. 680.878170013 = 731.087368192 boot/initrd.img-4.4.0-21-generic 4
  320. 680.878170013 = 731.087368192 initrd.img 4
  321. ADDITIONAL INFORMATION :
  322. =================== log of boot-repair 2016-04-30__15h05 ===================
  323. boot-repair version : 4ppa37
  324. boot-sav version : 4ppa37
  325. glade2script version : 3.2.3~ppa1
  326. boot-sav-extra version : 4ppa37
  327. boot-repair is executed in installed-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
  328. CPU op-mode(s): 32-bit, 64-bit
  329. BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=b0f42883-7427-4f05-b77d-176e033946c4 ro quiet splash vt.handoff=7
  330. =================== os-prober:
  331. /dev/sda2:The OS now in use - Ubuntu 16.04 LTS CurrentSession:linux
  332. =================== blkid:
  333. /dev/sda1: UUID="EB4C-0C01" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="d26bc9ce-2823-42d5-be4d-42ebb16bfb59"
  334. /dev/sda2: UUID="b0f42883-7427-4f05-b77d-176e033946c4" TYPE="ext4" PARTUUID="ab8837c1-019a-4a0c-b4ad-9f658c065ad4"
  335. /dev/sda3: UUID="c9415194-de12-4300-bbbc-bf81da16e9ba" TYPE="swap" PARTUUID="8a186f35-5930-48c3-80c0-aab7335fe1bd"
  336. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  337. =================== /etc/grub.d/ :
  338. drwxr-xr-x 2 root root 4096 Apr 21 00:15 grub.d
  339. total 76
  340. -rwxr-xr-x 1 root root 9791 Apr 16 00:00 00_header
  341. -rwxr-xr-x 1 root root 6258 Mar 15 20:08 05_debian_theme
  342. -rwxr-xr-x 1 root root 12261 Apr 16 00:00 10_linux
  343. -rwxr-xr-x 1 root root 11082 Apr 16 00:00 20_linux_xen
  344. -rwxr-xr-x 1 root root 1992 Jan 28 14:44 20_memtest86+
  345. -rwxr-xr-x 1 root root 11692 Apr 16 00:00 30_os-prober
  346. -rwxr-xr-x 1 root root 1418 Apr 16 00:00 30_uefi-firmware
  347. -rwxr-xr-x 1 root root 214 Apr 16 00:00 40_custom
  348. -rwxr-xr-x 1 root root 216 Apr 16 00:00 41_custom
  349. -rw-r--r-- 1 root root 483 Apr 16 00:00 README
  350. =================== /etc/default/grub :
  351. # If you change this file, run 'update-grub' afterwards to update
  352. # /boot/grub/grub.cfg.
  353. # For full documentation of the options in this file, see:
  354. # info -f grub -n 'Simple configuration'
  355. GRUB_DEFAULT=0
  356. GRUB_HIDDEN_TIMEOUT=0
  357. GRUB_HIDDEN_TIMEOUT_QUIET=true
  358. GRUB_TIMEOUT=10
  359. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  360. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  361. GRUB_CMDLINE_LINUX=""
  362. # Uncomment to enable BadRAM filtering, modify to suit your needs
  363. # This works with Linux (no patch required) and with any kernel that obtains
  364. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  365. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  366. # Uncomment to disable graphical terminal (grub-pc only)
  367. #GRUB_TERMINAL=console
  368. # The resolution used on graphical terminal
  369. # note that you can use only modes which your graphic card supports via VBE
  370. # you can see them in real GRUB with the command `vbeinfo'
  371. #GRUB_GFXMODE=640x480
  372. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  373. #GRUB_DISABLE_LINUX_UUID=true
  374. # Uncomment to disable generation of recovery mode menu entries
  375. #GRUB_DISABLE_RECOVERY="true"
  376. # Uncomment to get a beep at grub start
  377. #GRUB_INIT_TUNE="480 440 1"
  378. /boot/efi detected in the fstab of sda2: UUID=EB4C-0C01 (sda1)
  379. =================== efibootmgr -v
  380. BootCurrent: 0000
  381. Timeout: 2 seconds
  382. BootOrder: 0000,3000,0001,2001,2002,2003
  383. Boot0000* ubuntu HD(1,GPT,d26bc9ce-2823-42d5-be4d-42ebb16bfb59,0x800,0x100000)/File(EFIubuntushimx64.efi)
  384. Boot0001* Ubuntu HD(1,GPT,d26bc9ce-2823-42d5-be4d-42ebb16bfb59,0x800,0x100000)/File(EFIubuntugrubx64.efi)RC
  385. Boot2001* USB Drive (UEFI) RC
  386. Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
  387. Boot3000* Internal Hard Disk or Solid State Disk RC
  388. =================== UEFI/Legacy mode:
  389. BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
  390. SecureBoot enabled.
  391. =================== PARTITIONS & DISKS:
  392. sda2 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, .
  393. sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /boot/efi.
  394. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  395. =================== parted -l:
  396. Model: ATA HGST HTS541010A9 (scsi)
  397. Disk /dev/sda: 1000GB
  398. Sector size (logical/physical): 512B/4096B
  399. Partition Table: gpt
  400. Disk Flags:
  401. Number Start End Size File system Name Flags
  402. 1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
  403. 2 538MB 996GB 995GB ext4
  404. 3 996GB 1000GB 4182MB linux-swap(v1)
  405. =================== parted -lm:
  406. BYT;
  407. /dev/sda:1000GB:scsi:512:4096:gpt:ATA HGST HTS541010A9:;
  408. 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
  409. 2:538MB:996GB:995GB:ext4::;
  410. 3:996GB:1000GB:4182MB:linux-swap(v1)::;
  411. =================== lsblk:
  412. KNAME TYPE FSTYPE SIZE LABEL
  413. sda disk 931.5G
  414. sda1 part vfat 512M
  415. sda2 part ext4 927.1G
  416. sda3 part swap 3.9G
  417. sr0 rom 1024M
  418. KNAME ROTA RO RM STATE MOUNTPOINT
  419. sda 1 0 0 running
  420. sda1 1 0 0 /boot/efi
  421. sda2 1 0 0 /
  422. sda3 1 0 0 [SWAP]
  423. sr0 1 0 1 running
  424. =================== mount:
  425. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  426. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  427. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1948676k,nr_inodes=487169,mode=755)
  428. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  429. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=393596k,mode=755)
  430. /dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
  431. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  432. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  433. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  434. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  435. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
  436. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  437. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  438. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
  439. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
  440. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
  441. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
  442. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
  443. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
  444. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
  445. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
  446. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
  447. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
  448. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  449. mqueue on /dev/mqueue type mqueue (rw,relatime)
  450. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  451. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  452. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  453. /dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  454. tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=393596k,mode=700,uid=1000,gid=1000)
  455. gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
  456. =================== ls:
  457. /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 size slaves stat subsystem trace uevent
  458. /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
  459. /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 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kmsg 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 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  460. ls /dev/mapper: control
  461. ls: cannot access '': No such file or directory
  462. =================== hexdump -n512 -C /dev/sda1
  463. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  464. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  465. 00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
  466. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  467. 00000040 80 01 29 01 0c 4c eb 4e 4f 20 4e 41 4d 45 20 20 |..)..L.NO NAME |
  468. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  469. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  470. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  471. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  472. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  473. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  474. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  475. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  476. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  477. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  478. *
  479. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  480. 00000200
  481. =================== df -Th:
  482. Filesystem Type Size Used Avail Use% Mounted on
  483. udev devtmpfs 1.9G 0 1.9G 0% /dev
  484. tmpfs tmpfs 385M 6.2M 379M 2% /run
  485. /dev/sda2 ext4 913G 3.8G 863G 1% /
  486. tmpfs tmpfs 1.9G 300K 1.9G 1% /dev/shm
  487. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  488. tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
  489. /dev/sda1 vfat 511M 3.6M 508M 1% /boot/efi
  490. tmpfs tmpfs 385M 68K 385M 1% /run/user/1000
  491. =================== fdisk -l:
  492. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  493. Units: sectors of 1 * 512 = 512 bytes
  494. Sector size (logical/physical): 512 bytes / 4096 bytes
  495. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  496. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  497. Units: sectors of 1 * 512 = 512 bytes
  498. Sector size (logical/physical): 512 bytes / 4096 bytes
  499. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  500. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  501. Units: sectors of 1 * 512 = 512 bytes
  502. Sector size (logical/physical): 512 bytes / 4096 bytes
  503. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  504. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  505. Units: sectors of 1 * 512 = 512 bytes
  506. Sector size (logical/physical): 512 bytes / 4096 bytes
  507. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  508. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  509. Units: sectors of 1 * 512 = 512 bytes
  510. Sector size (logical/physical): 512 bytes / 4096 bytes
  511. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  512. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  513. Units: sectors of 1 * 512 = 512 bytes
  514. Sector size (logical/physical): 512 bytes / 4096 bytes
  515. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  516. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  517. Units: sectors of 1 * 512 = 512 bytes
  518. Sector size (logical/physical): 512 bytes / 4096 bytes
  519. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  520. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  521. Units: sectors of 1 * 512 = 512 bytes
  522. Sector size (logical/physical): 512 bytes / 4096 bytes
  523. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  524. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  525. Units: sectors of 1 * 512 = 512 bytes
  526. Sector size (logical/physical): 512 bytes / 4096 bytes
  527. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  528. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  529. Units: sectors of 1 * 512 = 512 bytes
  530. Sector size (logical/physical): 512 bytes / 4096 bytes
  531. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  532. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  533. Units: sectors of 1 * 512 = 512 bytes
  534. Sector size (logical/physical): 512 bytes / 4096 bytes
  535. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  536. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  537. Units: sectors of 1 * 512 = 512 bytes
  538. Sector size (logical/physical): 512 bytes / 4096 bytes
  539. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  540. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  541. Units: sectors of 1 * 512 = 512 bytes
  542. Sector size (logical/physical): 512 bytes / 4096 bytes
  543. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  544. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  545. Units: sectors of 1 * 512 = 512 bytes
  546. Sector size (logical/physical): 512 bytes / 4096 bytes
  547. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  548. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  549. Units: sectors of 1 * 512 = 512 bytes
  550. Sector size (logical/physical): 512 bytes / 4096 bytes
  551. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  552. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  553. Units: sectors of 1 * 512 = 512 bytes
  554. Sector size (logical/physical): 512 bytes / 4096 bytes
  555. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  556. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  557. Units: sectors of 1 * 512 = 512 bytes
  558. Sector size (logical/physical): 512 bytes / 4096 bytes
  559. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  560. Disklabel type: gpt
  561. Disk identifier: C1D240A9-D4AB-4911-8185-5CE702C1FBD2
  562. Device Start End Sectors Size Type
  563. /dev/sda1 2048 1050623 1048576 512M EFI System
  564. /dev/sda2 1050624 1945356287 1944305664 927.1G Linux filesystem
  565. /dev/sda3 1945356288 1953523711 8167424 3.9G Linux swap
  566. =================== Recommended repair
  567. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
  568. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  569. /boot/efi added in sda2/fstab
  570. sda2/boot/efi not empty
  571. Unhide GRUB boot menu in sda2/etc/default/grub
  572. *******lspci -nnk | grep -iA3 vga
  573. 00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
  574. DeviceName: Intel VGA Compatible Controller
  575. Subsystem: Hewlett-Packard Company 3rd Gen Core processor Graphics Controller [103c:21bc]
  576. Kernel driver in use: i915
  577. Kernel modules: i915
  578. *******
  579. grub-install --version
  580. grub-install (GRUB) 2.02~beta2-36ubuntu3,grub-install (GRUB) 2.
  581. efibootmgr -v
  582. BootCurrent: 0000
  583. Timeout: 2 seconds
  584. BootOrder: 0000,3000,0001,2001,2002,2003
  585. Boot0000* ubuntu HD(1,GPT,d26bc9ce-2823-42d5-be4d-42ebb16bfb59,0x800,0x100000)/File(EFIubuntushimx64.efi)
  586. Boot0001* Ubuntu HD(1,GPT,d26bc9ce-2823-42d5-be4d-42ebb16bfb59,0x800,0x100000)/File(EFIubuntugrubx64.efi)RC
  587. Boot2001* USB Drive (UEFI) RC
  588. Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
  589. Boot3000* Internal Hard Disk or Solid State Disk RC
  590. uname -r
  591. Kernel: 4.4.0-21-generic
  592. Reinstall the grub-efi-amd64-signed of sda2
  593. Installing for x86_64-efi platform.
  594. Installation finished. No error reported.
  595. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  596. ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw
  597. df /dev/sda1
  598. cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  599. df /dev/sda1
  600. cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  601. df /dev/sda1
  602. cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi (& .grb)
  603. ls sda1/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
  604. Add /boot/efi efi entries in /etc/grub.d/25_custom
  605. Adding custom /boot/efi/EFI/ubuntu/fwupx64.efi
  606. Adding custom /boot/efi/EFI/ubuntu/MokManager.efi
  607. efibootmgr -v
  608. BootCurrent: 0000
  609. Timeout: 2 seconds
  610. BootOrder: 0000,3000,2001,2002,2003
  611. Boot0000* ubuntu HD(1,GPT,d26bc9ce-2823-42d5-be4d-42ebb16bfb59,0x800,0x100000)/File(EFIubuntushimx64.efi)
  612. Boot2001* USB Drive (UEFI) RC
  613. Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
  614. Boot3000* Internal Hard Disk or Solid State Disk RC
  615. update-grub
  616. Generating grub configuration file ...
  617. Found linux image: /boot/vmlinuz-4.4.0-21-generic
  618. Found initrd image: /boot/initrd.img-4.4.0-21-generic
  619. Adding boot menu entry for EFI firmware configuration
  620. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  621. Boot successfully repaired.
  622. You can now reboot your computer.
  623. The boot files of [The OS now in use - Ubuntu 16.04 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)
  624. paste.ubuntu.com ko (), using paste.debian
  625. paste.debian.net ko (), using paste2