LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
Search this Thread
Old 01-09-2006, 07:49 PM   #1
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Rep: Reputation: 30
Dual booting CentOS 4.2 with FC4


How do I manage my partitions to install Fedora Core 4 alongside with an existing install of CentOS
 
Old 01-09-2006, 08:30 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
What do you want to do?
How are partitions defined now?
What do want to end up with when done?

Quick note when dealing with Redhat/Fedora/Centos/Enterprise distros, since Centos is installed already then modify /etc/fstab and replace the LABEL= with thier true /dev points. You can get that info from /etc/mtab. Also do the same to /boot/grub/grub.conf.

Reason if you what to create two seperate distros on 2 seperate harddrives and you create a /usr on one and a /usr on the other then the system gets confused on mounting. For some reason it tries mounting both on the same mount point even though you only need one. Defining true mount devices fixes the confusion.
 
Old 01-10-2006, 08:42 AM   #3
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Original Poster
Rep: Reputation: 30
Im not good with partitioning and had used automatic partitioning for installing CentOS, Why do you need to modify the fstab file and the grub.conf.
 
Old 01-10-2006, 09:24 AM   #4
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Original Poster
Rep: Reputation: 30
result()

So as an end result I want to end up with CentOS or fedora 4 on my grub boot loader menu
 
Old 01-11-2006, 04:45 PM   #5
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Do you wish to end up with two seperate operating systems running on thier own partitions?
Are they both going to remain on the same drive?

If on the same drive the best and easiest way is to create a /boot partition about 100mb. This one will be used by both OSes. Then create a seperate / partition for each OS. And then might be best to have a partition that is used between both call it /storage. Also include a swap partition of about 256meg to 512 meg. So the end result is. Make any larger, I do not konw the drive size you are working with.

/dev/hda1 /boot used by both. 100mb
/dev/hda2 / for one OS. 12 gig if using full install.
/dev/hda3 / for another OS. 12 gig if using full install.
/dev/hda5 /storage for both. About 6 gig is size
/dev/hda6 swap. About 256mb to 512mb and used by both.

With this setup you will have no conflicts on apps like KDE when updating. If you used common partitions for say /usr or /opt then when you update KDE on one of them it will more than likely not work on the other do to dependencies issues. Then you have conflicts in home directory of hidden config files from one version change to the other until both are at the same level.

Now for the fstab issue you cannot have to partitions pointing to /. The issue with the redhat-Centos is they use a scheme using LABELS. You just need to open /etc/fstab and /etc/mtab to understand.

Once you installed the first distro you need to modify /etc/fstab to point to the correct partition to /dev. At this time you could have created the 2nd OSes partition but at this time you do not mount it. Install the second OS and more than likely you will have to enter rescue mode or boot with a live CD and modify the /etc/fstab of the second OSes /.

You can mount the others OS / partition if you wish but you need to mount it to say /second_os directory.

Examples of fstab for each OS install using references above.
Fedora OS
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda1               /boot                   ext3    defaults        1 2
/dev/hda2               /                       ext3    defaults        1 1
/dev/hda3               /centos                 ext3    defaults        1 1
/dev/hda2               /storage                ext3    defaults        1 1
/dev/hda6               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              auto    noauto,owner,rw 0 0 
/dev/fd0                /mnt/floppy             auto    noauto,owner 0 0
Centos OS
Code:
/dev/hda1               /boot                   ext3    defaults        1 2
/dev/hda2               /fedora                 ext3    defaults        1 1
/dev/hda3               /                       ext3    defaults        1 1
/dev/hda2               /storage                ext3    defaults        1 1
/dev/hda6               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              auto    noauto,owner,rw 0 0 
/dev/fd0                /mnt/floppy             auto    noauto,owner 0 0
I hope this will help.
Brian1
 
Old 01-12-2006, 10:01 AM   #6
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Original Poster
Rep: Reputation: 30
Thank you all very much, I will try it today.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems dual booting FC4 and Slack 10.2 bmccorm2 Linux - General 3 11-01-2005 11:13 AM
dual booting with FC4 Digital Surgeon Fedora - Installation 1 10-12-2005 10:06 PM
Dual-Booting FC4 and WinXP 3t3rnal Linux - Newbie 8 08-05-2005 08:31 PM
No luck dual-booting FC4 and XP nicomachean Linux - Newbie 6 07-19-2005 08:08 AM
so close to dual booting xp and FC4! richardg Linux - Newbie 3 07-01-2005 09:55 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration