1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2. ============================= Boot Info Summary: ===============================
  3. => Syslinux GPTMBR (3.74-4.03) is installed in the MBR of /dev/sda.
  4. => No known boot loader 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/MokManager.efi
  11. /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.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.1 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: iso9660
  27. Boot sector type: Unknown
  28. Boot sector info:
  29. Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
  30. sdb2: __________________________________________________________________________
  31. File system: vfat
  32. Boot sector type: FAT16
  33. Boot sector info: According to the info in the boot sector, sdb2 starts
  34. at sector 0. But according to the info from fdisk,
  35. sdb2 starts at sector 2927216. According to the info
  36. in the boot sector, sdb2 has 0 sectors.
  37. Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
  38. mount: /dev/sdb2 is already mounted or /mnt/BootInfo/sdb2 busy
  39. ============================ Drive/Partition Info: =============================
  40. Drive: sda _____________________________________________________________________
  41. Disk /dev/sda: 55.9 GiB, 60022480896 bytes, 117231408 sectors
  42. Units: sectors of 1 * 512 = 512 bytes
  43. Sector size (logical/physical): 512 bytes / 512 bytes
  44. I/O size (minimum/optimal): 512 bytes / 512 bytes
  45. Disklabel type: gpt
  46. Partition Boot Start Sector End Sector # of Sectors Id System
  47. /dev/sda1 1 117,231,407 117,231,407 ee GPT
  48. GUID Partition Table detected.
  49. Partition Attrs Start Sector End Sector # of Sectors System
  50. /dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
  51. /dev/sda2 1,050,624 96,516,095 95,465,472 Data partition (Linux)
  52. /dev/sda3 96,516,096 117,229,567 20,713,472 Swap partition (Linux)
  53. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  54. Drive: sdb _____________________________________________________________________
  55. Disk /dev/sdb: 14.9 GiB, 16018046976 bytes, 31285248 sectors
  56. Units: sectors of 1 * 512 = 512 bytes
  57. Sector size (logical/physical): 512 bytes / 512 bytes
  58. I/O size (minimum/optimal): 512 bytes / 512 bytes
  59. Disklabel type: dos
  60. Partition Boot Start Sector End Sector # of Sectors Id System
  61. /dev/sdb1 * 0 2,955,679 2,955,680 0 Empty
  62. /dev/sdb2 2,927,216 2,931,951 4,736 ef EFI (FAT-12/16/32)
  63. /dev/sdb1 overlaps with /dev/sdb2
  64. GUID Partition Table detected, but does not seem to be used.
  65. Partition Attrs Start Sector End Sector # of Sectors System
  66. /dev/sdb1 + R 0 2,955,623 2,955,624 Data partition (Windows/Linux)
  67. /dev/sdb2 + R 2,927,216 2,931,951 4,736 Data partition (Windows/Linux)
  68. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  69. "blkid" output: ________________________________________________________________
  70. Device UUID TYPE LABEL
  71. /dev/loop0 squashfs
  72. /dev/sda1 EDE3-7040 vfat
  73. /dev/sda2 51bde89e-9b14-4e9a-96b7-4b03fa711dd0 ext4
  74. /dev/sda3 1c0e8322-7d6c-4231-ab3f-3211ba924a9e swap
  75. /dev/sdb1 2016-07-19-21-27-51-00 iso9660 Ubuntu 16.04.1 LTS amd64
  76. /dev/sdb2 0F7B-9366 vfat
  77. ========================= "ls -l /dev/disk/by-id" output: ======================
  78. total 0
  79. lrwxrwxrwx 1 root root 9 Dec 20 19:58 ata-MKNSSDCR60GB-7_MK150204AS1704446 -> ../../sda
  80. lrwxrwxrwx 1 root root 10 Dec 20 19:58 ata-MKNSSDCR60GB-7_MK150204AS1704446-part1 -> ../../sda1
  81. lrwxrwxrwx 1 root root 10 Dec 20 19:58 ata-MKNSSDCR60GB-7_MK150204AS1704446-part2 -> ../../sda2
  82. lrwxrwxrwx 1 root root 10 Dec 20 19:58 ata-MKNSSDCR60GB-7_MK150204AS1704446-part3 -> ../../sda3
  83. lrwxrwxrwx 1 root root 9 Dec 20 19:58 usb-Lexar_USB_Flash_Drive_AAX143E7AMOTP9OJ-0:0 -> ../../sdb
  84. lrwxrwxrwx 1 root root 10 Dec 20 19:58 usb-Lexar_USB_Flash_Drive_AAX143E7AMOTP9OJ-0:0-part1 -> ../../sdb1
  85. lrwxrwxrwx 1 root root 10 Dec 20 19:58 usb-Lexar_USB_Flash_Drive_AAX143E7AMOTP9OJ-0:0-part2 -> ../../sdb2
  86. ================================ Mount points: =================================
  87. Device Mount_Point Type Options
  88. /dev/loop0 /rofs squashfs (ro,noatime)
  89. /dev/sdb /cdrom iso9660 (ro,noatime)
  90. =========================== sda2/boot/grub/grub.cfg: ===========================
  91. --------------------------------------------------------------------------------
  92. #
  93. # DO NOT EDIT THIS FILE
  94. #
  95. # It is automatically generated by grub-mkconfig using templates
  96. # from /etc/grub.d and settings from /etc/default/grub
  97. #
  98. ### BEGIN /etc/grub.d/00_header ###
  99. if [ -s $prefix/grubenv ]; then
  100. set have_grubenv=true
  101. load_env
  102. fi
  103. if [ "${next_entry}" ] ; then
  104. set default="${next_entry}"
  105. set next_entry=
  106. save_env next_entry
  107. set boot_once=true
  108. else
  109. set default="0"
  110. fi
  111. if [ x"${feature_menuentry_id}" = xy ]; then
  112. menuentry_id_option="--id"
  113. else
  114. menuentry_id_option=""
  115. fi
  116. export menuentry_id_option
  117. if [ "${prev_saved_entry}" ]; then
  118. set saved_entry="${prev_saved_entry}"
  119. save_env saved_entry
  120. set prev_saved_entry=
  121. save_env prev_saved_entry
  122. set boot_once=true
  123. fi
  124. function savedefault {
  125. if [ -z "${boot_once}" ]; then
  126. saved_entry="${chosen}"
  127. save_env saved_entry
  128. fi
  129. }
  130. function recordfail {
  131. set recordfail=1
  132. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  133. }
  134. function load_video {
  135. if [ x$feature_all_video_module = xy ]; then
  136. insmod all_video
  137. else
  138. insmod efi_gop
  139. insmod efi_uga
  140. insmod ieee1275_fb
  141. insmod vbe
  142. insmod vga
  143. insmod video_bochs
  144. insmod video_cirrus
  145. fi
  146. }
  147. if [ x$feature_default_font_path = xy ] ; then
  148. font=unicode
  149. else
  150. insmod part_gpt
  151. insmod ext2
  152. set root='hd0,gpt2'
  153. if [ x$feature_platform_search_hint = xy ]; then
  154. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  155. else
  156. search --no-floppy --fs-uuid --set=root 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  157. fi
  158. font="/usr/share/grub/unicode.pf2"
  159. fi
  160. if loadfont $font ; then
  161. set gfxmode=auto
  162. load_video
  163. insmod gfxterm
  164. set locale_dir=$prefix/locale
  165. set lang=en_US
  166. insmod gettext
  167. fi
  168. terminal_output gfxterm
  169. if [ "${recordfail}" = 1 ] ; then
  170. set timeout=10
  171. else
  172. if [ x$feature_timeout_style = xy ] ; then
  173. set timeout_style=menu
  174. set timeout=10
  175. # Fallback normal timeout code in case the timeout_style feature is
  176. # unavailable.
  177. else
  178. set timeout=10
  179. fi
  180. fi
  181. ### END /etc/grub.d/00_header ###
  182. ### BEGIN /etc/grub.d/05_debian_theme ###
  183. set menu_color_normal=white/black
  184. set menu_color_highlight=black/light-gray
  185. if background_color 44,0,30,0; then
  186. clear
  187. fi
  188. ### END /etc/grub.d/05_debian_theme ###
  189. ### BEGIN /etc/grub.d/10_linux ###
  190. function gfxmode {
  191. set gfxpayload="${1}"
  192. if [ "${1}" = "keep" ]; then
  193. set vt_handoff=vt.handoff=7
  194. else
  195. set vt_handoff=
  196. fi
  197. }
  198. if [ "${recordfail}" != 1 ]; then
  199. if [ -e ${prefix}/gfxblacklist.txt ]; then
  200. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  201. if [ ${match} = 0 ]; then
  202. set linux_gfx_mode=keep
  203. else
  204. set linux_gfx_mode=text
  205. fi
  206. else
  207. set linux_gfx_mode=text
  208. fi
  209. else
  210. set linux_gfx_mode=keep
  211. fi
  212. else
  213. set linux_gfx_mode=text
  214. fi
  215. export linux_gfx_mode
  216. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-51bde89e-9b14-4e9a-96b7-4b03fa711dd0' {
  217. recordfail
  218. load_video
  219. gfxmode $linux_gfx_mode
  220. insmod gzio
  221. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  222. insmod part_gpt
  223. insmod ext2
  224. set root='hd0,gpt2'
  225. if [ x$feature_platform_search_hint = xy ]; then
  226. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  227. else
  228. search --no-floppy --fs-uuid --set=root 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  229. fi
  230. linux /boot/vmlinuz-4.4.0-53-generic.efi.signed root=UUID=51bde89e-9b14-4e9a-96b7-4b03fa711dd0 ro quiet splash $vt_handoff
  231. initrd /boot/initrd.img-4.4.0-53-generic
  232. }
  233. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-51bde89e-9b14-4e9a-96b7-4b03fa711dd0' {
  234. menuentry 'Ubuntu, with Linux 4.4.0-53-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-53-generic-advanced-51bde89e-9b14-4e9a-96b7-4b03fa711dd0' {
  235. recordfail
  236. load_video
  237. gfxmode $linux_gfx_mode
  238. insmod gzio
  239. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  240. insmod part_gpt
  241. insmod ext2
  242. set root='hd0,gpt2'
  243. if [ x$feature_platform_search_hint = xy ]; then
  244. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  245. else
  246. search --no-floppy --fs-uuid --set=root 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  247. fi
  248. echo 'Loading Linux 4.4.0-53-generic ...'
  249. linux /boot/vmlinuz-4.4.0-53-generic.efi.signed root=UUID=51bde89e-9b14-4e9a-96b7-4b03fa711dd0 ro quiet splash $vt_handoff
  250. echo 'Loading initial ramdisk ...'
  251. initrd /boot/initrd.img-4.4.0-53-generic
  252. }
  253. menuentry 'Ubuntu, with Linux 4.4.0-53-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-53-generic-init-upstart-51bde89e-9b14-4e9a-96b7-4b03fa711dd0' {
  254. recordfail
  255. load_video
  256. gfxmode $linux_gfx_mode
  257. insmod gzio
  258. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  259. insmod part_gpt
  260. insmod ext2
  261. set root='hd0,gpt2'
  262. if [ x$feature_platform_search_hint = xy ]; then
  263. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  264. else
  265. search --no-floppy --fs-uuid --set=root 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  266. fi
  267. echo 'Loading Linux 4.4.0-53-generic ...'
  268. linux /boot/vmlinuz-4.4.0-53-generic.efi.signed root=UUID=51bde89e-9b14-4e9a-96b7-4b03fa711dd0 ro quiet splash $vt_handoff init=/sbin/upstart
  269. echo 'Loading initial ramdisk ...'
  270. initrd /boot/initrd.img-4.4.0-53-generic
  271. }
  272. menuentry 'Ubuntu, with Linux 4.4.0-53-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-53-generic-recovery-51bde89e-9b14-4e9a-96b7-4b03fa711dd0' {
  273. recordfail
  274. load_video
  275. insmod gzio
  276. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  277. insmod part_gpt
  278. insmod ext2
  279. set root='hd0,gpt2'
  280. if [ x$feature_platform_search_hint = xy ]; then
  281. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  282. else
  283. search --no-floppy --fs-uuid --set=root 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  284. fi
  285. echo 'Loading Linux 4.4.0-53-generic ...'
  286. linux /boot/vmlinuz-4.4.0-53-generic.efi.signed root=UUID=51bde89e-9b14-4e9a-96b7-4b03fa711dd0 ro recovery nomodeset
  287. echo 'Loading initial ramdisk ...'
  288. initrd /boot/initrd.img-4.4.0-53-generic
  289. }
  290. menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-51bde89e-9b14-4e9a-96b7-4b03fa711dd0' {
  291. recordfail
  292. load_video
  293. gfxmode $linux_gfx_mode
  294. insmod gzio
  295. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  296. insmod part_gpt
  297. insmod ext2
  298. set root='hd0,gpt2'
  299. if [ x$feature_platform_search_hint = xy ]; then
  300. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  301. else
  302. search --no-floppy --fs-uuid --set=root 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  303. fi
  304. echo 'Loading Linux 4.4.0-31-generic ...'
  305. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=51bde89e-9b14-4e9a-96b7-4b03fa711dd0 ro quiet splash $vt_handoff
  306. echo 'Loading initial ramdisk ...'
  307. initrd /boot/initrd.img-4.4.0-31-generic
  308. }
  309. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-51bde89e-9b14-4e9a-96b7-4b03fa711dd0' {
  310. recordfail
  311. load_video
  312. gfxmode $linux_gfx_mode
  313. insmod gzio
  314. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  315. insmod part_gpt
  316. insmod ext2
  317. set root='hd0,gpt2'
  318. if [ x$feature_platform_search_hint = xy ]; then
  319. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  320. else
  321. search --no-floppy --fs-uuid --set=root 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  322. fi
  323. echo 'Loading Linux 4.4.0-31-generic ...'
  324. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=51bde89e-9b14-4e9a-96b7-4b03fa711dd0 ro quiet splash $vt_handoff init=/sbin/upstart
  325. echo 'Loading initial ramdisk ...'
  326. initrd /boot/initrd.img-4.4.0-31-generic
  327. }
  328. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-51bde89e-9b14-4e9a-96b7-4b03fa711dd0' {
  329. recordfail
  330. load_video
  331. insmod gzio
  332. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  333. insmod part_gpt
  334. insmod ext2
  335. set root='hd0,gpt2'
  336. if [ x$feature_platform_search_hint = xy ]; then
  337. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  338. else
  339. search --no-floppy --fs-uuid --set=root 51bde89e-9b14-4e9a-96b7-4b03fa711dd0
  340. fi
  341. echo 'Loading Linux 4.4.0-31-generic ...'
  342. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=51bde89e-9b14-4e9a-96b7-4b03fa711dd0 ro recovery nomodeset
  343. echo 'Loading initial ramdisk ...'
  344. initrd /boot/initrd.img-4.4.0-31-generic
  345. }
  346. }
  347. ### END /etc/grub.d/10_linux ###
  348. ### BEGIN /etc/grub.d/20_linux_xen ###
  349. ### END /etc/grub.d/20_linux_xen ###
  350. ### BEGIN /etc/grub.d/20_memtest86+ ###
  351. ### END /etc/grub.d/20_memtest86+ ###
  352. ### BEGIN /etc/grub.d/25_custom ###
  353. menuentry "EFI/ubuntu/fwupx64.efi" {
  354. search --fs-uuid --no-floppy --set=root EDE3-7040
  355. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  356. }
  357. menuentry "EFI/ubuntu/MokManager.efi" {
  358. search --fs-uuid --no-floppy --set=root EDE3-7040
  359. chainloader (${root})/EFI/ubuntu/MokManager.efi
  360. }
  361. ### END /etc/grub.d/25_custom ###
  362. ### BEGIN /etc/grub.d/30_os-prober ###
  363. ### END /etc/grub.d/30_os-prober ###
  364. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  365. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  366. fwsetup
  367. }
  368. ### END /etc/grub.d/30_uefi-firmware ###
  369. ### BEGIN /etc/grub.d/40_custom ###
  370. # This file provides an easy way to add custom menu entries. Simply type the
  371. # menu entries you want to add after this comment. Be careful not to change
  372. # the 'exec tail' line above.
  373. ### END /etc/grub.d/40_custom ###
  374. ### BEGIN /etc/grub.d/41_custom ###
  375. if [ -f ${config_directory}/custom.cfg ]; then
  376. source ${config_directory}/custom.cfg
  377. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  378. source $prefix/custom.cfg;
  379. fi
  380. ### END /etc/grub.d/41_custom ###
  381. --------------------------------------------------------------------------------
  382. =============================== sda2/etc/fstab: ================================
  383. --------------------------------------------------------------------------------
  384. # /etc/fstab: static file system information.
  385. #
  386. # Use 'blkid' to print the universally unique identifier for a
  387. # device; this may be used with UUID= as a more robust way to name devices
  388. # that works even if disks are added and removed. See fstab(5).
  389. #
  390. # <file system> <mount point> <type> <options> <dump> <pass>
  391. # / was on /dev/sda2 during installation
  392. UUID=51bde89e-9b14-4e9a-96b7-4b03fa711dd0 / ext4 errors=remount-ro 0 1
  393. # /boot/efi was on /dev/sda1 during installation
  394. #UUID=EDE3-7040 /boot/efi vfat umask=0077 0 1
  395. # swap was on /dev/sda3 during installation
  396. UUID=1c0e8322-7d6c-4231-ab3f-3211ba924a9e none swap sw 0 0
  397. UUID=EDE3-7040 /boot/efi vfat defaults 0 1
  398. --------------------------------------------------------------------------------
  399. =================== sda2: Location of files loaded by Grub: ====================
  400. GiB - GB File Fragment(s)
  401. 20.642250061 = 22.164447232 boot/grub/grub.cfg 1
  402. 1.570037842 = 1.685815296 boot/vmlinuz-4.4.0-31-generic 1
  403. 2.210689545 = 2.373709824 boot/vmlinuz-4.4.0-53-generic 1
  404. 2.296619415 = 2.465976320 boot/vmlinuz-4.4.0-53-generic.efi.signed 1
  405. 1.570037842 = 1.685815296 vmlinuz 1
  406. 2.465217590 = 2.647007232 boot/initrd.img-4.4.0-31-generic 1
  407. 3.055660248 = 3.280990208 boot/initrd.img-4.4.0-53-generic 2
  408. 2.465217590 = 2.647007232 initrd.img 1
  409. 2.465217590 = 2.647007232 initrd.img.old 1
  410. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  411. Unknown MBR on /dev/sdb
  412. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  413. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  414. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  415. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  416. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  417. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  418. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  419. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  420. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  421. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  422. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  423. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  424. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  425. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  426. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  427. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  428. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  429. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  430. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  431. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  432. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  433. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  434. 00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  435. 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  436. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  437. 00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  438. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  439. 000001b0 fc 85 2c 00 00 00 00 00 e7 63 a8 40 00 00 80 00 |..,......c.@....|
  440. 000001c0 01 00 00 5a e0 f6 00 00 00 00 a0 19 2d 00 00 fe |...Z........-...|
  441. 000001d0 ff ff ef fe ff ff 70 aa 2c 00 80 12 00 00 00 00 |......p.,.......|
  442. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  443. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  444. 00000200
  445. /dev/sdb1: unknown GPT attributes
  446. 1000000000000001
  447. /dev/sdb2: unknown GPT attributes
  448. 1000000000000001
  449. Unknown BootLoader on sdb1
  450. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  451. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  452. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  453. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  454. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  455. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  456. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  457. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  458. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  459. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  460. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  461. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  462. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  463. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  464. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  465. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  466. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  467. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  468. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  469. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  470. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  471. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  472. *
  473. 000001b0 fc 85 2c 00 00 00 00 00 e7 63 a8 40 00 00 80 00 |..,......c.@....|
  474. 000001c0 01 00 00 5a e0 f6 00 00 00 00 a0 19 2d 00 00 fe |...Z........-...|
  475. 000001d0 ff ff ef fe ff ff 70 aa 2c 00 80 12 00 00 00 00 |......p.,.......|
  476. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  477. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  478. 00000200
  479. =============================== StdErr Messages: ===============================
  480. File descriptor 9 (/proc/7337/mounts) leaked on lvs invocation. Parent PID 17292: bash
  481. File descriptor 63 (pipe:[58496]) leaked on lvs invocation. Parent PID 17292: bash
  482. ADDITIONAL INFORMATION :
  483. =================== log of boot-repair 2016-12-20__19h58 ===================
  484. boot-repair version : 4ppa40
  485. boot-sav version : 4ppa40
  486. glade2script version : 3.2.3~ppa1
  487. boot-sav-extra version : 4ppa40
  488. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
  489. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  490. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  491. boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
  492. CPU op-mode(s): 32-bit, 64-bit
  493. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  494. ls: cannot access '/home/usr/.config': No such file or directory
  495. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  496. mount /dev/sdb2 : Error code 32
  497. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  498. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  499. mount -r /dev/sdb2 : Error code 32
  500. =================== os-prober:
  501. /dev/sda2:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
  502. =================== blkid:
  503. /dev/sda1: UUID="EDE3-7040" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="1e30787a-20e2-4ac9-9fcf-ec4aa94707d6"
  504. /dev/sda2: UUID="51bde89e-9b14-4e9a-96b7-4b03fa711dd0" TYPE="ext4" PARTUUID="0e4d2ced-dd06-4775-9718-c1522d06fad3"
  505. /dev/loop0: TYPE="squashfs"
  506. /dev/sda3: UUID="1c0e8322-7d6c-4231-ab3f-3211ba924a9e" TYPE="swap" PARTUUID="32e344e8-35c6-4ebd-b601-bac11bf1244e"
  507. /dev/sdb1: UUID="2016-07-19-21-27-51-00" LABEL="Ubuntu 16.04.1 LTS amd64" TYPE="iso9660" PTUUID="40a863e7" PTTYPE="dos" PARTUUID="40a863e7-01"
  508. /dev/sdb2: SEC_TYPE="msdos" UUID="0F7B-9366" TYPE="vfat" PARTUUID="40a863e7-02"
  509. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  510. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  511. mount /dev/sdb2 : Error code 32
  512. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  513. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  514. mount -r /dev/sdb2 : Error code 32
  515. dd: invalid number: ‘0’
  516. Warning: /var/log/boot-sav/log/2016-12-20__19h58boot-repair17/sdb/current_mbr.img could not be created. Please report this message to [email protected]
  517. =================== sda2/etc/grub.d/ :
  518. drwxr-xr-x 2 root root 4096 Dec 20 19:00 grub.d
  519. total 76
  520. -rwxr-xr-x 1 root root 9791 Jun 17 2016 00_header
  521. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  522. -rwxr-xr-x 1 root root 12261 Jun 17 2016 10_linux
  523. -rwxr-xr-x 1 root root 11082 Jun 17 2016 20_linux_xen
  524. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  525. -rwxr-xr-x 1 root root 11692 Jun 17 2016 30_os-prober
  526. -rwxr-xr-x 1 root root 1418 Jun 17 2016 30_uefi-firmware
  527. -rwxr-xr-x 1 root root 214 Jun 17 2016 40_custom
  528. -rwxr-xr-x 1 root root 216 Jun 17 2016 41_custom
  529. -rw-r--r-- 1 root root 483 Jun 17 2016 README
  530. =================== sda2/etc/default/grub :
  531. # If you change this file, run 'update-grub' afterwards to update
  532. # /boot/grub/grub.cfg.
  533. # For full documentation of the options in this file, see:
  534. # info -f grub -n 'Simple configuration'
  535. GRUB_DEFAULT=0
  536. GRUB_HIDDEN_TIMEOUT=0
  537. GRUB_HIDDEN_TIMEOUT_QUIET=true
  538. GRUB_TIMEOUT=10
  539. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  540. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  541. GRUB_CMDLINE_LINUX=""
  542. # Uncomment to enable BadRAM filtering, modify to suit your needs
  543. # This works with Linux (no patch required) and with any kernel that obtains
  544. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  545. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  546. # Uncomment to disable graphical terminal (grub-pc only)
  547. #GRUB_TERMINAL=console
  548. # The resolution used on graphical terminal
  549. # note that you can use only modes which your graphic card supports via VBE
  550. # you can see them in real GRUB with the command `vbeinfo'
  551. #GRUB_GFXMODE=640x480
  552. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  553. #GRUB_DISABLE_LINUX_UUID=true
  554. # Uncomment to disable generation of recovery mode menu entries
  555. #GRUB_DISABLE_RECOVERY="true"
  556. # Uncomment to get a beep at grub start
  557. #GRUB_INIT_TUNE="480 440 1"
  558. /boot/efi detected in the fstab of sda2: UUID=EDE3-7040 (sda1)
  559. ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,del_var,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,
  560. Please report this message to [email protected]
  561. =================== efibootmgr -v
  562. BootCurrent: 0000
  563. Timeout: 3 seconds
  564. BootOrder: 0000,0001,0002
  565. Boot0000* EFI USB Device PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)
  566. Boot0001* EFI Hard Drive PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,65535,0)
  567. Boot0002* EFI Internal Shell MemoryMapped(11,0x830000,0xc0ffff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)
  568. =================== UEFI/Legacy mode:
  569. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  570. SecureBoot maybe enabled. (maybe sec-boot, Please report this message to [email protected])
  571. =================== PARTITIONS & DISKS:
  572. 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.
  573. 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, not-far, /mnt/boot-sav/sda2.
  574. sdb2 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sdb2.
  575. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  576. sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 0 sectors * 512 bytes
  577. =================== parted -l:
  578. Model: ATA MKNSSDCR60GB-7 (scsi)
  579. Disk /dev/sda: 60.0GB
  580. Sector size (logical/physical): 512B/512B
  581. Partition Table: gpt
  582. Disk Flags:
  583. Number Start End Size File system Name Flags
  584. 1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
  585. 2 538MB 49.4GB 48.9GB ext4
  586. 3 49.4GB 60.0GB 10.6GB linux-swap(v1)
  587. Model: Lexar USB Flash Drive (scsi)
  588. Disk /dev/sdb: 16.0GB
  589. Sector size (logical/physical): 512B/512B
  590. Partition Table: unknown
  591. Disk Flags:
  592. =================== parted -lm:
  593. BYT;
  594. /dev/sda:60.0GB:scsi:512:512:gpt:ATA MKNSSDCR60GB-7:;
  595. 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
  596. 2:538MB:49.4GB:48.9GB:ext4::;
  597. 3:49.4GB:60.0GB:10.6GB:linux-swap(v1)::;
  598. BYT;
  599. /dev/sdb:16.0GB:scsi:512:512:unknown:Lexar USB Flash Drive:;
  600. =================== lsblk:
  601. KNAME TYPE FSTYPE SIZE LABEL
  602. sda disk 55.9G
  603. sda1 part vfat 512M
  604. sda2 part ext4 45.5G
  605. sda3 part swap 9.9G
  606. sdb disk iso9660 14.9G Ubuntu 16.04.1 LTS amd64
  607. sdb1 part iso9660 1.4G Ubuntu 16.04.1 LTS amd64
  608. sdb2 part vfat 2.3M Ubuntu 16.04.1 LTS amd64
  609. loop0 loop squashfs 1.4G
  610. KNAME ROTA RO RM STATE MOUNTPOINT
  611. sda 0 0 0 running
  612. sda1 0 0 0 /mnt/boot-sav/sda1
  613. sda2 0 0 0 /mnt/boot-sav/sda2
  614. sda3 0 0 0 [SWAP]
  615. sdb 1 0 1 running /cdrom
  616. sdb1 1 0 1
  617. sdb2 1 0 1
  618. loop0 1 1 0 /rofs
  619. =================== mount:
  620. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  621. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  622. udev on /dev type devtmpfs (rw,nosuid,relatime,size=5041768k,nr_inodes=1260442,mode=755)
  623. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  624. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1011280k,mode=755)
  625. /dev/sdb on /cdrom type iso9660 (ro,noatime)
  626. /dev/loop0 on /rofs type squashfs (ro,noatime)
  627. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  628. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  629. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  630. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  631. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  632. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  633. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  634. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  635. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  636. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  637. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  638. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  639. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  640. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  641. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  642. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  643. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  644. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  645. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=36,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  646. mqueue on /dev/mqueue type mqueue (rw,relatime)
  647. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  648. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  649. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  650. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  651. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  652. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=1011280k,mode=700,uid=999,gid=999)
  653. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  654. /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)
  655. /dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)
  656. =================== ls:
  657. /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
  658. /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 sdb2 size slaves stat subsystem trace uevent
  659. /dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input 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 sdb2 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  660. ls /dev/mapper: control
  661. =================== hexdump -n512 -C /dev/sda1
  662. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  663. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  664. 00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
  665. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  666. 00000040 80 01 29 40 70 e3 ed 4e 4f 20 4e 41 4d 45 20 20 |..)@p..NO NAME |
  667. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  668. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  669. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  670. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  671. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  672. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  673. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  674. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  675. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  676. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  677. *
  678. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  679. 00000200
  680. =================== hexdump -n512 -C /dev/sdb2
  681. 00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
  682. 00000010 02 00 02 80 12 f8 04 00 20 00 40 00 00 00 00 00 |........ .@.....|
  683. 00000020 00 00 00 00 80 00 29 66 93 7b 0f 4e 4f 20 4e 41 |......)f.{.NO NA|
  684. 00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
  685. 00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
  686. 00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
  687. 00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
  688. 00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
  689. 00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
  690. 00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
  691. 000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
  692. 000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
  693. 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  694. *
  695. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  696. 00000200
  697. =================== df -Th:
  698. Filesystem Type Size Used Avail Use% Mounted on
  699. udev devtmpfs 4.9G 0 4.9G 0% /dev
  700. tmpfs tmpfs 988M 9.4M 979M 1% /run
  701. /dev/sdb iso9660 1.5G 1.5G 0 100% /cdrom
  702. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  703. /cow overlay 4.9G 56M 4.8G 2% /
  704. tmpfs tmpfs 4.9G 172K 4.9G 1% /dev/shm
  705. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  706. tmpfs tmpfs 4.9G 0 4.9G 0% /sys/fs/cgroup
  707. tmpfs tmpfs 4.9G 256K 4.9G 1% /tmp
  708. tmpfs tmpfs 988M 100K 988M 1% /run/user/999
  709. /dev/sda1 vfat 511M 3.6M 508M 1% /mnt/boot-sav/sda1
  710. /dev/sda2 ext4 45G 4.1G 39G 10% /mnt/boot-sav/sda2
  711. =================== fdisk -l:
  712. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  713. Units: sectors of 1 * 512 = 512 bytes
  714. Sector size (logical/physical): 512 bytes / 4096 bytes
  715. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  716. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  717. Units: sectors of 1 * 512 = 512 bytes
  718. Sector size (logical/physical): 512 bytes / 4096 bytes
  719. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  720. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  721. Units: sectors of 1 * 512 = 512 bytes
  722. Sector size (logical/physical): 512 bytes / 4096 bytes
  723. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  724. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  725. Units: sectors of 1 * 512 = 512 bytes
  726. Sector size (logical/physical): 512 bytes / 4096 bytes
  727. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  728. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  729. Units: sectors of 1 * 512 = 512 bytes
  730. Sector size (logical/physical): 512 bytes / 4096 bytes
  731. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  732. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  733. Units: sectors of 1 * 512 = 512 bytes
  734. Sector size (logical/physical): 512 bytes / 4096 bytes
  735. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  736. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  737. Units: sectors of 1 * 512 = 512 bytes
  738. Sector size (logical/physical): 512 bytes / 4096 bytes
  739. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  740. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  741. Units: sectors of 1 * 512 = 512 bytes
  742. Sector size (logical/physical): 512 bytes / 4096 bytes
  743. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  744. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  745. Units: sectors of 1 * 512 = 512 bytes
  746. Sector size (logical/physical): 512 bytes / 4096 bytes
  747. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  748. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  749. Units: sectors of 1 * 512 = 512 bytes
  750. Sector size (logical/physical): 512 bytes / 4096 bytes
  751. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  752. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  753. Units: sectors of 1 * 512 = 512 bytes
  754. Sector size (logical/physical): 512 bytes / 4096 bytes
  755. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  756. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  757. Units: sectors of 1 * 512 = 512 bytes
  758. Sector size (logical/physical): 512 bytes / 4096 bytes
  759. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  760. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  761. Units: sectors of 1 * 512 = 512 bytes
  762. Sector size (logical/physical): 512 bytes / 4096 bytes
  763. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  764. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  765. Units: sectors of 1 * 512 = 512 bytes
  766. Sector size (logical/physical): 512 bytes / 4096 bytes
  767. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  768. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  769. Units: sectors of 1 * 512 = 512 bytes
  770. Sector size (logical/physical): 512 bytes / 4096 bytes
  771. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  772. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  773. Units: sectors of 1 * 512 = 512 bytes
  774. Sector size (logical/physical): 512 bytes / 4096 bytes
  775. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  776. Disk /dev/loop0: 1.4 GiB, 1459982336 bytes, 2851528 sectors
  777. Units: sectors of 1 * 512 = 512 bytes
  778. Sector size (logical/physical): 512 bytes / 512 bytes
  779. I/O size (minimum/optimal): 512 bytes / 512 bytes
  780. Disk /dev/sda: 55.9 GiB, 60022480896 bytes, 117231408 sectors
  781. Units: sectors of 1 * 512 = 512 bytes
  782. Sector size (logical/physical): 512 bytes / 512 bytes
  783. I/O size (minimum/optimal): 512 bytes / 512 bytes
  784. Disklabel type: gpt
  785. Disk identifier: 45F82DA6-91B2-434D-959B-A5FE16FE64C3
  786. Device Start End Sectors Size Type
  787. /dev/sda1 2048 1050623 1048576 512M EFI System
  788. /dev/sda2 1050624 96516095 95465472 45.5G Linux filesystem
  789. /dev/sda3 96516096 117229567 20713472 9.9G Linux swap
  790. Disk /dev/sdb: 14.9 GiB, 16018046976 bytes, 31285248 sectors
  791. Units: sectors of 1 * 512 = 512 bytes
  792. Sector size (logical/physical): 512 bytes / 512 bytes
  793. I/O size (minimum/optimal): 512 bytes / 512 bytes
  794. Disklabel type: dos
  795. Disk identifier: 0x40a863e7
  796. Device Boot Start End Sectors Size Id Type
  797. /dev/sdb1 * 0 2955679 2955680 1.4G 0 Empty
  798. /dev/sdb2 2927216 2931951 4736 2.3M ef EFI (FAT-12/16/32)
  799. =================== Recommended repair
  800. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
  801. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  802. /boot/efi added in sda2/fstab
  803. Mount sda1 on /mnt/boot-sav/sda2/boot/efi
  804. ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw
  805. Unhide GRUB boot menu in sda2/etc/default/grub
  806. *******lspci -nnk | grep -iA3 vga
  807. 00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0156] (rev 09)
  808. Subsystem: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0156]
  809. Kernel driver in use: i915
  810. Kernel modules: i915
  811. *******
  812. grub-install --version
  813. grub-install (GRUB) 2.02~beta2-36ubuntu3.2,grub-install (GRUB) 2.
  814. chroot /mnt/boot-sav/sda2 efibootmgr -v
  815. BootCurrent: 0000
  816. Timeout: 3 seconds
  817. BootOrder: 0000,0001,0002
  818. Boot0000* EFI USB Device PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)
  819. Boot0001* EFI Hard Drive PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,65535,0)
  820. Boot0002* EFI Internal Shell MemoryMapped(11,0x830000,0xc0ffff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)
  821. chroot /mnt/boot-sav/sda2 uname -r
  822. Kernel: 4.4.0-31-generic
  823. Reinstall the grub-efi-amd64-signed of sda2
  824. Installing for x86_64-efi platform.
  825. Installation finished. No error reported.
  826. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  827. ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw
  828. df /dev/sda1
  829. cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  830. df /dev/sda1
  831. cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  832. df /dev/sda1
  833. cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi (& .grb)
  834. 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
  835. Add /mnt/boot-sav/sda2/boot/efi efi entries in /mnt/boot-sav/sda2/etc/grub.d/25_custom
  836. Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/fwupx64.efi
  837. Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/MokManager.efi
  838. chroot /mnt/boot-sav/sda2 efibootmgr -v
  839. BootCurrent: 0000
  840. Timeout: 3 seconds
  841. BootOrder: 0003,0000,0001,0002
  842. Boot0000* EFI USB Device PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)
  843. Boot0001* EFI Hard Drive PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,65535,0)
  844. Boot0002* EFI Internal Shell MemoryMapped(11,0x830000,0xc0ffff)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)
  845. Boot0003* ubuntu HD(1,GPT,1e30787a-20e2-4ac9-9fcf-ec4aa94707d6,0x800,0x100000)/File(EFIubuntushimx64.efi)
  846. chroot /mnt/boot-sav/sda2 update-grub
  847. Generating grub configuration file ...
  848. Found linux image: /boot/vmlinuz-4.4.0-53-generic
  849. Found initrd image: /boot/initrd.img-4.4.0-53-generic
  850. Found linux image: /boot/vmlinuz-4.4.0-31-generic
  851. Found initrd image: /boot/initrd.img-4.4.0-31-generic
  852. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
  853. Adding boot menu entry for EFI firmware configuration
  854. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  855. mount /dev/sdb2 : Error code 32
  856. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  857. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  858. mount -r /dev/sdb2 : Error code 32
  859. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  860. An error occurred during the repair.
  861. You can now reboot your computer.
  862. Please do not forget to make your BIOS boot on sda (60.0GB) disk!
  863. paste.ubuntu.com ko (), using paste.debian
  864. paste.debian.net ko (), using paste2