LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-27-2005, 12:32 AM   #1
juyce
LQ Newbie
 
Registered: Jun 2005
Posts: 28

Rep: Reputation: 15
GRUB boot loader and installing multiple distributions on one computer


I currently have a laptop with Windows XP and MEPIS 3.3 installed. I use GRUB at
the boot to select with operating system to use. I want to install Ubuntu 5.04
onto an additional partition and wanted to see if anyone had any advice or can
foresee any potential problems with doing this.

I like GRUB and I was hoping it would simply add Ubuntu to the list of choices.

Is that what should happen?

Thanks in advance.
 
Old 06-27-2005, 12:42 AM   #2
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
well it wont. but you can easily edit your grub.conf file then run grub. you can boot all 3 with it is what i am saying. if you can give you partition setup and post your grub.conf file i can be very detailed and help you.
 
Old 06-27-2005, 08:35 AM   #3
juyce
LQ Newbie
 
Registered: Jun 2005
Posts: 28

Original Poster
Rep: Reputation: 15
thanks!

Where do get the info you are referring to on my grub configuration?

windows at hda1
mepis at hda2
swap at hda3
random documents at hda4
ubuntu at hda5
 
Old 06-27-2005, 07:13 PM   #4
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
well you just need to use a text editor in superuser mode like so:

su
password

pico /boot/grub/grub.conf

you can then add the lines you need to the grub file

# note: if pico isnt there, try nano, or mcedit, or if you are in x you can use gedit, or kwrite.

basically you will add a line like this kinda you will have to match it for yousystem but...

title=Ubuntu (kernel version if you want)
root (hd0,4)
kernel /(bzimage) root=/dev/hda5


now you will name the "(bzimage)" what your kernel image name is for example mine is vmlinuz-2.6.11.12. i dont use grub though but anyway that is what i would put there. your image should be in /boot of your partition. if you have a seperate boot partition and would like to use it then you will have to make that adjustment.

and notice the root line... it is hd0,4 means /dev/hda5 i know but makes sence if you man grub..

man grub

then just save it with pico you would hit crtl+o then crtl+x to exit it

then run grub...

grub

reboot and it should all be there..


if this is all jibberish then post your /boot/grub/grub.conf file and ill try to help you..
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Multiple Distributions sureshkellemane Linux - Newbie 11 04-26-2010 05:00 AM
How to install multiple linux distributions on a computer orpolo Linux - General 17 12-25-2006 01:07 AM
Creating Boot loader disks rather then installing GRUB to hard disk?? barry237 Fedora 1 06-19-2004 11:52 AM
boot loader start more distributions grendel-IT Linux - Software 7 03-15-2004 10:32 AM
Grub loader problems with 2 distributions Harp00 Linux - Newbie 3 08-30-2003 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:06 AM.

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