Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
09-20-2003, 08:47 AM
#1
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381
Rep:
help me conf lilo for dual linux boot
i have mandrake 9.0 on hda and just installed gentoo on hdd. what is the right way to write lilo.conf would it be:
other=/dev/hda
label=linux
????
any help would be greatly apprec.....
09-20-2003, 08:54 AM
#2
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381
Original Poster
Rep:
would i create 2 of the previous lines in the file?
other=/dev/hdd
label=gentoo
other=/dev/hda
label=Mandrake
could this work
09-20-2003, 09:03 AM
#3
Member
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643
Rep:
there must be default
here is a sample /etc/lilo.conf.
#/etc/lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux
# Linux Partition
image=/boot/vmlinuz-2.2.12-20
label=linux
initrd=/boot/initrd-2.2.12-20.img
root=/dev/hda1
read-only
# Windows Partition
other=/dev/hda2
label=win
table=/dev/hda
09-20-2003, 09:07 AM
#4
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
For Linux distributions you need to use
image=....................
directives and stanzas
For Windows you would use
other=...............
Can you post the output of
cat /etc/lilo.conf ; fdisk L
09-20-2003, 09:10 AM
#5
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381
Original Poster
Rep:
currently i have
image=/boot/kernel-2.4.20-gentoo-r5
root=dev/hdd3
initrd=/boot/initrd-2.4.20-gentoo-r5
append="root=/dev/hdd3 init=/linuxrc"
other=/dev/hda
label=linux
i have a single partition on hda and three partitions on hdd
so could i just plug in my versions in
#/etc/lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux
# Linux Partition
image=/boot/kernel-2.4.20-gentoo-r5
label=linux
initrd=/boot/initrd-2.4.20-gentoo-r5
root=/dev/hda1
read-only
would this work???
09-20-2003, 09:14 AM
#6
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
You installed Gentoo last - did you install LILO from Gentoo - are you using the lilo.conf file from Gentoo?
09-20-2003, 09:16 AM
#7
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381
Original Poster
Rep:
cat /etc/lilo.conf ; fdisk L
this gets me:
boot=/dev/hdd
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
lba32
default=linux
image=/boot/kernel-2.4.20-gentoo-r5
root=dev/hdd3
initrd=/boot/initrd-2.4.20-gentoo-r5
append="root=/dev/hdd3 init=/linuxrc"
other=/dev/hda
label=linux
Unable to open L
09-20-2003, 09:17 AM
#8
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381
Original Poster
Rep:
yes i installed lilo from gentoo last and am trying to config lilo in the gentoo install
09-20-2003, 09:19 AM
#9
Member
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643
Rep:
i think it is 'fdisk -l'
09-20-2003, 09:21 AM
#10
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381
Original Poster
Rep:
with <i>cat /etc/lilo.conf ; fdisk l</i> i recieved the same unable to open l
09-20-2003, 09:23 AM
#11
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
I used capital L just to show its an L rather than an i - never mind - if your configuring LILO from Gentoo do this
su
root password
mkdir /mnt/mandrake
mount -t ext3 -o rw /dev/hda1 /mnt/mandrake
open lilo.conf with an editor
and put this stanza in
image=/mnt/mandrake/boot/vmlinuz
label="Mandrake9"
root=/dev/hda1
initrd=/boot/initrd.img
read-only
save the file
then type
/sbin/lilo
then reboot and see
09-20-2003, 09:23 AM
#12
Member
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643
Rep:
it is 'fdisk -l'.dont forget the '-'
09-20-2003, 09:33 AM
#13
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
Its
initrd=/mnt/mandrake/boot/initrd.img
not
initrd=/boot/initrd.img
youll have to change it, save it then run
/sbin/lilo
again
09-20-2003, 09:44 AM
#14
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381
Original Poster
Rep:
i'm at the end of the install after i type all of this in, should i
etc-update
exit
cd /
unmount /mnt/gentoo/boot
unmount /mnt/gentoo/proc
unmount /mnt/gentoo
reboot
and it should be ok?
09-20-2003, 09:48 AM
#15
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
Is Gentoo already installed fully?
All times are GMT -5. The time now is 11:14 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News