LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-08-2006, 10:57 AM   #1
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Rep: Reputation: 15
Where is my CENTOS!!


Hy every body

Just came from fedora, redhat and centos.

I' ve installed the UBUNTU 6.10 in one of my HDD. In fact i've two HDD's.
In the first one i had Windows media center and Centos 4.4.
In the second HDD, i installed UBUNTU (hdb).

Now when i boot (BIOS) from the first HDD, i have the choice to either run UBUNTU or windows, it works well, but where is the CENTOS distribution since i' ve installed the ubuntu in the second HDD?

If i boot (BIOS) from the second HDD, i got a message: Bad PBR sig, what does it mean?

Any help

Thanks a lot.

red

Last edited by hermouche; 11-08-2006 at 11:33 AM.
 
Old 11-08-2006, 04:13 PM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Are you using Grub? If I remember correctly Ubuntu uses grub. It looks like your Ubuntu install rewrote you MBR installed itself, detected Windows and included it to, but failed to include CentOS. What does your grub.conf or menu.lst look like? Perhaps if you simply add Cent to it, you will come back.

I'm not honestly sure what the error message means. Perhaps the MBR on the second drive is messed up somehow.
 
Old 11-09-2006, 03:13 AM   #3
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Penguin of Wonder
Are you using Grub? If I remember correctly Ubuntu uses grub. It looks like your Ubuntu install rewrote you MBR installed itself, detected Windows and included it to, but failed to include CentOS. What does your grub.conf or menu.lst look like? Perhaps if you simply add Cent to it, you will come back.

I'm not honestly sure what the error message means. Perhaps the MBR on the second drive is messed up somehow.
Well, this is my grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6xen)
root (hd0,2)
kernel /xen.gz-2.6.18-1.2798.fc6
module /vmlinuz-2.6.18-1.2798.fc6xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-1.2798.fc6xen.img
title Windows Media Center
rootnoverify (hd0,0)
chainloader +1


Yes, what i did lastly, i installed the fedora core 6.

Now i am confused, i installed fedora in the first HDD is it right (hd0)?
Actually if i understand, windows and fedora are installed in the first HDD, is that correct?

What does it mean (hd0,2), well i guess hd0 means the first HDD and 2 means in the second partition of this hdd, is this OK?

What about the second HDD which is hdb?

Now if i want to install UBUNTU in the second HDD, what shoul i do?
because if i remember i installed UBUNTU in the hdb which is in my believe my second HDD!!!and i've got the upper message error.

Yes i am using grub for fedora and for ubuntu.

Thanks
red

Last edited by hermouche; 11-09-2006 at 03:14 AM.
 
Old 11-09-2006, 03:48 AM   #4
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
Oh another question. According to my grub.conf where grub boot loader is installed?
How can we know that grub is installed with in windows or fedora?

Thanks
red

Last edited by hermouche; 11-09-2006 at 03:49 AM.
 
Old 11-09-2006, 04:24 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
The loader has installed to the MBR - this is at the beginning of the disk and is not part of any partition.
Rather than continually (re-)installing things, just calm down.
Your Ubuntu install should still exist - from Fedora have a look at the second disk for a file called menu.lst.
Maybe /media/hdb1/boot/grub/menu.lst (or something similar).

It will have something like
Code:
title           Ubuntu, kernel 2.6.15-27-686
root            (hd0,6)
kernel          /vmlinuz-2.6.15-27-686 root=/dev/hda8 ro quiet splash
initrd          /initrd.img-2.6.15-27-686
You will have a later kernel - 2.6.17 for 6.10 I think, and of course the disk references will be different.
Just copy that to your Fedora grub.conf and reboot.
 
Old 11-09-2006, 05:11 AM   #6
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
Thanks do it right now.

red
 
Old 11-09-2006, 06:39 AM   #7
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
YES, it's done. Thanks again syg00 and penguin of wonder.
I think i should write down what i did, hopefully it will helps others.

- first hard drive hdd1 (hda) installed Windows and Fedora.
- second hard drive hdd2 (hdb)installed Ubuntu with the boot installed on this hdd2.

- start fedora.
- mount the grub.conf of Ubuntu from Fedora:
* mkdir /media/ubuntu
* mount /dev/hdb1 /media/ubuntu
* cd /media/ubuntu
* cd /boot/grub
* cat grub.conf and copy the content to fedora grub.conf.
* Don't forget to save the newly edited file and reboot.

As it is mentioned by syg00 this is an example of the grub.conf:

Quote:
title Ubuntu, kernel 2.6.15-27-686
root (hd0,6)
kernel /vmlinuz-2.6.15-27-686 root=/dev/hda8 ro quiet splash
initrd /initrd.img-2.6.15-27-686
That's all .

red

Last edited by hermouche; 11-09-2006 at 06:44 AM.
 
  


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
CentOS Nix4me Linux - Networking 4 02-06-2006 11:25 PM
about CentOS ust Linux - Distributions 3 10-06-2005 03:01 AM
Whats the differnce between Centos and CentOS? duffmckagan cAos 1 06-12-2005 12:23 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM
Centos 3.3 againstms Linux - General 3 12-24-2004 12:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

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