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. => Syslinux MBR (4.04-4.07) is installed in the MBR of /dev/sdb.
  5. sda1: __________________________________________________________________________
  6. File system: vfat
  7. Boot sector type: FAT32
  8. Boot sector info: No errors found in the Boot Parameter Block.
  9. Operating System:
  10. Boot files: /Boot/bootx64.efi /ubuntu/shimx64.efi
  11. /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi
  12. /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi
  13. /EFI/ubuntu/shimx64.efi /Microsoft/Boot/bootmgfw.efi
  14. /Microsoft/Boot/bootx64.efi
  15. /EFI/Microsoft/Boot/bootmgfw.efi
  16. /EFI/Microsoft/Boot/bootx64.efi
  17. /boot/grub/i386-pc/core.img
  18. sda2: __________________________________________________________________________
  19. File system: ext4
  20. Boot sector type: -
  21. Boot sector info:
  22. Operating System: Ubuntu 16.04 LTS
  23. Boot files: /boot/grub/grub.cfg /etc/fstab
  24. /boot/grub/i386-pc/core.img
  25. sda3: __________________________________________________________________________
  26. File system: swap
  27. Boot sector type: -
  28. Boot sector info:
  29. sdb1: __________________________________________________________________________
  30. File system: vfat
  31. Boot sector type: SYSLINUX 4.05 20140113
  32. Boot sector info: Syslinux looks at sector 2934452 of /dev/sdb1 for its
  33. second stage. SYSLINUX is installed in the directory.
  34. No errors found in the Boot Parameter Block.
  35. Operating System:
  36. Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
  37. /casper/vmlinuz.efi /EFI/BOOT/grubx64.efi /ldlinux.sys
  38. ============================ Drive/Partition Info: =============================
  39. Drive: sda _____________________________________________________________________
  40. Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 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 468,862,127 468,862,127 ee GPT
  47. GUID Partition Table detected.
  48. Partition Attrs Start Sector End Sector # of Sectors System
  49. /dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
  50. /dev/sda2 1,050,624 435,499,007 434,448,384 EFI System partition
  51. /dev/sda3 435,499,008 468,860,927 33,361,920 Swap partition (Linux)
  52. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  53. Drive: sdb _____________________________________________________________________
  54. Disk /dev/sdb: 14.7 GiB, 15733161984 bytes, 30728832 sectors
  55. Units: sectors of 1 * 512 = 512 bytes
  56. Sector size (logical/physical): 512 bytes / 512 bytes
  57. I/O size (minimum/optimal): 512 bytes / 512 bytes
  58. Disklabel type: dos
  59. Partition Boot Start Sector End Sector # of Sectors Id System
  60. /dev/sdb1 * 8,064 30,728,831 30,720,768 c W95 FAT32 (LBA)
  61. "blkid" output: ________________________________________________________________
  62. Device UUID TYPE LABEL
  63. /dev/loop0 squashfs
  64. /dev/sda1 F88A-E32D vfat
  65. /dev/sda2 486ac1cb-6244-4563-9f6d-d1c62c92dbd0 ext4
  66. /dev/sda3 0b672c8d-f793-47fa-a89f-ad3f45846e27 swap
  67. /dev/sdb1 B4BC-9455 vfat
  68. ========================= "ls -l /dev/disk/by-id" output: ======================
  69. total 0
  70. lrwxrwxrwx 1 root root 9 Aug 9 14:33 ata-ADATA_SP550_2G2220034110 -> ../../sda
  71. lrwxrwxrwx 1 root root 10 Aug 9 14:33 ata-ADATA_SP550_2G2220034110-part1 -> ../../sda1
  72. lrwxrwxrwx 1 root root 10 Aug 9 14:33 ata-ADATA_SP550_2G2220034110-part2 -> ../../sda2
  73. lrwxrwxrwx 1 root root 10 Aug 9 14:33 ata-ADATA_SP550_2G2220034110-part3 -> ../../sda3
  74. lrwxrwxrwx 1 root root 9 Aug 9 14:33 usb-Kingston_DataTraveler_3.0_00190F0C02B4BE50A9635B93-0:0 -> ../../sdb
  75. lrwxrwxrwx 1 root root 10 Aug 9 14:33 usb-Kingston_DataTraveler_3.0_00190F0C02B4BE50A9635B93-0:0-part1 -> ../../sdb1
  76. ================================ Mount points: =================================
  77. Device Mount_Point Type Options
  78. /dev/loop0 /rofs squashfs (ro,noatime)
  79. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  80. =================== sda1: Location of files loaded by Grub: ====================
  81. GiB - GB File Fragment(s)
  82. ?? = ?? boot/grub/i386-pc/core.img 1
  83. =========================== sda2/boot/grub/grub.cfg: ===========================
  84. --------------------------------------------------------------------------------
  85. #
  86. # DO NOT EDIT THIS FILE
  87. #
  88. # It is automatically generated by grub-mkconfig using templates
  89. # from /etc/grub.d and settings from /etc/default/grub
  90. #
  91. ### BEGIN /etc/grub.d/00_header ###
  92. if [ -s $prefix/grubenv ]; then
  93. set have_grubenv=true
  94. load_env
  95. fi
  96. if [ "${next_entry}" ] ; then
  97. set default="${next_entry}"
  98. set next_entry=
  99. save_env next_entry
  100. set boot_once=true
  101. else
  102. set default="0"
  103. fi
  104. if [ x"${feature_menuentry_id}" = xy ]; then
  105. menuentry_id_option="--id"
  106. else
  107. menuentry_id_option=""
  108. fi
  109. export menuentry_id_option
  110. if [ "${prev_saved_entry}" ]; then
  111. set saved_entry="${prev_saved_entry}"
  112. save_env saved_entry
  113. set prev_saved_entry=
  114. save_env prev_saved_entry
  115. set boot_once=true
  116. fi
  117. function savedefault {
  118. if [ -z "${boot_once}" ]; then
  119. saved_entry="${chosen}"
  120. save_env saved_entry
  121. fi
  122. }
  123. function recordfail {
  124. set recordfail=1
  125. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  126. }
  127. function load_video {
  128. if [ x$feature_all_video_module = xy ]; then
  129. insmod all_video
  130. else
  131. insmod efi_gop
  132. insmod efi_uga
  133. insmod ieee1275_fb
  134. insmod vbe
  135. insmod vga
  136. insmod video_bochs
  137. insmod video_cirrus
  138. fi
  139. }
  140. if [ x$feature_default_font_path = xy ] ; then
  141. font=unicode
  142. else
  143. insmod part_gpt
  144. insmod ext2
  145. set root='hd0,gpt2'
  146. if [ x$feature_platform_search_hint = xy ]; then
  147. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  148. else
  149. search --no-floppy --fs-uuid --set=root 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  150. fi
  151. font="/usr/share/grub/unicode.pf2"
  152. fi
  153. if loadfont $font ; then
  154. set gfxmode=auto
  155. load_video
  156. insmod gfxterm
  157. set locale_dir=$prefix/locale
  158. set lang=en_US
  159. insmod gettext
  160. fi
  161. terminal_output gfxterm
  162. if [ "${recordfail}" = 1 ] ; then
  163. set timeout=10
  164. else
  165. if [ x$feature_timeout_style = xy ] ; then
  166. set timeout_style=menu
  167. set timeout=10
  168. # Fallback normal timeout code in case the timeout_style feature is
  169. # unavailable.
  170. else
  171. set timeout=10
  172. fi
  173. fi
  174. ### END /etc/grub.d/00_header ###
  175. ### BEGIN /etc/grub.d/05_debian_theme ###
  176. set menu_color_normal=white/black
  177. set menu_color_highlight=black/light-gray
  178. if background_color 44,0,30,0; then
  179. clear
  180. fi
  181. ### END /etc/grub.d/05_debian_theme ###
  182. ### BEGIN /etc/grub.d/10_linux ###
  183. function gfxmode {
  184. set gfxpayload="${1}"
  185. if [ "${1}" = "keep" ]; then
  186. set vt_handoff=vt.handoff=7
  187. else
  188. set vt_handoff=
  189. fi
  190. }
  191. if [ "${recordfail}" != 1 ]; then
  192. if [ -e ${prefix}/gfxblacklist.txt ]; then
  193. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  194. if [ ${match} = 0 ]; then
  195. set linux_gfx_mode=keep
  196. else
  197. set linux_gfx_mode=text
  198. fi
  199. else
  200. set linux_gfx_mode=text
  201. fi
  202. else
  203. set linux_gfx_mode=keep
  204. fi
  205. else
  206. set linux_gfx_mode=text
  207. fi
  208. export linux_gfx_mode
  209. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-486ac1cb-6244-4563-9f6d-d1c62c92dbd0' {
  210. recordfail
  211. load_video
  212. gfxmode $linux_gfx_mode
  213. insmod gzio
  214. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  215. insmod part_gpt
  216. insmod ext2
  217. set root='hd0,gpt2'
  218. if [ x$feature_platform_search_hint = xy ]; then
  219. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  220. else
  221. search --no-floppy --fs-uuid --set=root 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  222. fi
  223. linux /boot/vmlinuz-4.4.0-34-generic.efi.signed root=UUID=486ac1cb-6244-4563-9f6d-d1c62c92dbd0 ro quiet splash $vt_handoff
  224. initrd /boot/initrd.img-4.4.0-34-generic
  225. }
  226. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-486ac1cb-6244-4563-9f6d-d1c62c92dbd0' {
  227. menuentry 'Ubuntu, with Linux 4.4.0-34-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-advanced-486ac1cb-6244-4563-9f6d-d1c62c92dbd0' {
  228. recordfail
  229. load_video
  230. gfxmode $linux_gfx_mode
  231. insmod gzio
  232. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  233. insmod part_gpt
  234. insmod ext2
  235. set root='hd0,gpt2'
  236. if [ x$feature_platform_search_hint = xy ]; then
  237. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  238. else
  239. search --no-floppy --fs-uuid --set=root 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  240. fi
  241. echo 'Loading Linux 4.4.0-34-generic ...'
  242. linux /boot/vmlinuz-4.4.0-34-generic.efi.signed root=UUID=486ac1cb-6244-4563-9f6d-d1c62c92dbd0 ro quiet splash $vt_handoff
  243. echo 'Loading initial ramdisk ...'
  244. initrd /boot/initrd.img-4.4.0-34-generic
  245. }
  246. menuentry 'Ubuntu, with Linux 4.4.0-34-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-init-upstart-486ac1cb-6244-4563-9f6d-d1c62c92dbd0' {
  247. recordfail
  248. load_video
  249. gfxmode $linux_gfx_mode
  250. insmod gzio
  251. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  252. insmod part_gpt
  253. insmod ext2
  254. set root='hd0,gpt2'
  255. if [ x$feature_platform_search_hint = xy ]; then
  256. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  257. else
  258. search --no-floppy --fs-uuid --set=root 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  259. fi
  260. echo 'Loading Linux 4.4.0-34-generic ...'
  261. linux /boot/vmlinuz-4.4.0-34-generic.efi.signed root=UUID=486ac1cb-6244-4563-9f6d-d1c62c92dbd0 ro quiet splash $vt_handoff init=/sbin/upstart
  262. echo 'Loading initial ramdisk ...'
  263. initrd /boot/initrd.img-4.4.0-34-generic
  264. }
  265. menuentry 'Ubuntu, with Linux 4.4.0-34-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-34-generic-recovery-486ac1cb-6244-4563-9f6d-d1c62c92dbd0' {
  266. recordfail
  267. load_video
  268. insmod gzio
  269. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  270. insmod part_gpt
  271. insmod ext2
  272. set root='hd0,gpt2'
  273. if [ x$feature_platform_search_hint = xy ]; then
  274. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  275. else
  276. search --no-floppy --fs-uuid --set=root 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  277. fi
  278. echo 'Loading Linux 4.4.0-34-generic ...'
  279. linux /boot/vmlinuz-4.4.0-34-generic.efi.signed root=UUID=486ac1cb-6244-4563-9f6d-d1c62c92dbd0 ro recovery nomodeset
  280. echo 'Loading initial ramdisk ...'
  281. initrd /boot/initrd.img-4.4.0-34-generic
  282. }
  283. 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-486ac1cb-6244-4563-9f6d-d1c62c92dbd0' {
  284. recordfail
  285. load_video
  286. gfxmode $linux_gfx_mode
  287. insmod gzio
  288. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  289. insmod part_gpt
  290. insmod ext2
  291. set root='hd0,gpt2'
  292. if [ x$feature_platform_search_hint = xy ]; then
  293. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  294. else
  295. search --no-floppy --fs-uuid --set=root 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  296. fi
  297. echo 'Loading Linux 4.4.0-21-generic ...'
  298. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=486ac1cb-6244-4563-9f6d-d1c62c92dbd0 ro quiet splash $vt_handoff
  299. echo 'Loading initial ramdisk ...'
  300. initrd /boot/initrd.img-4.4.0-21-generic
  301. }
  302. 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-486ac1cb-6244-4563-9f6d-d1c62c92dbd0' {
  303. recordfail
  304. load_video
  305. gfxmode $linux_gfx_mode
  306. insmod gzio
  307. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  308. insmod part_gpt
  309. insmod ext2
  310. set root='hd0,gpt2'
  311. if [ x$feature_platform_search_hint = xy ]; then
  312. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  313. else
  314. search --no-floppy --fs-uuid --set=root 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  315. fi
  316. echo 'Loading Linux 4.4.0-21-generic ...'
  317. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=486ac1cb-6244-4563-9f6d-d1c62c92dbd0 ro quiet splash $vt_handoff init=/sbin/upstart
  318. echo 'Loading initial ramdisk ...'
  319. initrd /boot/initrd.img-4.4.0-21-generic
  320. }
  321. 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-486ac1cb-6244-4563-9f6d-d1c62c92dbd0' {
  322. recordfail
  323. load_video
  324. insmod gzio
  325. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  326. insmod part_gpt
  327. insmod ext2
  328. set root='hd0,gpt2'
  329. if [ x$feature_platform_search_hint = xy ]; then
  330. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  331. else
  332. search --no-floppy --fs-uuid --set=root 486ac1cb-6244-4563-9f6d-d1c62c92dbd0
  333. fi
  334. echo 'Loading Linux 4.4.0-21-generic ...'
  335. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=486ac1cb-6244-4563-9f6d-d1c62c92dbd0 ro recovery nomodeset
  336. echo 'Loading initial ramdisk ...'
  337. initrd /boot/initrd.img-4.4.0-21-generic
  338. }
  339. }
  340. ### END /etc/grub.d/10_linux ###
  341. ### BEGIN /etc/grub.d/20_linux_xen ###
  342. ### END /etc/grub.d/20_linux_xen ###
  343. ### BEGIN /etc/grub.d/20_memtest86+ ###
  344. ### END /etc/grub.d/20_memtest86+ ###
  345. ### BEGIN /etc/grub.d/25_custom ###
  346. menuentry "EFI/ubuntu/fwupx64.efi" {
  347. search --fs-uuid --no-floppy --set=root F88A-E32D
  348. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  349. }
  350. menuentry "EFI/ubuntu/MokManager.efi" {
  351. search --fs-uuid --no-floppy --set=root F88A-E32D
  352. chainloader (${root})/EFI/ubuntu/MokManager.efi
  353. }
  354. ### END /etc/grub.d/25_custom ###
  355. ### BEGIN /etc/grub.d/30_os-prober ###
  356. ### END /etc/grub.d/30_os-prober ###
  357. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  358. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  359. fwsetup
  360. }
  361. ### END /etc/grub.d/30_uefi-firmware ###
  362. ### BEGIN /etc/grub.d/40_custom ###
  363. # This file provides an easy way to add custom menu entries. Simply type the
  364. # menu entries you want to add after this comment. Be careful not to change
  365. # the 'exec tail' line above.
  366. ### END /etc/grub.d/40_custom ###
  367. ### BEGIN /etc/grub.d/41_custom ###
  368. if [ -f ${config_directory}/custom.cfg ]; then
  369. source ${config_directory}/custom.cfg
  370. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  371. source $prefix/custom.cfg;
  372. fi
  373. ### END /etc/grub.d/41_custom ###
  374. --------------------------------------------------------------------------------
  375. =============================== sda2/etc/fstab: ================================
  376. --------------------------------------------------------------------------------
  377. # /etc/fstab: static file system information.
  378. #
  379. # Use 'blkid' to print the universally unique identifier for a
  380. # device; this may be used with UUID= as a more robust way to name devices
  381. # that works even if disks are added and removed. See fstab(5).
  382. #
  383. # <file system> <mount point> <type> <options> <dump> <pass>
  384. # / was on /dev/sda2 during installation
  385. UUID=486ac1cb-6244-4563-9f6d-d1c62c92dbd0 / ext4 errors=remount-ro 0 1
  386. # /boot/efi was on /dev/sda1 during installation
  387. #UUID=F88A-E32D /boot/efi vfat umask=0077 0 1
  388. # swap was on /dev/sda3 during installation
  389. UUID=0b672c8d-f793-47fa-a89f-ad3f45846e27 none swap sw 0 0
  390. UUID=F88A-E32D /boot/efi vfat defaults 0 1
  391. --------------------------------------------------------------------------------
  392. =================== sda2: Location of files loaded by Grub: ====================
  393. GiB - GB File Fragment(s)
  394. 40.631431580 = 43.627667456 boot/grub/grub.cfg 1
  395. 40.643878937 = 43.641032704 boot/grub/i386-pc/core.img 1
  396. 1.370788574 = 1.471873024 boot/vmlinuz-4.4.0-21-generic 2
  397. 205.757537842 = 220.930473984 boot/vmlinuz-4.4.0-34-generic 1
  398. 205.933319092 = 221.119217664 boot/vmlinuz-4.4.0-34-generic.efi.signed 1
  399. 1.370788574 = 1.471873024 vmlinuz 2
  400. 206.043380737 = 221.237395456 boot/initrd.img-4.4.0-21-generic 3
  401. 205.946285248 = 221.133139968 boot/initrd.img-4.4.0-34-generic 3
  402. 206.043380737 = 221.237395456 initrd.img 3
  403. 206.043380737 = 221.237395456 initrd.img.old 3
  404. =========================== sdb1/boot/grub/grub.cfg: ===========================
  405. --------------------------------------------------------------------------------
  406. if loadfont /boot/grub/font.pf2 ; then
  407. set gfxmode=auto
  408. insmod efi_gop
  409. insmod efi_uga
  410. insmod gfxterm
  411. terminal_output gfxterm
  412. fi
  413. set menu_color_normal=white/black
  414. set menu_color_highlight=black/light-gray
  415. menuentry "Try Ubuntu without installing" {
  416. set gfxpayload=keep
  417. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  418. initrd /casper/initrd.lz
  419. }
  420. menuentry "Install Ubuntu" {
  421. set gfxpayload=keep
  422. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  423. initrd /casper/initrd.lz
  424. }
  425. menuentry "OEM install (for manufacturers)" {
  426. set gfxpayload=keep
  427. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  428. initrd /casper/initrd.lz
  429. }
  430. menuentry "Check disc for defects" {
  431. set gfxpayload=keep
  432. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  433. initrd /casper/initrd.lz
  434. }
  435. --------------------------------------------------------------------------------
  436. ========================= sdb1/syslinux/syslinux.cfg: ==========================
  437. --------------------------------------------------------------------------------
  438. # D-I config version 2.0
  439. # search path for the c32 support libraries (libcom32, libutil etc.)
  440. path
  441. include menu.cfg
  442. default vesamenu.c32
  443. prompt 0
  444. timeout 50
  445. ui gfxboot bootlogo
  446. --------------------------------------------------------------------------------
  447. =================== sdb1: Location of files loaded by Grub: ====================
  448. GiB - GB File Fragment(s)
  449. ?? = ?? boot/grub/grub.cfg 1
  450. ================= sdb1: Location of files loaded by Syslinux: ==================
  451. GiB - GB File Fragment(s)
  452. ?? = ?? syslinux/syslinux.cfg 1
  453. ?? = ?? ldlinux.sys 1
  454. ?? = ?? syslinux/chain.c32 1
  455. ?? = ?? syslinux/gfxboot.c32 1
  456. ?? = ?? syslinux/ldlinux.c32 1
  457. ?? = ?? syslinux/libcom32.c32 1
  458. ?? = ?? syslinux/libutil.c32 1
  459. ?? = ?? syslinux/vesamenu.c32 1
  460. ============== sdb1: Version of COM32(R) files used by Syslinux: ===============
  461. syslinux/chain.c32 : not a COM32/COM32R module
  462. syslinux/gfxboot.c32 : not a COM32/COM32R module
  463. syslinux/ldlinux.c32 : not a COM32/COM32R module
  464. syslinux/libcom32.c32 : not a COM32/COM32R module
  465. syslinux/libutil.c32 : not a COM32/COM32R module
  466. syslinux/vesamenu.c32 : not a COM32/COM32R module
  467. =============================== StdErr Messages: ===============================
  468. File descriptor 9 (/proc/4915/mounts) leaked on lvs invocation. Parent PID 13567: bash
  469. File descriptor 63 (pipe:[52864]) leaked on lvs invocation. Parent PID 13567: bash
  470. ADDITIONAL INFORMATION :
  471. =================== log of boot-repair 2016-08-09__14h33 ===================
  472. boot-repair version : 4ppa38
  473. boot-sav version : 4ppa38
  474. glade2script version : 3.2.3~ppa1
  475. boot-sav-extra version : 4ppa38
  476. boot-repair is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
  477. CPU op-mode(s): 32-bit, 64-bit
  478. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  479. ls: cannot access '/home/usr/.config': No such file or directory
  480. =================== os-prober:
  481. /dev/sda2:Ubuntu 16.04 LTS (16.04):Ubuntu:linux
  482. =================== blkid:
  483. /dev/sda1: UUID="F88A-E32D" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="63e76071-6a62-420c-b1d8-e059cdb2e51b"
  484. /dev/sda2: UUID="486ac1cb-6244-4563-9f6d-d1c62c92dbd0" TYPE="ext4" PARTUUID="2d96922a-0deb-44ab-977c-57d927a5e7ef"
  485. /dev/sdb1: UUID="B4BC-9455" TYPE="vfat" PARTUUID="00044816-01"
  486. /dev/loop0: TYPE="squashfs"
  487. /dev/sda3: UUID="0b672c8d-f793-47fa-a89f-ad3f45846e27" TYPE="swap" PARTUUID="2b62ff8a-6c4f-4ef8-bf86-639dbded18a5"
  488. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  489. =================== No kernel in /mnt/boot-sav/sda1/boot:
  490. bootx64.efi
  491. bootx64.efi.grb
  492. grub
  493. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
  494. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootx64.efi
  495. Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
  496. =================== sda2/etc/grub.d/ :
  497. drwxr-xr-x 2 root root 4096 Aug 9 14:01 grub.d
  498. total 76
  499. -rwxr-xr-x 1 root root 9791 Apr 15 22:00 00_header
  500. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  501. -rwxr-xr-x 1 root root 12261 Apr 15 22:00 10_linux
  502. -rwxr-xr-x 1 root root 11082 Apr 15 22:00 20_linux_xen
  503. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  504. -rwxr-xr-x 1 root root 11692 Apr 15 22:00 30_os-prober
  505. -rwxr-xr-x 1 root root 1418 Apr 15 22:00 30_uefi-firmware
  506. -rwxr-xr-x 1 root root 214 Apr 15 22:00 40_custom
  507. -rwxr-xr-x 1 root root 216 Apr 15 22:00 41_custom
  508. -rw-r--r-- 1 root root 483 Apr 15 22:00 README
  509. =================== sda2/etc/default/grub :
  510. # If you change this file, run 'update-grub' afterwards to update
  511. # /boot/grub/grub.cfg.
  512. # For full documentation of the options in this file, see:
  513. # info -f grub -n 'Simple configuration'
  514. GRUB_DEFAULT=0
  515. GRUB_HIDDEN_TIMEOUT=0
  516. GRUB_HIDDEN_TIMEOUT_QUIET=true
  517. GRUB_TIMEOUT=10
  518. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  519. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  520. GRUB_CMDLINE_LINUX=""
  521. # Uncomment to enable BadRAM filtering, modify to suit your needs
  522. # This works with Linux (no patch required) and with any kernel that obtains
  523. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  524. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  525. # Uncomment to disable graphical terminal (grub-pc only)
  526. #GRUB_TERMINAL=console
  527. # The resolution used on graphical terminal
  528. # note that you can use only modes which your graphic card supports via VBE
  529. # you can see them in real GRUB with the command `vbeinfo'
  530. #GRUB_GFXMODE=640x480
  531. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  532. #GRUB_DISABLE_LINUX_UUID=true
  533. # Uncomment to disable generation of recovery mode menu entries
  534. #GRUB_DISABLE_RECOVERY="true"
  535. # Uncomment to get a beep at grub start
  536. #GRUB_INIT_TUNE="480 440 1"
  537. /boot/efi detected in the fstab of sda2: UUID=F88A-E32D (sda1)
  538. =================== efibootmgr -v
  539. BootCurrent: 0003
  540. Timeout: 0 seconds
  541. BootOrder: 0001,0003,2001,2002,2003
  542. Boot0000* ubuntu HD(1,GPT,63e76071-6a62-420c-b1d8-e059cdb2e51b,0x800,0x100000)/File(EFIubuntushimx64.efi)
  543. Boot0001* Windows Boot Manager HD(1,GPT,63e76071-6a62-420c-b1d8-e059cdb2e51b,0x800,0x100000)/File(EFIMicrosoftBootbootmgfw.efi)RC
  544. Boot0002* Unknown Device: HD(1,GPT,63e76071-6a62-420c-b1d8-e059cdb2e51b,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
  545. Boot0003* Linpus lite HD(1,MBR,0x22,0x1f80,0x1d4c300)/File(EFIBootgrubx64.efi)RC
  546. Boot2001* EFI USB Device RC
  547. Boot2002* EFI DVD/CDROM RC
  548. Boot2003* EFI Network RC
  549. =================== UEFI/Legacy mode:
  550. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  551. SecureBoot enabled.
  552. =================== PARTITIONS & DISKS:
  553. sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-kernel, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
  554. sda2 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
  555. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  556. =================== parted -l:
  557. Model: ATA ADATA SP550 (scsi)
  558. Disk /dev/sda: 240GB
  559. Sector size (logical/physical): 512B/4096B
  560. Partition Table: gpt
  561. Disk Flags:
  562. Number Start End Size File system Name Flags
  563. 1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
  564. 2 538MB 223GB 222GB ext4 boot, esp
  565. 3 223GB 240GB 17.1GB linux-swap(v1)
  566. Model: Kingston DataTraveler 3.0 (scsi)
  567. Disk /dev/sdb: 15.7GB
  568. Sector size (logical/physical): 512B/512B
  569. Partition Table: msdos
  570. Disk Flags:
  571. Number Start End Size Type File system Flags
  572. 1 4129kB 15.7GB 15.7GB primary fat32 boot, lba
  573. =================== parted -lm:
  574. BYT;
  575. /dev/sda:240GB:scsi:512:4096:gpt:ATA ADATA SP550:;
  576. 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
  577. 2:538MB:223GB:222GB:ext4::boot, esp;
  578. 3:223GB:240GB:17.1GB:linux-swap(v1)::;
  579. BYT;
  580. /dev/sdb:15.7GB:scsi:512:512:msdos:Kingston DataTraveler 3.0:;
  581. 1:4129kB:15.7GB:15.7GB:fat32::boot, lba;
  582. =================== lsblk:
  583. KNAME TYPE FSTYPE SIZE LABEL
  584. sda disk 223.6G
  585. sda1 part vfat 512M
  586. sda2 part ext4 207.2G
  587. sda3 part swap 15.9G
  588. sdb disk 14.7G
  589. sdb1 part vfat 14.7G
  590. loop0 loop squashfs 1.3G
  591. KNAME ROTA RO RM STATE MOUNTPOINT
  592. sda 0 0 0 running
  593. sda1 0 0 0 /mnt/boot-sav/sda1
  594. sda2 0 0 0 /mnt/boot-sav/sda2
  595. sda3 0 0 0 [SWAP]
  596. sdb 1 0 1 running
  597. sdb1 1 0 1 /cdrom
  598. loop0 1 1 0 /rofs
  599. =================== mount:
  600. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  601. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  602. udev on /dev type devtmpfs (rw,nosuid,relatime,size=8153464k,nr_inodes=2038366,mode=755)
  603. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  604. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1633624k,mode=755)
  605. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  606. /dev/loop0 on /rofs type squashfs (ro,noatime)
  607. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  608. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  609. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  610. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  611. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  612. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
  613. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  614. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  615. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
  616. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
  617. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
  618. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
  619. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
  620. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
  621. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
  622. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
  623. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
  624. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
  625. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  626. mqueue on /dev/mqueue type mqueue (rw,relatime)
  627. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  628. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  629. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  630. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  631. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  632. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=1633624k,mode=700,uid=999,gid=999)
  633. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  634. /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)
  635. /dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)
  636. =================== ls:
  637. /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
  638. /sys/block/sdb (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 sdb1 size slaves stat subsystem trace uevent
  639. /dev (filtered): 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-2 i2c-3 i2c-4 i2c-5 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 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  640. ls /dev/mapper: control
  641. =================== hexdump -n512 -C /dev/sda1
  642. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  643. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  644. 00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
  645. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  646. 00000040 80 01 29 2d e3 8a f8 4e 4f 20 4e 41 4d 45 20 20 |..)-...NO NAME |
  647. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  648. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  649. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  650. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  651. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  652. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  653. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  654. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  655. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  656. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  657. *
  658. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  659. 00000200
  660. =================== df -Th:
  661. Filesystem Type Size Used Avail Use% Mounted on
  662. udev devtmpfs 7.8G 0 7.8G 0% /dev
  663. tmpfs tmpfs 1.6G 9.5M 1.6G 1% /run
  664. /dev/sdb1 vfat 15G 5.4G 9.3G 37% /cdrom
  665. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  666. /cow overlay 7.8G 85M 7.8G 2% /
  667. tmpfs tmpfs 7.8G 132K 7.8G 1% /dev/shm
  668. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  669. tmpfs tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
  670. tmpfs tmpfs 7.8G 24K 7.8G 1% /tmp
  671. tmpfs tmpfs 1.6G 64K 1.6G 1% /run/user/999
  672. /dev/sda1 vfat 511M 18M 494M 4% /mnt/boot-sav/sda1
  673. /dev/sda2 ext4 204G 4.2G 190G 3% /mnt/boot-sav/sda2
  674. =================== fdisk -l:
  675. Disk /dev/ram0: 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/ram1: 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/ram2: 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/ram3: 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/ram4: 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/ram5: 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/ram6: 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/ram7: 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/ram8: 64 MiB, 67108864 bytes, 131072 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. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  712. Units: sectors of 1 * 512 = 512 bytes
  713. Sector size (logical/physical): 512 bytes / 4096 bytes
  714. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  715. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  716. Units: sectors of 1 * 512 = 512 bytes
  717. Sector size (logical/physical): 512 bytes / 4096 bytes
  718. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  719. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  720. Units: sectors of 1 * 512 = 512 bytes
  721. Sector size (logical/physical): 512 bytes / 4096 bytes
  722. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  723. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  724. Units: sectors of 1 * 512 = 512 bytes
  725. Sector size (logical/physical): 512 bytes / 4096 bytes
  726. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  727. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  728. Units: sectors of 1 * 512 = 512 bytes
  729. Sector size (logical/physical): 512 bytes / 4096 bytes
  730. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  731. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  732. Units: sectors of 1 * 512 = 512 bytes
  733. Sector size (logical/physical): 512 bytes / 4096 bytes
  734. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  735. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  736. Units: sectors of 1 * 512 = 512 bytes
  737. Sector size (logical/physical): 512 bytes / 4096 bytes
  738. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  739. Disk /dev/loop0: 1.3 GiB, 1433468928 bytes, 2799744 sectors
  740. Units: sectors of 1 * 512 = 512 bytes
  741. Sector size (logical/physical): 512 bytes / 512 bytes
  742. I/O size (minimum/optimal): 512 bytes / 512 bytes
  743. Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors
  744. Units: sectors of 1 * 512 = 512 bytes
  745. Sector size (logical/physical): 512 bytes / 4096 bytes
  746. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  747. Disklabel type: gpt
  748. Disk identifier: 29E0A95A-F911-4347-BF58-2EFCCCFFFC07
  749. Device Start End Sectors Size Type
  750. /dev/sda1 2048 1050623 1048576 512M EFI System
  751. /dev/sda2 1050624 435499007 434448384 207.2G EFI System
  752. /dev/sda3 435499008 468860927 33361920 15.9G Linux swap
  753. Disk /dev/sdb: 14.7 GiB, 15733161984 bytes, 30728832 sectors
  754. Units: sectors of 1 * 512 = 512 bytes
  755. Sector size (logical/physical): 512 bytes / 512 bytes
  756. I/O size (minimum/optimal): 512 bytes / 512 bytes
  757. Disklabel type: dos
  758. Disk identifier: 0x00044816
  759. Device Boot Start End Sectors Size Id Type
  760. /dev/sdb1 * 8064 30728831 30720768 14.7G c W95 FAT32 (LBA)
  761. =================== Recommended repair
  762. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
  763. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  764. /boot/efi added in sda2/fstab
  765. rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi.grb
  766. rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi.grb
  767. rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi.grb
  768. Mount sda1 on /mnt/boot-sav/sda2/boot/efi
  769. ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot
  770. ls sda1: Boot
  771. EFI
  772. Microsoft
  773. ubuntu . Please report this message to [email protected]
  774. Unhide GRUB boot menu in sda2/etc/default/grub
  775. *******lspci -nnk | grep -iA3 vga
  776. 00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1926] (rev 0a)
  777. Subsystem: Acer Incorporated [ALI] Skylake Integrated Graphics [1025:104c]
  778. Kernel driver in use: i915_bpo
  779. Kernel modules: i915_bpo
  780. *******
  781. grub-install --version
  782. grub-install (GRUB) 2.02~beta2-36ubuntu3.2,grub-install (GRUB) 2.
  783. chroot /mnt/boot-sav/sda2 efibootmgr -v
  784. BootCurrent: 0003
  785. Timeout: 0 seconds
  786. BootOrder: 0001,0003,2001,2002,2003
  787. Boot0000* ubuntu HD(1,GPT,63e76071-6a62-420c-b1d8-e059cdb2e51b,0x800,0x100000)/File(EFIubuntushimx64.efi)
  788. Boot0001* Windows Boot Manager HD(1,GPT,63e76071-6a62-420c-b1d8-e059cdb2e51b,0x800,0x100000)/File(EFIMicrosoftBootbootmgfw.efi)RC
  789. Boot0002* Unknown Device: HD(1,GPT,63e76071-6a62-420c-b1d8-e059cdb2e51b,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
  790. Boot0003* Linpus lite HD(1,MBR,0x22,0x1f80,0x1d4c300)/File(EFIBootgrubx64.efi)RC
  791. Boot2001* EFI USB Device RC
  792. Boot2002* EFI DVD/CDROM RC
  793. Boot2003* EFI Network RC
  794. chroot /mnt/boot-sav/sda2 uname -r
  795. Kernel: 4.4.0-21-generic
  796. Reinstall the grub-efi-amd64-signed of sda2
  797. Installing for x86_64-efi platform.
  798. Installation finished. No error reported.
  799. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  800. ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot
  801. ls sda1: Boot
  802. EFI
  803. Microsoft
  804. ubuntu . Please report this message to [email protected]
  805. df /dev/sda1
  806. cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  807. df /dev/sda1
  808. cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  809. df /dev/sda1
  810. cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi (& .grb)
  811. 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
  812. ls sda1: Boot
  813. EFI
  814. Microsoft
  815. ubuntu . Please report this message to [email protected]
  816. Add /mnt/boot-sav/sda2/boot/efi efi entries in /mnt/boot-sav/sda2/etc/grub.d/25_custom
  817. Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/fwupx64.efi
  818. Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/MokManager.efi
  819. chroot /mnt/boot-sav/sda2 efibootmgr -v
  820. BootCurrent: 0003
  821. Timeout: 0 seconds
  822. BootOrder: 0000,0001,0003,2001,2002,2003
  823. Boot0000* ubuntu HD(1,GPT,63e76071-6a62-420c-b1d8-e059cdb2e51b,0x800,0x100000)/File(EFIubuntushimx64.efi)
  824. Boot0001* Windows Boot Manager HD(1,GPT,63e76071-6a62-420c-b1d8-e059cdb2e51b,0x800,0x100000)/File(EFIMicrosoftBootbootmgfw.efi)RC
  825. Boot0002* Unknown Device: HD(1,GPT,63e76071-6a62-420c-b1d8-e059cdb2e51b,0x800,0x100000)/File(EFIubuntushimx64.efi)RC
  826. Boot0003* Linpus lite HD(1,MBR,0x22,0x1f80,0x1d4c300)/File(EFIBootgrubx64.efi)RC
  827. Boot2001* EFI USB Device RC
  828. Boot2002* EFI DVD/CDROM RC
  829. Boot2003* EFI Network RC
  830. chroot /mnt/boot-sav/sda2 update-grub
  831. Generating grub configuration file ...
  832. Found linux image: /boot/vmlinuz-4.4.0-34-generic
  833. Found initrd image: /boot/initrd.img-4.4.0-34-generic
  834. Found linux image: /boot/vmlinuz-4.4.0-21-generic
  835. Found initrd image: /boot/initrd.img-4.4.0-21-generic
  836. Adding boot menu entry for EFI firmware configuration
  837. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  838. Boot successfully repaired.
  839. You can now reboot your computer.
  840. paste.ubuntu.com ko (), using paste.debian
  841. paste.debian.net ko (), using paste2