Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had Kali and Linux Mint installed and erased Mint to install Centos7. Grub was totally deleted and I could only boot into grub recovery. Many hours of cussing later I got Kali back, I can see Centos filesystem mounted on my desktop and in disk utility. I never finished setting Centos up as I was rushed out the door which probably caused the problem in the first place, for some reason it's raid and although it's 2 harddrives they are not set up for raid and 1 is Kali and 1 is Centos. The Centos boot folder is still empty after running grub-install on it twice and it does not show in grub. How do I get Centos as an option?
Did you run update-grub in kali to get a boot entry for centos
Quote:
The Centos boot folder is still empty
Is it empty as in no grub folder or empty as in nothing at all? If empty as in nothing no kernels no nothing then you don't have a complete centos install.
Thanks for the replies. I was in fact in a hurry and not paying much attention during the install and yes the boot folder is totally empty so I guess yeah it didn't install at all haha. Kali is working fine which scares me to try and install it again and have the same thing happen but I do know the fix this time so meh, I'll give it a shot. I need a RHEL type distro for class and it was suggested to use this one, I've used Debian exclusively up to now
Okay so I reinstalled Centos, it wasn't in grub, in Kali it appeared to have an empty boot folder again. In frustration and thinking I had a broken disc, decided to use Fedora instead and found they had a security build which was awesome. Installed, same thing. Now I was really ready to give up in anger and go back to using 2 debian distros. After extensive research and complicated commands to try and "recover boot images" turned out in the end I needed 2 commands. TWO. os-prober then update-grub. I saw that it saw the OS and updated my grub, rebooted, lo and behold I am in my Fedora now. All's well that ends well though, I'm happier with this Fedora build than I probably would've been with CentOS. Pentesting distros make me smile, especially awesome ones with great security features as well. If anyone else has this issue, it is fixable with 2 commands, don't freak out and reinstall everything a thousand times like me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.