LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 01-27-2005, 12:19 PM   #1
pirozzi
Member
 
Registered: Sep 2003
Location: /naples/italy
Distribution: ubuntu 12.04 / Slackware 14
Posts: 150

Rep: Reputation: 15
dual boot for multiple linux distros


i'd like to use my second hd to "play" and try different distros. goggling around to see how to properly configure the grub configuration file i found out different positions. some says to skip the grub installation step during the distro installation and then go and configure grub. others says to install grub but in first partition of the second hd. who is right?
 
Old 01-27-2005, 12:22 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
I'd install it on the MBR and share the /boot partition with all the distributions. Just make sure you do all your grub configuring manually so none off the distro's tools screw it up.
 
Old 01-27-2005, 02:25 PM   #3
pirozzi
Member
 
Registered: Sep 2003
Location: /naples/italy
Distribution: ubuntu 12.04 / Slackware 14
Posts: 150

Original Poster
Rep: Reputation: 15
i think that if i install grub of the second distro on the MBR it will overwrite the first one and i will not be able to boot the fist distro installed. isn't it?
 
Old 01-27-2005, 02:30 PM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Only install grub from one distribution, don't install a boot loader at all for the others.

Use the same /boot partition for all the distributions (so that one copy of grub can see all the different kernel images) and just use different root partitions.


EDIT:
Actually, you don't have to even use the same boot partitions. So long as grub is installed correctly it can access any ReiserFS, EXT2, or EXT3 partition.

Last edited by jtshaw; 01-27-2005 at 02:31 PM.
 
Old 01-28-2005, 03:13 AM   #5
pirozzi
Member
 
Registered: Sep 2003
Location: /naples/italy
Distribution: ubuntu 12.04 / Slackware 14
Posts: 150

Original Poster
Rep: Reputation: 15
i still don't get it. now i have fc3 installed on my first hd and i want to install another distro on the second hd. how should i go on? install the new distro skipping the grub installation and then...?
 
Old 01-29-2005, 09:15 AM   #6
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
hi.
yes, skip bootloader installation for other distros. just install it (or them) to second hdd. after installation edit grub.conf of fc3.

i have fc3 as main distro and others are slack 10 and centos 3.3
this is my second HDD:
Code:
Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *       1       979   5863725   83  Linux  --->/ of centos
/dev/hdb2           980      1709   5863725   83  Linux --->/ of slack
/dev/hdb3          1710      2491   6281415   83  Linux --->i will install another one ;)
all of distros have their own / partition. there is a swap partition which is /dev/hda7 is common for all distros. i dont have any /boot partition.

here is my grub.conf
Code:
title Fedora Core 3
        root (hd0,1)
        kernel /boot/vmlinuz-2.6.10-1.737_FC3 ro root=/dev/hda1
        initrd /boot/initrd-2.6.10-1.737_FC3.img
title CENTOS 3.3 (2.4.21-27)
        root (hd1,0)
        kernel /boot/vmlinuz-2.4.21-27.0.2.EL ro root=/dev/hdb1
        initrd /boot/initrd-2.4.21-27.0.2.EL.img
title slack 10
        root (hd1,1)
        kernel /boot/vmlinuz ro root=/dev/hdb2
i hope this helps u.
good luck.

Last edited by maxut; 01-29-2005 at 09:16 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot of linux distros on 1HD machine brisde Debian 3 09-10-2005 03:00 AM
Mepis-friendly linux distros for dual-boot dealerman MEPIS 12 07-13-2005 10:27 PM
Dual Boot <Two Linux Distros, no Windows> truthfatal Linux - Newbie 3 03-29-2005 10:20 AM
dual boot two linux distros on one hd with lilo darkleaf Linux - Software 11 02-24-2005 11:52 AM
lilo dual boot two linux distros / hda and hdb rioguia Linux - Newbie 2 01-23-2003 01:35 AM


All times are GMT -5. The time now is 10:29 PM.

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