LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-16-2015, 05:27 PM   #1
dysfunct1on4l
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Rep: Reputation: Disabled
Dual boot Centos7 and Kali


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?
 
Old 01-16-2015, 07:00 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,350

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
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.
 
Old 01-16-2015, 07:58 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Grub was totally deleted and I could only boot into grub recovery. Many hours of cussing later I got Kali back,
VERY odd
cent's installer is very good at finding other OS's installed
and configuring them
it even gives you an option to manually do it

kali should have been auto set up

very odd that it did not ????


Quote:
I never finished setting Centos up as I was rushed out the door
well that would do it
you NEED to run the cent "grub-firstboot" service in cent
that sets up the first NON root user and the timezone and location


Quote:
for some reason it's raid
odd
Cent will AUTO set up a LVM if you do nothing

PS.
keep in mind the uid's
Debian starts at 1000
RHEL/cent starts at 500
reformat and reinstall
and this tome finish the first boot

Last edited by John VV; 01-16-2015 at 08:04 PM.
 
Old 01-16-2015, 08:18 PM   #4
dysfunct1on4l
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
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
 
Old 01-16-2015, 11:45 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
2 drives 2 os'es try changing boot order of drives maybe grub installed to 2nd drive.
 
Old 01-17-2015, 12:32 AM   #6
dysfunct1on4l
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot With Mint&Kali - Booting Problem anon6565 Linux - Distributions 3 01-11-2017 05:56 PM
dual boot error (UEFI secure boot restricting installing centos7 over windows8) praduman1417 Linux - Newbie 3 12-24-2015 08:55 AM
Dual boot kali backtracklinux Linux - Software 3 09-23-2013 04:18 PM
LXer: Dual-boot Windows 7 and Kali Linux LXer Syndicated Linux News 0 03-25-2013 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration