Ubuntu Pastebin

Paste from boot-repair at Fri, 29 Dec 2017 21:16:48 +0000

Download as text
   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
 Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


============================= Boot Info Summary: ===============================

 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/Boot/bkpbootx64.efi 
                       /EFI/Boot/bootx64.efi /EFI/Boot/fbx64.efi 
                       /EFI/grub2win/gnugrub.efilevel.127.txt 
                       /EFI/grub2win/gnugrub.efirescue.cfg 
                       /EFI/grub2win/gnugrub.efisetup.cfg 
                       /EFI/grub2win/gnugrub.kernel64.efi 
                       /EFI/kali/grubx64.efi /EFI/ubuntu/fwupx64.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi 
                       /EFI/ubuntu/shimx64.efi /EFI/MSI/Boot/bootmgfw.efi 
                       /EFI/MSI/Boot/bootmgr.efi /EFI/MSI/Boot/memtest.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/sda2: unknown filesystem type ''.

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /grub2/grub.cfg /bootmgr /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Kali GNU/Linux Rolling
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb4: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdb5: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/BOOT/bkpbootx64.efi 
                       /EFI/BOOT/bootx64.efi /EFI/BOOT/fbx64.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi 
                       /EFI/ubuntu/shimx64.efi

sdb6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 17.10
    Boot files:        /boot/grub/grub.cfg /etc/fstab

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 4,294,967,295 4,294,967,295  ee GPT

/dev/sda1 ends after the last sector of /dev/sda

GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1   +             2,048       616,447       614,400 EFI System partition
/dev/sda2   +           616,448       878,591       262,144 Microsoft Reserved Partition (Windows)
/dev/sda3               878,592   498,274,303   497,395,712 Data partition (Windows/Linux)
/dev/sda4   +  R    498,274,304   500,117,503     1,843,200 Windows Recovery Environment (Windows)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1                 2,048   976,564,547   976,562,500 Data partition (Windows/Linux)
/dev/sdb2      R  1,916,313,600 1,953,523,711    37,210,112 Windows Recovery Environment (Windows)
/dev/sdb3           976,566,272 1,035,157,503    58,591,232 Data partition (Linux)
/dev/sdb4         1,035,157,504 1,097,658,367    62,500,864 Swap partition (Linux)
/dev/sdb5         1,097,658,368 1,098,708,991     1,050,624 EFI System partition
/dev/sdb6         1,098,708,992 1,916,313,599   817,604,608 Data partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        DEE4-EAF2                              vfat       SYSTEM
/dev/sda2                                                          
/dev/sda3        EEF0E6B1F0E67EE9                       ntfs       Windows
/dev/sda4        A6F4E72AF4E6FB85                       ntfs       WinRE tools
/dev/sdb1        4C46EC5B46EC4774                       ntfs       Data
/dev/sdb2        7A44ED5344ED1325                       ntfs       BIOS_RVY
/dev/sdb3        557ef1c2-c914-44d1-a92c-657ef76ab1e2   ext4       
/dev/sdb4        7379f572-4b6f-4f7c-b463-fb6664e6f7d6   swap       
/dev/sdb5        D23B-06DB                              vfat       
/dev/sdb6        793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f   ext4       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Dec 29 16:15 ata-HGST_HTS721010A9E630_JS100X620PWPPS -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 29 16:16 ata-HGST_HTS721010A9E630_JS100X620PWPPS-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 29 16:16 ata-HGST_HTS721010A9E630_JS100X620PWPPS-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Dec 29 16:15 ata-HGST_HTS721010A9E630_JS100X620PWPPS-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Dec 29 16:15 ata-HGST_HTS721010A9E630_JS100X620PWPPS-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Dec 29 16:15 ata-HGST_HTS721010A9E630_JS100X620PWPPS-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Dec 29 16:15 ata-HGST_HTS721010A9E630_JS100X620PWPPS-part6 -> ../../sdb6
lrwxrwxrwx 1 root root  9 Dec 29 16:14 ata-HL-DT-ST_DVDRAM_GUD0N_KV6GCMN3829 -> ../../sr0
lrwxrwxrwx 1 root root  9 Dec 29 16:15 ata-SAMSUNG_MZNLN256HMHQ-00000_S2SVNX0J200986 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 29 16:15 ata-SAMSUNG_MZNLN256HMHQ-00000_S2SVNX0J200986-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 29 16:15 ata-SAMSUNG_MZNLN256HMHQ-00000_S2SVNX0J200986-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 29 16:16 ata-SAMSUNG_MZNLN256HMHQ-00000_S2SVNX0J200986-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 29 16:16 ata-SAMSUNG_MZNLN256HMHQ-00000_S2SVNX0J200986-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Dec 29 16:15 wwn-0x5000cca836c9f3c6 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 29 16:16 wwn-0x5000cca836c9f3c6-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 29 16:16 wwn-0x5000cca836c9f3c6-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Dec 29 16:15 wwn-0x5000cca836c9f3c6-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Dec 29 16:15 wwn-0x5000cca836c9f3c6-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Dec 29 16:15 wwn-0x5000cca836c9f3c6-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Dec 29 16:15 wwn-0x5000cca836c9f3c6-part6 -> ../../sdb6
lrwxrwxrwx 1 root root  9 Dec 29 16:14 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root  9 Dec 29 16:15 wwn-0x5002538d41c5fdeb -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 29 16:15 wwn-0x5002538d41c5fdeb-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 29 16:15 wwn-0x5002538d41c5fdeb-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 29 16:16 wwn-0x5002538d41c5fdeb-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 29 16:16 wwn-0x5002538d41c5fdeb-part4 -> ../../sda4

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sdb5        /boot/efi                vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sdb6        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)


