Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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=/"
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.