PDA

View Full Version : dual boot option disapear



hakimarx
2019-09-03, 09:16
my laptop always directly entering windows 10, without displaying dual boot option. I can't enter my kali linux.
i use boot repair flashdisk, and my result like this:

Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]


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

=> Grub2 (v1.99-2.00) is installed in the MBR of /dev/sda and looks at sector
125360128 of the same hard drive for core.img, but core.img can not be
found at this location.
=> Syslinux MBR (3.00-3.35) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________ ________________________

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:

sda2: __________________________________________________ ________________________

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/Boot/bootx64.efi /EFI/kali/grubx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootmgr.efi
/EFI/Microsoft/Boot/memtest.efi

sda3: __________________________________________________ ________________________

File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''

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: /bootmgr /Windows/System32/winload.exe

sda5: __________________________________________________ ________________________

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:

sda6: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


sda7: __________________________________________________ ________________________

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

sdb1: __________________________________________________ ________________________

File system: vfat
Boot sector type: SYSLINUX 4.07
Boot sector info: Syslinux looks at sector 32784 of /dev/sdb1 for its
second stage. The integrity check of Syslinux failed.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
/EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 1 625,142,447 625,142,447 ee GPT


GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 616,447 614,400 Windows Recovery Environment (Windows)
/dev/sda2 616,448 821,247 204,800 EFI System partition
/dev/sda3 821,248 1,083,391 262,144 Microsoft Reserved Partition (Windows)
/dev/sda4 1,083,392 156,397,567 155,314,176 Data partition (Windows/Linux)
/dev/sda5 238,317,568 625,139,711 386,822,144 Data partition (Windows/Linux)
/dev/sda6 156,397,568 230,103,039 73,705,472 Data partition (Linux)
/dev/sda7 230,103,040 238,317,567 8,214,528 Swap partition (Linux)

Drive: sdb __________________________________________________ ___________________

Disk /dev/sdb: 15.6 GB, 15597568000 bytes
255 heads, 63 sectors/track, 1896 cylinders, total 30464000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 * 2,048 30,463,999 30,461,952 c W95 FAT32 (LBA)


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 BCDA4DDEDA4D9614 ntfs Recovery
/dev/sda2 B64F-FC36 vfat
/dev/sda4 8434E52A34E52042 ntfs Win10
/dev/sda5 76B4594CB459104B ntfs MASTER
/dev/sda6 6778454f-02fc-44b7-918d-511d45fd78c5 ext4
/dev/sda7 26a0dc60-1973-4f39-a0a1-35073800243d swap
/dev/sdb1 AA60-7FBE vfat BOOT-REPAIR
/dev/zram0 4b4da082-baa8-4bca-8fbb-6c49facc692a swap
/dev/zram1 b0097789-80e4-4739-9057-adcad86db204 swap

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

total 0
lrwxrwxrwx 1 root root 9 Sep 3 09:12 ata-Hitachi_HTS543232A7A384_E20342BL09U9TM -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 3 09:12 ata-Hitachi_HTS543232A7A384_E20342BL09U9TM-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 3 2019 ata-Hitachi_HTS543232A7A384_E20342BL09U9TM-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 3 2019 ata-Hitachi_HTS543232A7A384_E20342BL09U9TM-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Sep 3 09:12 ata-Hitachi_HTS543232A7A384_E20342BL09U9TM-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Sep 3 09:12 ata-Hitachi_HTS543232A7A384_E20342BL09U9TM-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Sep 3 2019 ata-Hitachi_HTS543232A7A384_E20342BL09U9TM-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Sep 3 2019 ata-Hitachi_HTS543232A7A384_E20342BL09U9TM-part7 -> ../../sda7
lrwxrwxrwx 1 root root 9 Sep 3 09:12 usb-SanDisk_Ultra_4C531001520506123292-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 3 2019 usb-SanDisk_Ultra_4C531001520506123292-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Sep 3 09:12 wwn-0x5000cca745c4765f -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 3 09:12 wwn-0x5000cca745c4765f-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 3 2019 wwn-0x5000cca745c4765f-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 3 2019 wwn-0x5000cca745c4765f-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Sep 3 09:12 wwn-0x5000cca745c4765f-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Sep 3 09:12 wwn-0x5000cca745c4765f-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Sep 3 2019 wwn-0x5000cca745c4765f-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Sep 3 2019 wwn-0x5000cca745c4765f-part7 -> ../../sda7

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

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,ioc harset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------

