Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-09-2004, 09:35 AM
|
#1
|
LQ Newbie
Registered: Nov 2004
Posts: 3
Rep:
|
/etc/inittab problems.....won't boot :(
Running Redhat 9 and having a problem during bootup with my /etc/inittab file. The error is:
Init: /etc/inittab[54]: 2345: unknown action filed
The line in the /etc/inittab file its complaining about it
b::2345: once:/usr/include/esc/mingetty
of which /usr/include/esc/mingetty does not exist.
So, I tried booting up into rescue mode off the Redhat CD, mount the sysimage to modify the inittab and no go. Inittab seems to be write protected and I've tried everything to modify it.
I also tried creating /usr/include/esc/ and cp'd mingetty to that dir and no go either......Redhat just locks up.
Any suggestions on how to modify that inittab file or change permissions?
Thanks,
Keith
|
|
|
11-09-2004, 09:57 AM
|
#2
|
Member
Registered: Jul 2003
Distribution: Arch Linux x64
Posts: 115
Rep:
|
If you already know the file doesn't exist, the the best thing you might do it is to remove this line, or even better, comment it by placing a '#' character at the beginning of the line.
Reboot the machine and check it again.
Good luck! 
|
|
|
11-09-2004, 10:02 AM
|
#3
|
Member
Registered: Jul 2003
Distribution: Arch Linux x64
Posts: 115
Rep:
|
Oohhh by the way. You shouldn't change the permissions of this file, but change to root user. For it run:
su
the root password will be asked for. Then you can edit the file using 'vi' or 'joe'. I preffer joe by you'll probably don't have it installed. So try:
vi inittab
Then press the key 'i' to change to insert mode
Put the comment (#)
To save and exit press: Esc + :wq Don't forget the semicolon ':'
To exit withouth saving: Esc + :q
Good luck once again! 
|
|
|
11-09-2004, 10:05 AM
|
#4
|
LQ Newbie
Registered: Nov 2004
Posts: 3
Original Poster
Rep:
|
I've tried removing the line and get a read-only error in emacs and vi
Can't move, rename, or edit inittab  I assume that the linux rescue mode user is root...
Thanks,
Keith
Last edited by k_b_stephens; 11-09-2004 at 10:06 AM.
|
|
|
11-09-2004, 10:29 AM
|
#5
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
Quote:
Originally posted by k_b_stephens
I've tried removing the line and get a read-only error in emacs and vi
Can't move, rename, or edit inittab I assume that the linux rescue mode user is root...
|
Did you try "whoami" to make sure you're operating as root?
It seems odd not to be able even to move the file as root. Something similar to this happened to me once after I made some truly awful mistake and lost permission, as root, to do anything, and I mean ANYTHING. In my typical fashion I just reinstalled from my distro disks and spent several hours getting back to "normal."
I was going to suggest doing "mv" on the file and then re-writing it by hand, till this last post of yours... Wish I had some better ideas.
|
|
|
11-09-2004, 10:35 AM
|
#6
|
LQ Newbie
Registered: Nov 2004
Posts: 3
Original Poster
Rep:
|
Quote:
Originally posted by jonr
Did you try "whoami" to make sure you're operating as root?
It seems odd not to be able even to move the file as root. Something similar to this happened to me once after I made some truly awful mistake and lost permission, as root, to do anything, and I mean ANYTHING. In my typical fashion I just reinstalled from my distro disks and spent several hours getting back to "normal."
I was going to suggest doing "mv" on the file and then re-writing it by hand, till this last post of yours... Wish I had some better ideas.
|
Did a "whoami" and i'm root......
Thanks for the suggestion.
|
|
|
11-09-2004, 10:41 AM
|
#7
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
I guess in the rescue system, the whole filesystem is mounted read-only. Maybe you could try to remount it, this time writable:
mount -n -o remount,rw /
Note: Just googled this command, better check the syntax yourself first 
|
|
|
All times are GMT -5. The time now is 01:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|