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 (3.61-4.03) is installed in the MBR of /dev/sdb.
  5. sda1: __________________________________________________________________________
  6. File system: vfat
  7. Boot sector type: FAT32
  8. Boot sector info: No errors found in the Boot Parameter Block.
  9. Operating System:
  10. Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/fwupx64.efi
  11. /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi
  12. /EFI/ubuntu/shimx64.efi
  13. /EFI/Microsoft/Boot/bootmgfw.efi
  14. /EFI/Microsoft/Boot/bootx64.efi
  15. sda2: __________________________________________________________________________
  16. File system: ext4
  17. Boot sector type: -
  18. Boot sector info:
  19. Operating System: Ubuntu 16.04.2 LTS
  20. Boot files: /boot/grub/grub.cfg /etc/fstab
  21. sda3: __________________________________________________________________________
  22. File system: swap
  23. Boot sector type: -
  24. Boot sector info:
  25. sdb1: __________________________________________________________________________
  26. File system: vfat
  27. Boot sector type: SYSLINUX 4.03 2010-10-22 ........>..sr>........ .9...0...~.....~...f...M.f.f....f..0~....>E}.u......
  28. Boot sector info: Syslinux looks at sector 3144736 of /dev/sdb1 for its
  29. second stage. SYSLINUX is installed in the directory.
  30. No errors found in the Boot Parameter Block.
  31. Operating System:
  32. Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
  33. /EFI/BOOT/grubx64.efi /ldlinux.sys
  34. ============================ Drive/Partition Info: =============================
  35. Drive: sda _____________________________________________________________________
  36. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  37. Units: sectors of 1 * 512 = 512 bytes
  38. Sector size (logical/physical): 512 bytes / 4096 bytes
  39. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  40. Disklabel type: gpt
  41. Partition Boot Start Sector End Sector # of Sectors Id System
  42. /dev/sda1 1 976,773,167 976,773,167 ee GPT
  43. GUID Partition Table detected.
  44. Partition Attrs Start Sector End Sector # of Sectors System
  45. /dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
  46. /dev/sda2 1,050,624 969,517,055 968,466,432 Data partition (Linux)
  47. /dev/sda3 969,517,056 976,771,071 7,254,016 Swap partition (Linux)
  48. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  49. Drive: sdb _____________________________________________________________________
  50. Disk /dev/sdb: 29.3 GiB, 31482445824 bytes, 61489152 sectors
  51. Units: sectors of 1 * 512 = 512 bytes
  52. Sector size (logical/physical): 512 bytes / 512 bytes
  53. I/O size (minimum/optimal): 512 bytes / 512 bytes
  54. Disklabel type: dos
  55. Partition Boot Start Sector End Sector # of Sectors Id System
  56. /dev/sdb1 * 2,048 61,489,151 61,487,104 c W95 FAT32 (LBA)
  57. "blkid" output: ________________________________________________________________
  58. Device UUID TYPE LABEL
  59. /dev/loop0 squashfs
  60. /dev/sda1 C137-8FB5 vfat
  61. /dev/sda2 208fe0b3-66b7-4f0d-a5d6-70c343428b2a ext4
  62. /dev/sda3 abc17221-63eb-43d6-bcd0-83ace2306092 swap
  63. /dev/sdb1 20B9-3595 vfat UUI
  64. ========================= "ls -l /dev/disk/by-id" output: ======================
  65. total 0
  66. lrwxrwxrwx 1 root root 9 Aug 2 16:54 ata-Slimtype_DVD_A_DA8AESH_0080F01164116E09F101 -> ../../sr0
  67. lrwxrwxrwx 1 root root 9 Aug 2 17:01 ata-TOSHIBA_MQ01ABF050_Z664PS0YT -> ../../sda
  68. lrwxrwxrwx 1 root root 10 Aug 2 17:01 ata-TOSHIBA_MQ01ABF050_Z664PS0YT-part1 -> ../../sda1
  69. lrwxrwxrwx 1 root root 10 Aug 2 17:01 ata-TOSHIBA_MQ01ABF050_Z664PS0YT-part2 -> ../../sda2
  70. lrwxrwxrwx 1 root root 10 Aug 2 17:01 ata-TOSHIBA_MQ01ABF050_Z664PS0YT-part3 -> ../../sda3
  71. lrwxrwxrwx 1 root root 9 Aug 2 17:01 usb-SanDisk_Cruzer_Glide_20051737820A35925814-0:0 -> ../../sdb
  72. lrwxrwxrwx 1 root root 10 Aug 2 17:01 usb-SanDisk_Cruzer_Glide_20051737820A35925814-0:0-part1 -> ../../sdb1
  73. lrwxrwxrwx 1 root root 9 Aug 2 17:01 wwn-0x5000039772301463 -> ../../sda
  74. lrwxrwxrwx 1 root root 10 Aug 2 17:01 wwn-0x5000039772301463-part1 -> ../../sda1
  75. lrwxrwxrwx 1 root root 10 Aug 2 17:01 wwn-0x5000039772301463-part2 -> ../../sda2
  76. lrwxrwxrwx 1 root root 10 Aug 2 17:01 wwn-0x5000039772301463-part3 -> ../../sda3
  77. ================================ Mount points: =================================
  78. Device Mount_Point Type Options
  79. /dev/loop0 /rofs squashfs (ro,noatime)
  80. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  81. =========================== sda2/boot/grub/grub.cfg: ===========================
  82. --------------------------------------------------------------------------------
  83. #
  84. # DO NOT EDIT THIS FILE
  85. #
  86. # It is automatically generated by grub-mkconfig using templates
  87. # from /etc/grub.d and settings from /etc/default/grub
  88. #
  89. ### BEGIN /etc/grub.d/00_header ###
  90. if [ -s $prefix/grubenv ]; then
  91. set have_grubenv=true
  92. load_env
  93. fi
  94. if [ "${next_entry}" ] ; then
  95. set default="${next_entry}"
  96. set next_entry=
  97. save_env next_entry
  98. set boot_once=true
  99. else
  100. set default="0"
  101. fi
  102. if [ x"${feature_menuentry_id}" = xy ]; then
  103. menuentry_id_option="--id"
  104. else
  105. menuentry_id_option=""
  106. fi
  107. export menuentry_id_option
  108. if [ "${prev_saved_entry}" ]; then
  109. set saved_entry="${prev_saved_entry}"
  110. save_env saved_entry
  111. set prev_saved_entry=
  112. save_env prev_saved_entry
  113. set boot_once=true
  114. fi
  115. function savedefault {
  116. if [ -z "${boot_once}" ]; then
  117. saved_entry="${chosen}"
  118. save_env saved_entry
  119. fi
  120. }
  121. function recordfail {
  122. set recordfail=1
  123. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  124. }
  125. function load_video {
  126. if [ x$feature_all_video_module = xy ]; then
  127. insmod all_video
  128. else
  129. insmod efi_gop
  130. insmod efi_uga
  131. insmod ieee1275_fb
  132. insmod vbe
  133. insmod vga
  134. insmod video_bochs
  135. insmod video_cirrus
  136. fi
  137. }
  138. if [ x$feature_default_font_path = xy ] ; then
  139. font=unicode
  140. else
  141. insmod part_gpt
  142. insmod ext2
  143. set root='hd0,gpt2'
  144. if [ x$feature_platform_search_hint = xy ]; then
  145. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  146. else
  147. search --no-floppy --fs-uuid --set=root 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  148. fi
  149. font="/usr/share/grub/unicode.pf2"
  150. fi
  151. if loadfont $font ; then
  152. set gfxmode=auto
  153. load_video
  154. insmod gfxterm
  155. set locale_dir=$prefix/locale
  156. set lang=en_US
  157. insmod gettext
  158. fi
  159. terminal_output gfxterm
  160. if [ "${recordfail}" = 1 ] ; then
  161. set timeout=10
  162. else
  163. if [ x$feature_timeout_style = xy ] ; then
  164. set timeout_style=menu
  165. set timeout=10
  166. # Fallback normal timeout code in case the timeout_style feature is
  167. # unavailable.
  168. else
  169. set timeout=10
  170. fi
  171. fi
  172. ### END /etc/grub.d/00_header ###
  173. ### BEGIN /etc/grub.d/05_debian_theme ###
  174. set menu_color_normal=white/black
  175. set menu_color_highlight=black/light-gray
  176. if background_color 44,0,30,0; then
  177. clear
  178. fi
  179. ### END /etc/grub.d/05_debian_theme ###
  180. ### BEGIN /etc/grub.d/10_linux ###
  181. function gfxmode {
  182. set gfxpayload="${1}"
  183. if [ "${1}" = "keep" ]; then
  184. set vt_handoff=vt.handoff=7
  185. else
  186. set vt_handoff=
  187. fi
  188. }
  189. if [ "${recordfail}" != 1 ]; then
  190. if [ -e ${prefix}/gfxblacklist.txt ]; then
  191. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  192. if [ ${match} = 0 ]; then
  193. set linux_gfx_mode=keep
  194. else
  195. set linux_gfx_mode=text
  196. fi
  197. else
  198. set linux_gfx_mode=text
  199. fi
  200. else
  201. set linux_gfx_mode=keep
  202. fi
  203. else
  204. set linux_gfx_mode=text
  205. fi
  206. export linux_gfx_mode
  207. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-208fe0b3-66b7-4f0d-a5d6-70c343428b2a' {
  208. recordfail
  209. load_video
  210. gfxmode $linux_gfx_mode
  211. insmod gzio
  212. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  213. insmod part_gpt
  214. insmod ext2
  215. set root='hd0,gpt2'
  216. if [ x$feature_platform_search_hint = xy ]; then
  217. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  218. else
  219. search --no-floppy --fs-uuid --set=root 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  220. fi
  221. linux /boot/vmlinuz-4.10.0-28-generic.efi.signed root=UUID=208fe0b3-66b7-4f0d-a5d6-70c343428b2a ro quiet splash $vt_handoff
  222. initrd /boot/initrd.img-4.10.0-28-generic
  223. }
  224. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-208fe0b3-66b7-4f0d-a5d6-70c343428b2a' {
  225. menuentry 'Ubuntu, with Linux 4.10.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-advanced-208fe0b3-66b7-4f0d-a5d6-70c343428b2a' {
  226. recordfail
  227. load_video
  228. gfxmode $linux_gfx_mode
  229. insmod gzio
  230. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  231. insmod part_gpt
  232. insmod ext2
  233. set root='hd0,gpt2'
  234. if [ x$feature_platform_search_hint = xy ]; then
  235. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  236. else
  237. search --no-floppy --fs-uuid --set=root 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  238. fi
  239. echo 'Loading Linux 4.10.0-28-generic ...'
  240. linux /boot/vmlinuz-4.10.0-28-generic.efi.signed root=UUID=208fe0b3-66b7-4f0d-a5d6-70c343428b2a ro quiet splash $vt_handoff
  241. echo 'Loading initial ramdisk ...'
  242. initrd /boot/initrd.img-4.10.0-28-generic
  243. }
  244. menuentry 'Ubuntu, with Linux 4.10.0-28-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-init-upstart-208fe0b3-66b7-4f0d-a5d6-70c343428b2a' {
  245. recordfail
  246. load_video
  247. gfxmode $linux_gfx_mode
  248. insmod gzio
  249. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  250. insmod part_gpt
  251. insmod ext2
  252. set root='hd0,gpt2'
  253. if [ x$feature_platform_search_hint = xy ]; then
  254. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  255. else
  256. search --no-floppy --fs-uuid --set=root 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  257. fi
  258. echo 'Loading Linux 4.10.0-28-generic ...'
  259. linux /boot/vmlinuz-4.10.0-28-generic.efi.signed root=UUID=208fe0b3-66b7-4f0d-a5d6-70c343428b2a ro quiet splash $vt_handoff init=/sbin/upstart
  260. echo 'Loading initial ramdisk ...'
  261. initrd /boot/initrd.img-4.10.0-28-generic
  262. }
  263. menuentry 'Ubuntu, with Linux 4.10.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-recovery-208fe0b3-66b7-4f0d-a5d6-70c343428b2a' {
  264. recordfail
  265. load_video
  266. insmod gzio
  267. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  268. insmod part_gpt
  269. insmod ext2
  270. set root='hd0,gpt2'
  271. if [ x$feature_platform_search_hint = xy ]; then
  272. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  273. else
  274. search --no-floppy --fs-uuid --set=root 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  275. fi
  276. echo 'Loading Linux 4.10.0-28-generic ...'
  277. linux /boot/vmlinuz-4.10.0-28-generic.efi.signed root=UUID=208fe0b3-66b7-4f0d-a5d6-70c343428b2a ro recovery nomodeset
  278. echo 'Loading initial ramdisk ...'
  279. initrd /boot/initrd.img-4.10.0-28-generic
  280. }
  281. menuentry 'Ubuntu, with Linux 4.8.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-advanced-208fe0b3-66b7-4f0d-a5d6-70c343428b2a' {
  282. recordfail
  283. load_video
  284. gfxmode $linux_gfx_mode
  285. insmod gzio
  286. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  287. insmod part_gpt
  288. insmod ext2
  289. set root='hd0,gpt2'
  290. if [ x$feature_platform_search_hint = xy ]; then
  291. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  292. else
  293. search --no-floppy --fs-uuid --set=root 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  294. fi
  295. echo 'Loading Linux 4.8.0-36-generic ...'
  296. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=208fe0b3-66b7-4f0d-a5d6-70c343428b2a ro quiet splash $vt_handoff
  297. echo 'Loading initial ramdisk ...'
  298. initrd /boot/initrd.img-4.8.0-36-generic
  299. }
  300. menuentry 'Ubuntu, with Linux 4.8.0-36-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-init-upstart-208fe0b3-66b7-4f0d-a5d6-70c343428b2a' {
  301. recordfail
  302. load_video
  303. gfxmode $linux_gfx_mode
  304. insmod gzio
  305. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  306. insmod part_gpt
  307. insmod ext2
  308. set root='hd0,gpt2'
  309. if [ x$feature_platform_search_hint = xy ]; then
  310. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  311. else
  312. search --no-floppy --fs-uuid --set=root 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  313. fi
  314. echo 'Loading Linux 4.8.0-36-generic ...'
  315. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=208fe0b3-66b7-4f0d-a5d6-70c343428b2a ro quiet splash $vt_handoff init=/sbin/upstart
  316. echo 'Loading initial ramdisk ...'
  317. initrd /boot/initrd.img-4.8.0-36-generic
  318. }
  319. menuentry 'Ubuntu, with Linux 4.8.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-recovery-208fe0b3-66b7-4f0d-a5d6-70c343428b2a' {
  320. recordfail
  321. load_video
  322. insmod gzio
  323. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  324. insmod part_gpt
  325. insmod ext2
  326. set root='hd0,gpt2'
  327. if [ x$feature_platform_search_hint = xy ]; then
  328. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  329. else
  330. search --no-floppy --fs-uuid --set=root 208fe0b3-66b7-4f0d-a5d6-70c343428b2a
  331. fi
  332. echo 'Loading Linux 4.8.0-36-generic ...'
  333. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=208fe0b3-66b7-4f0d-a5d6-70c343428b2a ro recovery nomodeset
  334. echo 'Loading initial ramdisk ...'
  335. initrd /boot/initrd.img-4.8.0-36-generic
  336. }
  337. }
  338. ### END /etc/grub.d/10_linux ###
  339. ### BEGIN /etc/grub.d/20_linux_xen ###
  340. ### END /etc/grub.d/20_linux_xen ###
  341. ### BEGIN /etc/grub.d/20_memtest86+ ###
  342. ### END /etc/grub.d/20_memtest86+ ###
  343. ### BEGIN /etc/grub.d/25_custom ###
  344. menuentry "EFI/ubuntu/fwupx64.efi" {
  345. search --fs-uuid --no-floppy --set=root C137-8FB5
  346. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  347. }
  348. menuentry "EFI/ubuntu/mmx64.efi" {
  349. search --fs-uuid --no-floppy --set=root C137-8FB5
  350. chainloader (${root})/EFI/ubuntu/mmx64.efi
  351. }
  352. ### END /etc/grub.d/25_custom ###
  353. ### BEGIN /etc/grub.d/30_os-prober ###
  354. ### END /etc/grub.d/30_os-prober ###
  355. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  356. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  357. fwsetup
  358. }
  359. ### END /etc/grub.d/30_uefi-firmware ###
  360. ### BEGIN /etc/grub.d/40_custom ###
  361. # This file provides an easy way to add custom menu entries. Simply type the
  362. # menu entries you want to add after this comment. Be careful not to change
  363. # the 'exec tail' line above.
  364. ### END /etc/grub.d/40_custom ###
  365. ### BEGIN /etc/grub.d/41_custom ###
  366. if [ -f ${config_directory}/custom.cfg ]; then
  367. source ${config_directory}/custom.cfg
  368. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  369. source $prefix/custom.cfg;
  370. fi
  371. ### END /etc/grub.d/41_custom ###
  372. --------------------------------------------------------------------------------
  373. =============================== sda2/etc/fstab: ================================
  374. --------------------------------------------------------------------------------
  375. # /etc/fstab: static file system information.
  376. #
  377. # Use 'blkid' to print the universally unique identifier for a
  378. # device; this may be used with UUID= as a more robust way to name devices
  379. # that works even if disks are added and removed. See fstab(5).
  380. #
  381. # <file system> <mount point> <type> <options> <dump> <pass>
  382. # / was on /dev/sda2 during installation
  383. UUID=208fe0b3-66b7-4f0d-a5d6-70c343428b2a / ext4 errors=remount-ro 0 1
  384. # /boot/efi was on /dev/sda1 during installation
  385. #UUID=C137-8FB5 /boot/efi vfat umask=0077 0 1
  386. # swap was on /dev/sda3 during installation
  387. UUID=abc17221-63eb-43d6-bcd0-83ace2306092 none swap sw 0 0
  388. UUID=C137-8FB5 /boot/efi vfat defaults 0 1
  389. --------------------------------------------------------------------------------
  390. =================== sda2: Location of files loaded by Grub: ====================
  391. GiB - GB File Fragment(s)
  392. 24.642250061 = 26.459414528 boot/grub/grub.cfg 1
  393. 369.257865906 = 396.487614464 boot/vmlinuz-4.10.0-28-generic 1
  394. 369.414115906 = 396.655386624 boot/vmlinuz-4.10.0-28-generic.efi.signed 1
  395. 1.675739288 = 1.799311360 boot/vmlinuz-4.8.0-36-generic 2
  396. 1.675739288 = 1.799311360 vmlinuz 2
  397. 369.999443054 = 397.283876864 boot/initrd.img-4.10.0-28-generic 1
  398. 369.578521729 = 396.831916032 boot/initrd.img-4.8.0-36-generic 1
  399. 369.578521729 = 396.831916032 initrd.img 1
  400. 369.578521729 = 396.831916032 initrd.img.old 1
  401. =========================== sdb1/boot/grub/grub.cfg: ===========================
  402. --------------------------------------------------------------------------------
  403. if loadfont /boot/grub/font.pf2 ; then
  404. set gfxmode=auto
  405. insmod efi_gop
  406. insmod efi_uga
  407. insmod gfxterm
  408. terminal_output gfxterm
  409. fi
  410. set menu_color_normal=white/black
  411. set menu_color_highlight=black/light-gray
  412. menuentry "Try Ubuntu without installing" {
  413. set gfxpayload=keep
  414. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  415. initrd /casper/initrd.lz
  416. }
  417. menuentry "Install Ubuntu" {
  418. set gfxpayload=keep
  419. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  420. initrd /casper/initrd.lz
  421. }
  422. menuentry "OEM install (for manufacturers)" {
  423. set gfxpayload=keep
  424. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  425. initrd /casper/initrd.lz
  426. }
  427. menuentry "Check disc for defects" {
  428. set gfxpayload=keep
  429. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  430. initrd /casper/initrd.lz
  431. }
  432. --------------------------------------------------------------------------------
  433. ============================== sdb1/syslinux.cfg: ==============================
  434. --------------------------------------------------------------------------------
  435. default menu.c32
  436. prompt 0
  437. menu title UNetbootin
  438. timeout 100
  439. label unetbootindefault
  440. menu label Default
  441. kernel /ubnkern
  442. append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  443. label ubnentry0
  444. menu label ^Help
  445. kernel /ubnkern
  446. append initrd=/ubninit
  447. label ubnentry1
  448. menu label ^Try Ubuntu without installing
  449. kernel /casper/vmlinuz.efi
  450. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  451. label ubnentry2
  452. menu label ^Install Ubuntu
  453. kernel /casper/vmlinuz.efi
  454. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  455. label ubnentry3
  456. menu label ^Check disc for defects
  457. kernel /casper/vmlinuz.efi
  458. append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash ---
  459. label ubnentry4
  460. menu label Test ^memory
  461. kernel /install/mt86plus
  462. append initrd=/ubninit
  463. label ubnentry5
  464. menu label ^Boot from first hard disk
  465. kernel /ubnkern
  466. append initrd=/ubninit
  467. label ubnentry6
  468. menu label Try Ubuntu without installing
  469. kernel /casper/vmlinuz.efi
  470. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  471. label ubnentry7
  472. menu label Install Ubuntu
  473. kernel /casper/vmlinuz.efi
  474. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  475. label ubnentry8
  476. menu label OEM install (for manufacturers)
  477. kernel /casper/vmlinuz.efi
  478. append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  479. label ubnentry9
  480. menu label Check disc for defects
  481. kernel /casper/vmlinuz.efi
  482. append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash ---
  483. --------------------------------------------------------------------------------
  484. =================== sdb1: Location of files loaded by Grub: ====================
  485. GiB - GB File Fragment(s)
  486. ?? = ?? boot/grub/grub.cfg 1
  487. ================= sdb1: Location of files loaded by Syslinux: ==================
  488. GiB - GB File Fragment(s)
  489. ?? = ?? syslinux.cfg 1
  490. ?? = ?? ldlinux.sys 1
  491. ?? = ?? menu.c32 1
  492. ============== sdb1: Version of COM32(R) files used by Syslinux: ===============
  493. menu.c32 : COM32R module (v4.xx)
  494. =============================== StdErr Messages: ===============================
  495. File descriptor 9 (/proc/5539/mounts) leaked on lvs invocation. Parent PID 14346: bash
  496. File descriptor 63 (pipe:[44002]) leaked on lvs invocation. Parent PID 14346: bash
  497. ADDITIONAL INFORMATION :
  498. =================== log of boot-repair 2017-08-02__17h01 ===================
  499. boot-repair version : 4ppa40
  500. boot-sav version : 4ppa40
  501. glade2script version : 3.2.3~ppa1
  502. boot-sav-extra version : 4ppa40
  503. boot-repair is executed in live-session (Ubuntu 16.04.2 LTS, xenial, Ubuntu, x86_64)
  504. CPU op-mode(s): 32-bit, 64-bit
  505. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  506. ls: cannot access '/home/usr/.config': No such file or directory
  507. =================== os-prober:
  508. /dev/sda2:Ubuntu 16.04.2 LTS (16.04):Ubuntu:linux
  509. =================== blkid:
  510. /dev/sda1: UUID="C137-8FB5" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="f3516a31-ad87-41ff-8b9d-a4fb827e37f3"
  511. /dev/sda2: UUID="208fe0b3-66b7-4f0d-a5d6-70c343428b2a" TYPE="ext4" PARTUUID="573a222e-89b9-410d-8d66-afb7e0ea767d"
  512. /dev/sdb1: LABEL="UUI" UUID="20B9-3595" TYPE="vfat" PARTUUID="aa686f4f-01"
  513. /dev/loop0: TYPE="squashfs"
  514. /dev/sda3: UUID="abc17221-63eb-43d6-bcd0-83ace2306092" TYPE="swap" PARTUUID="92182233-ea91-4007-8bb1-d75209cfc427"
  515. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  516. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
  517. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootx64.efi
  518. Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
  519. =================== sda2/etc/grub.d/ :
  520. drwxr-xr-x 2 root root 4096 Aug 2 16:51 grub.d
  521. total 84
  522. -rwxr-xr-x 1 root root 9791 Jan 13 2017 00_header
  523. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  524. -rwxr-xr-x 1 root root 12512 Jun 21 04:11 10_linux
  525. -rwxr-xr-x 1 root root 11082 Jan 13 2017 20_linux_xen
  526. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  527. -rwxr-xr-x 1 root root 295 Aug 2 16:51 25_custom
  528. -rwxr-xr-x 1 root root 11692 Jan 13 2017 30_os-prober
  529. -rwxr-xr-x 1 root root 1418 Jan 13 2017 30_uefi-firmware
  530. -rwxr-xr-x 1 root root 214 Jan 13 2017 40_custom
  531. -rwxr-xr-x 1 root root 216 Jan 13 2017 41_custom
  532. -rw-r--r-- 1 root root 483 Jan 13 2017 README
  533. =================== sda2/etc/default/grub :
  534. # If you change this file, run 'update-grub' afterwards to update
  535. # /boot/grub/grub.cfg.
  536. # For full documentation of the options in this file, see:
  537. # info -f grub -n 'Simple configuration'
  538. GRUB_DEFAULT=0
  539. #GRUB_HIDDEN_TIMEOUT=0
  540. GRUB_HIDDEN_TIMEOUT_QUIET=true
  541. GRUB_TIMEOUT=10
  542. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  543. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  544. GRUB_CMDLINE_LINUX=""
  545. # Uncomment to enable BadRAM filtering, modify to suit your needs
  546. # This works with Linux (no patch required) and with any kernel that obtains
  547. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  548. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  549. # Uncomment to disable graphical terminal (grub-pc only)
  550. #GRUB_TERMINAL=console
  551. # The resolution used on graphical terminal
  552. # note that you can use only modes which your graphic card supports via VBE
  553. # you can see them in real GRUB with the command `vbeinfo'
  554. #GRUB_GFXMODE=640x480
  555. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  556. #GRUB_DISABLE_LINUX_UUID=true
  557. # Uncomment to disable generation of recovery mode menu entries
  558. #GRUB_DISABLE_RECOVERY="true"
  559. # Uncomment to get a beep at grub start
  560. #GRUB_INIT_TUNE="480 440 1"
  561. /boot/efi detected in the fstab of sda2: UUID=C137-8FB5 (sda1)
  562. =================== efibootmgr -v
  563. BootCurrent: 0000
  564. Timeout: 0 seconds
  565. BootOrder: 2001,2002,2003
  566. Boot0000* USB HDD: SanDisk PciRoot(0x0)/Pci(0x10,0x0)/USB(3,0)/HD(1,MBR,0x79,0x800,0x3aa3800)RC
  567. Boot0001* Unknown Device: MemoryMapped(11,0xb85e8000,0xb8d13fff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  568. Boot0002* Unknown Device: MemoryMapped(11,0xb85e8000,0xb8d13fff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  569. Boot0003* ubuntu HD(1,GPT,f3516a31-ad87-41ff-8b9d-a4fb827e37f3,0x800,0x100000)/File(EFIubuntushimx64.efi)
  570. Boot0004* Unknown Device: MemoryMapped(11,0xb85e8000,0xb8d13fff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  571. Boot2001* EFI USB Device RC
  572. Boot2002* EFI DVD/CDROM RC
  573. Boot2003* EFI Network RC
  574. =================== UEFI/Legacy mode:
  575. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  576. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  577. =================== PARTITIONS & DISKS:
  578. 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, /mnt/boot-sav/sda1.
  579. 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.
  580. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  581. =================== parted -l:
  582. Model: ATA TOSHIBA MQ01ABF0 (scsi)
  583. Disk /dev/sda: 500GB
  584. Sector size (logical/physical): 512B/4096B
  585. Partition Table: gpt
  586. Disk Flags:
  587. Number Start End Size File system Name Flags
  588. 1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
  589. 2 538MB 496GB 496GB ext4
  590. 3 496GB 500GB 3714MB linux-swap(v1)
  591. Model: SanDisk Cruzer Glide (scsi)
  592. Disk /dev/sdb: 31.5GB
  593. Sector size (logical/physical): 512B/512B
  594. Partition Table: msdos
  595. Disk Flags:
  596. Number Start End Size Type File system Flags
  597. 1 1049kB 31.5GB 31.5GB primary fat32 boot, lba
  598. =================== parted -lm:
  599. BYT;
  600. /dev/sda:500GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABF0:;
  601. 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
  602. 2:538MB:496GB:496GB:ext4::;
  603. 3:496GB:500GB:3714MB:linux-swap(v1)::;
  604. BYT;
  605. /dev/sdb:31.5GB:scsi:512:512:msdos:SanDisk Cruzer Glide:;
  606. 1:1049kB:31.5GB:31.5GB:fat32::boot, lba;
  607. =================== lsblk:
  608. KNAME TYPE FSTYPE SIZE LABEL
  609. sdb disk 29.3G
  610. sdb1 part vfat 29.3G UUI
  611. sr0 rom 1024M
  612. loop0 loop squashfs 1.4G
  613. sda disk 465.8G
  614. sda2 part ext4 461.8G
  615. sda3 part swap 3.5G
  616. sda1 part vfat 512M
  617. KNAME ROTA RO RM STATE MOUNTPOINT
  618. sdb 1 0 1 running
  619. sdb1 1 0 1 /cdrom
  620. sr0 1 0 1 running
  621. loop0 1 1 0 /rofs
  622. sda 1 0 0 running
  623. sda2 1 0 0 /mnt/boot-sav/sda2
  624. sda3 1 0 0 [SWAP]
  625. sda1 1 0 0 /mnt/boot-sav/sda1
  626. =================== mount:
  627. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  628. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  629. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1728220k,nr_inodes=432055,mode=755)
  630. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  631. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=348764k,mode=755)
  632. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  633. /dev/loop0 on /rofs type squashfs (ro,noatime)
  634. aufs on / type aufs (rw,noatime,si=3db2b9b61f56139)
  635. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  636. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  637. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  638. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  639. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  640. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  641. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  642. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  643. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  644. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  645. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  646. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  647. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  648. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  649. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  650. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  651. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  652. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12410)
  653. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  654. mqueue on /dev/mqueue type mqueue (rw,relatime)
  655. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  656. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  657. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  658. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  659. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=348764k,mode=700,uid=999,gid=999)
  660. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  661. /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)
  662. /dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)
  663. =================== ls:
  664. /sys/block/sda (filtered): alignment_offset badblocks 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
  665. /sys/block/sdb (filtered): alignment_offset badblocks 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
  666. /sys/block/sr0 (filtered): alignment_offset badblocks 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
  667. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kfd kmsg kvm lightnvm log mapper mcelog media0 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 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  668. ls /dev/mapper: control
  669. =================== hexdump -n512 -C /dev/sda1
  670. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  671. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  672. 00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
  673. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  674. 00000040 80 01 29 b5 8f 37 c1 4e 4f 20 4e 41 4d 45 20 20 |..)..7.NO NAME |
  675. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  676. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  677. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  678. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  679. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  680. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  681. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  682. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  683. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  684. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  685. *
  686. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  687. 00000200
  688. =================== df -Th:
  689. Filesystem Type Size Used Avail Use% Mounted on
  690. udev devtmpfs 1.7G 0 1.7G 0% /dev
  691. tmpfs tmpfs 341M 5.7M 335M 2% /run
  692. /dev/sdb1 vfat 30G 1.5G 28G 6% /cdrom
  693. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  694. aufs aufs 1.7G 72M 1.6G 5% /
  695. tmpfs tmpfs 1.7G 25M 1.7G 2% /dev/shm
  696. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  697. tmpfs tmpfs 1.7G 0 1.7G 0% /sys/fs/cgroup
  698. tmpfs tmpfs 1.7G 256K 1.7G 1% /tmp
  699. tmpfs tmpfs 341M 100K 341M 1% /run/user/999
  700. /dev/sda1 vfat 511M 6.8M 505M 2% /mnt/boot-sav/sda1
  701. /dev/sda2 ext4 455G 4.3G 428G 1% /mnt/boot-sav/sda2
  702. =================== fdisk -l:
  703. Disk /dev/ram0: 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/ram1: 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/ram2: 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/ram3: 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/ram4: 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/ram5: 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/ram6: 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/ram7: 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/ram8: 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/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  740. Units: sectors of 1 * 512 = 512 bytes
  741. Sector size (logical/physical): 512 bytes / 4096 bytes
  742. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  743. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 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. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  748. Units: sectors of 1 * 512 = 512 bytes
  749. Sector size (logical/physical): 512 bytes / 4096 bytes
  750. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  751. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  752. Units: sectors of 1 * 512 = 512 bytes
  753. Sector size (logical/physical): 512 bytes / 4096 bytes
  754. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  755. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  756. Units: sectors of 1 * 512 = 512 bytes
  757. Sector size (logical/physical): 512 bytes / 4096 bytes
  758. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  759. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  760. Units: sectors of 1 * 512 = 512 bytes
  761. Sector size (logical/physical): 512 bytes / 4096 bytes
  762. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  763. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  764. Units: sectors of 1 * 512 = 512 bytes
  765. Sector size (logical/physical): 512 bytes / 4096 bytes
  766. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  767. Disk /dev/loop0: 1.4 GiB, 1497772032 bytes, 2925336 sectors
  768. Units: sectors of 1 * 512 = 512 bytes
  769. Sector size (logical/physical): 512 bytes / 512 bytes
  770. I/O size (minimum/optimal): 512 bytes / 512 bytes
  771. Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  772. Units: sectors of 1 * 512 = 512 bytes
  773. Sector size (logical/physical): 512 bytes / 4096 bytes
  774. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  775. Disklabel type: gpt
  776. Disk identifier: 40021465-9792-4507-885D-A377ABB07B86
  777. Device Start End Sectors Size Type
  778. /dev/sda1 2048 1050623 1048576 512M EFI System
  779. /dev/sda2 1050624 969517055 968466432 461.8G Linux filesystem
  780. /dev/sda3 969517056 976771071 7254016 3.5G Linux swap
  781. Disk /dev/sdb: 29.3 GiB, 31482445824 bytes, 61489152 sectors
  782. Units: sectors of 1 * 512 = 512 bytes
  783. Sector size (logical/physical): 512 bytes / 512 bytes
  784. I/O size (minimum/optimal): 512 bytes / 512 bytes
  785. Disklabel type: dos
  786. Disk identifier: 0xaa686f4f
  787. Device Boot Start End Sectors Size Id Type
  788. /dev/sdb1 * 2048 61489151 61487104 29.3G c W95 FAT32 (LBA)
  789. =================== Recommended repair
  790. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
  791. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  792. rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi.grb
  793. rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi.grb
  794. rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi.grb
  795. Mount sda1 on /mnt/boot-sav/sda2/boot/efi
  796. ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot
  797. *******lspci -nnk | grep -iA3 vga
  798. 00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] [1002:9851] (rev 45)
  799. Subsystem: Acer Incorporated [ALI] Mullins [Radeon R4/R5 Graphics] [1025:0960]
  800. Kernel driver in use: radeon
  801. Kernel modules: radeon
  802. *******
  803. grub-install --version
  804. grub-install (GRUB) 2.02~beta2-36ubuntu3.12,grub-install (GRUB) 2.
  805. chroot /mnt/boot-sav/sda2 efibootmgr -v
  806. BootCurrent: 0000
  807. Timeout: 0 seconds
  808. BootOrder: 2001,2002,2003
  809. Boot0000* USB HDD: SanDisk PciRoot(0x0)/Pci(0x10,0x0)/USB(3,0)/HD(1,MBR,0x79,0x800,0x3aa3800)RC
  810. Boot0001* Unknown Device: MemoryMapped(11,0xb85e8000,0xb8d13fff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  811. Boot0002* Unknown Device: MemoryMapped(11,0xb85e8000,0xb8d13fff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  812. Boot0003* ubuntu HD(1,GPT,f3516a31-ad87-41ff-8b9d-a4fb827e37f3,0x800,0x100000)/File(EFIubuntushimx64.efi)
  813. Boot0004* Unknown Device: MemoryMapped(11,0xb85e8000,0xb8d13fff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  814. Boot2001* EFI USB Device RC
  815. Boot2002* EFI DVD/CDROM RC
  816. Boot2003* EFI Network RC
  817. chroot /mnt/boot-sav/sda2 uname -r
  818. Kernel: 4.8.0-36-generic
  819. Reinstall the grub-efi-amd64-signed of sda2
  820. Installing for x86_64-efi platform.
  821. Installation finished. No error reported.
  822. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  823. mv 25_custom
  824. ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot
  825. df /dev/sda1
  826. cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  827. df /dev/sda1
  828. cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  829. df /dev/sda1
  830. cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi (& .grb)
  831. 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/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
  832. Add /mnt/boot-sav/sda2/boot/efi efi entries in /mnt/boot-sav/sda2/etc/grub.d/25_custom
  833. Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/fwupx64.efi
  834. Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/mmx64.efi
  835. chroot /mnt/boot-sav/sda2 efibootmgr -v
  836. BootCurrent: 0000
  837. Timeout: 0 seconds
  838. BootOrder: 0003,2001,2002,2003
  839. Boot0000* USB HDD: SanDisk PciRoot(0x0)/Pci(0x10,0x0)/USB(3,0)/HD(1,MBR,0x79,0x800,0x3aa3800)RC
  840. Boot0001* Unknown Device: MemoryMapped(11,0xb85e8000,0xb8d13fff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  841. Boot0002* Unknown Device: MemoryMapped(11,0xb85e8000,0xb8d13fff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  842. Boot0003* ubuntu HD(1,GPT,f3516a31-ad87-41ff-8b9d-a4fb827e37f3,0x800,0x100000)/File(EFIubuntushimx64.efi)
  843. Boot0004* Unknown Device: MemoryMapped(11,0xb85e8000,0xb8d13fff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0
  844. Boot2001* EFI USB Device RC
  845. Boot2002* EFI DVD/CDROM RC
  846. Boot2003* EFI Network RC
  847. chroot /mnt/boot-sav/sda2 update-grub
  848. Generating grub configuration file ...
  849. Found linux image: /boot/vmlinuz-4.10.0-28-generic
  850. Found initrd image: /boot/initrd.img-4.10.0-28-generic
  851. Found linux image: /boot/vmlinuz-4.8.0-36-generic
  852. Found initrd image: /boot/initrd.img-4.8.0-36-generic
  853. Adding boot menu entry for EFI firmware configuration
  854. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  855. Boot successfully repaired.
  856. You can now reboot your computer.