Advertisement
Adinka

Boot info

Oct 22nd, 2017
475
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 81.92 KB | None | 0 0
  1. Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 22Sep2017]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => No known boot loader is installed in the MBR of /dev/sda.
  7. => Grub2 (v1.99-2.00) is installed in the MBR of /dev/sdb and looks at sector
  8. 1851123712 of the same hard drive for core.img, but core.img can not be
  9. found at this location.
  10.  
  11. sda1: __________________________________________________________________________
  12.  
  13. File system: iso9660
  14. Boot sector type: Unknown
  15. Boot sector info:
  16. Mounting failed: mount: /dev/sda1 is already mounted or /mnt/BootInfo/sda1 busy
  17.  
  18. sda2: __________________________________________________________________________
  19.  
  20. File system: vfat
  21. Boot sector type: FAT16
  22. Boot sector info: According to the info in the boot sector, sda2 starts
  23. at sector 0. But according to the info from fdisk,
  24. sda2 starts at sector 3118960. According to the info
  25. in the boot sector, sda2 has 0 sectors.
  26. Mounting failed: mount: /dev/sda1 is already mounted or /mnt/BootInfo/sda1 busy
  27. mount: /dev/sda2 is already mounted or /mnt/BootInfo/sda2 busy
  28.  
  29. sdb1: __________________________________________________________________________
  30.  
  31. File system: ntfs
  32. Boot sector type: Windows 8/2012: NTFS
  33. Boot sector info: No errors found in the Boot Parameter Block.
  34. Operating System:
  35. Boot files:
  36.  
  37. sdb2: __________________________________________________________________________
  38.  
  39. File system: vfat
  40. Boot sector type: Windows 8/2012: FAT32
  41. Boot sector info: No errors found in the Boot Parameter Block.
  42. Operating System:
  43. Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi
  44. /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi
  45. /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi
  46. /EFI/Microsoft/Boot/bootmgfw.efi
  47. /EFI/Microsoft/Boot/bootmgr.efi
  48. /EFI/Microsoft/Boot/memtest.efi
  49.  
  50. sdb3: __________________________________________________________________________
  51.  
  52. File system:
  53. Boot sector type: -
  54. Boot sector info:
  55. Mounting failed: mount: /dev/sda1 is already mounted or /mnt/BootInfo/sda1 busy
  56. mount: /dev/sda2 is already mounted or /mnt/BootInfo/sda2 busy
  57. mount: unknown filesystem type ''
  58.  
  59. sdb4: __________________________________________________________________________
  60.  
  61. File system: ntfs
  62. Boot sector type: Windows 8/2012: NTFS
  63. Boot sector info: No errors found in the Boot Parameter Block.
  64. Operating System:
  65. Boot files: /bootmgr /Windows/System32/winload.exe
  66.  
  67. sdb5: __________________________________________________________________________
  68.  
  69. File system: ext4
  70. Boot sector type: -
  71. Boot sector info:
  72. Operating System: Ubuntu 17.04
  73. Boot files: /boot/grub/grub.cfg /etc/fstab
  74.  
  75. sdb6: __________________________________________________________________________
  76.  
  77. File system: swap
  78. Boot sector type: -
  79. Boot sector info:
  80.  
  81. sdb7: __________________________________________________________________________
  82.  
  83. File system: ext4
  84. Boot sector type: -
  85. Boot sector info:
  86. Operating System:
  87. Boot files:
  88.  
  89. ============================ Drive/Partition Info: =============================
  90.  
  91. Drive: sda _____________________________________________________________________
  92. Disk /dev/sda: 7.2 GiB, 7750025216 bytes, 15136768 sectors
  93. Units: sectors of 1 * 512 = 512 bytes
  94. Sector size (logical/physical): 512 bytes / 512 bytes
  95. I/O size (minimum/optimal): 512 bytes / 512 bytes
  96. Disklabel type: dos
  97.  
  98. Partition Boot Start Sector End Sector # of Sectors Id System
  99.  
  100. /dev/sda1 * 0 3,142,655 3,142,656 0 Empty
  101. /dev/sda2 3,118,960 3,123,567 4,608 ef EFI (FAT-12/16/32)
  102.  
  103. /dev/sda1 overlaps with /dev/sda2
  104.  
  105. GUID Partition Table detected, but does not seem to be used.
  106.  
  107. Partition Attrs Start Sector End Sector # of Sectors System
  108. /dev/sda1 + R 0 3,142,599 3,142,600 Data partition (Windows/Linux)
  109. /dev/sda2 + R 3,118,960 3,123,567 4,608 Data partition (Windows/Linux)
  110.  
  111. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  112.  
  113. Drive: sdb _____________________________________________________________________
  114. Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  115. Units: sectors of 1 * 512 = 512 bytes
  116. Sector size (logical/physical): 512 bytes / 4096 bytes
  117. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  118. Disklabel type: gpt
  119.  
  120. Partition Boot Start Sector End Sector # of Sectors Id System
  121.  
  122. /dev/sdb1 1 1,953,525,167 1,953,525,167 ee GPT
  123.  
  124.  
  125. GUID Partition Table detected.
  126.  
  127. Partition Attrs Start Sector End Sector # of Sectors System
  128. /dev/sdb1 R 2,048 923,647 921,600 Windows Recovery Environment (Windows)
  129. /dev/sdb2 923,648 1,126,399 202,752 Data partition (Windows/Linux)
  130. /dev/sdb3 1,126,400 1,159,167 32,768 Microsoft Reserved Partition (Windows)
  131. /dev/sdb4 1,671,168 1,851,123,711 1,849,452,544 Data partition (Windows/Linux)
  132. /dev/sdb5 1,851,123,712 1,936,990,207 85,866,496 Data partition (Linux)
  133. /dev/sdb6 1,936,990,208 1,953,523,711 16,533,504 Swap partition (Linux)
  134. /dev/sdb7 1,159,168 1,671,167 512,000 EFI System partition
  135.  
  136. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  137.  
  138. "blkid" output: ________________________________________________________________
  139.  
  140. Device UUID TYPE LABEL
  141.  
  142. /dev/loop0 squashfs
  143. /dev/sda1 2017-04-12-03-44-04-00 iso9660 Ubuntu 17.04 amd64
  144. /dev/sda2 C1B1-9637 vfat
  145. /dev/sdb1 A20650A706507DEB ntfs
  146. /dev/sdb2 F062-04BE vfat
  147. /dev/sdb3
  148. /dev/sdb4 24FE6441FE640CFC ntfs
  149. /dev/sdb5 4f8446ed-0209-463e-9e2d-3d69d2de7e58 ext4
  150. /dev/sdb6 aac3a8ff-bcef-414f-80cd-0fc02b7eec5a swap
  151. /dev/sdb7 4562a85e-e241-4f35-8139-3cc1e5592ccf ext4
  152.  
  153. ========================= "ls -l /dev/disk/by-id" output: ======================
  154.  
  155. total 0
  156. lrwxrwxrwx 1 root root 9 Sep 22 19:31 ata-TOSHIBA_MQ02ABD100H_55SBW0W8T -> ../../sdb
  157. lrwxrwxrwx 1 root root 10 Sep 22 19:37 ata-TOSHIBA_MQ02ABD100H_55SBW0W8T-part1 -> ../../sdb1
  158. lrwxrwxrwx 1 root root 10 Sep 22 19:31 ata-TOSHIBA_MQ02ABD100H_55SBW0W8T-part2 -> ../../sdb2
  159. lrwxrwxrwx 1 root root 10 Sep 22 19:31 ata-TOSHIBA_MQ02ABD100H_55SBW0W8T-part3 -> ../../sdb3
  160. lrwxrwxrwx 1 root root 10 Sep 22 19:37 ata-TOSHIBA_MQ02ABD100H_55SBW0W8T-part4 -> ../../sdb4
  161. lrwxrwxrwx 1 root root 10 Sep 22 19:31 ata-TOSHIBA_MQ02ABD100H_55SBW0W8T-part5 -> ../../sdb5
  162. lrwxrwxrwx 1 root root 10 Sep 22 19:31 ata-TOSHIBA_MQ02ABD100H_55SBW0W8T-part6 -> ../../sdb6
  163. lrwxrwxrwx 1 root root 10 Sep 22 19:31 ata-TOSHIBA_MQ02ABD100H_55SBW0W8T-part7 -> ../../sdb7
  164. lrwxrwxrwx 1 root root 9 Sep 22 19:31 usb-SMI_USB_DISK_CCYYMMDDHHmmSS001065-0:0 -> ../../sda
  165. lrwxrwxrwx 1 root root 10 Sep 22 19:31 usb-SMI_USB_DISK_CCYYMMDDHHmmSS001065-0:0-part1 -> ../../sda1
  166. lrwxrwxrwx 1 root root 10 Sep 22 19:31 usb-SMI_USB_DISK_CCYYMMDDHHmmSS001065-0:0-part2 -> ../../sda2
  167. lrwxrwxrwx 1 root root 9 Sep 22 19:31 wwn-0x5000039644985c37 -> ../../sdb
  168. lrwxrwxrwx 1 root root 10 Sep 22 19:37 wwn-0x5000039644985c37-part1 -> ../../sdb1
  169. lrwxrwxrwx 1 root root 10 Sep 22 19:31 wwn-0x5000039644985c37-part2 -> ../../sdb2
  170. lrwxrwxrwx 1 root root 10 Sep 22 19:31 wwn-0x5000039644985c37-part3 -> ../../sdb3
  171. lrwxrwxrwx 1 root root 10 Sep 22 19:37 wwn-0x5000039644985c37-part4 -> ../../sdb4
  172. lrwxrwxrwx 1 root root 10 Sep 22 19:31 wwn-0x5000039644985c37-part5 -> ../../sdb5
  173. lrwxrwxrwx 1 root root 10 Sep 22 19:31 wwn-0x5000039644985c37-part6 -> ../../sdb6
  174. lrwxrwxrwx 1 root root 10 Sep 22 19:31 wwn-0x5000039644985c37-part7 -> ../../sdb7
  175.  
  176. ================================ Mount points: =================================
  177.  
  178. Device Mount_Point Type Options
  179.  
  180. /dev/loop0 /rofs squashfs (ro,noatime)
  181. /dev/sda /cdrom iso9660 (ro,noatime)
  182.  
  183.  
  184. =========================== sdb5/boot/grub/grub.cfg: ===========================
  185.  
  186. --------------------------------------------------------------------------------
  187. #
  188. # DO NOT EDIT THIS FILE
  189. #
  190. # It is automatically generated by grub-mkconfig using templates
  191. # from /etc/grub.d and settings from /etc/default/grub
  192. #
  193.  
  194. ### BEGIN /etc/grub.d/00_header ###
  195. if [ -s $prefix/grubenv ]; then
  196. set have_grubenv=true
  197. load_env
  198. fi
  199. if [ "${next_entry}" ] ; then
  200. set default="${next_entry}"
  201. set next_entry=
  202. save_env next_entry
  203. set boot_once=true
  204. else
  205. set default="0"
  206. fi
  207.  
  208. if [ x"${feature_menuentry_id}" = xy ]; then
  209. menuentry_id_option="--id"
  210. else
  211. menuentry_id_option=""
  212. fi
  213.  
  214. export menuentry_id_option
  215.  
  216. if [ "${prev_saved_entry}" ]; then
  217. set saved_entry="${prev_saved_entry}"
  218. save_env saved_entry
  219. set prev_saved_entry=
  220. save_env prev_saved_entry
  221. set boot_once=true
  222. fi
  223.  
  224. function savedefault {
  225. if [ -z "${boot_once}" ]; then
  226. saved_entry="${chosen}"
  227. save_env saved_entry
  228. fi
  229. }
  230. function recordfail {
  231. set recordfail=1
  232. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  233. }
  234. function load_video {
  235. if [ x$feature_all_video_module = xy ]; then
  236. insmod all_video
  237. else
  238. insmod efi_gop
  239. insmod efi_uga
  240. insmod ieee1275_fb
  241. insmod vbe
  242. insmod vga
  243. insmod video_bochs
  244. insmod video_cirrus
  245. fi
  246. }
  247.  
  248. if [ x$feature_default_font_path = xy ] ; then
  249. font=unicode
  250. else
  251. insmod part_gpt
  252. insmod ext2
  253. set root='hd1,gpt5'
  254. if [ x$feature_platform_search_hint = xy ]; then
  255. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 4f8446ed-0209-463e-9e2d-3d69d2de7e58
  256. else
  257. search --no-floppy --fs-uuid --set=root 4f8446ed-0209-463e-9e2d-3d69d2de7e58
  258. fi
  259. font="/usr/share/grub/unicode.pf2"
  260. fi
  261.  
  262. if loadfont $font ; then
  263. set gfxmode=auto
  264. load_video
  265. insmod gfxterm
  266. set locale_dir=$prefix/locale
  267. set lang=en_US
  268. insmod gettext
  269. fi
  270. terminal_output gfxterm
  271. if [ "${recordfail}" = 1 ] ; then
  272. set timeout=10
  273. else
  274. if [ x$feature_timeout_style = xy ] ; then
  275. set timeout_style=menu
  276. set timeout=10
  277. # Fallback normal timeout code in case the timeout_style feature is
  278. # unavailable.
  279. else
  280. set timeout=10
  281. fi
  282. fi
  283. ### END /etc/grub.d/00_header ###
  284.  
  285. ### BEGIN /etc/grub.d/05_debian_theme ###
  286. set menu_color_normal=white/black
  287. set menu_color_highlight=black/light-gray
  288. if background_color 44,0,30,0; then
  289. clear
  290. fi
  291. ### END /etc/grub.d/05_debian_theme ###
  292.  
  293. ### BEGIN /etc/grub.d/10_linux ###
  294. function gfxmode {
  295. set gfxpayload="${1}"
  296. if [ "${1}" = "keep" ]; then
  297. set vt_handoff=vt.handoff=7
  298. else
  299. set vt_handoff=
  300. fi
  301. }
  302. if [ "${recordfail}" != 1 ]; then
  303. if [ -e ${prefix}/gfxblacklist.txt ]; then
  304. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  305. if [ ${match} = 0 ]; then
  306. set linux_gfx_mode=keep
  307. else
  308. set linux_gfx_mode=text
  309. fi
  310. else
  311. set linux_gfx_mode=text
  312. fi
  313. else
  314. set linux_gfx_mode=keep
  315. fi
  316. else
  317. set linux_gfx_mode=text
  318. fi
  319. export linux_gfx_mode
  320. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4f8446ed-0209-463e-9e2d-3d69d2de7e58' {
  321. recordfail
  322. load_video
  323. gfxmode $linux_gfx_mode
  324. insmod gzio
  325. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  326. insmod part_gpt
  327. insmod ext2
  328. set root='hd1,gpt5'
  329. if [ x$feature_platform_search_hint = xy ]; then
  330. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 4f8446ed-0209-463e-9e2d-3d69d2de7e58
  331. else
  332. search --no-floppy --fs-uuid --set=root 4f8446ed-0209-463e-9e2d-3d69d2de7e58
  333. fi
  334. linux /boot/vmlinuz-4.10.0-35-generic.efi.signed root=UUID=4f8446ed-0209-463e-9e2d-3d69d2de7e58 ro quiet splash $vt_handoff
  335. initrd /boot/initrd.img-4.10.0-35-generic
  336. }
  337. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-4f8446ed-0209-463e-9e2d-3d69d2de7e58' {
  338. menuentry 'Ubuntu, with Linux 4.10.0-35-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-35-generic-advanced-4f8446ed-0209-463e-9e2d-3d69d2de7e58' {
  339. recordfail
  340. load_video
  341. gfxmode $linux_gfx_mode
  342. insmod gzio
  343. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  344. insmod part_gpt
  345. insmod ext2
  346. set root='hd1,gpt5'
  347. if [ x$feature_platform_search_hint = xy ]; then
  348. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 4f8446ed-0209-463e-9e2d-3d69d2de7e58
  349. else
  350. search --no-floppy --fs-uuid --set=root 4f8446ed-0209-463e-9e2d-3d69d2de7e58
  351. fi
  352. echo 'Loading Linux 4.10.0-35-generic ...'
  353. linux /boot/vmlinuz-4.10.0-35-generic.efi.signed root=UUID=4f8446ed-0209-463e-9e2d-3d69d2de7e58 ro quiet splash $vt_handoff
  354. echo 'Loading initial ramdisk ...'
  355. initrd /boot/initrd.img-4.10.0-35-generic
  356. }
  357. menuentry 'Ubuntu, with Linux 4.10.0-35-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-35-generic-init-upstart-4f8446ed-0209-463e-9e2d-3d69d2de7e58' {
  358. recordfail
  359. load_video
  360. gfxmode $linux_gfx_mode
  361. insmod gzio
  362. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  363. insmod part_gpt
  364. insmod ext2
  365. set root='hd1,gpt5'
  366. if [ x$feature_platform_search_hint = xy ]; then
  367. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 4f8446ed-0209-463e-9e2d-3d69d2de7e58
  368. else
  369. search --no-floppy --fs-uuid --set=root 4f8446ed-0209-463e-9e2d-3d69d2de7e58
  370. fi
  371. echo 'Loading Linux 4.10.0-35-generic ...'
  372. linux /boot/vmlinuz-4.10.0-35-generic.efi.signed root=UUID=4f8446ed-0209-463e-9e2d-3d69d2de7e58 ro quiet splash $vt_handoff init=/sbin/upstart
  373. echo 'Loading initial ramdisk ...'
  374. initrd /boot/initrd.img-4.10.0-35-generic
  375. }
  376. menuentry 'Ubuntu, with Linux 4.10.0-35-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-35-generic-recovery-4f8446ed-0209-463e-9e2d-3d69d2de7e58' {
  377. recordfail
  378. load_video
  379. insmod gzio
  380. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  381. insmod part_gpt
  382. insmod ext2
  383. set root='hd1,gpt5'
  384. if [ x$feature_platform_search_hint = xy ]; then
  385. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 4f8446ed-0209-463e-9e2d-3d69d2de7e58
  386. else
  387. search --no-floppy --fs-uuid --set=root 4f8446ed-0209-463e-9e2d-3d69d2de7e58
  388. fi
  389. echo 'Loading Linux 4.10.0-35-generic ...'
  390. linux /boot/vmlinuz-4.10.0-35-generic.efi.signed root=UUID=4f8446ed-0209-463e-9e2d-3d69d2de7e58 ro recovery nomodeset
  391. echo 'Loading initial ramdisk ...'
  392. initrd /boot/initrd.img-4.10.0-35-generic
  393. }
  394. }
  395.  
  396. ### END /etc/grub.d/10_linux ###
  397.  
  398. ### BEGIN /etc/grub.d/20_linux_xen ###
  399.  
  400. ### END /etc/grub.d/20_linux_xen ###
  401.  
  402. ### BEGIN /etc/grub.d/25_custom ###
  403.  
  404. menuentry "Windows UEFI bootmgfw.efi" {
  405. search --fs-uuid --no-floppy --set=root F062-04BE
  406. chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
  407. }
  408.  
  409. menuentry "Windows Boot UEFI loader" {
  410. search --fs-uuid --no-floppy --set=root F062-04BE
  411. chainloader (${root})/EFI/Boot/bootx64.efi
  412. }
  413.  
  414. menuentry "EFI/ubuntu/fwupx64.efi" {
  415. search --fs-uuid --no-floppy --set=root F062-04BE
  416. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  417. }
  418.  
  419. menuentry "EFI/ubuntu/mmx64.efi" {
  420. search --fs-uuid --no-floppy --set=root F062-04BE
  421. chainloader (${root})/EFI/ubuntu/mmx64.efi
  422. }
  423.  
  424. menuentry "EFI/ubuntu/MokManager.efi" {
  425. search --fs-uuid --no-floppy --set=root F062-04BE
  426. chainloader (${root})/EFI/ubuntu/MokManager.efi
  427. }
  428. ### END /etc/grub.d/25_custom ###
  429.  
  430. ### BEGIN /etc/grub.d/30_os-prober ###
  431. ### END /etc/grub.d/30_os-prober ###
  432.  
  433. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  434. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  435. fwsetup
  436. }
  437. ### END /etc/grub.d/30_uefi-firmware ###
  438.  
  439. ### BEGIN /etc/grub.d/40_custom ###
  440. # This file provides an easy way to add custom menu entries. Simply type the
  441. # menu entries you want to add after this comment. Be careful not to change
  442. # the 'exec tail' line above.
  443. ### END /etc/grub.d/40_custom ###
  444.  
  445. ### BEGIN /etc/grub.d/41_custom ###
  446. if [ -f ${config_directory}/custom.cfg ]; then
  447. source ${config_directory}/custom.cfg
  448. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  449. source $prefix/custom.cfg;
  450. fi
  451. ### END /etc/grub.d/41_custom ###
  452. --------------------------------------------------------------------------------
  453.  
  454. =============================== sdb5/etc/fstab: ================================
  455.  
  456. --------------------------------------------------------------------------------
  457. # /etc/fstab: static file system information.
  458. #
  459. # Use 'blkid' to print the universally unique identifier for a
  460. # device; this may be used with UUID= as a more robust way to name devices
  461. # that works even if disks are added and removed. See fstab(5).
  462. #
  463. # <file system> <mount point> <type> <options> <dump> <pass>
  464. # / was on /dev/sda5 during installation
  465. UUID=4f8446ed-0209-463e-9e2d-3d69d2de7e58 / ext4 errors=remount-ro 0 1
  466. # /boot/efi was on /dev/sda2 during installation
  467. #UUID=F062-04BE /boot/efi vfat umask=0077 0 1
  468. # swap was on /dev/sda6 during installation
  469. UUID=aac3a8ff-bcef-414f-80cd-0fc02b7eec5a none swap sw 0 0
  470. UUID=4562a85e-e241-4f35-8139-3cc1e5592ccf /boot ext4 defaults 0 2
  471. UUID=4562a85e-e241-4f35-8139-3cc1e5592ccf /boot/efi ext4 defaults 0 1
  472. --------------------------------------------------------------------------------
  473.  
  474. =================== sdb5: Location of files loaded by Grub: ====================
  475.  
  476. GiB - GB File Fragment(s)
  477.  
  478. 896.811813354 = 962.944352256 boot/grub/grub.cfg 1
  479. 884.299076080 = 949.508902912 boot/vmlinuz-4.10.0-35-generic 1
  480. 884.648662567 = 949.884268544 boot/vmlinuz-4.10.0-35-generic.efi.signed 1
  481. 884.299076080 = 949.508902912 vmlinuz 1
  482. 884.587894440 = 949.819019264 boot/initrd.img-4.10.0-35-generic 3
  483. 884.587894440 = 949.819019264 initrd.img 3
  484.  
  485. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  486.  
  487. Unknown MBR on /dev/sda
  488.  
  489. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  490. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  491. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  492. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  493. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  494. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  495. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  496. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  497. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  498. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |D.....f@.....f.>|
  499. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  500. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  501. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  502. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  503. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  504. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  505. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  506. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  507. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  508. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  509. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  510. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  511. 00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  512. 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  513. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  514. 00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  515. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  516. 000001b0 28 70 2f 00 00 00 00 00 74 14 57 1b 00 00 80 00 |(p/.....t.W.....|
  517. 000001c0 01 00 00 5f e0 fe 00 00 00 00 00 f4 2f 00 00 fe |..._......../...|
  518. 000001d0 ff ff ef fe ff ff 70 97 2f 00 00 12 00 00 00 00 |......p./.......|
  519. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  520. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  521. 00000200
  522.  
  523.  
  524. /dev/sda1: unknown GPT attributes
  525. 1000000000000001
  526.  
  527. /dev/sda2: unknown GPT attributes
  528. 1000000000000001
  529. Unknown BootLoader on sda1
  530.  
  531. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  532. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  533. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  534. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  535. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  536. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  537. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  538. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  539. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  540. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |D.....f@.....f.>|
  541. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  542. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  543. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  544. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  545. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  546. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  547. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  548. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  549. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  550. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  551. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  552. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  553. *
  554. 000001b0 28 70 2f 00 00 00 00 00 74 14 57 1b 00 00 80 00 |(p/.....t.W.....|
  555. 000001c0 01 00 00 5f e0 fe 00 00 00 00 00 f4 2f 00 00 fe |..._......../...|
  556. 000001d0 ff ff ef fe ff ff 70 97 2f 00 00 12 00 00 00 00 |......p./.......|
  557. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  558. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  559. 00000200
  560.  
  561.  
  562. =============================== StdErr Messages: ===============================
  563.  
  564. File descriptor 9 (/proc/3825/mountinfo) leaked on lvs invocation. Parent PID 24476: bash
  565. File descriptor 63 (pipe:[49696]) leaked on lvs invocation. Parent PID 24476: bash
  566.  
  567. ADDITIONAL INFORMATION :
  568. =================== log of boot-repair 20170922_1931 ===================
  569. boot-repair version : 4ppa46
  570. boot-sav version : 4ppa46
  571. glade2script version : 3.2.3~ppa2
  572. boot-sav-extra version : 4ppa46
  573. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  574. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  575. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  576. boot-repair is executed in live-session (Ubuntu 17.04, zesty, Ubuntu, x86_64)
  577. CPU op-mode(s): 32-bit, 64-bit
  578. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  579. ls: cannot access '/home/usr/.config': No such file or directory
  580. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  581. mount /dev/sda2 : Error code 32
  582. mount -r /dev/sda2 /mnt/boot-sav/sda2
  583. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  584. mount -r /dev/sda2 : Error code 32
  585.  
  586. =================== os-prober:
  587. /dev/sdb5:Ubuntu 17.04 (17.04):Ubuntu:linux
  588.  
  589. =================== blkid:
  590. /dev/loop0: TYPE="squashfs"
  591. /dev/sda1: UUID="2017-04-12-03-44-04-00" LABEL="Ubuntu 17.04 amd64" TYPE="iso9660" PTUUID="1b571474" PTTYPE="dos" PARTUUID="1b571474-01"
  592. /dev/sda2: SEC_TYPE="msdos" UUID="C1B1-9637" TYPE="vfat" PARTUUID="1b571474-02"
  593. /dev/sdb1: UUID="A20650A706507DEB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="dfb1a957-6b3b-4f91-b7c1-db9c319a241c"
  594. /dev/sdb2: UUID="F062-04BE" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="96f08870-b899-4843-9e20-e6fef7f422f0"
  595. /dev/sdb4: UUID="24FE6441FE640CFC" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="3c0e5401-a767-45c9-a8f2-37b935a71891"
  596. /dev/sdb5: UUID="4f8446ed-0209-463e-9e2d-3d69d2de7e58" TYPE="ext4" PARTUUID="7e579880-1e17-47b7-84aa-088e8d0680d0"
  597. /dev/sdb6: UUID="aac3a8ff-bcef-414f-80cd-0fc02b7eec5a" TYPE="swap" PARTUUID="bfc5412a-e778-4281-8405-b29281d0ecf0"
  598. /dev/sdb7: UUID="4562a85e-e241-4f35-8139-3cc1e5592ccf" TYPE="ext4" PARTUUID="89fb0e4a-a8cc-44ac-a1f6-6b388fa2be2c"
  599. /dev/sdb3: PARTLABEL="Microsoft reserved partition" PARTUUID="7209ef0b-4789-4d0e-b31e-71723f7db901"
  600.  
  601.  
  602. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  603.  
  604. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  605. mount /dev/sda2 : Error code 32
  606. mount -r /dev/sda2 /mnt/boot-sav/sda2
  607. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  608. mount -r /dev/sda2 : Error code 32
  609. Windows not detected by os-prober on sdb4.
  610. dd: invalid number: ‘0’
  611. Warning: /var/log/boot-repair/20170922_193102/sda/current_mbr.img could not be created. Please report this message to boot.repair@gmail.com
  612. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sdb2/EFI/Microsoft/Boot/bootmgfw.efi
  613. Presence of EFI/Boot file detected: /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi
  614.  
  615. =================== sdb5/etc/grub.d/ :
  616. drwxr-xr-x 2 root root 4096 Sep 22 16:33 grub.d
  617. total 80
  618. -rwxr-xr-x 1 root root 9783 Mar 30 21:45 00_header
  619. -rwxr-xr-x 1 root root 6258 Nov 1 2016 05_debian_theme
  620. -rwxr-xr-x 1 root root 12676 Mar 30 21:45 10_linux
  621. -rwxr-xr-x 1 root root 11281 Mar 30 21:45 20_linux_xen
  622. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  623. -rwxr-xr-x 1 root root 12059 Mar 30 21:45 30_os-prober
  624. -rwxr-xr-x 1 root root 1418 Mar 30 21:45 30_uefi-firmware
  625. -rwxr-xr-x 1 root root 214 Mar 30 21:45 40_custom
  626. -rwxr-xr-x 1 root root 216 Mar 30 21:45 41_custom
  627. -rw-r--r-- 1 root root 483 Mar 30 21:45 README
  628.  
  629.  
  630.  
  631.  
  632. =================== sdb5/etc/default/grub :
  633.  
  634. # If you change this file, run 'update-grub' afterwards to update
  635. # /boot/grub/grub.cfg.
  636. # For full documentation of the options in this file, see:
  637. # info -f grub -n 'Simple configuration'
  638.  
  639. GRUB_DEFAULT=0
  640. #GRUB_HIDDEN_TIMEOUT=0
  641. GRUB_HIDDEN_TIMEOUT_QUIET=true
  642. GRUB_TIMEOUT=10
  643. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  644. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  645. GRUB_CMDLINE_LINUX=""
  646.  
  647. # Uncomment to enable BadRAM filtering, modify to suit your needs
  648. # This works with Linux (no patch required) and with any kernel that obtains
  649. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  650. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  651.  
  652. # Uncomment to disable graphical terminal (grub-pc only)
  653. #GRUB_TERMINAL=console
  654.  
  655. # The resolution used on graphical terminal
  656. # note that you can use only modes which your graphic card supports via VBE
  657. # you can see them in real GRUB with the command `vbeinfo'
  658. #GRUB_GFXMODE=640x480
  659.  
  660. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  661. #GRUB_DISABLE_LINUX_UUID=true
  662.  
  663. # Uncomment to disable generation of recovery mode menu entries
  664. #GRUB_DISABLE_RECOVERY="true"
  665.  
  666. # Uncomment to get a beep at grub start
  667. #GRUB_INIT_TUNE="480 440 1"
  668.  
  669.  
  670.  
  671. /boot/efi detected in the fstab of sdb5: UUID=F062-04BE (sdb2)
  672. gui-g2slaunch.sh: line 159: warning: command substitution: ignored null byte in input
  673.  
  674. =================== efibootmgr -v
  675. BootCurrent: 0003
  676. Timeout: 0 seconds
  677. BootOrder: 0002,0003,0001,2001,2002,2003
  678. Boot0000* ubuntu HD(2,GPT,96f08870-b899-4843-9e20-e6fef7f422f0,0xe1800,0x31800)/File(EFIubuntushimx64.efi)
  679. Boot0001* Linpus lite HD(1,MBR,0x116,0x2f9770,0x1200)/File(EFIBootgrubx64.efi)RC
  680. Boot0002* Windows Boot Manager HD(2,GPT,96f08870-b899-4843-9e20-e6fef7f422f0,0xe1800,0x31800)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...d................
  681. Boot0003* Command Linpus lite HD(1,MBR,0x116,0x2f9770,0x1200)/File(EFIBootbootx64.efi)RC
  682. Boot0004* Unknown Device: HD(2,GPT,96f08870-b899-4843-9e20-e6fef7f422f0,0xe1800,0x31800)/File(EFIubuntushimx64.efi)RC
  683. Boot2001* EFI USB Device RC
  684. Boot2002* EFI DVD/CDROM RC
  685. Boot2003* EFI Network RC
  686.  
  687. =================== UEFI/Legacy mode:
  688. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  689. SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
  690.  
  691.  
  692. =================== PARTITIONS & DISKS:
  693. sda2 : 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/sda2.
  694. sdb1 : 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, recovery-or-hidden, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sdb1.
  695. sdb2 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-maybe-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/sdb2.
  696. sdb4 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sdb4.
  697. sdb5 : sdb, not-sepboot, grubenv-ok grub2, no-docgrub, update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sdb5.
  698. sdb7 : sdb, maybesepboot, 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/sdb7.
  699.  
  700. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 0 sectors * 512 bytes
  701. sdb : GPT, no-BIOS_boot, has-maybe-EFI, not-usb, has-os, 2048 sectors * 512 bytes
  702.  
  703.  
  704. =================== parted -l:
  705.  
  706. Model: SMI USB DISK (scsi)
  707. Disk /dev/sda: 7750MB
  708. Sector size (logical/physical): 512B/512B
  709. Partition Table: unknown
  710. Disk Flags:
  711.  
  712. Model: ATA TOSHIBA MQ02ABD1 (scsi)
  713. Disk /dev/sdb: 1000GB
  714. Sector size (logical/physical): 512B/4096B
  715. Partition Table: gpt
  716. Disk Flags:
  717.  
  718. Number Start End Size File system Name Flags
  719. 1 1049kB 473MB 472MB ntfs Basic data partition hidden, diag
  720. 2 473MB 577MB 104MB fat32 EFI system partition msftdata
  721. 3 577MB 593MB 16.8MB Microsoft reserved partition msftres
  722. 7 593MB 856MB 262MB ext4 boot, esp
  723. 4 856MB 948GB 947GB ntfs Basic data partition msftdata
  724. 5 948GB 992GB 44.0GB ext4
  725. 6 992GB 1000GB 8465MB linux-swap(v1)
  726.  
  727. =================== parted -lm:
  728.  
  729. BYT;
  730. /dev/sda:7750MB:scsi:512:512:unknown:SMI USB DISK:;
  731.  
  732. BYT;
  733. /dev/sdb:1000GB:scsi:512:4096:gpt:ATA TOSHIBA MQ02ABD1:;
  734. 1:1049kB:473MB:472MB:ntfs:Basic data partition:hidden, diag;
  735. 2:473MB:577MB:104MB:fat32:EFI system partition:msftdata;
  736. 3:577MB:593MB:16.8MB::Microsoft reserved partition:msftres;
  737. 7:593MB:856MB:262MB:ext4::boot, esp;
  738. 4:856MB:948GB:947GB:ntfs:Basic data partition:msftdata;
  739. 5:948GB:992GB:44.0GB:ext4::;
  740. 6:992GB:1000GB:8465MB:linux-swap(v1)::;
  741.  
  742. =================== lsblk:
  743. KNAME TYPE FSTYPE SIZE LABEL
  744. loop0 loop squashfs 1.5G
  745. sda disk iso9660 7.2G Ubuntu 17.04 amd64
  746. sda1 part iso9660 1.5G Ubuntu 17.04 amd64
  747. sda2 part vfat 2.3M Ubuntu 17.04 amd64
  748. sdb disk 931.5G
  749. sdb1 part ntfs 450M
  750. sdb2 part vfat 99M
  751. sdb3 part 16M
  752. sdb4 part ntfs 881.9G
  753. sdb5 part ext4 41G
  754. sdb6 part swap 7.9G
  755. sdb7 part ext4 250M
  756.  
  757. KNAME ROTA RO RM STATE MOUNTPOINT
  758. loop0 1 1 0 /rofs
  759. sda 1 0 1 running /cdrom
  760. sda1 1 0 1
  761. sda2 1 0 1
  762. sdb 1 0 0 running
  763. sdb1 1 0 0 /mnt/boot-sav/sdb1
  764. sdb2 1 0 0 /mnt/boot-sav/sdb2
  765. sdb3 1 0 0
  766. sdb4 1 0 0 /mnt/boot-sav/sdb4
  767. sdb5 1 0 0 /mnt/boot-sav/sdb5
  768. sdb6 1 0 0 [SWAP]
  769. sdb7 1 0 0 /mnt/boot-sav/sdb7
  770.  
  771.  
  772. =================== mount:
  773. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  774. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  775. udev on /dev type devtmpfs (rw,nosuid,relatime,size=4008904k,nr_inodes=1002226,mode=755)
  776. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  777. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=805080k,mode=755)
  778. /dev/sda on /cdrom type iso9660 (ro,noatime)
  779. /dev/loop0 on /rofs type squashfs (ro,noatime)
  780. aufs on / type aufs (rw,noatime,si=60858556db922ea8)
  781. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  782. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  783. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  784. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  785. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  786. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  787. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  788. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  789. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  790. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  791. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  792. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  793. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  794. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  795. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  796. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  797. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  798. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14254)
  799. mqueue on /dev/mqueue type mqueue (rw,relatime)
  800. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  801. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  802. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  803. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  804. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  805. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=805076k,mode=700,uid=999,gid=999)
  806. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  807. /dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  808. /dev/sdb2 on /mnt/boot-sav/sdb2 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  809. /dev/sdb4 on /mnt/boot-sav/sdb4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  810. /dev/sdb5 on /mnt/boot-sav/sdb5 type ext4 (rw,relatime,data=ordered)
  811. /dev/sdb7 on /mnt/boot-sav/sdb7 type ext4 (rw,relatime,stripe=4,data=ordered)
  812.  
  813.  
  814. =================== ls:
  815. /sys/block/sda (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 size slaves stat subsystem trace uevent
  816. /sys/block/sdb (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 size slaves stat subsystem trace uevent
  817. /dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-19 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sdb sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sg0 sg1 shm snapshot snd stderr stdin stdout tpm0 uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  818. ls /dev/mapper: control
  819.  
  820. =================== hexdump -n512 -C /dev/sda2
  821. 00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
  822. 00000010 02 00 02 00 12 f8 04 00 20 00 40 00 00 00 00 00 |........ .@.....|
  823. 00000020 00 00 00 00 80 00 29 37 96 b1 c1 4e 4f 20 4e 41 |......)7...NO NA|
  824. 00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
  825. 00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
  826. 00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
  827. 00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
  828. 00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
  829. 00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
  830. 00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
  831. 000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
  832. 000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
  833. 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  834. *
  835. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  836. 00000200
  837.  
  838. =================== hexdump -n512 -C /dev/sdb1
  839. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  840. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  841. 00000020 00 00 00 00 80 00 80 00 ff 0f 0e 00 00 00 00 00 |................|
  842. 00000030 00 96 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  843. 00000040 f6 00 00 00 01 00 00 00 eb 7d 50 06 a7 50 06 a2 |.........}P..P..|
  844. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  845. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  846. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  847. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  848. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  849. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  850. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  851. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  852. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  853. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  854. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  855. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  856. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  857. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  858. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  859. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  860. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  861. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  862. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  863. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  864. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  865. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  866. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  867. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  868. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  869. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  870. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  871. 00000200
  872.  
  873. =================== hexdump -n512 -C /dev/sdb2
  874. 00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 0e 1a |.X.MSDOS5.0.....|
  875. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 18 0e 00 |........?.......|
  876. 00000020 00 18 03 00 f9 02 00 00 00 00 00 00 02 00 00 00 |................|
  877. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  878. 00000040 80 01 29 be 04 62 f0 4e 4f 20 4e 41 4d 45 20 20 |..)..b.NO NAME |
  879. 00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
  880. 00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|.V@.N..V|
  881. 00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
  882. 00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
  883. 00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
  884. 000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
  885. 000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
  886. 000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
  887. 000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
  888. 000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
  889. 000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
  890. 00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
  891. 00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
  892. 00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
  893. 00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
  894. 00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
  895. 00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
  896. 00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |.t.....f@Iu..BOO|
  897. 00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
  898. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  899. *
  900. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
  901. 000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
  902. 000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
  903. 000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
  904. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  905. 000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
  906. 00000200
  907.  
  908. =================== hexdump -n512 -C /dev/sdb4
  909. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  910. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 80 19 00 |........?.......|
  911. 00000020 00 00 00 00 80 00 80 00 f8 67 3c 6e 00 00 00 00 |.........g<n....|
  912. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  913. 00000040 f6 00 00 00 01 00 00 00 fc 0c 64 fe 41 64 fe 24 |..........d.Ad.$|
  914. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  915. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  916. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  917. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  918. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  919. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  920. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  921. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  922. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  923. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  924. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  925. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  926. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  927. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  928. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  929. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  930. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  931. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  932. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  933. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  934. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  935. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  936. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  937. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  938. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  939. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  940. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  941. 00000200
  942.  
  943. =================== df -Th:
  944.  
  945. Filesystem Type Size Used Avail Use% Mounted on
  946. udev devtmpfs 3.9G 0 3.9G 0% /dev
  947. tmpfs tmpfs 787M 9.7M 777M 2% /run
  948. /dev/sda iso9660 1.5G 1.5G 0 100% /cdrom
  949. /dev/loop0 squashfs 1.5G 1.5G 0 100% /rofs
  950. aufs aufs 3.9G 45M 3.8G 2% /
  951. tmpfs tmpfs 3.9G 8.0K 3.9G 1% /dev/shm
  952. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  953. tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
  954. tmpfs tmpfs 3.9G 24K 3.9G 1% /tmp
  955. tmpfs tmpfs 787M 160K 787M 1% /run/user/999
  956. /dev/sdb1 fuseblk 450M 13M 438M 3% /mnt/boot-sav/sdb1
  957. /dev/sdb2 vfat 95M 95M 1.0K 100% /mnt/boot-sav/sdb2
  958. /dev/sdb4 fuseblk 882G 838G 45G 95% /mnt/boot-sav/sdb4
  959. /dev/sdb5 ext4 41G 4.4G 34G 12% /mnt/boot-sav/sdb5
  960. /dev/sdb7 ext4 239M 2.1M 220M 1% /mnt/boot-sav/sdb7
  961.  
  962. =================== fdisk -l:
  963. Disk /dev/loop0: 1.5 GiB, 1553670144 bytes, 3034512 sectors
  964. Units: sectors of 1 * 512 = 512 bytes
  965. Sector size (logical/physical): 512 bytes / 512 bytes
  966. I/O size (minimum/optimal): 512 bytes / 512 bytes
  967.  
  968.  
  969. Disk /dev/sda: 7.2 GiB, 7750025216 bytes, 15136768 sectors
  970. Units: sectors of 1 * 512 = 512 bytes
  971. Sector size (logical/physical): 512 bytes / 512 bytes
  972. I/O size (minimum/optimal): 512 bytes / 512 bytes
  973. Disklabel type: dos
  974. Disk identifier: 0x1b571474
  975.  
  976. Device Boot Start End Sectors Size Id Type
  977. /dev/sda1 * 0 3142655 3142656 1.5G 0 Empty
  978. /dev/sda2 3118960 3123567 4608 2.3M ef EFI (FAT-12/16/32)
  979.  
  980.  
  981. Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  982. Units: sectors of 1 * 512 = 512 bytes
  983. Sector size (logical/physical): 512 bytes / 4096 bytes
  984. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  985. Disklabel type: gpt
  986. Disk identifier: 79103D21-C1C0-4FA3-86E6-A9F3109C4320
  987.  
  988. Device Start End Sectors Size Type
  989. /dev/sdb1 2048 923647 921600 450M Windows recovery environment
  990. /dev/sdb2 923648 1126399 202752 99M Microsoft basic data
  991. /dev/sdb3 1126400 1159167 32768 16M Microsoft reserved
  992. /dev/sdb4 1671168 1851123711 1849452544 881.9G Microsoft basic data
  993. /dev/sdb5 1851123712 1936990207 85866496 41G Linux filesystem
  994. /dev/sdb6 1936990208 1953523711 16533504 7.9G Linux swap
  995. /dev/sdb7 1159168 1671167 512000 250M EFI System
  996.  
  997. Partition table entries are not in disk order.
  998.  
  999.  
  1000.  
  1001.  
  1002. =================== Default settings of Boot Repair
  1003. The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of sdb5, using the following options: sdb7/boot/efi,
  1004. Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file
  1005.  
  1006.  
  1007. =================== Final advice in case of suggested repair
  1008. Please do not forget to make your BIOS boot on sdb (1000GB) disk!
  1009.  
  1010. If your computer reboots directly into Windows, try to change the boot order in your BIOS.
  1011. If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
  1012. For example you can boot into Windows, then type the following command in an admin command prompt:
  1013. bcdedit /set {bootmgr} path \EFI\...\grub*.efi
  1014.  
  1015.  
  1016. =================== User settings
  1017. The settings chosen by the user will purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of sdb5, using the following options: kernel-purge sdb7/boot, sdb7/boot/efi,
  1018. Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file
  1019.  
  1020.  
  1021. /boot added in sdb5/fstab
  1022. /boot/efi added in sdb5/fstab
  1023. Quantity of real Windows: 1
  1024. Rename sdb7/boot to boot_bak
  1025. Mount sdb7 on /mnt/boot-sav/sdb5/boot
  1026. Mount sdb7 on /mnt/boot-sav/sdb5/boot/efi
  1027. ls sdb7/efi:
  1028. ls sdb7: efi
  1029. lost+found . Please report this message to boot.repair@gmail.com
  1030. No sdb5/boot/efi/efi/ ubuntu/mint folder
  1031. chroot /mnt/boot-sav/sdb5 apt-get -y update
  1032. purge_kernel of sdb5
  1033. linux-generic available
  1034.  
  1035. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 263 not upgraded.
  1036. DEBCHECK debOK, linux-generic
  1037. DEBCHECKLINUX debOK
  1038. ls /mnt/boot-sav/sdb5/boot/: abi-4.10.0-19-generic abi-4.10.0-35-generic config-4.10.0-19-generic config-4.10.0-35-generic efi grub initrd.img-4.10.0-19-generic initrd.img-4.10.0-35-generic memtest86+.bin memtest86+.elf memtest86+_multiboot.bin System.map-4.10.0-19-generic System.map-4.10.0-35-generic vmlinuz-4.10.0-19-generic vmlinuz-4.10.0-35-generic vmlinuz-4.10.0-35-generic.efi.signed
  1039. chroot /mnt/boot-sav/sdb5 apt-get purge -y linux-headers-*
  1040.  
  1041. Package 'linux-headers-686-pae' is not installed, so not removed
  1042. Package 'linux-headers-amd64' is not installed, so not removed
  1043. Package 'linux-headers-4.10.0-19-lowlatency' is not installed, so not removed
  1044. Package 'linux-headers-3.4.0-4-goldfish:i386' is not installed, so not removed
  1045. Package 'linux-headers-goldfish:i386' is not installed, so not removed
  1046. Package 'linux-headers-4.10.0-20' is not installed, so not removed
  1047. Package 'linux-headers-4.10.0-20-generic' is not installed, so not removed
  1048. Package 'linux-headers-4.10.0-20-lowlatency' is not installed, so not removed
  1049. Package 'linux-headers-4.10.0-21' is not installed, so not removed
  1050. Package 'linux-headers-4.10.0-21-generic' is not installed, so not removed
  1051. Package 'linux-headers-4.10.0-21-lowlatency' is not installed, so not removed
  1052. Package 'linux-headers-4.10.0-22' is not installed, so not removed
  1053. Package 'linux-headers-4.10.0-22-generic' is not installed, so not removed
  1054. Package 'linux-headers-4.10.0-22-lowlatency' is not installed, so not removed
  1055. Package 'linux-headers-4.10.0-24' is not installed, so not removed
  1056. Package 'linux-headers-4.10.0-24-generic' is not installed, so not removed
  1057. Package 'linux-headers-4.10.0-24-lowlatency' is not installed, so not removed
  1058. Package 'linux-headers-4.10.0-26' is not installed, so not removed
  1059. Package 'linux-headers-4.10.0-26-generic' is not installed, so not removed
  1060. Package 'linux-headers-4.10.0-26-lowlatency' is not installed, so not removed
  1061. Package 'linux-headers-4.10.0-28' is not installed, so not removed
  1062. Package 'linux-headers-4.10.0-28-generic' is not installed, so not removed
  1063. Package 'linux-headers-4.10.0-28-lowlatency' is not installed, so not removed
  1064. Package 'linux-headers-4.10.0-30' is not installed, so not removed
  1065. Package 'linux-headers-4.10.0-30-generic' is not installed, so not removed
  1066. Package 'linux-headers-4.10.0-30-lowlatency' is not installed, so not removed
  1067. Package 'linux-headers-4.10.0-32' is not installed, so not removed
  1068. Package 'linux-headers-4.10.0-32-generic' is not installed, so not removed
  1069. Package 'linux-headers-4.10.0-32-lowlatency' is not installed, so not removed
  1070. Package 'linux-headers-4.10.0-33' is not installed, so not removed
  1071. Package 'linux-headers-4.10.0-33-generic' is not installed, so not removed
  1072. Package 'linux-headers-4.10.0-33-lowlatency' is not installed, so not removed
  1073. Package 'linux-headers-4.10.0-35-lowlatency' is not installed, so not removed
  1074. Package 'linux-headers-lowlatency' is not installed, so not removed
  1075. Package 'linux-headers-virtual' is not installed, so not removed
  1076. The following packages were automatically installed and are no longer required:
  1077. linux-image-generic linux-signed-image-generic thermald
  1078. Use 'sudo apt autoremove' to remove them.
  1079. The following packages will be REMOVED:
  1080. linux-generic* linux-headers-4.10.0-19* linux-headers-4.10.0-19-generic*
  1081. linux-headers-4.10.0-35* linux-headers-4.10.0-35-generic*
  1082. linux-headers-generic* linux-signed-generic*
  1083. 0 upgraded, 0 newly installed, 7 to remove and 263 not upgraded.
  1084. (Reading database ...
  1085. SET@_progressbar1.pulse()
  1086. (Reading database ... 5%
  1087. (Reading database ... 10%
  1088. (Reading database ... 15%
  1089. (Reading database ... 20%
  1090. (Reading database ... 25%
  1091. (Reading database ... 30%
  1092. (Reading database ... 35%
  1093. (Reading database ... 40%
  1094. (Reading database ... 45%
  1095. (Reading database ... 50%
  1096. SET@_progressbar1.pulse()
  1097. (Reading database ... 55%
  1098. SET@_progressbar1.pulse()
  1099. (Reading database ... 60%
  1100. (Reading database ... 65%
  1101. SET@_progressbar1.pulse()
  1102. (Reading database ... 70%
  1103. (Reading database ... 75%
  1104. SET@_progressbar1.pulse()
  1105. (Reading database ... 80%
  1106. (Reading database ... 85%
  1107. SET@_progressbar1.pulse()
  1108. (Reading database ... 90%
  1109. (Reading database ... 95%
  1110. SET@_progressbar1.pulse()
  1111. (Reading database ... 100%
  1112. (Reading database ... 202894 files and directories currently installed.)
  1113. Removing linux-generic (4.10.0.35.35) ...
  1114. Removing linux-signed-generic (4.10.0.35.35) ...
  1115. Removing linux-headers-generic (4.10.0.35.35) ...
  1116. Removing linux-headers-4.10.0-19-generic (4.10.0-19.21) ...
  1117. Removing linux-headers-4.10.0-19 (4.10.0-19.21) ...
  1118. Removing linux-headers-4.10.0-35-generic (4.10.0-35.39) ...
  1119. Removing linux-headers-4.10.0-35 (4.10.0-35.39) ...
  1120. chroot /mnt/boot-sav/sdb5 apt-get purge -y linux-image-*
  1121.  
  1122. Package 'linux-image-2.6-rt' is not installed, so not removed
  1123. Package 'linux-image-2.6' is not installed, so not removed
  1124. Package 'linux-image-4.10.0-19-lowlatency' is not installed, so not removed
  1125. Package 'linux-image-3.4.0-4-goldfish:i386' is not installed, so not removed
  1126. Package 'linux-image-goldfish:i386' is not installed, so not removed
  1127. Package 'linux-image-4.10.0-20-generic' is not installed, so not removed
  1128. Package 'linux-image-4.10.0-20-lowlatency' is not installed, so not removed
  1129. Package 'linux-image-4.10.0-21-generic' is not installed, so not removed
  1130. Package 'linux-image-4.10.0-21-lowlatency' is not installed, so not removed
  1131. Package 'linux-image-4.10.0-22-generic' is not installed, so not removed
  1132. Package 'linux-image-4.10.0-22-lowlatency' is not installed, so not removed
  1133. Package 'linux-image-4.10.0-24-generic' is not installed, so not removed
  1134. Package 'linux-image-4.10.0-24-lowlatency' is not installed, so not removed
  1135. Package 'linux-image-4.10.0-26-generic' is not installed, so not removed
  1136. Package 'linux-image-4.10.0-26-lowlatency' is not installed, so not removed
  1137. Package 'linux-image-4.10.0-28-generic' is not installed, so not removed
  1138. Package 'linux-image-4.10.0-28-lowlatency' is not installed, so not removed
  1139. Package 'linux-image-4.10.0-30-generic' is not installed, so not removed
  1140. Package 'linux-image-4.10.0-30-lowlatency' is not installed, so not removed
  1141. Package 'linux-image-4.10.0-32-generic' is not installed, so not removed
  1142. Package 'linux-image-4.10.0-32-lowlatency' is not installed, so not removed
  1143. Package 'linux-image-4.10.0-33-generic' is not installed, so not removed
  1144. Package 'linux-image-4.10.0-33-lowlatency' is not installed, so not removed
  1145. Package 'linux-image-4.10.0-35-lowlatency' is not installed, so not removed
  1146. Package 'linux-image-extra-4.10.0-20-generic' is not installed, so not removed
  1147. Package 'linux-image-extra-4.10.0-21-generic' is not installed, so not removed
  1148. Package 'linux-image-extra-4.10.0-22-generic' is not installed, so not removed
  1149. Package 'linux-image-extra-4.10.0-24-generic' is not installed, so not removed
  1150. Package 'linux-image-extra-4.10.0-26-generic' is not installed, so not removed
  1151. Package 'linux-image-extra-4.10.0-28-generic' is not installed, so not removed
  1152. Package 'linux-image-extra-4.10.0-30-generic' is not installed, so not removed
  1153. Package 'linux-image-extra-4.10.0-32-generic' is not installed, so not removed
  1154. Package 'linux-image-extra-4.10.0-33-generic' is not installed, so not removed
  1155. Package 'linux-image-extra-virtual' is not installed, so not removed
  1156. Package 'linux-image-lowlatency' is not installed, so not removed
  1157. Package 'linux-image-virtual' is not installed, so not removed
  1158. The following package was automatically installed and is no longer required:
  1159. thermald
  1160. Use 'sudo apt autoremove' to remove it.
  1161. The following packages will be REMOVED:
  1162. linux-image-4.10.0-19-generic* linux-image-4.10.0-35-generic*
  1163. linux-image-extra-4.10.0-19-generic* linux-image-extra-4.10.0-35-generic*
  1164. linux-image-generic* linux-signed-image-4.10.0-35-generic*
  1165. linux-signed-image-generic*
  1166. 0 upgraded, 0 newly installed, 7 to remove and 263 not upgraded.
  1167. (Reading database ...
  1168. (Reading database ... 5%
  1169. (Reading database ... 10%
  1170. (Reading database ... 15%
  1171. (Reading database ... 20%
  1172. (Reading database ... 25%
  1173. (Reading database ... 30%
  1174. (Reading database ... 35%
  1175. (Reading database ... 40%
  1176. (Reading database ... 45%
  1177. (Reading database ... 50%
  1178. (Reading database ... 55%
  1179. (Reading database ... 60%
  1180. (Reading database ... 65%
  1181. (Reading database ... 70%
  1182. (Reading database ... 75%
  1183. (Reading database ... 80%
  1184. (Reading database ... 85%
  1185. (Reading database ... 90%
  1186. (Reading database ... 95%
  1187. (Reading database ... 100%
  1188. (Reading database ... 146815 files and directories currently installed.)
  1189. Removing linux-image-generic (4.10.0.35.35) ...
  1190. Removing linux-signed-image-generic (4.10.0.35.35) ...
  1191. Removing linux-image-extra-4.10.0-19-generic (4.10.0-19.21) ...
  1192. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic
  1193. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic
  1194. update-initramfs: Generating /boot/initrd.img-4.10.0-19-generic
  1195. run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic
  1196. run-parts: executing /etc/kernel/postinst.d/update-notifier 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic
  1197. run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic
  1198. Generating grub configuration file ...
  1199. Found linux image: /boot/vmlinuz-4.10.0-35-generic
  1200. Found initrd image: /boot/initrd.img-4.10.0-35-generic
  1201. Found linux image: /boot/vmlinuz-4.10.0-19-generic
  1202. Found initrd image: /boot/initrd.img-4.10.0-19-generic
  1203. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  1204. Adding boot menu entry for EFI firmware configuration
  1205. Removing linux-image-4.10.0-19-generic (4.10.0-19.21) ...
  1206. WARN: Proceeding with removing running kernel image.
  1207. Examining /etc/kernel/postrm.d .
  1208. run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic
  1209. update-initramfs: Deleting /boot/initrd.img-4.10.0-19-generic
  1210. run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic
  1211. Generating grub configuration file ...
  1212. Found linux image: /boot/vmlinuz-4.10.0-35-generic
  1213. Found initrd image: /boot/initrd.img-4.10.0-35-generic
  1214. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  1215. Adding boot menu entry for EFI firmware configuration
  1216. The link /vmlinuz is a damaged link
  1217. Removing symbolic link vmlinuz
  1218. you may need to re-run your boot loader[grub]
  1219. The link /initrd.img is a damaged link
  1220. Removing symbolic link initrd.img
  1221. you may need to re-run your boot loader[grub]
  1222. The link /initrd.img.old is a damaged link
  1223. Removing symbolic link initrd.img.old
  1224. you may need to re-run your boot loader[grub]
  1225. Removing linux-signed-image-4.10.0-35-generic (4.10.0-35.39) ...
  1226. Generating grub configuration file ...
  1227. Found linux image: /boot/vmlinuz-4.10.0-35-generic
  1228. Found initrd image: /boot/initrd.img-4.10.0-35-generic
  1229. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  1230. Adding boot menu entry for EFI firmware configuration
  1231. Removing linux-image-extra-4.10.0-35-generic (4.10.0-35.39) ...
  1232. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1233. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1234. update-initramfs: Generating /boot/initrd.img-4.10.0-35-generic
  1235. run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1236. run-parts: executing /etc/kernel/postinst.d/update-notifier 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1237. run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1238. Generating grub configuration file ...
  1239. Found linux image: /boot/vmlinuz-4.10.0-35-generic
  1240. Found initrd image: /boot/initrd.img-4.10.0-35-generic
  1241. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  1242. Adding boot menu entry for EFI firmware configuration
  1243. Removing linux-image-4.10.0-35-generic (4.10.0-35.39) ...
  1244. Examining /etc/kernel/postrm.d .
  1245. run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1246. update-initramfs: Deleting /boot/initrd.img-4.10.0-35-generic
  1247. run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1248. Generating grub configuration file ...
  1249. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  1250. Adding boot menu entry for EFI firmware configuration
  1251. (Reading database ...
  1252. (Reading database ... 5%
  1253. (Reading database ... 10%
  1254. (Reading database ... 15%
  1255. (Reading database ... 20%
  1256. (Reading database ... 25%
  1257. (Reading database ... 30%
  1258. (Reading database ... 35%
  1259. (Reading database ... 40%
  1260. (Reading database ... 45%
  1261. (Reading database ... 50%
  1262. (Reading database ... 55%
  1263. (Reading database ... 60%
  1264. (Reading database ... 65%
  1265. (Reading database ... 70%
  1266. (Reading database ... 75%
  1267. (Reading database ... 80%
  1268. (Reading database ... 85%
  1269. (Reading database ... 90%
  1270. (Reading database ... 95%
  1271. (Reading database ... 100%
  1272. (Reading database ... 134771 files and directories currently installed.)
  1273. Removing linux-image-extra-4.10.0-19-generic (4.10.0-19.21) ...
  1274. Purging configuration files for linux-image-extra-4.10.0-19-generic (4.10.0-19.21) ...
  1275. Removing linux-image-4.10.0-35-generic (4.10.0-35.39) ...
  1276. Purging configuration files for linux-image-4.10.0-35-generic (4.10.0-35.39) ...
  1277. Examining /etc/kernel/postrm.d .
  1278. run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1279. run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1280. Removing linux-image-extra-4.10.0-35-generic (4.10.0-35.39) ...
  1281. Purging configuration files for linux-image-extra-4.10.0-35-generic (4.10.0-35.39) ...
  1282. Removing linux-image-4.10.0-19-generic (4.10.0-19.21) ...
  1283. Purging configuration files for linux-image-4.10.0-19-generic (4.10.0-19.21) ...
  1284. Examining /etc/kernel/postrm.d .
  1285. run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic
  1286. run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic
  1287. Removing linux-signed-image-4.10.0-35-generic (4.10.0-35.39) ...
  1288. Purging configuration files for linux-signed-image-4.10.0-35-generic (4.10.0-35.39) ...
  1289. chroot /mnt/boot-sav/sdb5 apt-get install -y linux-signed-generic linux-headers-generic
  1290.  
  1291. The following additional packages will be installed:
  1292. linux-headers-4.10.0-35 linux-headers-4.10.0-35-generic
  1293. linux-image-4.10.0-35-generic linux-image-extra-4.10.0-35-generic
  1294. linux-signed-image-4.10.0-35-generic linux-signed-image-generic
  1295. Suggested packages:
  1296. fdutils linux-doc-4.10.0 | linux-source-4.10.0 linux-tools
  1297. The following NEW packages will be installed:
  1298. linux-headers-4.10.0-35 linux-headers-4.10.0-35-generic
  1299. linux-headers-generic linux-image-4.10.0-35-generic
  1300. linux-image-extra-4.10.0-35-generic linux-signed-generic
  1301. linux-signed-image-4.10.0-35-generic linux-signed-image-generic
  1302. 0 upgraded, 8 newly installed, 0 to remove and 263 not upgraded.
  1303. Selecting previously unselected package linux-headers-4.10.0-35.
  1304. (Reading database ...
  1305. (Reading database ... 5%
  1306. (Reading database ... 10%
  1307. (Reading database ... 15%
  1308. (Reading database ... 20%
  1309. (Reading database ... 25%
  1310. (Reading database ... 30%
  1311. (Reading database ... 35%
  1312. (Reading database ... 40%
  1313. (Reading database ... 45%
  1314. (Reading database ... 50%
  1315. (Reading database ... 55%
  1316. (Reading database ... 60%
  1317. (Reading database ... 65%
  1318. (Reading database ... 70%
  1319. (Reading database ... 75%
  1320. (Reading database ... 80%
  1321. (Reading database ... 85%
  1322. (Reading database ... 90%
  1323. (Reading database ... 95%
  1324. (Reading database ... 100%
  1325. (Reading database ... 134772 files and directories currently installed.)
  1326. Preparing to unpack .../0-linux-headers-4.10.0-35_4.10.0-35.39_all.deb ...
  1327. Unpacking linux-headers-4.10.0-35 (4.10.0-35.39) ...
  1328. Selecting previously unselected package linux-headers-4.10.0-35-generic.
  1329. Preparing to unpack .../1-linux-headers-4.10.0-35-generic_4.10.0-35.39_amd64.deb ...
  1330. Unpacking linux-headers-4.10.0-35-generic (4.10.0-35.39) ...
  1331. Selecting previously unselected package linux-headers-generic.
  1332. Preparing to unpack .../2-linux-headers-generic_4.10.0.35.35_amd64.deb ...
  1333. Unpacking linux-headers-generic (4.10.0.35.35) ...
  1334. Selecting previously unselected package linux-image-4.10.0-35-generic.
  1335. Preparing to unpack .../3-linux-image-4.10.0-35-generic_4.10.0-35.39_amd64.deb ...
  1336. Done.
  1337. Unpacking linux-image-4.10.0-35-generic (4.10.0-35.39) ...
  1338. Selecting previously unselected package linux-image-extra-4.10.0-35-generic.
  1339. Preparing to unpack .../4-linux-image-extra-4.10.0-35-generic_4.10.0-35.39_amd64.deb ...
  1340. Unpacking linux-image-extra-4.10.0-35-generic (4.10.0-35.39) ...
  1341. Selecting previously unselected package linux-signed-image-4.10.0-35-generic.
  1342. Preparing to unpack .../5-linux-signed-image-4.10.0-35-generic_4.10.0-35.39_amd64.deb ...
  1343. Unpacking linux-signed-image-4.10.0-35-generic (4.10.0-35.39) ...
  1344. Selecting previously unselected package linux-signed-image-generic.
  1345. Preparing to unpack .../6-linux-signed-image-generic_4.10.0.35.35_amd64.deb ...
  1346. Unpacking linux-signed-image-generic (4.10.0.35.35) ...
  1347. Selecting previously unselected package linux-signed-generic.
  1348. Preparing to unpack .../7-linux-signed-generic_4.10.0.35.35_amd64.deb ...
  1349. Unpacking linux-signed-generic (4.10.0.35.35) ...
  1350. Setting up linux-headers-4.10.0-35 (4.10.0-35.39) ...
  1351. Setting up linux-headers-4.10.0-35-generic (4.10.0-35.39) ...
  1352. Setting up linux-image-4.10.0-35-generic (4.10.0-35.39) ...
  1353. Running depmod.
  1354. update-initramfs: deferring update (hook will be called later)
  1355. Examining /etc/kernel/postinst.d.
  1356. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1357. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1358. update-initramfs: Generating /boot/initrd.img-4.10.0-35-generic
  1359. run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1360. run-parts: executing /etc/kernel/postinst.d/update-notifier 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1361. run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1362. Generating grub configuration file ...
  1363. Found linux image: /boot/vmlinuz-4.10.0-35-generic
  1364. Found initrd image: /boot/initrd.img-4.10.0-35-generic
  1365. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  1366. Adding boot menu entry for EFI firmware configuration
  1367. Setting up linux-image-extra-4.10.0-35-generic (4.10.0-35.39) ...
  1368. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1369. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1370. update-initramfs: Generating /boot/initrd.img-4.10.0-35-generic
  1371. run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1372. run-parts: executing /etc/kernel/postinst.d/update-notifier 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1373. run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
  1374. Generating grub configuration file ...
  1375. Found linux image: /boot/vmlinuz-4.10.0-35-generic
  1376. Found initrd image: /boot/initrd.img-4.10.0-35-generic
  1377. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  1378. Adding boot menu entry for EFI firmware configuration
  1379. Setting up linux-signed-image-4.10.0-35-generic (4.10.0-35.39) ...
  1380. warning: file-aligned section .text extends beyond end of file
  1381. warning: checksum areas are greater than image size. Invalid section table?
  1382. Generating grub configuration file ...
  1383. Found linux image: /boot/vmlinuz-4.10.0-35-generic
  1384. Found initrd image: /boot/initrd.img-4.10.0-35-generic
  1385. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  1386. Adding boot menu entry for EFI firmware configuration
  1387. Setting up linux-headers-generic (4.10.0.35.35) ...
  1388. Setting up linux-signed-image-generic (4.10.0.35.35) ...
  1389. Setting up linux-signed-generic (4.10.0.35.35) ...
  1390. Purge the GRUB of sdb5
  1391. grub-efi-amd64-signed available
  1392.  
  1393. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 263 not upgraded.
  1394. DEBCHECK debOK, grub-efi-amd64-signed
  1395. DEBCHECK debOK
  1396. shim-signed available
  1397. linux-signed-generic available
  1398. Please type: sudo chroot "/mnt/boot-sav/sdb5" dpkg --configure -ansudo chroot "/mnt/boot-sav/sdb5" apt-get install -fynsudo chroot "/mnt/boot-sav/sdb5" apt-get purge -y grub*-common grub-common:i386 shim-signed linux-signed*
  1399. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sdb2/EFI/Microsoft/Boot/bootmgfw.efi
  1400. Presence of EFI/Boot file detected: /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi
  1401.  
  1402. =================== sdb5/etc/grub.d/ :
  1403. drwxr-xr-x 2 root root 4096 Sep 22 19:35 grub.d
  1404. total 4
  1405. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  1406.  
  1407.  
  1408. /boot/efi detected in the fstab of sdb5: UUID=4562a85e-e241-4f35-8139-3cc1e5592ccf (sdb7)
  1409. /boot detected in the fstab of sdb5: UUID=4562a85e-e241-4f35-8139-3cc1e5592ccf (sdb7)
  1410. shim-signed available
  1411. linux-signed-generic available
  1412. Then type: sudo chroot "/mnt/boot-sav/sdb5" apt-get install -y grub-efi-amd64-signed shim-signed linux-signed-generic
  1413. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sdb2/EFI/Microsoft/Boot/bootmgfw.efi
  1414. Presence of EFI/Boot file detected: /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi
  1415.  
  1416. =================== sdb5/etc/grub.d/ :
  1417. drwxr-xr-x 2 root root 4096 Sep 22 19:36 grub.d
  1418. drwxr-xr-x 2 root root 4096 Sep 22 19:35 grub.d.bak
  1419. total 76
  1420. -rwxr-xr-x 1 root root 9783 Jun 14 18:44 00_header
  1421. -rwxr-xr-x 1 root root 6258 Nov 1 2016 05_debian_theme
  1422. -rwxr-xr-x 1 root root 12676 Jun 14 18:44 10_linux
  1423. -rwxr-xr-x 1 root root 11281 Jun 14 18:44 20_linux_xen
  1424. -rwxr-xr-x 1 root root 12059 Jun 14 18:44 30_os-prober
  1425. -rwxr-xr-x 1 root root 1418 Jun 14 18:44 30_uefi-firmware
  1426. -rwxr-xr-x 1 root root 214 Jun 14 18:44 40_custom
  1427. -rwxr-xr-x 1 root root 216 Jun 14 18:44 41_custom
  1428. -rw-r--r-- 1 root root 483 Jun 14 18:44 README
  1429.  
  1430.  
  1431.  
  1432.  
  1433. =================== sdb5/etc/default/grub :
  1434.  
  1435. # If you change this file, run 'update-grub' afterwards to update
  1436. # /boot/grub/grub.cfg.
  1437. # For full documentation of the options in this file, see:
  1438. # info -f grub -n 'Simple configuration'
  1439.  
  1440. GRUB_DEFAULT=0
  1441. GRUB_HIDDEN_TIMEOUT=0
  1442. GRUB_HIDDEN_TIMEOUT_QUIET=true
  1443. GRUB_TIMEOUT=10
  1444. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  1445. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  1446. GRUB_CMDLINE_LINUX=""
  1447.  
  1448. # Uncomment to enable BadRAM filtering, modify to suit your needs
  1449. # This works with Linux (no patch required) and with any kernel that obtains
  1450. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  1451. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  1452.  
  1453. # Uncomment to disable graphical terminal (grub-pc only)
  1454. #GRUB_TERMINAL=console
  1455.  
  1456. # The resolution used on graphical terminal
  1457. # note that you can use only modes which your graphic card supports via VBE
  1458. # you can see them in real GRUB with the command `vbeinfo'
  1459. #GRUB_GFXMODE=640x480
  1460.  
  1461. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  1462. #GRUB_DISABLE_LINUX_UUID=true
  1463.  
  1464. # Uncomment to disable generation of recovery mode menu entries
  1465. #GRUB_DISABLE_RECOVERY="true"
  1466.  
  1467. # Uncomment to get a beep at grub start
  1468. #GRUB_INIT_TUNE="480 440 1"
  1469.  
  1470.  
  1471.  
  1472. /boot/efi detected in the fstab of sdb5: UUID=4562a85e-e241-4f35-8139-3cc1e5592ccf (sdb7)
  1473. /boot detected in the fstab of sdb5: UUID=4562a85e-e241-4f35-8139-3cc1e5592ccf (sdb7)
  1474. Unhide GRUB boot menu in sdb5/etc/default/grub
  1475. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sdb2/EFI/Microsoft/Boot/bootmgfw.efi
  1476. Presence of EFI/Boot file detected: /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi
  1477.  
  1478. =================== sdb5/etc/grub.d/ :
  1479. drwxr-xr-x 2 root root 4096 Sep 22 19:36 grub.d
  1480. drwxr-xr-x 2 root root 4096 Sep 22 19:35 grub.d.bak
  1481. total 76
  1482. -rwxr-xr-x 1 root root 9783 Jun 14 18:44 00_header
  1483. -rwxr-xr-x 1 root root 6258 Nov 1 2016 05_debian_theme
  1484. -rwxr-xr-x 1 root root 12676 Jun 14 18:44 10_linux
  1485. -rwxr-xr-x 1 root root 11281 Jun 14 18:44 20_linux_xen
  1486. -rwxr-xr-x 1 root root 12059 Jun 14 18:44 30_os-prober
  1487. -rwxr-xr-x 1 root root 1418 Jun 14 18:44 30_uefi-firmware
  1488. -rwxr-xr-x 1 root root 214 Jun 14 18:44 40_custom
  1489. -rwxr-xr-x 1 root root 216 Jun 14 18:44 41_custom
  1490. -rw-r--r-- 1 root root 483 Jun 14 18:44 README
  1491.  
  1492.  
  1493.  
  1494.  
  1495. =================== sdb5/etc/default/grub :
  1496.  
  1497. # If you change this file, run 'update-grub' afterwards to update
  1498. # /boot/grub/grub.cfg.
  1499. # For full documentation of the options in this file, see:
  1500. # info -f grub -n 'Simple configuration'
  1501.  
  1502. GRUB_DEFAULT=0
  1503. #GRUB_HIDDEN_TIMEOUT=0
  1504. GRUB_HIDDEN_TIMEOUT_QUIET=true
  1505. GRUB_TIMEOUT=10
  1506. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  1507. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  1508. GRUB_CMDLINE_LINUX=""
  1509.  
  1510. # Uncomment to enable BadRAM filtering, modify to suit your needs
  1511. # This works with Linux (no patch required) and with any kernel that obtains
  1512. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  1513. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  1514.  
  1515. # Uncomment to disable graphical terminal (grub-pc only)
  1516. #GRUB_TERMINAL=console
  1517.  
  1518. # The resolution used on graphical terminal
  1519. # note that you can use only modes which your graphic card supports via VBE
  1520. # you can see them in real GRUB with the command `vbeinfo'
  1521. #GRUB_GFXMODE=640x480
  1522.  
  1523. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  1524. #GRUB_DISABLE_LINUX_UUID=true
  1525.  
  1526. # Uncomment to disable generation of recovery mode menu entries
  1527. #GRUB_DISABLE_RECOVERY="true"
  1528.  
  1529. # Uncomment to get a beep at grub start
  1530. #GRUB_INIT_TUNE="480 440 1"
  1531.  
  1532.  
  1533.  
  1534. /boot/efi detected in the fstab of sdb5: UUID=4562a85e-e241-4f35-8139-3cc1e5592ccf (sdb7)
  1535. /boot detected in the fstab of sdb5: UUID=4562a85e-e241-4f35-8139-3cc1e5592ccf (sdb7)
  1536. lspci: Unable to load libkmod resources: error -12
  1537.  
  1538. *******lspci -nnk | grep -iA3 vga
  1539. 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
  1540. Subsystem: Acer Incorporated [ALI] HD Graphics 530 [1025:1039]
  1541. Kernel driver in use: i915
  1542. 00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
  1543. *******
  1544.  
  1545. grub-install --version
  1546. grub-install (GRUB) 2.02~beta3-4ubuntu2.2,grub-install (GRUB) 2.
  1547.  
  1548. chroot /mnt/boot-sav/sdb5 efibootmgr -v
  1549. BootCurrent: 0003
  1550. Timeout: 0 seconds
  1551. BootOrder: 0002,0003,0001,2001,2002,2003
  1552. Boot0000* ubuntu HD(2,GPT,96f08870-b899-4843-9e20-e6fef7f422f0,0xe1800,0x31800)/File(EFIubuntushimx64.efi)
  1553. Boot0001* Linpus lite HD(1,MBR,0x116,0x2f9770,0x1200)/File(EFIBootgrubx64.efi)RC
  1554. Boot0002* Windows Boot Manager HD(2,GPT,96f08870-b899-4843-9e20-e6fef7f422f0,0xe1800,0x31800)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...d................
  1555. Boot0003* Command Linpus lite HD(1,MBR,0x116,0x2f9770,0x1200)/File(EFIBootbootx64.efi)RC
  1556. Boot0004* Unknown Device: HD(2,GPT,96f08870-b899-4843-9e20-e6fef7f422f0,0xe1800,0x31800)/File(EFIubuntushimx64.efi)RC
  1557. Boot2001* EFI USB Device RC
  1558. Boot2002* EFI DVD/CDROM RC
  1559. Boot2003* EFI Network RC
  1560.  
  1561. chroot /mnt/boot-sav/sdb5 uname -r
  1562. Kernel: 4.10.0-19-generic
  1563.  
  1564. Reinstall the grub-efi-amd64-signed shim-signed linux-signed-generic of sdb5
  1565. Installing for x86_64-efi platform.
  1566. grub-install: error: /boot/efi doesn't look like an EFI partition.
  1567. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :1
  1568. Error: no grub*.efi generated. Please report this message to boot.repair@gmail.com
  1569.  
  1570. Add /mnt/boot-sav/sdb2 efi entries in /mnt/boot-sav/sdb5/etc/grub.d/25_custom
  1571. Adding custom /mnt/boot-sav/sdb2/EFI/Microsoft/Boot/bootmgfw.efi
  1572. Adding custom /mnt/boot-sav/sdb2/EFI/Boot/bootx64.efi
  1573. sdb2/bootx64.efi already added
  1574. Adding custom /mnt/boot-sav/sdb2/EFI/ubuntu/fwupx64.efi
  1575. Adding custom /mnt/boot-sav/sdb2/EFI/ubuntu/mmx64.efi
  1576. Adding custom /mnt/boot-sav/sdb2/EFI/ubuntu/MokManager.efi
  1577. sdb2/bootmgfw.efi already added
  1578. Add /mnt/boot-sav/sdb5/boot/efi efi entries in /mnt/boot-sav/sdb5/etc/grub.d/25_custom
  1579.  
  1580. ---- Grub-install verbose
  1581. /usr/sbin/grub-install: 1: /usr/sbin/grub-install: Syntax error: ")" unexpected
  1582. --------
  1583. /usr/sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :2
  1584. ---- End of grub-install verbose
  1585.  
  1586.  
  1587. chroot /mnt/boot-sav/sdb5 efibootmgr -v
  1588. BootCurrent: 0003
  1589. Timeout: 0 seconds
  1590. BootOrder: 0002,0003,0001,2001,2002,2003
  1591. Boot0000* ubuntu HD(2,GPT,96f08870-b899-4843-9e20-e6fef7f422f0,0xe1800,0x31800)/File(EFIubuntushimx64.efi)
  1592. Boot0001* Linpus lite HD(1,MBR,0x116,0x2f9770,0x1200)/File(EFIBootgrubx64.efi)RC
  1593. Boot0002* Windows Boot Manager HD(2,GPT,96f08870-b899-4843-9e20-e6fef7f422f0,0xe1800,0x31800)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...d................
  1594. Boot0003* Command Linpus lite HD(1,MBR,0x116,0x2f9770,0x1200)/File(EFIBootbootx64.efi)RC
  1595. Boot0004* Unknown Device: HD(2,GPT,96f08870-b899-4843-9e20-e6fef7f422f0,0xe1800,0x31800)/File(EFIubuntushimx64.efi)RC
  1596. Boot2001* EFI USB Device RC
  1597. Boot2002* EFI DVD/CDROM RC
  1598. Boot2003* EFI Network RC
  1599.  
  1600. chroot /mnt/boot-sav/sdb5 update-grub
  1601. Generating grub configuration file ...
  1602. Found linux image: /boot/vmlinuz-4.10.0-35-generic
  1603. Found initrd image: /boot/initrd.img-4.10.0-35-generic
  1604. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  1605. Adding boot menu entry for EFI firmware configuration
  1606. umount: /mnt/boot-sav/sdb5/boot: not mounted
  1607. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  1608. mount /dev/sda2 : Error code 32
  1609. mount -r /dev/sda2 /mnt/boot-sav/sda2
  1610. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  1611. mount -r /dev/sda2 : Error code 32
  1612. Unhide GRUB boot menu in sdb5/boot/grub/grub.cfg
  1613.  
  1614. An error occurred during the repair.
  1615.  
  1616. You can now reboot your computer.
  1617. Please do not forget to make your BIOS boot on sdb (1000GB) disk!
  1618.  
  1619. If your computer reboots directly into Windows, try to change the boot order in your BIOS.
  1620. If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement