1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2. ============================= Boot Info Summary: ===============================
  3. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
  4. the same hard drive for core.img. core.img is at this location and looks
  5. for (,msdos1)/boot/grub. It also embeds following components:
  6. modules
  7. ---------------------------------------------------------------------------
  8. fshelp ext2 part_msdos biosdisk
  9. ---------------------------------------------------------------------------
  10. => No known boot loader is installed in the MBR of /dev/sdb.
  11. sda1: __________________________________________________________________________
  12. File system: ext4
  13. Boot sector type: -
  14. Boot sector info:
  15. Operating System: Ubuntu 16.04.1 LTS
  16. Boot files: /boot/grub/grub.cfg /etc/fstab
  17. sda2: __________________________________________________________________________
  18. File system: Extended Partition
  19. Boot sector type: Unknown
  20. Boot sector info:
  21. sda5: __________________________________________________________________________
  22. File system: swap
  23. Boot sector type: -
  24. Boot sector info:
  25. sda3: __________________________________________________________________________
  26. File system: vfat
  27. Boot sector type: FAT32
  28. Boot sector info: No errors found in the Boot Parameter Block.
  29. Operating System:
  30. Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi
  31. /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
  32. /EFI/Microsoft/Boot/bootmgfw.efi
  33. /EFI/Microsoft/Boot/bootx64.efi
  34. sdb1: __________________________________________________________________________
  35. File system: iso9660
  36. Boot sector type: Unknown
  37. Boot sector info:
  38. Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
  39. sdb2: __________________________________________________________________________
  40. File system: vfat
  41. Boot sector type: FAT16
  42. Boot sector info: According to the info in the boot sector, sdb2 starts
  43. at sector 0. But according to the info from fdisk,
  44. sdb2 starts at sector 2927216. According to the info
  45. in the boot sector, sdb2 has 0 sectors.
  46. Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
  47. mount: /dev/sdb2 is already mounted or /mnt/BootInfo/sdb2 busy
  48. ============================ Drive/Partition Info: =============================
  49. Drive: sda _____________________________________________________________________
  50. Disk /dev/sda: 186.3 GiB, 200049647616 bytes, 390721968 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/sda1 411,648 382,488,575 382,076,928 83 Linux
  57. /dev/sda2 382,490,622 390,721,535 8,230,914 5 Extended
  58. /dev/sda5 382,490,624 390,721,535 8,230,912 82 Linux swap / Solaris
  59. /dev/sda3 * 2,048 411,647 409,600 b W95 FAT32
  60. Drive: sdb _____________________________________________________________________
  61. Disk /dev/sdb: 7.5 GiB, 8054112256 bytes, 15730688 sectors
  62. Units: sectors of 1 * 512 = 512 bytes
  63. Sector size (logical/physical): 512 bytes / 512 bytes
  64. I/O size (minimum/optimal): 512 bytes / 512 bytes
  65. Disklabel type: dos
  66. Partition Boot Start Sector End Sector # of Sectors Id System
  67. /dev/sdb1 * 0 2,955,679 2,955,680 0 Empty
  68. /dev/sdb2 2,927,216 2,931,951 4,736 ef EFI (FAT-12/16/32)
  69. /dev/sdb1 overlaps with /dev/sdb2
  70. GUID Partition Table detected, but does not seem to be used.
  71. Partition Attrs Start Sector End Sector # of Sectors System
  72. /dev/sdb1 + R 0 2,955,623 2,955,624 Data partition (Windows/Linux)
  73. /dev/sdb2 + R 2,927,216 2,931,951 4,736 Data partition (Windows/Linux)
  74. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  75. "blkid" output: ________________________________________________________________
  76. Device UUID TYPE LABEL
  77. /dev/loop0 squashfs
  78. /dev/sda1 f25996af-f15c-4c59-ac4a-c875c1ace571 ext4
  79. /dev/sda3 1F2A-9CCD vfat
  80. /dev/sda5 410e1cb0-bb16-46d0-9399-f76a5aa396ff swap
  81. /dev/sdb1 2016-07-19-21-27-51-00 iso9660 Ubuntu 16.04.1 LTS amd64
  82. /dev/sdb2 0F7B-9366 vfat
  83. ========================= "ls -l /dev/disk/by-id" output: ======================
  84. total 0
  85. lrwxrwxrwx 1 root root 9 Sep 8 16:07 ata-TOSHIBA_MK2035GSS_97JBT436T -> ../../sda
  86. lrwxrwxrwx 1 root root 10 Sep 8 16:07 ata-TOSHIBA_MK2035GSS_97JBT436T-part1 -> ../../sda1
  87. lrwxrwxrwx 1 root root 10 Sep 8 16:07 ata-TOSHIBA_MK2035GSS_97JBT436T-part2 -> ../../sda2
  88. lrwxrwxrwx 1 root root 10 Sep 8 16:07 ata-TOSHIBA_MK2035GSS_97JBT436T-part3 -> ../../sda3
  89. lrwxrwxrwx 1 root root 10 Sep 8 16:07 ata-TOSHIBA_MK2035GSS_97JBT436T-part5 -> ../../sda5
  90. lrwxrwxrwx 1 root root 9 Sep 8 16:07 ata-TSSTcorp_CDDVDW_SU-208DB_R93W6YEDB004RY -> ../../sr0
  91. lrwxrwxrwx 1 root root 9 Sep 8 16:07 usb-Generic_Flash_Disk_236A74BD-0:0 -> ../../sdb
  92. lrwxrwxrwx 1 root root 10 Sep 8 16:07 usb-Generic_Flash_Disk_236A74BD-0:0-part1 -> ../../sdb1
  93. lrwxrwxrwx 1 root root 10 Sep 8 16:07 usb-Generic_Flash_Disk_236A74BD-0:0-part2 -> ../../sdb2
  94. ================================ Mount points: =================================
  95. Device Mount_Point Type Options
  96. /dev/loop0 /rofs squashfs (ro,noatime)
  97. /dev/sdb /cdrom iso9660 (ro,noatime)
  98. =========================== sda1/boot/grub/grub.cfg: ===========================
  99. --------------------------------------------------------------------------------
  100. #
  101. # DO NOT EDIT THIS FILE
  102. #
  103. # It is automatically generated by grub-mkconfig using templates
  104. # from /etc/grub.d and settings from /etc/default/grub
  105. #
  106. ### BEGIN /etc/grub.d/00_header ###
  107. if [ -s $prefix/grubenv ]; then
  108. set have_grubenv=true
  109. load_env
  110. fi
  111. if [ "${next_entry}" ] ; then
  112. set default="${next_entry}"
  113. set next_entry=
  114. save_env next_entry
  115. set boot_once=true
  116. else
  117. set default="0"
  118. fi
  119. if [ x"${feature_menuentry_id}" = xy ]; then
  120. menuentry_id_option="--id"
  121. else
  122. menuentry_id_option=""
  123. fi
  124. export menuentry_id_option
  125. if [ "${prev_saved_entry}" ]; then
  126. set saved_entry="${prev_saved_entry}"
  127. save_env saved_entry
  128. set prev_saved_entry=
  129. save_env prev_saved_entry
  130. set boot_once=true
  131. fi
  132. function savedefault {
  133. if [ -z "${boot_once}" ]; then
  134. saved_entry="${chosen}"
  135. save_env saved_entry
  136. fi
  137. }
  138. function recordfail {
  139. set recordfail=1
  140. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  141. }
  142. function load_video {
  143. if [ x$feature_all_video_module = xy ]; then
  144. insmod all_video
  145. else
  146. insmod efi_gop
  147. insmod efi_uga
  148. insmod ieee1275_fb
  149. insmod vbe
  150. insmod vga
  151. insmod video_bochs
  152. insmod video_cirrus
  153. fi
  154. }
  155. if [ x$feature_default_font_path = xy ] ; then
  156. font=unicode
  157. else
  158. insmod part_msdos
  159. insmod ext2
  160. set root='hd0,msdos1'
  161. if [ x$feature_platform_search_hint = xy ]; then
  162. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f25996af-f15c-4c59-ac4a-c875c1ace571
  163. else
  164. search --no-floppy --fs-uuid --set=root f25996af-f15c-4c59-ac4a-c875c1ace571
  165. fi
  166. font="/usr/share/grub/unicode.pf2"
  167. fi
  168. if loadfont $font ; then
  169. set gfxmode=auto
  170. load_video
  171. insmod gfxterm
  172. set locale_dir=$prefix/locale
  173. set lang=en_US
  174. insmod gettext
  175. fi
  176. terminal_output gfxterm
  177. if [ "${recordfail}" = 1 ] ; then
  178. set timeout=10
  179. else
  180. if [ x$feature_timeout_style = xy ] ; then
  181. set timeout_style=menu
  182. set timeout=10
  183. # Fallback normal timeout code in case the timeout_style feature is
  184. # unavailable.
  185. else
  186. set timeout=10
  187. fi
  188. fi
  189. ### END /etc/grub.d/00_header ###
  190. ### BEGIN /etc/grub.d/05_debian_theme ###
  191. set menu_color_normal=white/black
  192. set menu_color_highlight=black/light-gray
  193. if background_color 44,0,30,0; then
  194. clear
  195. fi
  196. ### END /etc/grub.d/05_debian_theme ###
  197. ### BEGIN /etc/grub.d/10_linux ###
  198. function gfxmode {
  199. set gfxpayload="${1}"
  200. if [ "${1}" = "keep" ]; then
  201. set vt_handoff=vt.handoff=7
  202. else
  203. set vt_handoff=
  204. fi
  205. }
  206. if [ "${recordfail}" != 1 ]; then
  207. if [ -e ${prefix}/gfxblacklist.txt ]; then
  208. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  209. if [ ${match} = 0 ]; then
  210. set linux_gfx_mode=keep
  211. else
  212. set linux_gfx_mode=text
  213. fi
  214. else
  215. set linux_gfx_mode=text
  216. fi
  217. else
  218. set linux_gfx_mode=keep
  219. fi
  220. else
  221. set linux_gfx_mode=text
  222. fi
  223. export linux_gfx_mode
  224. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f25996af-f15c-4c59-ac4a-c875c1ace571' {
  225. recordfail
  226. load_video
  227. gfxmode $linux_gfx_mode
  228. insmod gzio
  229. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  230. insmod part_msdos
  231. insmod ext2
  232. set root='hd0,msdos1'
  233. if [ x$feature_platform_search_hint = xy ]; then
  234. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f25996af-f15c-4c59-ac4a-c875c1ace571
  235. else
  236. search --no-floppy --fs-uuid --set=root f25996af-f15c-4c59-ac4a-c875c1ace571
  237. fi
  238. linux /boot/vmlinuz-4.4.0-36-generic.efi.signed root=UUID=f25996af-f15c-4c59-ac4a-c875c1ace571 ro quiet splash $vt_handoff
  239. initrd /boot/initrd.img-4.4.0-36-generic
  240. }
  241. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-f25996af-f15c-4c59-ac4a-c875c1ace571' {
  242. menuentry 'Ubuntu, with Linux 4.4.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-advanced-f25996af-f15c-4c59-ac4a-c875c1ace571' {
  243. recordfail
  244. load_video
  245. gfxmode $linux_gfx_mode
  246. insmod gzio
  247. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  248. insmod part_msdos
  249. insmod ext2
  250. set root='hd0,msdos1'
  251. if [ x$feature_platform_search_hint = xy ]; then
  252. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f25996af-f15c-4c59-ac4a-c875c1ace571
  253. else
  254. search --no-floppy --fs-uuid --set=root f25996af-f15c-4c59-ac4a-c875c1ace571
  255. fi
  256. echo 'Loading Linux 4.4.0-36-generic ...'
  257. linux /boot/vmlinuz-4.4.0-36-generic.efi.signed root=UUID=f25996af-f15c-4c59-ac4a-c875c1ace571 ro quiet splash $vt_handoff
  258. echo 'Loading initial ramdisk ...'
  259. initrd /boot/initrd.img-4.4.0-36-generic
  260. }
  261. menuentry 'Ubuntu, with Linux 4.4.0-36-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-init-upstart-f25996af-f15c-4c59-ac4a-c875c1ace571' {
  262. recordfail
  263. load_video
  264. gfxmode $linux_gfx_mode
  265. insmod gzio
  266. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  267. insmod part_msdos
  268. insmod ext2
  269. set root='hd0,msdos1'
  270. if [ x$feature_platform_search_hint = xy ]; then
  271. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f25996af-f15c-4c59-ac4a-c875c1ace571
  272. else
  273. search --no-floppy --fs-uuid --set=root f25996af-f15c-4c59-ac4a-c875c1ace571
  274. fi
  275. echo 'Loading Linux 4.4.0-36-generic ...'
  276. linux /boot/vmlinuz-4.4.0-36-generic.efi.signed root=UUID=f25996af-f15c-4c59-ac4a-c875c1ace571 ro quiet splash $vt_handoff init=/sbin/upstart
  277. echo 'Loading initial ramdisk ...'
  278. initrd /boot/initrd.img-4.4.0-36-generic
  279. }
  280. menuentry 'Ubuntu, with Linux 4.4.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-36-generic-recovery-f25996af-f15c-4c59-ac4a-c875c1ace571' {
  281. recordfail
  282. load_video
  283. insmod gzio
  284. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  285. insmod part_msdos
  286. insmod ext2
  287. set root='hd0,msdos1'
  288. if [ x$feature_platform_search_hint = xy ]; then
  289. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f25996af-f15c-4c59-ac4a-c875c1ace571
  290. else
  291. search --no-floppy --fs-uuid --set=root f25996af-f15c-4c59-ac4a-c875c1ace571
  292. fi
  293. echo 'Loading Linux 4.4.0-36-generic ...'
  294. linux /boot/vmlinuz-4.4.0-36-generic.efi.signed root=UUID=f25996af-f15c-4c59-ac4a-c875c1ace571 ro recovery nomodeset
  295. echo 'Loading initial ramdisk ...'
  296. initrd /boot/initrd.img-4.4.0-36-generic
  297. }
  298. 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-f25996af-f15c-4c59-ac4a-c875c1ace571' {
  299. recordfail
  300. load_video
  301. gfxmode $linux_gfx_mode
  302. insmod gzio
  303. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  304. insmod part_msdos
  305. insmod ext2
  306. set root='hd0,msdos1'
  307. if [ x$feature_platform_search_hint = xy ]; then
  308. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f25996af-f15c-4c59-ac4a-c875c1ace571
  309. else
  310. search --no-floppy --fs-uuid --set=root f25996af-f15c-4c59-ac4a-c875c1ace571
  311. fi
  312. echo 'Loading Linux 4.4.0-31-generic ...'
  313. linux /boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=f25996af-f15c-4c59-ac4a-c875c1ace571 ro quiet splash $vt_handoff
  314. echo 'Loading initial ramdisk ...'
  315. initrd /boot/initrd.img-4.4.0-31-generic
  316. }
  317. 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-f25996af-f15c-4c59-ac4a-c875c1ace571' {
  318. recordfail
  319. load_video
  320. gfxmode $linux_gfx_mode
  321. insmod gzio
  322. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  323. insmod part_msdos
  324. insmod ext2
  325. set root='hd0,msdos1'
  326. if [ x$feature_platform_search_hint = xy ]; then
  327. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f25996af-f15c-4c59-ac4a-c875c1ace571
  328. else
  329. search --no-floppy --fs-uuid --set=root f25996af-f15c-4c59-ac4a-c875c1ace571
  330. fi
  331. echo 'Loading Linux 4.4.0-31-generic ...'
  332. linux /boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=f25996af-f15c-4c59-ac4a-c875c1ace571 ro quiet splash $vt_handoff init=/sbin/upstart
  333. echo 'Loading initial ramdisk ...'
  334. initrd /boot/initrd.img-4.4.0-31-generic
  335. }
  336. 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-f25996af-f15c-4c59-ac4a-c875c1ace571' {
  337. recordfail
  338. load_video
  339. insmod gzio
  340. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  341. insmod part_msdos
  342. insmod ext2
  343. set root='hd0,msdos1'
  344. if [ x$feature_platform_search_hint = xy ]; then
  345. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f25996af-f15c-4c59-ac4a-c875c1ace571
  346. else
  347. search --no-floppy --fs-uuid --set=root f25996af-f15c-4c59-ac4a-c875c1ace571
  348. fi
  349. echo 'Loading Linux 4.4.0-31-generic ...'
  350. linux /boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=f25996af-f15c-4c59-ac4a-c875c1ace571 ro recovery nomodeset
  351. echo 'Loading initial ramdisk ...'
  352. initrd /boot/initrd.img-4.4.0-31-generic
  353. }
  354. }
  355. ### END /etc/grub.d/10_linux ###
  356. ### BEGIN /etc/grub.d/20_linux_xen ###
  357. ### END /etc/grub.d/20_linux_xen ###
  358. ### BEGIN /etc/grub.d/20_memtest86+ ###
  359. ### END /etc/grub.d/20_memtest86+ ###
  360. ### BEGIN /etc/grub.d/25_custom ###
  361. menuentry "EFI/ubuntu/MokManager.efi" {
  362. search --fs-uuid --no-floppy --set=root 1F2A-9CCD
  363. chainloader (${root})/EFI/ubuntu/MokManager.efi
  364. }
  365. ### END /etc/grub.d/25_custom ###
  366. ### BEGIN /etc/grub.d/30_os-prober ###
  367. ### END /etc/grub.d/30_os-prober ###
  368. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  369. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  370. fwsetup
  371. }
  372. ### END /etc/grub.d/30_uefi-firmware ###
  373. ### BEGIN /etc/grub.d/40_custom ###
  374. # This file provides an easy way to add custom menu entries. Simply type the
  375. # menu entries you want to add after this comment. Be careful not to change
  376. # the 'exec tail' line above.
  377. ### END /etc/grub.d/40_custom ###
  378. ### BEGIN /etc/grub.d/41_custom ###
  379. if [ -f ${config_directory}/custom.cfg ]; then
  380. source ${config_directory}/custom.cfg
  381. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  382. source $prefix/custom.cfg;
  383. fi
  384. ### END /etc/grub.d/41_custom ###
  385. --------------------------------------------------------------------------------
  386. =============================== sda1/etc/fstab: ================================
  387. --------------------------------------------------------------------------------
  388. # /etc/fstab: static file system information.
  389. #
  390. # Use 'blkid' to print the universally unique identifier for a
  391. # device; this may be used with UUID= as a more robust way to name devices
  392. # that works even if disks are added and removed. See fstab(5).
  393. #
  394. # <file system> <mount point> <type> <options> <dump> <pass>
  395. # / was on /dev/sda1 during installation
  396. UUID=f25996af-f15c-4c59-ac4a-c875c1ace571 / ext4 errors=remount-ro 0 1
  397. # swap was on /dev/sda5 during installation
  398. UUID=410e1cb0-bb16-46d0-9399-f76a5aa396ff none swap sw 0 0
  399. UUID=1F2A-9CCD /boot/efi vfat defaults 0 1
  400. --------------------------------------------------------------------------------
  401. =================== sda1: Location of files loaded by Grub: ====================
  402. GiB - GB File Fragment(s)
  403. 132.335563660 = 142.094229504 boot/grub/grub.cfg 1
  404. 1.320037842 = 1.417379840 boot/vmlinuz-4.4.0-31-generic 1
  405. 132.335552216 = 142.094217216 boot/vmlinuz-4.4.0-31-generic.efi.signed 1
  406. 146.657417297 = 157.472202752 boot/vmlinuz-4.4.0-36-generic 1
  407. 146.866912842 = 157.697146880 boot/vmlinuz-4.4.0-36-generic.efi.signed 1
  408. 1.320037842 = 1.417379840 vmlinuz 1
  409. 146.983600616 = 157.822439424 boot/initrd.img-4.4.0-31-generic 3
  410. 147.004344940 = 157.844713472 boot/initrd.img-4.4.0-36-generic 4
  411. 146.983600616 = 157.822439424 initrd.img 3
  412. 146.983600616 = 157.822439424 initrd.img.old 3
  413. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  414. Unknown MBR on /dev/sdb
  415. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  416. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  417. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  418. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  419. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  420. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  421. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  422. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  423. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  424. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  425. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  426. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  427. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  428. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  429. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  430. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  431. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  432. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  433. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  434. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  435. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  436. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  437. 00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  438. 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  439. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  440. 00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  441. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  442. 000001b0 fc 85 2c 00 00 00 00 00 e7 63 a8 40 00 00 80 00 |..,......c.@....|
  443. 000001c0 01 00 00 5a e0 f6 00 00 00 00 a0 19 2d 00 00 fe |...Z........-...|
  444. 000001d0 ff ff ef fe ff ff 70 aa 2c 00 80 12 00 00 00 00 |......p.,.......|
  445. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  446. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  447. 00000200
  448. /dev/sdb1: unknown GPT attributes
  449. 1000000000000001
  450. /dev/sdb2: unknown GPT attributes
  451. 1000000000000001
  452. Unknown BootLoader on sda2
  453. Unknown BootLoader on sdb1
  454. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  455. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  456. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  457. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  458. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  459. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  460. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  461. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  462. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  463. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  464. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  465. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  466. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  467. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  468. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  469. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  470. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  471. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  472. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  473. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  474. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  475. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  476. *
  477. 000001b0 fc 85 2c 00 00 00 00 00 e7 63 a8 40 00 00 80 00 |..,......c.@....|
  478. 000001c0 01 00 00 5a e0 f6 00 00 00 00 a0 19 2d 00 00 fe |...Z........-...|
  479. 000001d0 ff ff ef fe ff ff 70 aa 2c 00 80 12 00 00 00 00 |......p.,.......|
  480. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  481. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  482. 00000200
  483. =============================== StdErr Messages: ===============================
  484. hexdump: /dev/sda2: No such device or address
  485. hexdump: /dev/sda2: No such device or address
  486. File descriptor 9 (/proc/4892/mounts) leaked on lvs invocation. Parent PID 14872: bash
  487. File descriptor 63 (pipe:[151072]) leaked on lvs invocation. Parent PID 14872: bash
  488. ADDITIONAL INFORMATION :
  489. =================== log of boot-repair 2016-09-08__16h07 ===================
  490. boot-repair version : 4ppa38
  491. boot-sav version : 4ppa38
  492. glade2script version : 3.2.3~ppa1
  493. boot-sav-extra version : 4ppa38
  494. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
  495. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  496. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  497. boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
  498. CPU op-mode(s): 32-bit, 64-bit
  499. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  500. ls: cannot access '/home/usr/.config': No such file or directory
  501. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  502. mount /dev/sdb2 : Error code 32
  503. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  504. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  505. mount -r /dev/sdb2 : Error code 32
  506. =================== os-prober:
  507. /dev/sda1:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
  508. =================== blkid:
  509. /dev/sda1: UUID="f25996af-f15c-4c59-ac4a-c875c1ace571" TYPE="ext4" PARTUUID="72954a4a-01"
  510. /dev/sda5: UUID="410e1cb0-bb16-46d0-9399-f76a5aa396ff" TYPE="swap" PARTUUID="72954a4a-05"
  511. /dev/sdb2: SEC_TYPE="msdos" UUID="0F7B-9366" TYPE="vfat" PARTUUID="40a863e7-02"
  512. /dev/loop0: TYPE="squashfs"
  513. /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"
  514. /dev/sda3: UUID="1F2A-9CCD" TYPE="vfat" PARTUUID="72954a4a-03"
  515. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  516. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  517. mount /dev/sdb2 : Error code 32
  518. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  519. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  520. mount -r /dev/sdb2 : Error code 32
  521. dd: invalid number: ‘0’
  522. Warning: /var/log/boot-sav/log/2016-09-08__16h07boot-repair29/sdb/current_mbr.img could not be created. Please report this message to [email protected]
  523. =================== sda1/etc/grub.d/ :
  524. drwxr-xr-x 2 root root 4096 Sep 8 14:13 grub.d
  525. total 76
  526. -rwxr-xr-x 1 root root 9791 Jun 17 04:10 00_header
  527. -rwxr-xr-x 1 root root 6258 Mar 15 13:08 05_debian_theme
  528. -rwxr-xr-x 1 root root 12261 Jun 17 04:10 10_linux
  529. -rwxr-xr-x 1 root root 11082 Jun 17 04:10 20_linux_xen
  530. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  531. -rwxr-xr-x 1 root root 11692 Jun 17 04:10 30_os-prober
  532. -rwxr-xr-x 1 root root 1418 Jun 17 04:10 30_uefi-firmware
  533. -rwxr-xr-x 1 root root 214 Jun 17 04:10 40_custom
  534. -rwxr-xr-x 1 root root 216 Jun 17 04:10 41_custom
  535. -rw-r--r-- 1 root root 483 Jun 17 04:10 README
  536. =================== sda1/etc/default/grub :
  537. # If you change this file, run 'update-grub' afterwards to update
  538. # /boot/grub/grub.cfg.
  539. # For full documentation of the options in this file, see:
  540. # info -f grub -n 'Simple configuration'
  541. GRUB_DEFAULT=0
  542. GRUB_HIDDEN_TIMEOUT=0
  543. GRUB_HIDDEN_TIMEOUT_QUIET=true
  544. GRUB_TIMEOUT=10
  545. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  546. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  547. GRUB_CMDLINE_LINUX=""
  548. # Uncomment to enable BadRAM filtering, modify to suit your needs
  549. # This works with Linux (no patch required) and with any kernel that obtains
  550. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  551. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  552. # Uncomment to disable graphical terminal (grub-pc only)
  553. #GRUB_TERMINAL=console
  554. # The resolution used on graphical terminal
  555. # note that you can use only modes which your graphic card supports via VBE
  556. # you can see them in real GRUB with the command `vbeinfo'
  557. #GRUB_GFXMODE=640x480
  558. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  559. #GRUB_DISABLE_LINUX_UUID=true
  560. # Uncomment to disable generation of recovery mode menu entries
  561. #GRUB_DISABLE_RECOVERY="true"
  562. # Uncomment to get a beep at grub start
  563. #GRUB_INIT_TUNE="480 440 1"
  564. =================== efibootmgr -v
  565. BootCurrent: 0000
  566. Timeout: 2 seconds
  567. BootOrder: 2001,2003,2002
  568. Boot0000* EFI USB Device (Generic Flash Disk) PciRoot(0x0)/Pci(0x14,0x0)/USB(5,0)/HD(1,MBR,0x4294967271,0x2caa70,0x1280)RC
  569. Boot0001* EFI Network 0 for IPv4 (C4-54-44-06-47-B8) PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(c454440647b8,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
  570. Boot0002* EFI Network 0 for IPv6 (C4-54-44-06-47-B8) PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(c454440647b8,0)/IPv6([::]:<->[::]:,0,0)RC
  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 grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, 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/sda1.
  579. 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.
  580. sda3 : 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/sda3.
  581. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  582. sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 0 sectors * 512 bytes
  583. =================== parted -l:
  584. Model: ATA TOSHIBA MK2035GS (scsi)
  585. Disk /dev/sda: 200GB
  586. Sector size (logical/physical): 512B/512B
  587. Partition Table: msdos
  588. Disk Flags:
  589. Number Start End Size Type File system Flags
  590. 3 1049kB 211MB 210MB primary fat32 boot
  591. 1 211MB 196GB 196GB primary ext4
  592. 2 196GB 200GB 4214MB extended
  593. 5 196GB 200GB 4214MB logical linux-swap(v1)
  594. Model: Generic Flash Disk (scsi)
  595. Disk /dev/sdb: 8054MB
  596. Sector size (logical/physical): 512B/512B
  597. Partition Table: unknown
  598. Disk Flags:
  599. =================== parted -lm:
  600. BYT;
  601. /dev/sda:200GB:scsi:512:512:msdos:ATA TOSHIBA MK2035GS:;
  602. 3:1049kB:211MB:210MB:fat32::boot;
  603. 1:211MB:196GB:196GB:ext4::;
  604. 2:196GB:200GB:4214MB:::;
  605. 5:196GB:200GB:4214MB:linux-swap(v1)::;
  606. BYT;
  607. /dev/sdb:8054MB:scsi:512:512:unknown:Generic Flash Disk:;
  608. =================== lsblk:
  609. KNAME TYPE FSTYPE SIZE LABEL
  610. sda disk 186.3G
  611. sda1 part ext4 182.2G
  612. sda3 part vfat 200M
  613. sda5 part swap 3.9G
  614. sdb disk iso9660 7.5G Ubuntu 16.04.1 LTS amd64
  615. sdb1 part iso9660 1.4G Ubuntu 16.04.1 LTS amd64
  616. sdb2 part vfat 2.3M Ubuntu 16.04.1 LTS amd64
  617. sr0 rom 1024M
  618. loop0 loop squashfs 1.4G
  619. KNAME ROTA RO RM STATE MOUNTPOINT
  620. sda 1 0 0 running
  621. sda1 1 0 0 /mnt/boot-sav/sda1
  622. sda3 1 0 0 /mnt/boot-sav/sda3
  623. sda5 1 0 0 [SWAP]
  624. sdb 1 0 1 running /cdrom
  625. sdb1 1 0 1
  626. sdb2 1 0 1
  627. sr0 1 0 1 running
  628. loop0 1 1 0 /rofs
  629. =================== mount:
  630. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  631. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  632. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1969764k,nr_inodes=492441,mode=755)
  633. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  634. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=396880k,mode=755)
  635. /dev/sdb on /cdrom type iso9660 (ro,noatime)
  636. /dev/loop0 on /rofs type squashfs (ro,noatime)
  637. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  638. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  639. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  640. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  641. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  642. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  643. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  644. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  645. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  646. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  647. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  648. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  649. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  650. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  651. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  652. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  653. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  654. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  655. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  656. mqueue on /dev/mqueue type mqueue (rw,relatime)
  657. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  658. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  659. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  660. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  661. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  662. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=396880k,mode=700,uid=999,gid=999)
  663. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  664. /dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
  665. /dev/sda3 on /mnt/boot-sav/sda3 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  666. =================== ls:
  667. /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 sda5 size slaves stat subsystem trace uevent
  668. /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
  669. /sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  670. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 initctl input kmsg kvm libmtp-3-2 lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout toshiba_acpi uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  671. ls /dev/mapper: control
  672. =================== hexdump -n512 -C /dev/sdb2
  673. 00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
  674. 00000010 02 00 02 80 12 f8 04 00 20 00 40 00 00 00 00 00 |........ .@.....|
  675. 00000020 00 00 00 00 80 00 29 66 93 7b 0f 4e 4f 20 4e 41 |......)f.{.NO NA|
  676. 00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
  677. 00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
  678. 00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
  679. 00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
  680. 00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
  681. 00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
  682. 00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
  683. 000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
  684. 000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
  685. 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  686. *
  687. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  688. 00000200
  689. =================== hexdump -n512 -C /dev/sda3
  690. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 01 20 00 |.X.mkfs.fat... .|
  691. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  692. 00000020 00 40 06 00 4f 0c 00 00 00 00 00 00 02 00 00 00 |[email protected]...........|
  693. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  694. 00000040 80 01 29 cd 9c 2a 1f 20 20 20 20 20 20 20 20 20 |..)..*. |
  695. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  696. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  697. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  698. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  699. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  700. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  701. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  702. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  703. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  704. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  705. *
  706. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  707. 00000200
  708. =================== df -Th:
  709. Filesystem Type Size Used Avail Use% Mounted on
  710. udev devtmpfs 1.9G 0 1.9G 0% /dev
  711. tmpfs tmpfs 388M 12M 377M 3% /run
  712. /dev/sdb iso9660 1.5G 1.5G 0 100% /cdrom
  713. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  714. /cow overlay 1.9G 102M 1.8G 6% /
  715. tmpfs tmpfs 1.9G 160K 1.9G 1% /dev/shm
  716. tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
  717. tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
  718. tmpfs tmpfs 1.9G 352K 1.9G 1% /tmp
  719. tmpfs tmpfs 388M 76K 388M 1% /run/user/999
  720. /dev/sda1 ext4 180G 4.3G 166G 3% /mnt/boot-sav/sda1
  721. /dev/sda3 vfat 197M 512 197M 1% /mnt/boot-sav/sda3
  722. =================== fdisk -l:
  723. Disk /dev/ram0: 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/ram1: 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/ram2: 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/ram3: 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/ram4: 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/ram5: 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/ram6: 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/ram7: 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/ram8: 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/ram9: 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/ram10: 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/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  768. Units: sectors of 1 * 512 = 512 bytes
  769. Sector size (logical/physical): 512 bytes / 4096 bytes
  770. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  771. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 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. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  776. Units: sectors of 1 * 512 = 512 bytes
  777. Sector size (logical/physical): 512 bytes / 4096 bytes
  778. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  779. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  780. Units: sectors of 1 * 512 = 512 bytes
  781. Sector size (logical/physical): 512 bytes / 4096 bytes
  782. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  783. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  784. Units: sectors of 1 * 512 = 512 bytes
  785. Sector size (logical/physical): 512 bytes / 4096 bytes
  786. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  787. Disk /dev/loop0: 1.4 GiB, 1459982336 bytes, 2851528 sectors
  788. Units: sectors of 1 * 512 = 512 bytes
  789. Sector size (logical/physical): 512 bytes / 512 bytes
  790. I/O size (minimum/optimal): 512 bytes / 512 bytes
  791. Disk /dev/sda: 186.3 GiB, 200049647616 bytes, 390721968 sectors
  792. Units: sectors of 1 * 512 = 512 bytes
  793. Sector size (logical/physical): 512 bytes / 512 bytes
  794. I/O size (minimum/optimal): 512 bytes / 512 bytes
  795. Disklabel type: dos
  796. Disk identifier: 0x72954a4a
  797. Device Boot Start End Sectors Size Id Type
  798. /dev/sda1 411648 382488575 382076928 182.2G 83 Linux
  799. /dev/sda2 382490622 390721535 8230914 3.9G 5 Extended
  800. /dev/sda3 * 2048 411647 409600 200M b W95 FAT32
  801. /dev/sda5 382490624 390721535 8230912 3.9G 82 Linux swap / Solaris
  802. Partition table entries are not in disk order.
  803. Disk /dev/sdb: 7.5 GiB, 8054112256 bytes, 15730688 sectors
  804. Units: sectors of 1 * 512 = 512 bytes
  805. Sector size (logical/physical): 512 bytes / 512 bytes
  806. I/O size (minimum/optimal): 512 bytes / 512 bytes
  807. Disklabel type: dos
  808. Disk identifier: 0x40a863e7
  809. Device Boot Start End Sectors Size Id Type
  810. /dev/sdb1 * 0 2955679 2955680 1.4G 0 Empty
  811. /dev/sdb2 2927216 2931951 4736 2.3M ef EFI (FAT-12/16/32)
  812. =================== Recommended repair
  813. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda1, using the following options: sda3/boot/efi,
  814. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  815. /boot/efi added in sda1/fstab
  816. sda1/boot/efi not empty
  817. Mount sda3 on /mnt/boot-sav/sda1/boot/efi
  818. ls sda3/efi:
  819. ls: cannot access '/mnt/boot-sav/sda1/boot/efi/efi': No such file or directory
  820. No sda1/boot/efi/efi/ ubuntu/mint folder
  821. Unhide GRUB boot menu in sda1/etc/default/grub
  822. *******lspci -nnk | grep -iA3 vga
  823. 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
  824. Subsystem: Toshiba America Info Systems 4th Gen Core Processor Integrated Graphics Controller [1179:fa82]
  825. Kernel driver in use: i915
  826. Kernel modules: i915
  827. *******
  828. grub-install --version
  829. grub-install (GRUB) 2.02~beta2-36ubuntu3.2,grub-install (GRUB) 2.
  830. chroot /mnt/boot-sav/sda1 efibootmgr -v
  831. BootCurrent: 0000
  832. Timeout: 2 seconds
  833. BootOrder: 2001,2003,2002
  834. Boot0000* EFI USB Device (Generic Flash Disk) PciRoot(0x0)/Pci(0x14,0x0)/USB(5,0)/HD(1,MBR,0x4294967271,0x2caa70,0x1280)RC
  835. Boot0001* EFI Network 0 for IPv4 (C4-54-44-06-47-B8) PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(c454440647b8,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
  836. Boot0002* EFI Network 0 for IPv6 (C4-54-44-06-47-B8) PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(c454440647b8,0)/IPv6([::]:<->[::]:,0,0)RC
  837. Boot2001* EFI USB Device RC
  838. Boot2002* EFI DVD/CDROM RC
  839. Boot2003* EFI Network RC
  840. chroot /mnt/boot-sav/sda1 uname -r
  841. Kernel: 4.4.0-31-generic
  842. Reinstall the grub-efi-amd64-signed of sda1
  843. Installing for x86_64-efi platform.
  844. GUID Partition Table Header signature is wrong: be5608740128e852 != 5452415020494645
  845. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  846. GUID Partition Table Header signature is wrong: be5608740128e852 != 5452415020494645
  847. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  848. GUID Partition Table Header signature is wrong: be5608740128e852 != 5452415020494645
  849. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  850. Installation finished. No error reported.
  851. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  852. ls sda3/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg
  853. df /dev/sda3
  854. cp /mnt/boot-sav/sda1/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda1/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  855. df /dev/sda3
  856. cp /mnt/boot-sav/sda1/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda1/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  857. df /dev/sda3
  858. cp /mnt/boot-sav/sda1/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda1/boot/efi/EFI/Boot/bootx64.efi (& .grb)
  859. ls sda3/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 /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
  860. Add /mnt/boot-sav/sda1/boot/efi efi entries in /mnt/boot-sav/sda1/etc/grub.d/25_custom
  861. Adding custom /mnt/boot-sav/sda1/boot/efi/EFI/ubuntu/MokManager.efi
  862. chroot /mnt/boot-sav/sda1 efibootmgr -v
  863. BootCurrent: 0000
  864. Timeout: 2 seconds
  865. BootOrder: 0003,2001,2003,2002
  866. Boot0000* EFI USB Device (Generic Flash Disk) PciRoot(0x0)/Pci(0x14,0x0)/USB(5,0)/HD(1,MBR,0x4294967271,0x2caa70,0x1280)RC
  867. Boot0001* EFI Network 0 for IPv4 (C4-54-44-06-47-B8) PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(c454440647b8,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
  868. Boot0002* EFI Network 0 for IPv6 (C4-54-44-06-47-B8) PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(c454440647b8,0)/IPv6([::]:<->[::]:,0,0)RC
  869. Boot0003* ubuntu HD(3,MBR,0x74,0x800,0x64000)/File(EFIubuntushimx64.efi)
  870. Boot2001* EFI USB Device RC
  871. Boot2002* EFI DVD/CDROM RC
  872. Boot2003* EFI Network RC
  873. chroot /mnt/boot-sav/sda1 update-grub
  874. Generating grub configuration file ...
  875. Found linux image: /boot/vmlinuz-4.4.0-36-generic
  876. Found initrd image: /boot/initrd.img-4.4.0-36-generic
  877. Found linux image: /boot/vmlinuz-4.4.0-31-generic
  878. Found initrd image: /boot/initrd.img-4.4.0-31-generic
  879. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
  880. Adding boot menu entry for EFI firmware configuration
  881. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  882. mount /dev/sdb2 : Error code 32
  883. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  884. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  885. mount -r /dev/sdb2 : Error code 32
  886. Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
  887. An error occurred during the repair.
  888. You can now reboot your computer.
  889. Please do not forget to make your BIOS boot on sda (200GB) disk!
  890. paste.ubuntu.com ko (), using paste.debian
  891. paste.debian.net ko (), using paste2