========================== sda1/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid 793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f root hd1,gpt6 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

============================= sda3/grub2/grub.cfg: =============================

--------------------------------------------------------------------------------
#
#       Created at 01:13:39  on  Friday   December 29, 2017
#
# Generated by Grub2Win      Version 1.0.2.3 from directory C:\grub2
#              Stamp  2017 - 1228 - 225425
#
# The grub menu theme is - basic
#
#
#  Grub2Win generated 3 menu entries.
#
#  The Grub default boot OS is menu entry 0  -  Windows EFI Boot Manager
#  The Grub default timeout is 10 seconds
#  The Grub locale language is English   The locale code is - en
#


set default=0
set grub2win_chosen='0  -  Windows EFI Boot Manager'
load_env grub2win_reboot
if [ ! $grub2win_reboot = none ] ; then set default=$grub2win_reboot ; set grub2win_reboot=none ; save_env grub2win_reboot ; fi
set timeout=10
set lang=en
set grub2win_version=1.0.2.3
set pager=1
set icondir=$prefix/themes/icons
set locale_dir=$prefix/locale
set grub2win_procbits=32
if [ cpuid -l ] ; then set grub2win_procbits=64 ; fi
set grub2win_bootmode=BIOS
if [ $grub_platform = efi ] ; then set grub2win_bootmode=EFI ; fi 
set grub2win_custmode=EFI
set grub2win_lastbooted=no
set grub2win_efilevel=127
set gfxmode=1024x768,800x600,auto
set theme=$prefix/themes/custom.config
if [ $grub2win_bootmode = EFI ] ; then set theme=$theme.efi.txt ; else set theme=$theme.bios.txt ; fi
export theme
set gfxpayload=text
export icondir
insmod png
insmod all_video
loadfont $prefix/fonts/unicode.pf2
insmod gfxterm
terminal_output gfxterm
insmod gfxmenu


# start-grub2win-auto-menu-section  ***************************************************
#

#
#  Menu Entry 0       Windows EFI Boot Manager
#
#  ** Grub will boot this entry by default **
#
menuentry   'Windows EFI Boot Manager                               Hotkey=w'   --hotkey=w    --class windows   --class icon-windows  {
set reviewpause=5
     set efibootmgr=/efi/Microsoft/Boot/bootmgfw.efi
     getbootpartition  file  $efibootmgr
     if [ $reviewpause -gt 0 ] ; then
	 echo Grub will load the Windows EFI Boot Manager at disk address $root
         echo Press the ESC key to continue
         sleep -v -i $reviewpause 
         echo 
     fi
     chainloader $efibootmgr
savelast 0 'Windows EFI Boot Manager'
echo Grub is now loading  Windows EFI Boot Manager
}

#
#  Menu Entry 1       Kali
#
menuentry   'Kali'       --class other   --class icon-other   --class custom_001  {
     set gfxpayload=1024x768
#
set reviewpause=2
# start-custom-code
#
#            This is a sample of custom code
#

  set root='(hd0,1)'
  linux   /boot/vmlinuz    root=/dev/sdb3    quiet nomodeset
  initrd  /boot/initramfs.img
#
# end-custom-code
sleep -i -v $reviewpause ; echo
savelast 1 'Kali'
}

#
#  Menu Entry 2       Boot information and Utilities
#
menuentry   'Boot information and Utilities                         Hotkey=b'   --hotkey=b    --class bootinfo   --class icon-bootinfo  {
     export gfxmode
     export grub2part
     export grub2win_chosen 
     export grub2win_lastbooted
     export grub2win_version
     export grub2win_procbits
     export grub2win_bootmode
     export grub2win_efiboot
     export grub2win_efilevel
     configfile $prefix/winsource/bootinfo.cfg
}
#
# end-grub2win-auto-menu-section     ***************************************************

# start-grub2win-functions-section   ***************************************************
#
# functions savelast and g2werror are always included
#
# save the last booted entry         ***************************************************
#
function savelast {
     set      default=$1
     save_env default
     if [ $grub2win_bootlast = yes ] ; then
          set grub2win_chosen=$default'  -   '"'$2'"
     fi
     save_env grub2win_chosen
     if [ ! -z $subdefault ] ; then set default=$subdefault ; fi
}
#
# display any error messages         ***************************************************
#
function g2werror {
     echo
     echo
     echo *** $1 $2 $3 $4 $5
     echo *** Press the ESC key to continue
     echo
     sleep -v -i 120
     configfile $prefix/grub.cfg
}
#
# end-grub2win-functions-section     ***************************************************

