Grub updating

Disk /dev/sdb: 14.5 Gi B, 15597568000 bytes, 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 Disklabel type: dos Disk identifier: 0xbad74d2f Device Boot Start End Sectors Size Id Type /dev/sdb1 * 64 5456223 5456160 2.6G 17 Hidden HPFS/NTFS /dev/sdb2 5456224 5457631 1408 704K 1 FAT12 /dev/sdb3 5457920 30463999 25006080 11.9G b W95 FAT32 Disk /dev/loop0: 2.4 Gi B, 2558234624 bytes, 4996552 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 I posted my fdisk -l output.Which partitions do you want me to mount and where do you want me to mount them to?You can see the entry of Windows boot manager but there is no entry of kali in boot menu.The reason can be failed grub installation or Windows major updates.Once you boot into kali open terminal and type: grub-install /dev/sda update-initramfs -u update-grub Sometimes Installer shows this error executing grub install dummy failed while installing grub and you have to skip this most important step. That's the first mention to "/dev/sda" in the instructions.The above commands are mandatory if grub was not installed during the kali installation. Thought I'd check first, before causing any problems. However, this line is confusing me: grub-install /dev/sda Is that correct?Also the mount --bind /dev /mnt/dev says it cant find mount point /dev when I mount all partitions to /mnt.

Kept getting stuck on the "grub install" command with different errors (even an "input/output" one that looked dreadful).If you update UEFI from 1.x to 1.y then it remains there.Boot into kali live USB and follow the instructions: mount /dev/sda* /mnt mount --bind /dev /mnt/dev mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys mkdir /mnt/sys/firmware/efi/efivars mount --bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars mkdir /mnt/boot/efi mount /dev/sda /mnt/boot/efi mount -o remount,rw /dev/sda /mnt/boot/efi mkdir /mnt/hostrun mount --bind /run /mnt/hostrun chroot /mnt mkdir /run/lvm mount --bind /hostrun/lvm /run/lvm grub-install /dev/sda update-grub exit umount /mnt/dev umount /mnt/proc umount /mnt/sys/firmware/efi/efivars umount /mnt/sys umount /mnt/boot/efi umount /mnt/hostrun umount /mnt/run/lvm umount /mnt REBOOT /dev/sda* is your linux filesystem.However if grub is present in EFI system partition but entry of kali is missing from boot menu options then you don't have to do those efforts. That's the first mention to "/dev/sda" in the instructions.Just select Boot from EFI just below the Windows Boot Manager. Thought I'd check first, before causing any problems.

Leave a Reply