@tushr In kali-live enter mount /dev/sda* /mnt and then show the output of ls /mnt/usr/sbin | grep grub. /dev/sda* is your kali filesytem partition.
@tushr In kali-live enter mount /dev/sda* /mnt and then show the output of ls /mnt/usr/sbin | grep grub. /dev/sda* is your kali filesytem partition.
@_defalt Sorry for the late reply but I was trying other methods. Actually, my laptop is fairly new so I thought maybe if I try a newer release of kali would it work?... and it did. I downloaded kali-linux-2017.3-amd64 and booted from that. The setup did not stop at grub and it installed successfully past all the grub-install dummy step.
But now another problem rose. My wifi adapter is not being read. In the settings in the wifi tab it says wifi not supported. A key note:
*During installation an error came about some missing firmware files. It said: Some of your hardware needs non-free firmware files to operate. The firmware can be loaded from removable media, such as a USB stick or floppy.
The missing firmware files are: rtl_nic/rtl8168h-2.fw
If you have such media available now, insert it, and continue.
Load missing firmware from removable media? (yes/no)
Also at the network configuration step, the setup is supposed to first scan for lan0 and then wlan0. But during my setup, it scanned lan0 and skipped wlan0. Since I dont have means for LAN connection I had no choice but to choose for configure network later.
After the installation, I connected my phone through tethering and did a apt-get update and apt-get dist-upgrade. It fetched around 1.1GB of data but still no luck. I searched online and heard about backports. But during installation, there was a step which used "make unload" command which gave an error about the linux headers are not installed or missing.
To overcome this, i did a apt-cache search linux-headers and installed the ones corresponding to my version(using uname -r). They got installed but still no luck with the make command.
Sorry for such a long error post but I just think maybe you could connect all these problems. Also I dont think the kali image is corrupted as I installed kali in another laptop using the same image and it worked like a charm.
my 2018.1 install was successful but I have no grub boot loader despite agreeing to all grub/MBR items during the install. I only see Windows Boot Management in CMOS and on boot it just boots to Windows. I can run Live Kali from my install DVD
my fdisk -l
root@kali:~# fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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: D249AB9A-2FAE-4930-B982-8AE340DAB7E1
Device Start End Sectors Size Type
/dev/sda1 2048 206847 204800 100M EFI System
/dev/sda2 206848 2050047 1843200 900M Windows recovery environment
/dev/sda3 2050048 2312191 262144 128M Microsoft reserved
/dev/sda4 2312192 722997247 720685056 343.7G Microsoft basic data
/dev/sda5 934809600 976773119 41963520 20G Windows recovery environment
/dev/sda6 722997248 722999295 2048 1M BIOS boot
/dev/sda7 722999296 926652415 203653120 97.1G Linux filesystem
/dev/sda8 926652416 934809599 8157184 3.9G Linux swap
Partition table entries are not in disk order.
Disk /dev/loop0: 2.6 GiB, 2775728128 bytes, 5421344 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
Manual config of grub following instructions above, fails with multiple "no mount point" errors and "command not found" when running update-grub
root@kali:~# mount /dev/sda7 /mnt
root@kali:~# mount -bind /dev /mnt/dev
mount: invalid option -- 'b'
Try 'mount --help' for more information.
root@kali:~# mount --bind /dev /mnt/dev
root@kali:~# mount --bind /proc /mnt/proc
root@kali:~# mount --bind /sys /mnt/sys
root@kali:~# mount --bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
mount: /mnt/sys/firmware/efi/efivars: mount point does not exist.
root@kali:~# mount /dev/sda1 /mnt/boot/efi
mount: /mnt/boot/efi: mount point does not exist.
root@kali:~# mount -o remount,rw /dev/sda1 /mnt/boot/efi
mount: /mnt/boot/efi: mount point does not exist.
root@kali:~# mount --bind /run /mnt/hostrun
mount: /mnt/hostrun: mount point does not exist.