Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-01-2005, 09:44 PM   #1
Registered: Aug 2005
Location: Ohio
Distribution: Gentoo!
Posts: 64

Rep: Reputation: 15
Dual linux boot

My friends run Gentoo and told me i should switch, but i like FD4 so is there a wayy i can do a dual boot. so i can have 2 linux distros running, my friend also suggest if i do this, i use GRUB. so if you can do this just let me know.
Old 09-01-2005, 09:59 PM   #2
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 872

Rep: Reputation: 124Reputation: 124
It is entirely possible to do this--and not too terribly hard either. First you should install Gentoo on a second partition and install the boot loader (GRUB) to the ROOT PARTION of the Gentoo installation. DO NOT install it to the MBR! Then boot into Fedora and mount the Gentoo partition. Open up Gentoo's "/boot/grub/menu.lst" file and copy the boot entry into the bottom of Fedora's "/boot/grub/menu.lst". It should look something like this:

# Color Scheme
#color light-gray/blue black/light-gray

# By default, boot the first entry.
     default 0

# Boot automatically after 30 secs.
     timeout 30

# Fallback to the second entry.
     fallback 1

# Splash image

# For booting Linux
     title  Fedora
     kernel (hd0,0)/boot/vmlinuz- root=/dev/hda1 vga=791 initrd=/boot/whatever

     title Gentoo
     kernel (hd0,1) /boot/vmlinuz- root=/dev/hda2 vga=791 initrd=/boot/whatever
Keep in mind that I don't use Fedora or Gentoo (anthough I've done some tinkering with Fedora), so while this *should* work, you still might want to ask someone who knows the distributions better than I do.

I hope that helps.


Last edited by DaneM; 09-01-2005 at 10:01 PM.
Old 09-02-2005, 10:14 AM   #3
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Or if you are lazy and want one set of command to boot them all just replace

title Gentoo
kernel (hd0,1) /boot/vmlinuz- root=/dev/hda2 vga=791 initrd=/boot/whatever


Title this is another distro in hda7
root (hd0,6)
chainloader +1

Remember Grub counts from zero and hda7=(hd0,6).

Apply this to DOS, Win3x, Win9x, Win2k/XP, any Linux, FreeBSD and Solaris. Feel the might of Grub.

Mind you for Linux systems you need to tell every Linux to put its bootloader in root partition (its own partition). That is all.

Lastly don't use the word "dual boot" as I got a laugh out of it every time.


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
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 06:04 PM
dual boot - XP and Linux - Need to reinstall XP without effecting linux -LILO boot godofmind Linux - General 1 05-05-2004 09:13 AM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 11:11 AM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM
Linux Boot Floppy Went Bad on W2K-Linux Dual Boot rzward Linux - General 2 01-15-2003 11:52 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:44 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