Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-15-2004, 08:10 AM   #1
LQ Newbie
Registered: Aug 2003
Location: Princeton, NJ, USA
Distribution: Fedora, Centos, Ubuntu
Posts: 14

Rep: Reputation: 0
boot sequence stops before login prompt

Following a physical move of the computer, it does not quite finish the boot sequence.
No errors are shown but during the list of scripts from /etc/rc.d/rd3.d printed on screen I see
Mounting other filesystems
starting ntpd:
starting automount: No Mountpoints defined
several more apparently successful script run
Starting anacron:
Starting atd:
nohup appending output to 'nohup.out'

At this point nothing more happens. It should go next to a login prompt I believe, but the sequence stops, with no error message. The nohup message *might* be related to a local init command to start a program with a nohup, but that message may be something the system does.

If it is the local init command how can I edit it? The machine is a server and seldom reboots, but needs to be able to start some extra programs automatically. I think we did put a program that has output to nohup.out in rc.local about 3 months ago, and may have gotten the syntax wrong. The boot is managed by a graphic loader which I think is called grub. Is there a way to bypass the init scripts, especially the rc.local, and get to a prompt?

I hope someone might have some insight on what is happening here. I am running a fairly recent RedHat distribution, with 2.4 kernel (2.4.?.21 I think).

Old 10-15-2004, 08:27 AM   #2
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
either: boot with init=/bin/sh
^^^^^^^ your shell here

or: boot with knoppix
Old 10-18-2004, 10:56 AM   #3
LQ Newbie
Registered: Aug 2003
Location: Princeton, NJ, USA
Distribution: Fedora, Centos, Ubuntu
Posts: 14

Original Poster
Rep: Reputation: 0
boot sequence problem resolved

My boot sequence stopped just before the login prompt.
The reason was a badly formed command in my rc.local.
To fix it, of course I needed to edit the file, but how to do so if I had no login.
My boot loader is grub, the new loader provided in RedHat distro. It accepts
a few commands, including "e" for edit. This allowed me to add " single" to the
bootup script, and this directs the process to boot into single user mode. Since
single user mode does not invoke all the scripts, I got a login prompt and was
able to edit the problem script and reboot normally.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No login prompt on console after boot fiservguy Linux - General 5 01-13-2009 05:26 PM
login sequence fcbarnard Linux - Security 1 02-19-2005 10:55 AM
cant boot to login prompt in mandrake 10 shams Mandriva 0 05-22-2004 07:16 AM
escape sequence for changing color of prompt killer_bunny Linux - General 1 02-10-2004 08:40 PM
Login password prompt stops working? rickbb Linux - General 4 09-27-2000 10:13 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:58 AM.

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