# start-grub2win-getbootpartition-section  *********************************************
#
# The getbootpartition function searches for a partition
# If the first paramater is 'label' it searches for a partition with the label name
# passed in the second parameter. Otherwise it searches for a file with the filename
# passed in the second parameter. 
# It then sets the root address to prepare for boot. 
# 
#
function getbootpartition {
     set pager=0
     set searchtype=$1
     set partsearch=$2
     if [ $searchtype = label ] ; then
          search.fs_label $partsearch rootaddress
     else 
          search.file     $partsearch rootaddress
     fi
     if [ $? = 0 ] ; then
          set root=($rootaddress)
          echo
          echo Grub is setting root to $root
          echo The boot partion $searchtype is $partsearch
          echo
     else 
          g2werror 'Grub did not find a boot partition with' $searchtype $partsearch
     fi
}
#
# end-grub2win-getbootpartition-section     ********************************************

# start-grub2win-user-section   ********************************************************
#
#
# end-grub2win-user-section     ********************************************************--------------------------------------------------------------------------------

=================== sda3: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             grub2/grub.cfg                                 2

=========================== sdb3/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  557ef1c2-c914-44d1-a92c-657ef76ab1e2
else
  search --no-floppy --fs-uuid --set=root 557ef1c2-c914-44d1-a92c-657ef76ab1e2
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  557ef1c2-c914-44d1-a92c-657ef76ab1e2
else
  search --no-floppy --fs-uuid --set=root 557ef1c2-c914-44d1-a92c-657ef76ab1e2
fi
insmod png
if background_image /usr/share/desktop-base/kali-theme/grub/grub-4x3.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Kali GNU/Linux' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-557ef1c2-c914-44d1-a92c-657ef76ab1e2' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  557ef1c2-c914-44d1-a92c-657ef76ab1e2
	else
	  search --no-floppy --fs-uuid --set=root 557ef1c2-c914-44d1-a92c-657ef76ab1e2
	fi
	echo	'Loading Linux 4.13.0-kali1-amd64 ...'
	linux	/boot/vmlinuz-4.13.0-kali1-amd64 root=/dev/sdb3 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-4.13.0-kali1-amd64
}
submenu 'Advanced options for Kali GNU/Linux' $menuentry_id_option 'gnulinux-advanced-557ef1c2-c914-44d1-a92c-657ef76ab1e2' {
	menuentry 'Kali GNU/Linux, with Linux 4.13.0-kali1-amd64' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-kali1-amd64-advanced-557ef1c2-c914-44d1-a92c-657ef76ab1e2' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  557ef1c2-c914-44d1-a92c-657ef76ab1e2
		else
		  search --no-floppy --fs-uuid --set=root 557ef1c2-c914-44d1-a92c-657ef76ab1e2
		fi
		echo	'Loading Linux 4.13.0-kali1-amd64 ...'
		linux	/boot/vmlinuz-4.13.0-kali1-amd64 root=/dev/sdb3 ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-kali1-amd64
	}
	menuentry 'Kali GNU/Linux, with Linux 4.13.0-kali1-amd64 (recovery mode)' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-kali1-amd64-recovery-557ef1c2-c914-44d1-a92c-657ef76ab1e2' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  557ef1c2-c914-44d1-a92c-657ef76ab1e2
		else
		  search --no-floppy --fs-uuid --set=root 557ef1c2-c914-44d1-a92c-657ef76ab1e2
		fi
		echo	'Loading Linux 4.13.0-kali1-amd64 ...'
		linux	/boot/vmlinuz-4.13.0-kali1-amd64 root=/dev/sdb3 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-kali1-amd64
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-DEE4-EAF2' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  DEE4-EAF2
	else
	  search --no-floppy --fs-uuid --set=root DEE4-EAF2
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sdb3/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb3 during installation
UUID=557ef1c2-c914-44d1-a92c-657ef76ab1e2 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=DEE4-EAF2  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sdb4 during installation
UUID=7379f572-4b6f-4f7c-b463-fb6664e6f7d6 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
--------------------------------------------------------------------------------

=================== sdb3: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

 472.272052765 = 507.098255360  boot/grub/grub.cfg                             1
 469.795219421 = 504.438775808  boot/vmlinuz-4.13.0-kali1-amd64                1
 469.795219421 = 504.438775808  vmlinuz                                        1
 469.795219421 = 504.438775808  vmlinuz.old                                    1
 468.563861847 = 503.116615680  boot/initrd.img-4.13.0-kali1-amd64             2
 468.563861847 = 503.116615680  initrd.img                                     2
 468.563861847 = 503.116615680  initrd.img.old                                 2

========================== sdb5/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid 793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f root hd1,gpt6 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

=========================== sdb6/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd1,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt6 --hint-efi=hd1,gpt6 --hint-baremetal=ahci1,gpt6  793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
else
  search --no-floppy --fs-uuid --set=root 793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt6 --hint-efi=hd1,gpt6 --hint-baremetal=ahci1,gpt6  793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
	else
	  search --no-floppy --fs-uuid --set=root 793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
	fi
	linux	/boot/vmlinuz-4.13.0-21-generic.efi.signed root=UUID=793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.13.0-21-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f' {
	menuentry 'Ubuntu, with Linux 4.13.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-21-generic-advanced-793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt6 --hint-efi=hd1,gpt6 --hint-baremetal=ahci1,gpt6  793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
		else
		  search --no-floppy --fs-uuid --set=root 793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
		fi
		echo	'Loading Linux 4.13.0-21-generic ...'
		linux	/boot/vmlinuz-4.13.0-21-generic.efi.signed root=UUID=793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-21-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-21-generic-recovery-793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt6 --hint-efi=hd1,gpt6 --hint-baremetal=ahci1,gpt6  793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
		else
		  search --no-floppy --fs-uuid --set=root 793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
		fi
		echo	'Loading Linux 4.13.0-21-generic ...'
		linux	/boot/vmlinuz-4.13.0-21-generic.efi.signed root=UUID=793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-21-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-16-generic-advanced-793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt6 --hint-efi=hd1,gpt6 --hint-baremetal=ahci1,gpt6  793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
		else
		  search --no-floppy --fs-uuid --set=root 793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
		fi
		echo	'Loading Linux 4.13.0-16-generic ...'
	        linux	/boot/vmlinuz-4.13.0-16-generic root=UUID=793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-16-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-16-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-16-generic-recovery-793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt6 --hint-efi=hd1,gpt6 --hint-baremetal=ahci1,gpt6  793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
		else
		  search --no-floppy --fs-uuid --set=root 793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f
		fi
		echo	'Loading Linux 4.13.0-16-generic ...'
	        linux	/boot/vmlinuz-4.13.0-16-generic root=UUID=793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-16-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/25_custom ###

menuentry "EFI/BOOT/bkpbootx64.efi" {
search --fs-uuid --no-floppy --set=root D23B-06DB
chainloader (${root})/EFI/BOOT/bkpbootx64.efi
}

menuentry "EFI/BOOT/fbx64.efi" {
search --fs-uuid --no-floppy --set=root D23B-06DB
chainloader (${root})/EFI/BOOT/fbx64.efi
}

menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root D23B-06DB
chainloader (${root})/EFI/ubuntu/mmx64.efi
}

menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root DEE4-EAF2
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}

menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root DEE4-EAF2
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}

menuentry "Windows Boot UEFI fbx64.efi" {
search --fs-uuid --no-floppy --set=root DEE4-EAF2
chainloader (${root})/EFI/Boot/fbx64.efi
}

menuentry "EFI/ubuntu/fwupx64.efi" {
search --fs-uuid --no-floppy --set=root DEE4-EAF2
chainloader (${root})/EFI/ubuntu/fwupx64.efi
}

menuentry "EFI/ubuntu/mmx64.efi sda1" {
search --fs-uuid --no-floppy --set=root DEE4-EAF2
chainloader (${root})/EFI/ubuntu/mmx64.efi
}

