LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   GRUB boot loader and installing multiple distributions on one computer (https://www.linuxquestions.org/questions/linux-general-1/grub-boot-loader-and-installing-multiple-distributions-on-one-computer-337502/)

juyce 06-26-2005 11:32 PM

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.

edong23 06-26-2005 11:42 PM

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.

juyce 06-27-2005 07:35 AM

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

edong23 06-27-2005 06:13 PM

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


All times are GMT -5. The time now is 07:45 PM.