Help Cent0S 6.2

Link to this post 27 Mar 12

Hello All

Need some serious help today. I am a semi-newbie if there is such a thing for the last five months or so I have been using Cent0S 6.2 to get my feet wet and understand the basic Red Hat format and I am loving it so far. I recently re-installed my computer having two partitions on one hard drive. The First one for Windows 7 and the second one for CentOS. SO I i defragged the hard drive twice and shrink the hard drive by 50 GB(my usually size I partition the Linux drives for). I put the Cent OS disk in and reboot. I do the install as normal. Everything is going smoothly and it installs; well I think it is. I get to the last window were it says to close the window to reboot and it goes to a black screen with only the mouse pointer nothing else. So I take the disk out and reboot again and it goes straight to Windows not even mentioning a duel boot. So I re-size and try several times more with the same results. Even tried VM Virtual box, but it wants the disk in every time and I want to be able to use CentOS on a daily basis and to be able to play and say on the partition. Anyone have any clue why I can't install on the partition and every time I try it says the same size of it before I even installed the size of the hard drive is the same as it is after I installed the OS . Any Ideas would help a lot. Thanks...Dale

Link to this post 27 Mar 12

Which bootloader are you using, the Windows bootloader or the one from Centos (Grub)? At one point during the installation, it asks where you would want to put the bootloader (grub). Your choice is either on the mbr or in the root partition for Centos. It sounds like you may have chosen the wrong place. If you placed it on the mbr, you would be shown a menu that asks if you want to load Windows or Centos. If you chose the root directory of Centos, then, you would only get the Windows bootloader leading you straight into Windows without an option for Centos.

I personally use EasyBCD for my dual boots, so I always put the Linux bootloader in the root directory and then point EasyBCD to that partition. Some folks will use grub, and write that to the mbr, which will give you the choice of booting either. Do you remember that part of the installation? Do you remember where you put the Linux (grub) bootloader?

Link to this post 27 Mar 12

Hi There

Thanks for the response, if I remember right it was Windows MBR, but could be wrong, also I did pass adding a swap file(could that be a problem?). I don't know much about EasyBCD; I do use Partition Wizard to re-size the hard drive and never had a problem with it until now if that is the problem. I do not work so time is not a issue. I do spend a lot of time on Linux CentOS so I want the best duel boot that I can have. At the same I use Windows 7 a lot so I need a good duel boot for both Windows 7 and CentOS so I can be able to use both. So any suggestions would help a lot. So please tell me what the step by step process would be best. Would you recommend me re-installing Windows 7 also or should I just try shrinking the hard drive for the CENTOS partition. Please let me know.



Link to this post 28 Mar 12

With the increased amount of memory in today's computers, having swap is not entirely necessary, although if you want to hibernate or put the computer to sleep you need swap, or, if you have a problem that fills up a log file too fast (which also fills up your partition) the swap file helps you recover. That's not what's causing your problem.

On a dual boot the Windows 7 install should the there before the Linux (Centos) install. No need to do a reinstall.

Since Centos is an offshoot of RedHat, and Fedora is a precursor for RedHat, if you want to try EasyBCD, it might be the easiest solution. But, you need to read about it first and decide for yourself. (I'm a fedora user, so, I'm familiar with the Centos install and setup.)

The instructions for Fedora are at this link. It should work the same for Centos (and even though the instructions are for Vista, it also works with Windows 7). I have used this method on three dual boots and it works fine. Since you have both systems already installed, it would just mean booting up into Windows, installing EasyBCD and then opening BCD and pointing it to the correct partition (the one that holds the Centos boot manager). This should be the partition that contains the /boot folder.

The link for the instructions is here:

When I install Fedora, I have a /boot partition, a / (root) partition and a /home partition. If you installed Centos to just one partition, it will be easier to find the correct one to point EasyBCD to.

Checking your install first.

If you're able to get into your Centos install, go into the file manager and confirm that grub was installed properly. Open Nautilus (File Manager) and then click on File System on the left hand side, where you see Desktop, File System, Network, Trash etc.. Click the folder that is named boot and make sure you see files that start with config and initramfs (hopefully they are there), then click on the grub folder and make sure you see a file called grub.conf. If all those files are there, you're probably safe assuming that grub is installed there. I believe that even if you chose to install grub as the bootloader, those files would still be there, but, we just want to make sure it's installed before moving on.

BTW - Just a note, when you say that you need the disk in the computer in order for Centos to boot. I hope your not looking at a liveCD version coming up on your screen. You not mistaking a LiveCD for the actual install, are you? Just asking, if your new to Linux, that could always be a mistake that one wouldn't notice unless you tried saving modifications and they aren't there when you boot up again. I know you did the install, so it must be there, I'm just thinking as I type here, and that came to mind.

OK, to read about EasyBCD the wiki is here:

If you have decided to go this route the download page is here:
You have to register to download. I've been registered for a couple of years, they don't spam you and keep your email address private.

Once you are in Windows, if you download and install EasyBCD, all you have to do is follow that part of the instructions in the first link I gave you that's titled "Adding Fedora to the Windows Vista Bootloader". It's very easy, as long as you know what partition Centos is on. If you choose the wrong partition, you just boot up into Windows again and change the partition to the correct one.

BTW - if you can get into Centos, and bring up the terminal, log in a root and type the command "fdisk -l" without the quotation marks, and post the results here, we can probably tell you what partition to point EasyBCD to.

OK, I just went into Windows 7 and found that if you go into the menu, and bring up System Information, under System Summary-->Components-->Storage-->Disks you can also get the partition information. Heh, you probably know this already, but, I haven't really used the Windows half of my dual boot in years, so, it was news to me.

OK, I see that I've wrote a whole bunch. If you have any questions, or, if you don't feel comfortable with EasyBCD and would like to wait for other responses, just let me/us know and we'll try to look at other solutions. Personally, I like leaving the Windows bootloader alone and deal with Grub within my Linux install. Others like to use Grub as the bootloader. Read through the links I gave you and post again when you're ready and we'll take it from there.

Link to this post 28 Mar 12


Thanks for the response and I will take a look at the links when I get the spare time here in a bit. First off the Distro I have says it is a LiveDVD, it does give me the option to wait 10 seconds and it goes straight to CentOS or I can hit enter and has other options including to install on hard drive(this is the option I usually use) or I wait the ten seconds and it goes straight to CentOS and has a Icon on the desktop to install CentOS to the hard drive. I ATM have it on VM Virtual box which every time I want to use it I have to put in the LiveDVD to use the OS.

Do I have the wrong type of disk? Is LiveDVD the wrong one to use. Which one should I download?

I was told to use Cent0S to learn Red Hat and be able to take the certification in the future, is this correct or should I use another Linux version. Is Fedora based on Red Hat and would it give me the experience to learn Red Hat without actually having to buy Red Hat. Which Linux in your opinion would be the best for this CentOS or Fedora? Get back with me when you can and in the meantime I will read the links you sent me.



Link to this post 29 Mar 12

First off, EasyBCD will work if it installed onto a partition, it will not work if you install it into a VM. You might know that, but I thought I would mention it.

Now, if you have Centos installed in a VM, it doesn't matter that the CD was a LiveCD, but, it's possible it wasn't saved properly after the installation. I had that problem once when I forgot to save after installation and then making modifications. That's the first place I would look. Once you save the image, you should be able to bring it up with the VM manager the next time you need it without having to insert the CD.

If you want to learn RedHat, you have the correct distro. Centos is as close to RedHat as you're going to get.

Keep us posted on you're progress.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Linux Training / Board