LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   boot loader start more distributions (https://www.linuxquestions.org/questions/linux-software-2/boot-loader-start-more-distributions-156807/)

grendel-IT 03-12-2004 01:54 PM

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.

urzumph 03-12-2004 03:18 PM

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?

mossy 03-12-2004 04:14 PM

mount it and in lilo put a tag and directory to the vmlinuz image of the new OS

grendel-IT 03-13-2004 07:31 AM

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.

mossy 03-13-2004 04:32 PM


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=/"

mossy 03-13-2004 11:01 PM

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.

grendel-IT 03-15-2004 03:02 AM

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.

mossy 03-15-2004 09:32 AM

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.


All times are GMT -5. The time now is 03:57 PM.