menuentry "EFI/MSI/Boot/bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root DEE4-EAF2
chainloader (${root})/EFI/MSI/Boot/bootmgfw.efi
}
### END /etc/grub.d/25_custom ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-DEE4-EAF2' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  DEE4-EAF2
	else
	  search --no-floppy --fs-uuid --set=root DEE4-EAF2
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry 'Kali GNU/Linux Rolling (kali-rolling) (on /dev/sdb3)' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-557ef1c2-c914-44d1-a92c-657ef76ab1e2' {
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  557ef1c2-c914-44d1-a92c-657ef76ab1e2
	else
	  search --no-floppy --fs-uuid --set=root 557ef1c2-c914-44d1-a92c-657ef76ab1e2
	fi
	linux /boot/vmlinuz-4.13.0-kali1-amd64 root=/dev/sdb3 ro quiet
	initrd /boot/initrd.img-4.13.0-kali1-amd64
}
submenu 'Advanced options for Kali GNU/Linux Rolling (kali-rolling) (on /dev/sdb3)' $menuentry_id_option 'osprober-gnulinux-advanced-557ef1c2-c914-44d1-a92c-657ef76ab1e2' {
	menuentry 'Kali GNU/Linux (on /dev/sdb3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-kali1-amd64--557ef1c2-c914-44d1-a92c-657ef76ab1e2' {
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  557ef1c2-c914-44d1-a92c-657ef76ab1e2
		else
		  search --no-floppy --fs-uuid --set=root 557ef1c2-c914-44d1-a92c-657ef76ab1e2
		fi
		linux /boot/vmlinuz-4.13.0-kali1-amd64 root=/dev/sdb3 ro quiet
		initrd /boot/initrd.img-4.13.0-kali1-amd64
	}
	menuentry 'Kali GNU/Linux, with Linux 4.13.0-kali1-amd64 (on /dev/sdb3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-kali1-amd64--557ef1c2-c914-44d1-a92c-657ef76ab1e2' {
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  557ef1c2-c914-44d1-a92c-657ef76ab1e2
		else
		  search --no-floppy --fs-uuid --set=root 557ef1c2-c914-44d1-a92c-657ef76ab1e2
		fi
		linux /boot/vmlinuz-4.13.0-kali1-amd64 root=/dev/sdb3 ro quiet
		initrd /boot/initrd.img-4.13.0-kali1-amd64
	}
	menuentry 'Kali GNU/Linux, with Linux 4.13.0-kali1-amd64 (recovery mode) (on /dev/sdb3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-kali1-amd64-root=/dev/sdb3 ro single-557ef1c2-c914-44d1-a92c-657ef76ab1e2' {
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  557ef1c2-c914-44d1-a92c-657ef76ab1e2
		else
		  search --no-floppy --fs-uuid --set=root 557ef1c2-c914-44d1-a92c-657ef76ab1e2
		fi
		linux /boot/vmlinuz-4.13.0-kali1-amd64 root=/dev/sdb3 ro single
		initrd /boot/initrd.img-4.13.0-kali1-amd64
	}
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sdb6/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb6 during installation
UUID=793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=DEE4-EAF2  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
UUID=D23B-06DB	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

=================== sdb6: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

 564.040279388 = 605.633638400  boot/grub/grub.cfg                             1
 527.158641815 = 566.032281600  boot/vmlinuz-4.13.0-16-generic                 1
 562.986774445 = 604.502446080  boot/vmlinuz-4.13.0-21-generic                 1
 563.314899445 = 604.854767616  boot/vmlinuz-4.13.0-21-generic.efi.signed      1
 527.158641815 = 566.032281600  vmlinuz                                        1
 563.438056946 = 604.987006976  boot/initrd.img-4.13.0-16-generic              2
 563.485904694 = 605.038383104  boot/initrd.img-4.13.0-21-generic              2
 563.438056946 = 604.987006976  initrd.img                                     2
 563.438056946 = 604.987006976  initrd.img.old                                 2

======================== Unknown MBRs/Boot Sectors/etc: ========================


/dev/sda1: unknown GPT attributes
8000000000000000

/dev/sda2: unknown GPT attributes
8000000000000000

/dev/sda4: unknown GPT attributes
8000000000000001


ADDITIONAL INFORMATION :
=================== log of boot-repair 20171229_1615 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Warning: failed to translate partition name
Warning: failed to translate partition name
boot-repair is executed in installed-session (Ubuntu 17.10, artful, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.13.0-21-generic.efi.signed root=UUID=793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f ro recovery nomodeset

=================== os-prober:
/dev/sdb6:The OS now in use - Ubuntu 17.10 CurrentSession:linux
/dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sdb3:Kali GNU/Linux Rolling (kali-rolling):Kali:linux

=================== blkid:
/dev/sda1: LABEL="SYSTEM" UUID="DEE4-EAF2" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="773a1a86-703a-4cba-8955-90f56437f5e1"
/dev/sda3: LABEL="Windows" UUID="EEF0E6B1F0E67EE9" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="42cebd1f-c5e6-40ce-bc2e-fcf14b420482"
/dev/sda4: LABEL="WinRE tools" UUID="A6F4E72AF4E6FB85" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="c833aec0-a23e-485e-8b66-f4b421f5abeb"
/dev/sdb1: LABEL="Data" UUID="4C46EC5B46EC4774" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="725c9552-7735-4a72-92a5-4f9baf4e3052"
/dev/sdb2: LABEL="BIOS_RVY" UUID="7A44ED5344ED1325" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="9529fd01-4ea8-4a3e-b13f-e8564e0896e0"
/dev/sdb3: UUID="557ef1c2-c914-44d1-a92c-657ef76ab1e2" TYPE="ext4" PARTLABEL="Kali" PARTUUID="14b80687-8fa0-4733-8f57-b9b5b9659d2a"
/dev/sdb4: UUID="7379f572-4b6f-4f7c-b463-fb6664e6f7d6" TYPE="swap" PARTUUID="9a331bd8-7e2a-4b2e-a0d3-590f1d38c901"
/dev/sdb5: UUID="D23B-06DB" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="718e6930-c566-4793-b99d-809f7dd6be53"
/dev/sdb6: UUID="793fbf5c-d9d4-4d8c-b0bb-8ecc6a44244f" TYPE="ext4" PARTUUID="ec5145f8-e6d4-436c-b62a-aedb6760d210"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="10b598a8-d377-4d46-9b9f-edb38c1b0c61"


2 disks with OS, 3 OS : 2 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.

Windows not detected by os-prober on sda3.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Dec 29 15:44 grub.d
total 84
-rwxr-xr-x 1 root root  9783 Oct 12 09:41 00_header
-rwxr-xr-x 1 root root  6258 Apr 24  2017 05_debian_theme
-rwxr-xr-x 1 root root 12676 Oct 12 09:41 10_linux
-rwxr-xr-x 1 root root 11281 Oct 12 09:41 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root   965 Dec 29 15:44 25_custom
-rwxr-xr-x 1 root root 12059 Oct 12 09:41 30_os-prober
-rwxr-xr-x 1 root root  1418 Oct 12 09:41 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 12 09:41 40_custom
-rwxr-xr-x 1 root root   216 Oct 12 09:41 41_custom
-rw-r--r-- 1 root root   483 Oct 12 09:41 README




=================== /etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



/boot/efi detected in the fstab of sdb6: UUID=D23B-06DB	 (sdb5)
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/fbx64.efi

=================== sdb3/etc/grub.d/ :
drwxr-xr-x 2 root root      4096 Dec 28 23:18 grub.d
total 76
-rwxr-xr-x 1 root root  9783 Jul  6 13:02 00_header
-rwxr-xr-x 1 root root  6258 Jul  6 12:59 05_debian_theme
-rwxr-xr-x 1 root root 12442 Jul  6 13:02 10_linux
-rwxr-xr-x 1 root root 11298 Jul  6 13:02 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jul  6 13:02 30_os-prober
-rwxr-xr-x 1 root root  1418 Jul  6 13:02 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jul  6 13:02 40_custom
-rwxr-xr-x 1 root root   216 Jul  6 13:02 41_custom
-rw-r--r-- 1 root root   483 Jul  6 13:02 README




=================== sdb3/etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



/boot/efi detected in the fstab of sdb3: UUID=DEE4-EAF2   (sda1)
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/fbx64.efi
Presence of bkp file detected: /boot/efi/EFI/BOOT/bkpbootx64.efi
/usr/share/boot-sav/bs-cmd_terminal.sh: line 179: warning: command substitution: ignored null byte in input

=================== efibootmgr -v
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0000,0005,0003,0004,0006,0007,0002,0001
Boot0000* Windows Boot Manager	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIUBUNTUGRUBX64.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.}...5................
Boot0001* UEFI: IP4 KIller PCIe Network Controller	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(4ccc6ae046ee,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0002* UEFI: IP6 KIller PCIe Network Controller	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(4ccc6ae046ee,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0003* Grub2Win EFI	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIGRUB2WINGNUGRUB.KERNEL64.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.4.8.1.5.9.8.3.3.-.c.6.d.9.-.1.1.e.6.-.8.4.f.5.-.9.8.5.d.4.f.9.a.5.6.2.6.}...5................
Boot0004* ubuntu	HD(5,GPT,718e6930-c566-4793-b99d-809f7dd6be53,0x416cf000,0x100800)/File(EFIUBUNTUSHIMX64.EFI)
Boot0005* kali	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIKALIGRUBX64.EFI)
Boot0006* Windows Boot Manager	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO
Boot0007* ubuntu	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIUBUNTUSHIMX64.EFI)..BO

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sdb6	: sdb,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	notbiosboot, .
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-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,	notbiosboot, /mnt/boot-sav/sda1.
sda3	: sda,	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,	notbiosboot, /mnt/boot-sav/sda3.
sda4	: sda,	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,	farbios,	notbiosboot, /mnt/boot-sav/sda4.
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,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sdb1.
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,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sdb2.
sdb3	: sdb,	not-sepboot,	grubenv-ok	grub2,	grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sdb3.
sdb5	: sdb,	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,	farbios,	notbiosboot, /boot/efi.

