The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Avoiding rc.local file during reboot eamani_sun Linux 1 05-13-2008 10:34 PM
Avoiding duplicates with some special case pssandeep SCO 0 03-23-2008 11:43 PM
Business process management: Avoiding the pitfalls iBot Complex Event Processing RSS News 0 02-13-2008 04:30 AM
how to find whether a file is local or remote file? jackfds UNIX for Dummies Questions & Answers 3 07-10-2007 05:36 AM
different between soft reboot and hard reboot seelan3 SUN Solaris 3 09-20-2006 11:12 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: May 2008
Posts: 39
Stumble this Post!
Avoiding rc.local file during reboot

Hi,

I am tryin to install custom software during the linux reboot.

So,I have changed rc.local file, but unfortunately I have added a code that

is going on a infinite loop. And now I am in a pick.

Is there anyway that I can avoid rc.local file while reboot.


Can anyone help me with this?

Thanks,
Sunny
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 672
Stumble this Post!
Boot into single user mode and rename it. You can do that by adding single to the kernel command line.
Reply With Quote
  #3 (permalink)  
Old 05-13-2008
Smiling Dragon's Avatar
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 709
Stumble this Post!
It sounds like you'll be ok doing a single user mode boot (init 1 or init s).
If all else fails, reboot from a cdrom or network and mount your root device onto /a.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0