Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 11-14-2006, 08:41 PM   #1
LQ Newbie
Registered: Nov 2006
Location: Brooklyn, NY
Distribution: fedora core 5
Posts: 2

Rep: Reputation: 0
Unhappy edit rc.local before it executes?

My FC5 box won't start properly since I added a line in rc.local to start a service automatically. How can I login and remove the line before the OS tries running the problematic service?
Old 11-14-2006, 08:47 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
Have you tried booting into single user mode? I think Fedora uses grub so I'm not sure of the syntax, but if you pass the option single when you select the kernel to boot at the grub prompt, you should be able to bypass your boot script and edit it.

If that doesn't work, you could boot with your install CD, mount your root partition and edit the file.
Old 11-14-2006, 08:47 PM   #3
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Boot into single user mode ... then edit the file.

Ahh, gilead beat me to it.
Old 11-14-2006, 09:20 PM   #4
LQ Newbie
Registered: Nov 2006
Location: Brooklyn, NY
Distribution: fedora core 5
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you both. This is exactly what I needed to know.


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
KDE devel: XMLGUI menu executes after app is terminated Ephracis Programming 0 02-13-2006 12:02 PM
PHP4 executes some & displays others rblampain Programming 5 12-17-2005 11:59 PM
c program that executes during a certain amount of time jagman Programming 6 04-13-2005 10:22 AM
Terminal Executes unwanted command at openning blames Linux - General 4 12-28-2004 05:16 PM
virtual link that executes a shelscript .sh qwijibow Linux - Newbie 3 05-27-2003 02:37 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:14 PM.

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