sdb	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:256GB:scsi:512:512:gpt:ATA SAMSUNG MZNLN256:;
1:1049kB:316MB:315MB:fat32:EFI system partition:boot, esp;
2:316MB:450MB:134MB::Microsoft reserved partition:msftres;
3:450MB:255GB:255GB:ntfs:Basic data partition:msftdata;
4:255GB:256GB:944MB:ntfs::hidden, diag;

BYT;
/dev/sdb:1000GB:scsi:512:4096:gpt:ATA HGST HTS721010A9:;
1:1049kB:500GB:500GB:ntfs:Basic data partition:msftdata;
3:500GB:530GB:30.0GB:ext4:Kali:;
4:530GB:562GB:32.0GB:linux-swap(v1)::;
5:562GB:563GB:538MB:fat32:EFI System Partition:boot, esp;
6:563GB:981GB:419GB:ext4::;
2:981GB:1000GB:19.1GB:ntfs::hidden, diag;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sda   disk        238.5G
sda1  part vfat     300M SYSTEM
sda2  part          128M
sda3  part ntfs   237.2G Windows
sda4  part ntfs     900M WinRE tools
sdb   disk        931.5G
sdb1  part ntfs   465.7G Data
sdb2  part ntfs    17.8G BIOS_RVY
sdb3  part ext4      28G
sdb4  part swap    29.8G
sdb5  part vfat     513M
sdb6  part ext4   389.9G
sr0   rom          1024M

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      0  0  0 running
sda1     0  0  0         /mnt/boot-sav/sda1
sda2     0  0  0
sda3     0  0  0         /mnt/boot-sav/sda3
sda4     0  0  0         /mnt/boot-sav/sda4
sdb      1  0  0 running
sdb1     1  0  0         /mnt/boot-sav/sdb1
sdb2     1  0  0         /mnt/boot-sav/sdb2
sdb3     1  0  0         /mnt/boot-sav/sdb3
sdb4     1  0  0
sdb5     1  0  0         /boot/efi
sdb6     1  0  0         /
sr0      1  0  1 running


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=8128844k,nr_inodes=2032211,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1631068k,mode=755)
/dev/sdb6 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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=19644)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdb5 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/121 type tmpfs (rw,nosuid,nodev,relatime,size=1631064k,mode=700,uid=121,gid=127)
gvfsd-fuse on /run/user/121/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=121,group_id=127)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1631064k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb2 on /mnt/boot-sav/sdb2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb3 on /mnt/boot-sav/sdb3 type ext4 (rw,relatime,data=ordered)


