LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 12-13-2006, 10:05 AM   #1
Peter Shepard
Member
 
Registered: Apr 2005
Posts: 96

Rep: Reputation: 15
INIT cannot execute


Hello,

I accidentally performed a rm /bin as root and now am having troubles!

When I boot my machine I get the errors *INIT: cannot execute "etc/init.d/rcS

* INIT : Entering run level 2
* INIT : cannot execute "/etc/init.d/rc"

I can get into the kernel /boot/vmlinuz-2.6.15... root=/dev/hda

and bin exists there although there seems to be a problem with tty and /bin/sh???

Anyone have any ideas?

Thanks
 
Old 12-13-2006, 10:14 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Looks like you deleted some important packages and apart from a reinstallation, I can't see any other way to resolve your problem unless you have a backup of /bin somewhere.
 
Old 12-13-2006, 10:31 AM   #3
Peter Shepard
Member
 
Registered: Apr 2005
Posts: 96

Original Poster
Rep: Reputation: 15
You are a moderator here and that is your reply? sheesh
 
Old 12-14-2006, 06:25 AM   #4
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Rep: Reputation: 30
Quote:
Originally Posted by Peter Shepard
You are a moderator here and that is your reply? sheesh
yea how dare he not come up with some magical answer to fix a stupid newbs mistake... for shame

@peter: you made your bed, sleep in it

if u want delete confirmation go back to windows
 
Old 12-14-2006, 12:28 PM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Thumbs down

Quote:
Originally Posted by Peter Shepard
You are a moderator here and that is your reply? sheesh
What was wrong with the answer? You are the one who made the error and I was simply telling you that unless you have a backup of /bin, then you have to reinstall. I am not sure what answer you were expecting. Being a moderator does not mean I am a Linux guru, but in your situation, I am sure even Linux gurus could not have helped you out and would have given you similar advice.
 
  


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
INIT cannot execute ricnoah Red Hat 1 02-19-2006 09:18 PM
INIT: cannot execute /sbin/agetty xrado Slackware 5 08-06-2005 04:44 AM
init cannot execute /command/svscanboot puter_gk Linux - Networking 1 02-25-2005 11:36 AM
Bootup error " INIT: Cannot execute .... Sifvion Slackware 2 10-02-2003 11:49 AM
INIT: cannot execute "/etc/rc.d/rc.S justiceisblind Linux - Newbie 12 08-17-2002 10:01 PM


All times are GMT -5. The time now is 08:35 PM.

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