Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-18-2007, 03:47 PM   #1
LQ Newbie
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
deleted /etc/inittab file

I have accidently deleted the /etc/inittab file while i was playing around. I can boot into rescue mode with the 1st boot cd and i can see the NFS source file in /mnt/source directory. But contains only the disk1.iso, disk2.iso, disk3.iso, disk4.iso, disk5.iso and .diskinfo file. I did look up some rescue instruction that said to copy the initscripts rpm from /mnt/source/RedHat/RPMS and install with #rpm -Uvh --force. But my problem is i cant find the RPM directory in neither NFS source or not even in the installation CDs. What am i doing wrong here? where is the RPMS directory located? I am using RHEL5.

I am at the early stage of learning linux. any help will be appreciated.
Old 04-18-2007, 11:02 PM   #2
LQ Newbie
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
got it , boot in rescue mode, mounted the first installation cd and copy and install the initscripts rpm from /Server directory with --force switch. Now the machine is booting finally.
Old 04-18-2007, 11:09 PM   #3
Senior Member
Registered: Jul 2006
Location: VPN Tunnel, USA
Distribution: Slackware64 14.2
Posts: 1,367

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Ooopsey! Poop happens. I've have lots of experience doing stuff like this. Glad you got it squared away. Two things to BEWARE in Linux... 1) Root - the power to destroy... over and over again. 2) the rm command as root in terminal.

Have fun!


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
No inittab file found doublej Linux - Newbie 5 07-22-2005 06:35 AM
default inittab file flimsdale Linux - General 1 11-03-2004 11:14 PM
inittab file muthiahm Linux - Newbie 4 06-10-2004 09:28 PM
ok here is the inittab file stuff New 2 The Game Linux - Software 5 09-01-2003 10:15 PM
no inittab file? Atroxic Linux - Software 2 05-14-2002 05:26 PM > Forums > Linux Forums > Linux - Newbie

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