PDA

View Full Version : Help With Manual Grub Installation.



Negi39s
2021-04-24, 05:41
Hello,

First of all, I'd like to say I'm completely new to Linux. I am trying to Dual boot Windows 10 and Kali on a separate drive. Kali installation is done except Grub which failed on the installation process. I now want to do this manually.

Googled how to do it and have seen a lot of the same guides which is to boot into Live USB and do this :


mount /dev/sda5 /mntmount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
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
umount /mnt/boot/efi
umount /mnt/hostrun
umount /mnt/run/lvm
umount /mnt REBOOT

What I am confused about is sda5, sda+ and sda, this should differ from user to user depending on where their Linux is installed if I am understanding it correctly and I haven't seen anyone explaining it (maybe it's obvious for people who are more experienced). All my Linux system files are in sdd as can be seen below :

4645

I'd be glad if anyone can help me with the sda5, sda+ and sda equivalent in my installation. Thank you.