LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-05-2002, 11:04 AM   #1
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Rep: Reputation: 15
Question 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?

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.

Last edited by blackcat; 09-05-2002 at 11:25 AM.
 
Old 09-05-2002, 12:33 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
as you run lilo after editing /etc/lilo.conf what did you get as message from lilo?
 
Old 09-05-2002, 12:42 PM   #3
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Original Poster
Rep: Reputation: 15
the message was something like ( the linux has been added). It means that the operation was complete and fine.

Have you tried lfs, yet?
 
Old 09-05-2002, 12:48 PM   #4
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
nopes didn't give it a try till yet so
 
Old 09-05-2002, 01:06 PM   #5
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Original Poster
Rep: Reputation: 15
Hurray!!! I fixed it. And thanks, Markus for trying to help.

Last edited by blackcat; 09-05-2002 at 01:08 PM.
 
Old 09-05-2002, 01:09 PM   #6
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
so what did you do for fixing it?
 
Old 09-05-2002, 01:19 PM   #7
blackcat
Member
 
Registered: Sep 2002
Location: usa
Posts: 41

Original Poster
Rep: Reputation: 15
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.
 
Old 09-05-2002, 01:27 PM   #8
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dmraid INIT hang problem on slackware 10.1 KnightHawk Linux - Hardware 0 08-31-2005 11:47 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 PM
GeForce, Hang on boot, hang on X ctrl-alt-bspace bigearsbilly Linux - Hardware 0 03-01-2004 07:56 AM
Linux boot hang : "init: error loading shared libraries" colinprice72 Linux - General 0 01-16-2004 09:04 AM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration