LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-01-2005, 08:44 PM   #1
bizzarem1ke
Member
 
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, 08:59 PM   #2
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
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:

Code:
# 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
splashimage=(hd0,0)/boot/grub/bike_gua.xpm.gz
#splashimage=(hd0,0)/boot/grub/slack_nalug.xpm.gz

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

     title Gentoo
     kernel (hd0,1) /boot/vmlinuz-2.6.12.4-ck5 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.

--Dane

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

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

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

with

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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:26 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
Open Source Consulting | Domain Registration