LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dual os - booting issue (https://www.linuxquestions.org/questions/linux-newbie-8/dual-os-booting-issue-4175479762/)

shyammohan 10-06-2013 12:07 AM

dual os - booting issue
 
Hi friends, i am new to here and also this is the first time i am using linux. I have already installed centos6 and win7 on my 350gb hard disk.Two os's were working fine. then i deleted one windows partition via centos.After that there was some problem with the grub. i found some grub commands from the internet and almost fixed.Right now my windows7 is working fine, but centos6 is not booting...can u guys please help me to fix this problem ??

druuna 10-06-2013 03:52 AM

Quote:

Originally Posted by shyammohan (Post 5040787)
I have already installed centos6 and win7 on my 350gb hard disk. Two os's were working fine. then i deleted one windows partition via centos. After that there was some problem with the grub.
i found some grub commands from the internet and almost fixed. Right now my windows7 is working fine, but centos6 is not booting.

Your post isn't detailed enough. Without knowing what the problem with grub was and which commands you found and applied we will only be able to give you some general advise.

When you want to dual boot Windows and Linux, you first install Windows and then Linux. You need to do this to make sure that the bootloader (grub from Linux) can handle both Windows and Linux.

You mention that Windows is working at the moment, which makes me believe that you found a way to restore the Windows bootloader (which will not pick up Linux).

You might be able to use the CentOS cd/dvd to restore grub, but like I said before: Without knowing what it is you did this is just a guess.

This link might be of help (general concept): Fix a dual boot Windows Vista and Linux problem
Do NOT blindly copy/paste the commands in the given link. Make sure you understand what is being done and when in doubt ask!

shyammohan 10-06-2013 05:39 AM

Quote:

Originally Posted by druuna (Post 5040827)
Your post isn't detailed enough. Without knowing what the problem with grub was and which commands you found and applied we will only be able to give you some general advise.

When you want to dual boot Windows and Linux, you first install Windows and then Linux. You need to do this to make sure that the bootloader (grub from Linux) can handle both Windows and Linux.

You mention that Windows is working at the moment, which makes me believe that you found a way to restore the Windows bootloader (which will not pick up Linux).

You might be able to use the CentOS cd/dvd to restore grub, but like I said before: Without knowing what it is you did this is just a guess.

This link might be of help (general concept): Fix a dual boot Windows Vista and Linux problem
Do NOT blindly copy/paste the commands in the given link. Make sure you understand what is being done and when in doubt ask!



Thank you very much for your support druuna. I have followed the steps in that link you have given & then tried to re-install grub from that Centos DVD ( rescue mode ).GRUB installation was successfull.But centos is not booting again. It is showing the error " error15: file not found". Dont know what to do next. Can i install Centos on the same linux partition again ? but got fear, it will affect windows or not ....

druuna 10-06-2013 06:24 AM

Quote:

Originally Posted by shyammohan (Post 5040857)
Thank you very much for your support druuna. I have followed the steps in that link you have given & then tried to re-install grub from that Centos DVD ( rescue mode ).GRUB installation was successfull.But centos is not booting again. It is showing the error " error15: file not found". Dont know what to do next.

Again: Your post isn't detailed enough.

- Which steps did you do.
- What is your disk layout (do you have multiple disks).
- Are you sure you choose the correct device.

Quote:

Can i install Centos on the same linux partition again ? but got fear, it will affect windows or not ....
Yes, you can re-install CentOS. You have to make sure you select the correct partition!


All times are GMT -5. The time now is 03:03 AM.