if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Boot-Repair-Disk session" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sdb1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
DEFAULT loadconfig

LABEL loadconfig
CONFIG /isolinux/isolinux.cfg
APPEND /isolinux/
--------------------------------------------------------------------------------

=============================== StdErr Messages: ===============================

File descriptor 9 (/proc/12955/mounts) leaked on lvs invocation. Parent PID 19420: bash
File descriptor 63 (pipe:[37456]) leaked on lvs invocation. Parent PID 19420: bash
No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-info 2019-09-03__09h12 ===================
boot-info version : 4ppa14
boot-sav version : 4ppa14
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa14
File descriptor 9 (/proc/12955/mounts) leaked on lvs invocation. Parent PID 14463: /bin/sh
No volume groups found
boot-info is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

mount /dev/sda6 : Error code 32
mount -r /dev/sda6 /mnt/boot-sav/sda6
mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

mount -r /dev/sda6 : Error code 32

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== os-prober:
/dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda6:Kali GNU/Linux Rolling (kali-rolling):Kali:linux

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="Recovery" UUID="BCDA4DDEDA4D9614" TYPE="ntfs"
/dev/sda2: UUID="B64F-FC36" TYPE="vfat"
/dev/sda4: LABEL="Win10" UUID="8434E52A34E52042" TYPE="ntfs"
/dev/sda5: LABEL="MASTER" UUID="76B4594CB459104B" TYPE="ntfs"
/dev/sda6: UUID="6778454f-02fc-44b7-918d-511d45fd78c5" TYPE="ext4"
/dev/sda7: UUID="26a0dc60-1973-4f39-a0a1-35073800243d" TYPE="swap"
/dev/sdb1: LABEL="BOOT-REPAIR" UUID="AA60-7FBE" TYPE="vfat"
/dev/zram0: UUID="4b4da082-baa8-4bca-8fbb-6c49facc692a" TYPE="swap"
/dev/zram1: UUID="b0097789-80e4-4739-9057-adcad86db204" TYPE="swap"


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

mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

mount /dev/sda6 : Error code 32
mount -r /dev/sda6 /mnt/boot-sav/sda6
mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

mount -r /dev/sda6 : Error code 32
Windows not detected by os-prober on sda4.

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi

efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0000,0001,0002
Boot0000* Windows Boot Manager HD(2,96800,32000,9723a6ce-720a-4807-b26e-d929a5717b74)File(EFIMicrosoftBootbootmgfw.efi)WIN DOWS.........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.}...}................
Boot0001* UEFI: SanDisk ACPI(a0341d0,0)PCI(14,0)USB(6,0)HD(1,800,1d0d000,0 0195fba)AMBO
Boot0002* Hard Drive BIOS(2,0,00)AMGOAMNOs.......Q.S.a.n.D.i.s.k....... .............A.......................$..Gd-.;.A..MQ..L.S.a.n.D.i.s.k......AMBO
=================== UEFI/Legacy mode:
Unusual EFI: Please report this message to [email protected]
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])


=================== PARTITIONS & DISKS:
sda1 : 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, not-far, /mnt/boot-sav/sda1.
sda2 : 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, /mnt/boot-sav/sda2.
sda4 : 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, not-far, /mnt/boot-sav/sda4.
sda5 : 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, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.
sda6 : 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, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda6.

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


=================== parted -l:

Model: ATA Hitachi HTS54323 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 1049kB 316MB 315MB ntfs Basic data partition hidden, diag
2 316MB 420MB 105MB fat32 EFI system partition boot
3 420MB 555MB 134MB Microsoft reserved partition msftres
4 555MB 80.1GB 79.5GB ntfs Basic data partition msftdata
6 80.1GB 118GB 37.7GB ext4
7 118GB 122GB 4206MB linux-swap(v1)
5 122GB 320GB 198GB ntfs Basic data partition msftdata


