LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-12-2004, 01:54 PM   #1
grendel-IT
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian,Gentoo,Ubuntu
Posts: 23

Rep: Reputation: 15
boot loader start more distributions


Hi,
I've installed on hda windows (hda1) and debian (hda5). Then I've installed gentoo (hda11).
I don't know how can I setup my boot loader to add the new linux partition :-\ I'm using LILO right now.
someone can suggest me the lines to add? With LILO I can't make the boot image avaiable cause is on a non mounted partition.
 
Old 03-12-2004, 03:18 PM   #2
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
Quote:
With LILO I can't make the boot image avaiable cause is on a non mounted partition.
Dumb question. Why don't you just mount the partition?
 
Old 03-12-2004, 04:14 PM   #3
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
mount it and in lilo put a tag and directory to the vmlinuz image of the new OS
 
Old 03-13-2004, 07:31 AM   #4
grendel-IT
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian,Gentoo,Ubuntu
Posts: 23

Original Poster
Rep: Reputation: 15
yes mounting then add in the lilo.conf the mounted path and then write lilo on the MBR... sure. Why I haven't do it? I had forgotten it :-\
Thanks.
 
Old 03-13-2004, 04:32 PM   #5
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30

here's abit of simplification:
type:
dmesg | less
to find out what linux is calling the new hd. Then mount using the style below [replacing hda2 with what ever you think the new hd is called.
mount /dev/hda2/ to /mnt/you_location
once you mount it you can browse it and find out the following details to add it to lilo.

here's my /etc/lilo.conf or /etc/lilo.conf.anaconda whichever yours is called and [my comments on each relevant line]:

prompt
timeout=50 [how long to display bootloader]
default=linux [pick the default tag / OS image]
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
restricted
password=xxxxxxxxx
message=/boot/message
linear

[add another section like this one below except change certain parts for your new HD/OS]

image=/boot/vmlinuz-2.4.20-8 [image=location/vmlinuz-version
label=linux [what you want to call it]
initrd=/boot/initrd-2.4.20-8.img [find the corresponding file in this dir]
read-only
append="root=LABEL=/"

Last edited by mossy; 03-15-2004 at 09:32 AM.
 
Old 03-13-2004, 11:01 PM   #6
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
if in doubt feel free to ask for explainations. Also I work alot so running a few searches on various keywords may explain alot until I can get back to you.

Hope you get it sorted.
 
Old 03-15-2004, 03:02 AM   #7
grendel-IT
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian,Gentoo,Ubuntu
Posts: 23

Original Poster
Rep: Reputation: 15
I'm very sorry my english answer was so bad formed! :-(
> yes mounting then add in the lilo.conf the mounted path and then write lilo on the MBR... sure.
I would like to say that MINE was a dumb question (not offending urzumph).
> Why I haven't do it? I had forgotten it :-\
> Thanks.
I would like to say that I just need to mount it and than add the mounted path to LILO, and thanks to your help now I have reembered how to make it work.

I forgot to say something like "problem solved". This is the first time that this happens to me, I hope it's the last! :-)
Thanks again, my problem is solved.
 
Old 03-15-2004, 09:32 AM   #8
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
ha ha ha ok no problemo!!!
remember, there are no dumb questions - although it does help if people think about it alittle before posting.
Good to see you got it fixed.
 
  


Reply



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
GRUB boot loader and installing multiple distributions on one computer juyce Linux - General 3 06-27-2005 06:13 PM
which distributions boot fastest? marie-p Linux - Distributions 24 05-23-2005 04:56 AM
Multi-boot Distributions svinka Linux - Newbie 3 01-12-2005 06:23 PM
Grub loader problems with 2 distributions Harp00 Linux - Newbie 3 08-30-2003 02:34 PM
How to config "that" boot loader to start Greb fromzj Linux - Newbie 1 07-17-2002 02:34 PM

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

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