Linux - GeneralThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.