LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LILO and Gentoo (https://www.linuxquestions.org/questions/linux-software-2/lilo-and-gentoo-112626/)

Aman9090 11-05-2003 08:11 AM

LILO and Gentoo
 
I installed Gentoo yesterday but failed to have LILO boot correctly. When I do /sbin/lilo it said that /boot/map was a read-only drive. I mounted it and everything and I am confused on how to get this working. Other times it said that /boot/kernel-2.4.20-gentoo-r8 couldn't be found, even though i was pointing it to the right place. What may be the problem? Could it be that I just used gk_kernel wrong? Did i emerge the kernel incorrectly? Should I just try formatting and installing again? Thanks in advance :)

UB_KMA 11-05-2003 10:19 AM

I would suggest reconfiguring your kernel manually isntead of using the auto-config gentoo option. When you autoconfig you get an initrd setup and it is much "easier" to work with a bzImage alone if you are having problems... :
#make menuconfig
then
#make dep && make clean bzImage modules modules_install
and
#cp /usr/src/linux/arch/i386/boot/bzImage /boot

if you are having problems accessing your Gentoo setup because of the lilo problem, boot with your Gentoo disk and chroot into your instalation. Once you have entered your instalation root partition, mount your boot partition on its /boot.

Something like:

#mount /dev/(your root install partition) /mnt
#chroot /mnt /bin/bash
#env-update
#source /etc/profile
#mount /dev/(your boot partition) /boot


All times are GMT -5. The time now is 05:27 PM.