LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 11-14-2006, 08:41 PM   #1
koa202
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
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
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
dxqcanada
Member
 
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
koa202
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.
 
  


Reply


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


All times are GMT -5. The time now is 11:42 AM.

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