Stuck in Grub, Making and Repairing a Default Bootloader [Windows/Linux]

Did you dual-boot or triple boot your PC Operating Systems with Default Bootloader? This process is called Multi-booting, you are likely to end up with a boot issue, it looks so crazy when you experience it but believe me it’s nothing to worry about, it could be fixed within 30 seconds.

I am a victim of this as I love installing various OS, comparing them to know which is best, though they all have their unique features/differences, in my own case I have three OS installed on my laptop namely, Windows 10, Kali Linux and Cyborg Hawk Linux of which a nice default bootloader is needed.

They all are very useful to me, Windows is used for my basic needs like using Microsoft Word Packages easily and projecting, Kali is the master of all hacking OS as its environment is mainly made for hacking while Cyborg Hawk is also a hacking OS but under Ubuntu, it has many Pentesting pre-installed software in which I need not to make any installation again though I can if I wish, they all have their respective default bootloader.

It’s joy unspeakable for me to be running these three powerful Operating Systems, but it can be so frustrating when it gets to booting after installing one OS on the other.

I installed Cyborg Hawk as the last but I now have issues with the default bootloader. I Browsed Google, visited many websites but they only focus on one or two OS.

So I made my research and the result will be shared with you on this article. Be it you are stuck on booting or you find yourself in Grub Rescue page which will make you not to be able to boot to Bios.

Mind you, you can use other Linux too as its not a must to use Kali, all that is needed is a terminal from the live boot. I wish to continue using Kali Grub as my default boot OS and am stuck on Grub Rescue, couldn’t boot to Bios also.

If you can boot to Bios skip the below steps and just boot to your live USB Flash drive and follow Step B.

Step A

Steps to Take if You can’t boot to Bios
1. Unbolt your Laptop and detach your Internal Drive.
2. Plug in your bootable USB flash.
3. Boot your system and you can now boot to “Kali Grub”.
4. Choose Live boot and login with default login details.
Kali Default Login
User: root
Password: toor
Cyborg Hawk Default Login
User: cyborg
Pass: toor
Ubuntu Default Login
User: ubuntu
Pass: blank password

5. Input your Internal Drive back.
6. Shutdown and boot your system and you either have an option to boot to Bios or it automatically boot to your USB live session.

After attaining this level then you can proceed to make Kali your Default Boot OS by following the below steps.

Read Also: What Is A NAS? Types, Importance and 6 Best NAS

Step B

Steps to Make Kali or Your Chosen Linux Distro Default Grub Boot.
1. Open a terminal via live USB Bootable Flash Drive.
2. Switch to root user.
3. Run the codes below.

Note the disk partition you installed your Kali, mine is partition disk 3 so I use 3.

#sudo fdisk -l
#mount /dev/sda3 /mnt
#mount –bind /dev /mnt/dev
#mount –bind /proc /mnt/proc
#mount –bind /sys /mnt/sys
#chroot /mnt
/#grub-install /dev/sda
/#grub-mkconfig -o boot/grub/grub.cfg
(ctrl+D)
/#exit
#umount /mnt/dev
#umount /mnt/proc
#umount -l /mnt/sys
#umount /mnt
#reboot

Congrats, after this we will get a grub reboot with our preferred default bootloader which you now have to choose Linux / Ubuntu or Cyborg Hawk, login then open a terminal as root and run the below command to authenticate.

Read Also: Best Screen Recorder Software Program for PC

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

Thanks for reading, I hope I have solved your problem with dual-booting and triple-booting.

Leave a Comment