LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   init hang! (https://www.linuxquestions.org/questions/linux-from-scratch-13/init-hang-29656/)

blackcat 09-05-2002 11:04 AM

init hang!
 
In the directory /boot of my new lfs system there are 2 kernels: lfskernel and vmlinuz-2.4.18-3. lfskernel was created no doubt, by the chroot process during the installation. And somehow, lfs system only accept lfskernel. Then I made a terrible mistake by make a change in /etc/lilo.conf ( change lfskernel to vmlinuz-2.4.18-3 ), then I /sbin/lilo.

When I rebooted, the init hand with the errors:

....
setting up default gateway [ok]

INIT: Id "1" respawning too fast; desable for 5 minutes
...

INIT: no more process left in this run level

I still can boot into the base distro and chroot to work in the lfs system and it worked fine but if I booted it (lfs) separately, the init hang.

Any suggestion? :newbie: :Pengy:

Note: when I chroot(ed) from the base distro, I also changed the /etc/lilo.conf ( fls) back to lfskernel then /sbin/lilo. But that didn't help.

markus1982 09-05-2002 12:33 PM

as you run lilo after editing /etc/lilo.conf what did you get as message from lilo?

blackcat 09-05-2002 12:42 PM

the message was something like ( the linux has been added). It means that the operation was complete and fine.

Have you tried lfs, yet?

markus1982 09-05-2002 12:48 PM

nopes didn't give it a try till yet so :)

blackcat 09-05-2002 01:06 PM

Hurray!!! I fixed it. And thanks, Markus for trying to help.

markus1982 09-05-2002 01:09 PM

so what did you do for fixing it? :)

blackcat 09-05-2002 01:19 PM

Well, I am not sure which fixed the problem, but this is what I did:

I booted into the base distro then chroot (ed) into lfs system. then I did many modifications including fixing the /etc./fstab, recompiling the kernel and renamed it, then fixed the /etc/lilo.conf. Then all of a sudden, it worked.

markus1982 09-05-2002 01:27 PM

just asked in case question is asked again so a search could help in that case and cause of curiousity :)

p. s. where in the USA are you from? :)


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