Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-08-2007, 12:45 AM   #1
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
Booting problem with Centos

- Hey guys heres my situation in my box i have 3 OS 2 windows 1 linux (centos) everything works fine not until i changed one of the windows OS. normally when i boot my PC i will have choices either centos or others which is the 2 windows OS. but now after i changed one of the windows OS im directly directed to the 2 windows option. i figured the new windows OS replacement could have mess up the boot loader for centos. is there a way to repair the centos so that i can boot it again...
Old 05-08-2007, 04:49 AM   #2
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112

Just boot up any Linux Live CD and activate Grub in root console.

If Centro is in say hda3 you can tell Grub the root of Cento is in the 3rd partition of the 1st disk by (hd0,2) and set up its Grub in the MBR.
root (hd0,2)
setup (hd0)
You will find Grub back after a reboot.

Remember Grub counts from 0 and (hd0) is the whole disk meaning the destination is the MBR.

If you are not sure which partition Cento resides then issue at the root console command
fdisk -l
It should be the first partition with type No. 83 in your case.

Last edited by saikee; 05-08-2007 at 04:51 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[centos] booting from non-primary drive pcandpc Linux - Distributions 2 04-25-2007 09:35 PM
CentOS Booting issue praveen_repelle Linux - Distributions 2 02-03-2007 03:10 AM
Dual Booting CentOS and Redhat wtilton Linux - Software 6 07-14-2006 12:50 PM
My Computer is not continuing booting in Enabling swap Space in CentOS Jefffrey Sze Linux - Software 1 06-26-2006 02:08 AM
Dual booting CentOS 4.2 with FC4 Digital Surgeon Fedora - Installation 5 01-12-2006 11:01 AM

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

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