LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i dual boot 2 distros? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-dual-boot-2-distros-275140/)

lemuel 01-07-2005 04:41 PM

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?

Boow 01-07-2005 04:53 PM

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

lemuel 01-07-2005 04:57 PM

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).

Boow 01-07-2005 05:26 PM

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

lemuel 01-07-2005 05:29 PM

ok thanks for the info


All times are GMT -5. The time now is 01:56 PM.