Grub Installation Failed Kali Linux Install On Virtualbox

If your System has primary OS Windows then you install your secondary OS Kali Linux. That will be ok, Kali Linux put boot entry of Window automatically for you. At initial boot menu you can see both OS entry to boot their those OS individually.

May be your window is corrupt in dual boot system or you want to install window as secondary OS after installing Kali Linux as primary OS. You may face corrupt boot-loader menu. You not able to boot Kali Linux any more because Window didn’t put entry of Kali Linux automatically in their boot menu.

So this post motive is to help those guys which are facing those problems subjecting to corrupt Boot-loader. There are mainly two methods:

  1. That is all there is to VM setup, let’s install Kali OS on top of this VM. Kali Installation. Open up VirtualBox manager and double click on KaliVM to boot it up. Since the Virtual Hard Disk doesn’t have an OS installed on it, it is not bootable yet. VirtualBox will prompt us to select a bootable media to boot the VM with.
  2. Hello friendsToday I will show you how to fix problems in installing system failed.I will give you full tutorial from beginning to end.For more tut.

Install Kali Linux 2020 on VirtualBox in offline mode, fix all installation errors, and install VirtualBox Guest Additions! Full tutorial: https://ojoiszy.co.

1. Repair Grub via Kali Linux live USB.

2. Repair Grub Via Boot-rapair-disk.

Method 1# Repair Grub via Kali Linux live USB

It is up to you which you want to choose but if you are Linux familiar then go for this method.

Installation

Requirements

1. A Kali Linux ISO image. You can download here:

2. You need to create a Kali Linux pre-installed live CD or Live USB. You can click following link for more help to create live USB or CD-DVD.

Procedure to repair Grub of Kali Linux

Step 1. Boot your live USB via pressing boot menu button on initial stage of booting your system. Select “Live” option.

Step 2. Boot into Live Kali Linux, get the Terminal open. Type the following commands:

Grub Installation Failed Kali Linux Install On Virtualbox 10

mount /dev/sda3 /mnt
mount –bind /dev /mnt/dev
mount –bind /dev/pts /mnt/dev/pts
mount –bind /proc /mnt/proc
mount –bind /sys /mnt/sys
chroot /mnt
grub-install /dev/sda
update-grub
exit
umount /mnt/dev/pts
umount /mnt/dev
umount /mnt/proc
umount /mnt/sys
umount /mnt

Step 3. Now reboot the system, you will see your boot-menu showing Window and Kali Linux both simultaneously.

Most of the time Kali Linux grub is repaired by above steps but exceptionally you may not, so you have to do more commanding.

Step 4. Boot the Live Kali Linux again, open the terminal type the following commands:

apt-get install os-prober
os-prober
update-grub

This will help a lot to repair Kali Linux Grub. Good-luck!

Method 2# Repair Grub Via Boot-rapair-disk

It is up to you which you want to choose but if you are not Linux familiar then go for this method.

Requirements

1. A Boot-repair-disk ISO image. You can download here:

2. You need to create a Boot-repair-disk pre-installed in live CD or Live USB. You can click following link for more help to create live USB or CD-DVD.

Procedure to repair Kali Linux Grub

Boot into Live USB by pressong boot-button at initial stage of booting the system.

After that, it is all automated. As soon as you boot into this live disk, it will automatically begin mounting all your file systems and looking for grub. Once it is located, it will be restored automatically and at the end a message will be displayed to you.

So if you are someone who isn’t all that thrilled about typing commands on a Linux terminal in the method I discussed previously, this ISO is for you.

Posted by Vishnu Valentino in Hacking Tutorial | 33 comments

This tutorial is continuing the last How to Install Kali Linux on Virtual Box part 1, you can check it first before go to this 2nd part tutorial.

Step by Step Install Kali Linux on Virtual Box:

11. After finished setting up the time zone, now we continue to set the partition disk. Because we use virtual machine, we can just use the disk available there.

12. Actually in this partitioning part you can do it by your own and modify as you want, usually in Linux if you want to create manually you can set up the /home, /tmp, /var, /usr, and so on. But since its in virtual machine so I will just leave with the default 'for the new users' that mean all data will be in the same partition.

13. After everything finished, just choose 'finish partitioning and write changes to disk'.

14. The next step is only to make sure that we are ready to create the partition showed in this page. Choose yes if you okay with the information.

15. The installation has started, we need to wait until it finish.

16. During installation the system will ask whether we want to use network mirror or not. If you choose yes, the system will try to find the closest mirror to download the latest package(usually take time longer). You can choose NO in this step, because you can set this option manually in sources.list file after installation finished.

17. The last step is installing the GRUB boot loader. We are not installing the Kali Linux together with other OS-es, so we can just choose YES in this step.

18. We are almost finished, the system will tell you that installation is completed. We can remove the ISO image by clicking

unchecked the ISO file if it's checked.

19. Here is the first screen of Kali Linux

Grub Installation Failed Kali Linux Install On Virtualbox

Hope you found it useful 🙂

Share this article if you found it was useful:

Blogger at hacking-tutorial.com. Love PHP, offensive security and web. Contact him at me[-at-]vishnuvalentino.com

Kali Linux

See all posts by Vishnu Valentino || Visit Website : http://www.vishnuvalentino.com