Model: SanDisk Ultra (scsi)
Disk /dev/sdb: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 15.6GB 15.6GB primary fat32 boot, lba


Error: /dev/zram0: unrecognised disk label

Error: /dev/zram1: unrecognised disk label

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

BYT;
/dev/sda:320GB:scsi:512:512:gpt:ATA Hitachi HTS54323;
1:1049kB:316MB:315MB:ntfs:Basic data partition:hidden, diag;
2:316MB:420MB:105MB:fat32:EFI system partition:boot;
3:420MB:555MB:134MB::Microsoft reserved partition:msftres;
4:555MB:80.1GB:79.5GB:ntfs:Basic data partition:msftdata;
6:80.1GB:118GB:37.7GB:ext4::;
7:118GB:122GB:4206MB:linux-swap(v1)::;
5:122GB:320GB:198GB:ntfs:Basic data partition:msftdata;

BYT;
/dev/sdb:15.6GB:scsi:512:512:msdos:SanDisk Ultra;
1:1049kB:15.6GB:15.6GB:fat32::boot, lba;

Error: /dev/zram0: unrecognised disk label

Error: /dev/zram1: unrecognised disk label


=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,ioc harset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 sda7 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 power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control

=================== hexdump -n512 -C /dev/sda1
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 ff 5f 09 00 00 00 00 00 |........._......|
00000030 00 64 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |.d..............|
00000040 f6 00 00 00 01 00 00 00 14 96 4d da de 4d da bc |..........M..M..|
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/sda2
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 fe 19 |.X.MSDOS5.0.....|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 68 09 00 |........?....h..|
00000020 00 20 03 00 01 03 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 36 fc 4f b6 4e 4f 20 4e 41 4d 45 20 20 |..)6.O.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 |{......|[email protected]|
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 |[email protected]|
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/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 88 10 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff e7 41 09 00 00 00 00 |..........A.....|
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 42 20 e5 34 2a e5 34 84 |........B .4*.4.|
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/sda5
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 70 34 0e |........?....p4.|
00000020 00 00 00 00 80 00 80 00 ff 6f 0e 17 00 00 00 00 |.........o......|
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 4b 10 59 b4 4c 59 b4 76 |........K.Y.LY.v|
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

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


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

Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 1.9G 38M 1.9G 2% /
udev devtmpfs 1.9G 12K 1.9G 1% /dev
tmpfs tmpfs 387M 1.1M 386M 1% /run
/dev/sdb1 vfat 15G 13G 1.7G 89% /cdrom
/dev/loop0 squashfs 549M 549M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 1.9G 580K 1.9G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1.9G 0 1.9G 0% /run/shm
none tmpfs 100M 16K 100M 1% /run/user
/dev/sda1 fuseblk 300M 248M 53M 83% /mnt/boot-sav/sda1
/dev/sda2 vfat 96M 29M 68M 30% /mnt/boot-sav/sda2
/dev/sda4 fuseblk 75G 49G 26G 66% /mnt/boot-sav/sda4
/dev/sda5 fuseblk 185G 182G 3.0G 99% /mnt/boot-sav/sda5

=================== fdisk -l:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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
Disk identifier: 0xcfec8f31

Device Boot Start End Blocks Id System
/dev/sda1 1 625142447 312571223+ ee GPT

Disk /dev/sdb: 15.6 GB, 15597568000 bytes
255 heads, 63 sectors/track, 1896 cylinders, total 30464000 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
Disk identifier: 0x00195fba

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 30463999 15230976 c W95 FAT32 (LBA)


No OS or WinEFI system
gui-tab-other.sh: line 94: _checkbutton_repairfilesystems: command not found


=================== Suggested repair
The default repair of the Boot-Repair utility would not act on the MBR.
Additional repair would be performed: repair-filesystems fix-windows-boot


=================== User settings
The settings chosen by the user will not act on the boot.

_defalt
2019-09-05, 08:10
Are you using Legacy BIOS or UEFI? If it's UEFI, is Secure Boot disabled?

bigbiz
2019-09-06, 05:35
This happened to me before heres what I did
Boot into windows
Open command as admin
Type this command into it
bcdedit /deletevalue {bootmgr} path \EFI\debian\grubx64.efi

Restart machine should boot to dual boot screen now.

hakimarx
2019-09-08, 10:47
This happened to me before heres what I did
Boot into windows
Open command as admin
Type this command into it
bcdedit /deletevalue {bootmgr} path \EFI\debian\grubx64.efi

Restart machine should boot to dual boot screen now.

here is my result
https://i.postimg.cc/zL4rXc3k/1.jpg (https://postimg.cc/zL4rXc3k)

hakimarx
2019-09-08, 11:06
Are you using Legacy BIOS or UEFI? If it's UEFI, is Secure Boot disabled?
i think , i use UEFI and disable Secure Boot. But my grub option is disappear..

_defalt
2019-09-08, 16:48
You can manually add entry of grub in your boot menu options. Look for Boot From EFI>System>EFI>Kali>grubx64.efi in your boot menu options. If there's no such option in your PC, then this can be found in your UEFI settings to add a boot device.

If you are unable to find it, post a screenshot of your boot menu options and UEFI settings.

bigbiz
2019-09-09, 00:57
So did it work when u rebooted or no?

hakimarx
2019-09-09, 04:39
So did it work when u rebooted or no?

nothing happen. it just directly boot into windows 10. no boot option.

hakimarx
2019-09-09, 04:47
You can manually add entry of grub in your boot menu options. Look for Boot From EFI>System>EFI>Kali>grubx64.efi in your boot menu options. If there's no such option in your PC, then this can be found in your UEFI settings to add a boot device.

If you are unable to find it, post a screenshot of your boot menu options and UEFI settings.

i cannot find boot option anymore. because it directly booting into windows 10.
this is the result from tool grub2win. Maybe this info usefull for your help.
3593

*** Generated by Grub2Win Version 2.1.0.6 from directory C:\grub2 ***
Graphics 1366x768 (763x605)
Stamp 2019 - 0905 - 212248 Age=6


Grub2Win Is Starting - The Current Time Is
11:22:04 on Senin 9 September 2019


Update was last checked on Kamis 5 September 2019
The OS is Windows 10 64 bit EFI level is 140
Secure Boot is Not Enabled
Grub2Win is running from your EFI partition.
The utility run path is C:\windows\sysnative
The Windows system language is English 0409


*** Grub2Win was cancelled *** at 11:23:08 on Senin 9 September 2019
Run duration was 1 Minute 5 Seconds


****** End of Grub2Win log ******












****** Start EFI Update listing ******






Starting the EFI Update Log at 11:19:08 on Senin 9 September 2019


Generated by Grub2Win Version 2.1.0.6 from directory C:\Users\h\AppData\Local\Temp\grub2win\install\win source
Program Stamp 2019 - 0905 - 212248 Age=6




Spinning Up And Scanning Disks - The Partition Scan May Take Up To 60 seconds


2 disk drives were detected


Examining Disk 0 Found 7 Partitions ** Disk 0 contains an EFI partition **
Examining Flash 1 Found 1 Partition




1 EFI System Partition was found


A total of 8 Partitions were found


Starting EFI Update at 11:19:08 on Senin 9 September 2019


__________________________________________________ __________________________________________________ _____


Found An EFI Partition On Disk 0 Partition 2 - Using Letter M:


The Following Directories Were Found In M:\EFI On Disk 0 Partition 2:
Boot
kali
Microsoft


M: EFI Partition 96 MB Used 30 MB 31.3% Full EFI Module Level = no Label = ** Unlabeled **


Installing The GNU Grub EFI Level 140 Modules To Disk 0 Partition 2 Letter M:


The GNU Grub EFI Modules Require 18.0 MB Of Space In The EFI Partition


Setting up Grub2Win to run from the EFI partition


Setting up Grub2Win to run with 64 bit EFI firmware


Releasing Drive Letter M: From Disk 0 Partition 2


** Grub2Win EFI Update Successfully Completed **


Ending EFI Update at 11:19:59 on Senin 9 September 2019 Duration 51 Seconds


****** End EFI Update listing ******












****** Start BCD Detail Listing ******
As of 11:23:08 on Senin 9 September 2019


Windows Boot Manager
--------------------
identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device partition=\Device\HarddiskVolume2
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale en-US
inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
flightsigning Yes
default {8af89cb3-d36d-11e4-b04b-d53605d8118e}
resumeobject {8af89cb2-d36d-11e4-b04b-d53605d8118e}
displayorder {8af89cb3-d36d-11e4-b04b-d53605d8118e}
toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout 30


Windows Boot Loader
-------------------
identifier {8af89cb3-d36d-11e4-b04b-d53605d8118e}
device partition=C:
path \Windows\system32\winload.efi
description Windows 10
locale en-US
inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
recoverysequence {8af89cb4-d36d-11e4-b04b-d53605d8118e}
recoveryenabled Yes
testsigning Yes
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
resumeobject {8af89cb2-d36d-11e4-b04b-d53605d8118e}
nx OptIn
bootmenupolicy Legacy




BCD Firmware entries
__________________________________________________ ___________________________________


Firmware Boot Manager
---------------------
identifier {fwbootmgr}
displayorder {bootmgr}
{075969a7-d2b9-11e9-9492-60a44c77295d}
bootsequence {075969a7-d2b9-11e9-9492-60a44c77295d}
timeout 0


Windows Boot Manager
--------------------
identifier {075969a7-d2b9-11e9-9492-60a44c77295d}
device partition=\Device\HarddiskVolume2
path \EFI\grub2win\g2bootmgr\gnugrub.kernel64.efi
description Grub2Win EFI - 64 Bit
inherit {globalsettings}


Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume2
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale en-US
inherit {globalsettings}
flightsigning Yes
default {current}
resumeobject {8af89cb2-d36d-11e4-b04b-d53605d8118e}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30


****** End BCD Detail Listing ******












****** Start System and Secure Boot Information listing ******


Current as of 11:22:08 on Senin 9 September 2019 Grub2Win version 2.1.0.6


Processor (2 Core 64 Bit) Intel(R) Celeron(R) CPU 847 @ 1.10GHz


Memory (4 GB) 4,206,477,312 Bytes


Firmware Mode Is EFI-64 Secure Boot Is Not Enabled


Windows Boot Disk 0 Partition 4


BiosMajorRelease 04


BiosMinorRelease 06


ECFirmwareMajorRelease ff


ECFirmwareMinorRelease ff


BaseBoardManufacturer ASUSTeK COMPUTER INC.


BaseBoardProduct X201EP


BaseBoardVersion 1.0


BIOSReleaseDate 01/18/2013


BIOSVendor American Megatrends Inc.


BIOSVersion X201EP.208


SystemFamily X


SystemManufacturer ASUSTeK COMPUTER INC.


SystemProductName X201EP


SystemSKU ASUS-NotebookSKU


SystemVersion 1.0


****** End System and Secure Boot Information listing ******












****** Start grub.cfg listing ******


#
# This is the basic default grub2.cfg file for Grub2Win
#
# On BIOS systems, only the Boot Information and Shutdown menu selections will be visible
#
# On EFI systems, the Windows EFI Boot Manager will also be available
#


#
# The Grub default timeout is 30 seconds
#


set default=0
set pager=1
set timeout=30
set icondir=$prefix/themes/icons
set locale_dir=$prefix/locale
set grub2win_langauto=yes
source $prefix/g2bootmgr/gnugrub.functions.cfg
g2wbits
set gfxmode=1024x768,800x600,auto
set gfxpayload=text
set grub2win_efilevel=
set theme=$prefix/themes/custom.config
if [ $grub2win_bootmode = EFI ] ; then set theme=$theme.$grub2win_efibits.efi.txt ; else set theme=$theme.$grub2win_procbits.bios.txt ; fi
insmod png
insmod all_video
loadfont $prefix/fonts/unicode.pf2
terminal_output gfxterm
insmod gfxmenu


# start-grub2win-auto-menu-section ************************************************** *
#
#
# Menu Entry Windows EFI Boot Manager This only appears on EFI systems
#
#
if [ $grub_platform = efi ] ; then
menuentry 'Windows EFI Boot Manager Hotkey=w' --hotkey=w --class windows --class icon-windows {
set efibootmgr=/efi/Microsoft/Boot/bootmgfw.efi
getpartition file $efibootmgr root
echo Grub is now loading the Windows EFI Boot Manager
echo Boot disk address is $root
echo The boot mode is Windows EFI
sleep -v -i 5
echo ; echo GNU Grub is now loading the Windows EFI Boot Manager
chainloader $efibootmgr
}
fi


#
# Menu Entry Display boot information
#
menuentry 'Boot Information and Utilities Hotkey=b' --hotkey=b --class bootinfo --class icon-bootinfo {
clear
set pager=0
set grub2win_chosen='0 - Windows Boot Manager'
set grub2win_lastbooted=no
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/g2bootmgr/gnugrub.bootinfo.cfg
}


#
# Menu Entry Shutdown the system
#
menuentry 'Shutdown the system Hotkey=s' --hotkey=s --class shutdown --class icon-shutdown {
clear
set pager=1
echo
echo Grub is shutting down your machine
echo
sleep -i -v 2
halt
# If halt fails, display an error message
echo Grub Shutdown is not supported by your firmware
}


#
# end-grub2win-auto-menu-section ************************************************** *


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


****** End grub.cfg listing ******












****** Start Grub2Win Setup listing ******


Start Setup - 11:18:34 on Senin 9 September 2019


The Windows system language is English 0409.
The OS is Windows 10 64 bit The setup EFI level is 140.
Secure Boot is Not Enabled.
The utility run path is C:\windows\sysnative


OK - The New Main Directory Was Created At C:\grub2.


OK - The Grub2Win Desktop Shortcut Was Created.


EFI Update Starts at 11:19:08
Creating backups in C:\grub2\windata\backup
Installing The GNU Grub EFI Level 140 Modules
To Disk 0 Partition 2 Letter M:
Setting up Grub2Win to run from the EFI partition
Setting up Grub2Win to run with 64 bit EFI firmware
Ending EFI Update - No Errors Found




The Grub2Win setup completed successfully!


End Setup - 11:21:41 on Senin 9 September 2019


****** End Grub2Win Setup listing ******

_defalt
2019-09-09, 17:45
Grub is installed in your EFI partition. You just need to boot grub from boot menu options. Press Esc or F1 or F2 or F8 or F9 or F10 or F11 or F12 depends upon your manufacturer. Like in my hp laptop, F9 takes me to boot menu options and F10 to UEFI settings.

One function key goes to boot menu options and one goes to UEFI settings. In one of these places, you can add entry of grub in your boot menu options. If you can't find it, then post screenshot of both the settings. If you have Dell PC, you can add grub from UEFI.

hakimarx
2019-09-10, 14:17
Grub is installed in your EFI partition. You just need to boot grub from boot menu options. Press Esc or F1 or F2 or F8 or F9 or F10 or F11 or F12 depends upon your manufacturer. Like in my hp laptop, F9 takes me to boot menu options and F10 to UEFI settings.

One function key goes to boot menu options and one goes to UEFI settings. In one of these places, you can add entry of grub in your boot menu options. If you can't find it, then post screenshot of both the settings. If you have Dell PC, you can add grub from UEFI.
this is my BIOS:
https://i.postimg.cc/gxNPvWmj/Whats-App-Image-2019-09-10-at-20-37-20-3.jpg (https://postimg.cc/gxNPvWmj)
https://i.postimg.cc/06MHbRNL/Whats-App-Image-2019-09-10-at-20-37-19.jpg (https://postimg.cc/06MHbRNL)

this is my boot option:
https://i.postimg.cc/K1LMz020/Whats-App-Image-2019-09-10-at-20-37-20.jpg (https://postimg.cc/K1LMz020)

this is my grub
https://i.postimg.cc/S2bVRn3M/Whats-App-Image-2019-09-10-at-20-37-20-1.jpg (https://postimg.cc/S2bVRn3M)


https://i.postimg.cc/8s6Dx9BX/Whats-App-Image-2019-09-10-at-20-37-20-2.jpg (https://postimg.cc/8s6Dx9BX)

_defalt
2019-09-11, 03:28
There it is. Add New Boot Option.

Click on it and select System>EFI>Kali>grubx64.efi

hakimarx
2019-09-14, 16:26
There it is. Add New Boot Option.

Click on it and select System>EFI>Kali>grubx64.efi

i add new boot option in bios like this:
https://i.postimg.cc/JDY6p7Zq/Whats-App-Image-2019-09-14-at-23-19-51.jpg (https://postimg.cc/JDY6p7Zq)

but still directly booting at windows

_defalt
2019-09-14, 19:53
Don't create path yourself. Select filesystem

hakimarx
2019-09-28, 12:31
Don't create path yourself. Select filesystem
i dont know what you mean with " select filesystem"?
because no other option to select except : windows system

_defalt
2019-09-29, 06:41
The option above Path for boot option is Select Filesystem . What it does? Does it allow to select path to EFI from there? There's also an example written in side bar of your screen how to write Path in a correct format.

Grubx64.efi is there but you have to know the correct path. Post the screenshot when you click on Select Filesystem.

hakimarx
2019-09-29, 12:05
The option above Path for boot option is Select Filesystem . What it does? Does it allow to select path to EFI from there? There's also an example written in side bar of your screen how to write Path in a correct format.

Grubx64.efi is there but you have to know the correct path. Post the screenshot when you click on Select Filesystem.

here is when i click "select filesystem"
3615

_defalt
2019-09-29, 17:47
Try this path:

fsx: \EFI\Kali\grubx64.efi

hakimarx
2019-09-30, 02:26
Try this path:

fsx: \EFI\Kali\grubx64.efi

https://i.postimg.cc/Sn3n0VJ8/Whats-App-Image-2019-09-30-at-09-21-56.jpg (https://postimg.cc/Sn3n0VJ8)
i type fsx: \EFI\Kali\grubx64.efi and name it with "kali" then still booting into windows

And here is the profile of path windows boot option
https://i.postimg.cc/d7pXCdMW/Whats-App-Image-2019-09-29-at-18-57-48.jpg (https://postimg.cc/d7pXCdMW)

_defalt
2019-09-30, 07:21
Make sure you keep secure boot disabled. Show the screenshot of your boot menu options. To open boot menu options, prsss the associated function key which takes you to boot menu options. Boot menu screen is different from UEFI settings.

hakimarx
2019-10-01, 14:01
Make sure you keep secure boot disabled. Show the screenshot of your boot menu options. To open boot menu options, prsss the associated function key which takes you to boot menu options. Boot menu screen is different from UEFI settings.

this is video of BIOS Option on my laptop
https://s.id/6XhKw

https://s.id/6XhKw
i got no idea..

_defalt
2019-10-01, 16:08
Those links aren't working. While you re-upload the video, live boot kali Linux and post the output of:

mount /dev/sda1 /mnt

ls /mnt/EFI/Kali

hakimarx
2019-10-04, 09:26
Those links aren't working. While you re-upload the video, live boot kali Linux and post the output of: mount /dev/sda1 /mnt ls /mnt/EFI/Kali This is the result https://i.postimg.cc/8jdWH9qx/IMG-20191004-162453.jpg (https://postimg.cc/8jdWH9qx)

_defalt
2019-10-05, 02:06
See grubx64.efi is installed in EFI.



https://s.id/6XhKw

Alright, let's reinstall grub.

Follow this thread: -UEFI-How-to-repair-kali-linux-grub-dual-boot-with-Windows-10 (https://forums.kali.org/showthread.php?36601-UEFI-How-to-repair-kali-linux-grub-dual-boot-with-Windows-10)