LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-18-2007, 04:47 PM   #1
linuxnewbie_2007
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-19-2007, 12:02 AM   #2
linuxnewbie_2007
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-19-2007, 12:09 AM   #3
vtel57
Member
 
Registered: Jul 2006
Location: VPN Tunnel, USA
Distribution: Slackware64
Posts: 931

Rep: Reputation: 113Reputation: 113
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!
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:15 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration