LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
LinkBack Search this Thread
Old 01-14-2009, 08:42 PM   #1
h8null
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
Modified the /etc/rc.local file. Now fedora wont boot


I did a stupid thing i guess.
I modified the /etc/rc.local file to include

wvdial

I guess the script doesnt stop and continues and now fedora wont boot. What was I thinking. Any way of getting back fedora/? F10.
 
Old 01-14-2009, 09:01 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268

Rep: Reputation: 83
Boot a live CD Mount the Fedora partition. Edit /etc/rc.local on the Fedora partition and take out the wvdial command.

I am surprised that an error in wvdial would bring down the whole system. That may not be your problem. In any case you could check in the files /etc/wvdial.conf and /etc/.wvdialrc to see what may be wrong with wvdial.

---------------------
Steve Stites
 
Old 07-24-2009, 06:19 AM   #3
ebsbel
Member
 
Registered: Jun 2005
Posts: 64

Rep: Reputation: 15
same problem in moblin

I also added wvdial to rc.local and it stops the boot process.
Strange...

E
 
Old 07-24-2009, 07:42 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 21,599
Blog Entries: 47

Rep: Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413
Not if you didn't configure it OK first. There might be lines logged in syslog or wherever it is supposed to log to. If you are unsure if a command will background itself you can always suffix an ampersand (e.g.: '/path/to/wvdial --conf /path/to/someconf --other-options &') to make it run in the background while the system progresses through startup routines.
 
Old 07-27-2009, 07:37 AM   #5
ebsbel
Member
 
Registered: Jun 2005
Posts: 64

Rep: Reputation: 15
I have it configured, so it runs well when I run it from command line. I tried to use the & statement and it worked. I read in another forum that it did not help to use &, so I did not try it earlier.
I do not use wvdial diectly in rc.local. I run a script that contains wvdial. So I just edited the script with:
wvdial myconnection &
and it worked!
Thanks for the suggestion!
E
 
Old 07-27-2009, 07:48 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 21,599
Blog Entries: 47

Rep: Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413
You're welcome. Nice to see it worked in this case. Note that generally speaking before starting apps in the background you should know if an application requires interactivity or not. Some just don't like it or cause weird errors to appear when not connected to a TTY...
 
Old 07-27-2009, 08:20 AM   #7
ap0calypse
Member
 
Registered: Jul 2009
Location: Austria
Distribution: Slackware
Posts: 38

Rep: Reputation: 16
You could alternatively give a different init-line to grub or lilo by appending init=/bin/bash

Then mount your partitions, change the files, and reboot.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 9 DVD WONT BOOT DMJS268 Fedora - Installation 9 11-20-2008 11:46 AM
Help with file: etc/init.d/boot.local ostrowlaw Suse/Novell 2 03-10-2007 08:18 AM
Cannot login after changes in boot.local file khairkhoah Linux - Newbie 3 06-28-2006 03:46 AM
Fedora wont boot!! Dizk Linux - Laptop and Netbook 2 01-23-2005 07:28 AM
Fedora Core 2 wont boot zcrxsir88 Fedora 7 10-28-2004 09:38 AM


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