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..... |
would i create 2 of the previous lines in the file?
other=/dev/hdd label=gentoo other=/dev/hda label=Mandrake could this work |
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 |
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 |
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??? |
You installed Gentoo last - did you install LILO from Gentoo - are you using the lilo.conf file from Gentoo?
|
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 |
yes i installed lilo from gentoo last and am trying to config lilo in the gentoo install
|
i think it is 'fdisk -l'
|
with <i>cat /etc/lilo.conf ; fdisk l</i> i recieved the same unable to open l
|
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 |
it is 'fdisk -l'.dont forget the '-'
|
Its
initrd=/mnt/mandrake/boot/initrd.img not initrd=/boot/initrd.img youll have to change it, save it then run /sbin/lilo again |
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? |
Is Gentoo already installed fully?
|
All times are GMT -5. The time now is 03:02 PM. |