=================== ls:
/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 sda4 size slaves stat subsystem trace uevent
/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 sdb3 sdb4 sdb5 sdb6 size slaves stat subsystem trace uevent
/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
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hpet hugepages hwrng initctl input kmsg kvm lightnvm log mapper mcelog mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sdb sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout tpm0 tpmrm0 uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 08 5e 1b  |.X.MSDOS5.0...^.|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 60 09 00 51 02 00 00  00 00 00 00 02 00 00 00  |.`..Q...........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 f2 ea e4 de 4e  4f 20 4e 41 4d 45 20 20  |..)....NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda3
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 68 0d 00  |........?....h..|
00000020  00 00 00 00 80 00 80 00  ff a7 a5 1d 00 00 00 00  |................|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  e9 7e e6 f0 b1 e6 f0 ee  |.........~......|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda4
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 10 b3 1d  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f 1c 00 00 00 00 00  |................|
00000030  00 2c 01 00 00 00 00 00  02 00 00 00 00 00 00 00  |.,..............|
00000040  f6 00 00 00 01 00 00 00  85 fb e6 f4 2a e7 f4 a6  |............*...|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  40 29 35 3a 00 00 00 00  |........@)5:....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  74 47 ec 46 5b ec 46 4c  |........tG.F[.FL|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb2
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 a0 38 72  |........?.....8r|
00000020  00 00 00 00 80 00 80 00  ff c7 37 02 00 00 00 00  |..........7.....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  25 13 ed 44 53 ed 44 7a  |........%..DS.Dz|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb5
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 08 20 00  |.X.mkfs.fat... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 f0 6c 41  |........?.....lA|
00000020  00 08 10 00 00 04 00 00  00 00 00 00 02 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 db 06 3b d2 4e  4f 20 4e 41 4d 45 20 20  |..)..;.NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  7.8G     0  7.8G   0% /dev
tmpfs          tmpfs     1.6G   11M  1.6G   1% /run
/dev/sdb6      ext4      383G  6.4G  357G   2% /
tmpfs          tmpfs     7.8G     0  7.8G   0% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     7.8G     0  7.8G   0% /sys/fs/cgroup
/dev/sdb5      vfat      512M  5.7M  507M   2% /boot/efi
tmpfs          tmpfs     1.6G   12K  1.6G   1% /run/user/121
tmpfs          tmpfs     1.6G   24K  1.6G   1% /run/user/1000
/dev/sda1      vfat      296M   55M  242M  19% /mnt/boot-sav/sda1
/dev/sda3      fuseblk   238G  175G   63G  74% /mnt/boot-sav/sda3
/dev/sda4      fuseblk   900M  551M  350M  62% /mnt/boot-sav/sda4
/dev/sdb1      fuseblk   466G  152M  466G   1% /mnt/boot-sav/sdb1
/dev/sdb2      fuseblk    18G   18G  754M  96% /mnt/boot-sav/sdb2
/dev/sdb3      ext4       28G  8.0G   18G  31% /mnt/boot-sav/sdb3

=================== fdisk -l:
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B0FE71F7-B02D-4FA2-9D37-B07D5C4CDD71

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    616447    614400   300M EFI System
/dev/sda2     616448    878591    262144   128M Microsoft reserved
/dev/sda3     878592 498274303 497395712 237.2G Microsoft basic data
/dev/sda4  498274304 500117503   1843200   900M Windows recovery environment




Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 59EBC543-8E28-4CE7-8441-68EE3203A7B5

Device          Start        End   Sectors   Size Type
/dev/sdb1        2048  976564547 976562500 465.7G Microsoft basic data
/dev/sdb2  1916313600 1953523711  37210112  17.8G Windows recovery environment
/dev/sdb3   976566272 1035157503  58591232    28G Linux filesystem
/dev/sdb4  1035157504 1097658367  62500864  29.8G Linux swap
/dev/sdb5  1097658368 1098708991   1050624   513M EFI System
/dev/sdb6  1098708992 1916313599 817604608 389.9G Linux filesystem

Partition table entries are not in disk order.



=================== Recommended repair
The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sdb6, using the following options:        sdb5/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s   fix-windows-boot use-standard-efi-file  restore-efi-backups


rm /boot/efi/efi/Boot/bootx64.efi
Quantity of real Windows: 1
sdb6/boot/efi not empty

*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:591b] (rev 04)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:11d7]
Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GP106M [GeForce GTX 1060 Mobile] [1462:11d7]
Kernel modules: nvidiafb, nouveau
02:00.0 Network controller [0280]: Intel Corporation Device [8086:24fb] (rev 10)
*******

grub-install --version
grub-install (GRUB) 2.02~beta3-4ubuntu7,grub-install (GRUB) 2.

efibootmgr -v
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0000,0005,0003,0004,0006,0007,0002,0001
Boot0000* Windows Boot Manager	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIUBUNTUGRUBX64.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.}...5................
Boot0001* UEFI: IP4 KIller PCIe Network Controller	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(4ccc6ae046ee,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0002* UEFI: IP6 KIller PCIe Network Controller	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(4ccc6ae046ee,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0003* Grub2Win EFI	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIGRUB2WINGNUGRUB.KERNEL64.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.4.8.1.5.9.8.3.3.-.c.6.d.9.-.1.1.e.6.-.8.4.f.5.-.9.8.5.d.4.f.9.a.5.6.2.6.}...5................
Boot0004* ubuntu	HD(5,GPT,718e6930-c566-4793-b99d-809f7dd6be53,0x416cf000,0x100800)/File(EFIUBUNTUSHIMX64.EFI)
Boot0005* kali	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIKALIGRUBX64.EFI)
Boot0006* Windows Boot Manager	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO
Boot0007* ubuntu	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIUBUNTUSHIMX64.EFI)..BO

uname -r
Kernel: 4.13.0-21-generic

Reinstall the grub-efi-amd64-signed of sdb6
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
mv 25_custom
efi files in sda1/efi: /MSI/Boot/memtest.efi /MSI/Boot/bootmgr.efi /MSI/Boot/bootmgfw.efi /Microsoft/Boot/memtest.efi /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi /kali/grubx64.efi /grub2win/gnugrub.kernel64.efi /Boot/fbx64.efi /Boot/bootx64.efi
efi files in sdb5/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /BOOT/fbx64.efi /BOOT/bootx64.efi
df /dev/sdb5
Save and rename /boot/efi/EFI/Boot/bootx64.efi (/boot/efi/EFI/Boot/bkpbootx64.efi)
cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi
efi files in sdb5/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /BOOT/fbx64.efi /BOOT/bootx64.efi /BOOT/bkpbootx64.efi
Add /boot/efi efi entries in /etc/grub.d/25_custom
Adding custom /boot/efi/EFI/BOOT/bkpbootx64.efi
Adding custom /boot/efi/EFI/BOOT/fbx64.efi
Adding custom /boot/efi/EFI/ubuntu/mmx64.efi
df /dev/sda1
Save and rename /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi (/mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi)
cp /boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
efi files in sda1/efi: /MSI/Boot/memtest.efi /MSI/Boot/bootmgr.efi /MSI/Boot/bootmgfw.efi /Microsoft/Boot/memtest.efi /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi /kali/grubx64.efi /grub2win/gnugrub.kernel64.efi /Boot/fbx64.efi /Boot/bootx64.efi /Boot/bkpbootx64.efi
Add /mnt/boot-sav/sda1 efi entries in /etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
Adding custom /mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi
Adding custom /mnt/boot-sav/sda1/EFI/Boot/fbx64.efi
sda1/bkpbootx64.efi already added
sda1/fbx64.efi already added
Adding custom /mnt/boot-sav/sda1/EFI/ubuntu/fwupx64.efi
Adding custom /mnt/boot-sav/sda1/EFI/ubuntu/mmx64.efi
sda1/bootmgfw.efi already added
Adding custom /mnt/boot-sav/sda1/EFI/MSI/Boot/bootmgfw.efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0

---- Grub-install verbose
/usr/sbin/grub-install: 2: /usr/sbin/grub-install: Syntax error: ")" unexpected
--------
/usr/sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :2
---- End of grub-install verbose


efibootmgr -v
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0004,0000,0005,0003,0006,0002,0001
Boot0000* Windows Boot Manager	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIUBUNTUGRUBX64.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.}...5................
Boot0001* UEFI: IP4 KIller PCIe Network Controller	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(4ccc6ae046ee,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0002* UEFI: IP6 KIller PCIe Network Controller	PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(4ccc6ae046ee,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0003* Grub2Win EFI	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIGRUB2WINGNUGRUB.KERNEL64.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.4.8.1.5.9.8.3.3.-.c.6.d.9.-.1.1.e.6.-.8.4.f.5.-.9.8.5.d.4.f.9.a.5.6.2.6.}...5................
Boot0004* ubuntu	HD(5,GPT,718e6930-c566-4793-b99d-809f7dd6be53,0x416cf000,0x100800)/File(EFIubuntushimx64.efi)
Boot0005* kali	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIKALIGRUBX64.EFI)
Boot0006* Windows Boot Manager	HD(1,GPT,773a1a86-703a-4cba-8955-90f56437f5e1,0x800,0x96000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO

update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.13.0-21-generic
Found initrd image: /boot/initrd.img-4.13.0-21-generic
Found linux image: /boot/vmlinuz-4.13.0-16-generic
Found initrd image: /boot/initrd.img-4.13.0-16-generic
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Found Kali GNU/Linux Rolling (kali-rolling) on /dev/sdb3
Adding boot menu entry for EFI firmware configuration
Unhide GRUB boot menu in sdb6/boot/grub/grub.cfg

An error occurred during the repair.

You can now reboot your computer.
Please do not forget to make your BIOS boot on sdb5/EFI/ubuntu/shimx64.efi file!

The boot files of [The OS now in use - Ubuntu 17.10] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot/efi partition (FAT32, 100MB~250MB, start of the disk, boot flag). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot/efi partition:] option of [Boot Repair].

If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
Download as text