Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-20-2010, 11:47 AM   #1
LQ Newbie
Registered: May 2010
Posts: 4

Rep: Reputation: 0
Endless loop script causing openSUSE not to boot

I have a script that I made into a service. Unfortunately, the script has a endless loop and now when openSUSE boots, it tries running this script and will not stop and therefore will not load anything else. It is running before sshd will load so I can not get in that way either. Any help would be greatly appreciated. I am stuck right now.

Old 07-20-2010, 12:20 PM   #2
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
Well, depending on how the script was implemented, the runlevels it starts in and the location in the order that it starts, you might easily get away with booting to Single-User mode (runlevel 1). Otherwise, might want to boot to a rescue environment and disable the script from running during normal boot.
Old 07-20-2010, 12:51 PM   #3
LQ Newbie
Registered: Mar 2006
Posts: 14

Rep: Reputation: 2
Boot from rescue CD/DVD (if you installed SuSE this way, just boot from the same media), and mount your root partition to a different location (rw). Given that you know what script it is, you can modify/remove it and reboot.



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
Endless code loop after live CD boot in fedora. Hazama Fedora - Installation 1 01-30-2010 05:09 AM
bash script works when interactive, endless loop when started via cron dguy Linux - General 5 04-10-2006 12:39 PM
how to implement an endless loop in a rc startup script garba Linux - General 6 05-03-2005 12:30 PM
Linux Boot stuck in endless loop. gbarcalo Linux - Software 1 12-03-2003 02:42 PM
HELP- endless loop contrasutra Linux - Software 2 04-26-2003 12:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:09 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
Open Source Consulting | Domain Registration