General Question

linuxgnuru's avatar

How do you use grub with ubuntu and fedora installed?

Asked by linuxgnuru (207 points ) March 13th, 2010

I am teaching a linux class and need multiple linux distributions installed on a laptop. The only information I could find on dual-booting linux involves windows not another linux distribution; so how does one do this? I’ve tried supergrub with no luck.

Observing members: 0 Composing members: 0

2 Answers

mrentropy's avatar

You set up the grub.conf file to point to each partition. So you’d have a section that points to the Ubuntu partition and another section that points to the Fedora section. I’m assuming you have them on different partitions. If you have two different drives it might be a bit easier.

So it might look a bit like this:

timeout 30
default 0

title Ubuntu Linux
kernel (hd0,0)/boot/[name of your kernel] root=/dev/[partition of Ubuntu’s root]

title Fedora Linux
kernel (hd0,1)/boot/[name of kernel] root=/dev/[parition for Fedora]

It would be hard to be specific unless I knew how you had your drive(s) and partition(s) set up.

Vincentt's avatar

I’m also very much expecting each distro to be able to detect another already installed and automatically configuring Grub for this (though probably with the respective distro selected as default).

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther