LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2005, 04:41 PM   #1
lemuel
Member
 
Registered: Nov 2003
Location: Cebu, Philippines
Distribution: Ubuntu
Posts: 73

Rep: Reputation: 15
how do i dual boot 2 distros?


hello all

I was able to install 2 distros in my hard disk -
I installed Suse first on hda3,
then Fedora on hda1.
I dont have a /boot partition.

the problem is grub only sees Fedora. How do I setup grub so i can have a choice to boot Suse?
 
Old 01-07-2005, 04:53 PM   #2
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
You'll have to edit it by hand here's mine to give you an idea

default 0
timeout 30
splashimage=(hd0,2)/boot/grub/colors.xpm.gz
title=Slackare 10.0
root (hd0,2)
kernel=/boot/vmlinuz-2.4.26SM root=/dev/hda3 ro hdc=ide-scsi hdd=ide-scsi vga=791 splash=silent
initrd=/boot/initrd-1024x768

title=Gentoo
root (hd0,4)
kernel=/boot/vmlinuz root=/dev/hda5 ro vga=791

title=Windowsxp
rootnoverify (hd0,0)
chainloader +1
 
Old 01-07-2005, 04:57 PM   #3
lemuel
Member
 
Registered: Nov 2003
Location: Cebu, Philippines
Distribution: Ubuntu
Posts: 73

Original Poster
Rep: Reputation: 15
thanks for your reply

how do you know what numbers to put on your root (*,*)

like in your gentoo, how did you what does the "4" stand for in root (0,4).
 
Old 01-07-2005, 05:26 PM   #4
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
thats the way grub does it

root (hd0,4) means /dev/hda5 so it one number less then the partition where you have your distro installed. read the grub docs in /usr/docs/grub or /usr/share/docs/grub

hd0 is /dev/hda so if your distro is installed on hda on the first partition it would be root (hd0,0)
grub just starts counting at zero instead of 1

Last edited by Boow; 01-07-2005 at 05:32 PM.
 
Old 01-07-2005, 05:29 PM   #5
lemuel
Member
 
Registered: Nov 2003
Location: Cebu, Philippines
Distribution: Ubuntu
Posts: 73

Original Poster
Rep: Reputation: 15
ok thanks for the info
 
  


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
dual boot with two distros storywizard Linux - General 2 11-09-2005 11:24 PM
Dual Boot <Two Linux Distros, no Windows> truthfatal Linux - Newbie 3 03-29-2005 09:20 AM
dual boot two linux distros on one hd with lilo darkleaf Linux - Software 11 02-24-2005 10:52 AM
dual boot for multiple linux distros pirozzi Linux - General 5 01-29-2005 08:15 AM
which distros to dual boot? jawilson Linux - General 12 01-05-2005 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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