LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2004, 12:09 PM   #1
purplejacket
LQ Newbie
 
Registered: Nov 2004
Location: San Francisco
Distribution: CentOS
Posts: 8

Rep: Reputation: 0
multi-distro howto?


Does anyone know a good source for this?

In my particular situation I have CentOS installed (basically redhat Enterprise) with grub as the boot loader, and want to install debian as well. I went through the debian install, added new partitions, then it said:
Quote:
No boot loader has been installed, either because you chose not to or because your specific architecture doesn't support a boot loader yet. You will need to boot your kernel by hand with the root=/dev/hda5 option.
I figured I already had grub installed so I shouldn't install it again. But then I don't know how to continue the debian install process, or add debian as an option in the grub menu.
 
Old 11-17-2004, 12:42 PM   #2
Clete2
LQ Newbie
 
Registered: Nov 2003
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
Look in /boot or /boot/grub for a conf or config file (or even grub.conf? Can't remember).

Copy the line that has title=CentOS and down from there and paste it below. Change the title line to equal something else, modify the kernel line ((hd0,0) for hda1 or sda1) and add the root command it said to the end of the kernel line.

Sorry, that was confusing. If you didn't get it, post your config file and I can change it for you.
 
Old 11-18-2004, 12:53 AM   #3
purplejacket
LQ Newbie
 
Registered: Nov 2004
Location: San Francisco
Distribution: CentOS
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks. You got me to the next step. I came up with this:

title CentOS
root (hd0,0)
kernel /vmlinuz-2.4.21-20.EL.c0 ro root=LABEL/
initrd /initrd-2.4.21-20.EL.c0.img
title debian
root (hd0,4)
kernel /boot/vmlinuz-2.6.3-1-386 ro root=LABEL/
initrd /boot/initrd.img-2.6.3-1-386

I don't know why I debian needs /boot/ while CentOS can make do with simply /
This took me a while to figure out.
Here's one link that helped:
http://linux-universe.com/HOWTO/Kern.../grubconf.html

So now I get:
mount: /dev2/root2 is not a valid block device
mount: /dev2/root2 is not a valid block device
mount: /dev2/root2 is not a valid block device
mount: /dev2/root2 is not a valid block device
sigh. I haven't tried tracking down this on google yet. Maybe I'll just try installing debian first, then CentOS.
 
Old 11-18-2004, 06:10 AM   #4
Clete2
LQ Newbie
 
Registered: Nov 2003
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
Replace LABEL/ with /dev/hda5.

Also, it would need /boot/ if you don't have a seperate boot partition.

If that doesn,t work, try title=<blah>, I think it needs the =, but not sure.
 
Old 11-18-2004, 01:54 PM   #5
purplejacket
LQ Newbie
 
Registered: Nov 2004
Location: San Francisco
Distribution: CentOS
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks again for your reply. I think I did try your suggestion of replacing LABEL/ with /dev/hda5 but that it still failed. Not sure. In any case I know at least I solved the initial problem.

Now I'm going back, deleting CentOS and starting with debian first. Not ideal, but it's not critical either. At least I'm understanding grub.conf better now. Thanks for your help.
 
Old 11-18-2004, 02:02 PM   #6
Clete2
LQ Newbie
 
Registered: Nov 2003
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
No problem, let me know if it works. Check the Gentoo handbook for a good grub explenation (gentoo.org/docs).

Same error 2nd time around?

You can go into the command-line and type 'grub'. Next, type root (hd0 the hit tab and it will tell you your partitions .

Last edited by Clete2; 11-18-2004 at 02:03 PM.
 
  


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
multiboot, multi HD, multi distro install help pfschim SUSE / openSUSE 4 05-25-2005 07:28 PM
XFree Local Multi-User HOWTO matarodi Debian 0 04-10-2005 12:55 AM
multi distro on one computer sneckert Linux - Newbie 4 01-09-2005 09:50 PM
Email and multi-distro machine idris1388 Linux - Software 6 03-21-2004 08:42 AM
Howto build a multi ISO cd codeape Linux - Software 2 02-22-2004 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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