WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] About: rm -f /bin /sh

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] About: rm -f /bin /sh
From: "J. Roeleveld" <joost@xxxxxxxxxxxx>
Date: Wed, 26 Jan 2011 14:24:40 +0100
Delivery-date: Wed, 26 Jan 2011 05:26:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <SNT114-W12E5DCA42528C7B9D80D88A6FF0@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <SNT114-W31DEE1BDA99AFFACE28EECA6190@xxxxxxx> <SNT114-W75DF698089A3DC4BA07BDA61C0@xxxxxxx> <SNT114-W12E5DCA42528C7B9D80D88A6FF0@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.5 (Linux/2.6.30-gentoo-r5; KDE/4.4.5; x86_64; ; )
On Wednesday 26 January 2011 13:49:12 Huang Yogi wrote:
> Dear all
> 
> 
> After I doing: rm -f /bin /sh ,my pc(Debian) can not work anymore,

Is it a copy/paste error, or is there really a space between "/bin" and "/sh"?

If there was a space, then you just deleted your entire /bin directory

> I try to do: ln -s /bin/sh /bin/bash, but it doesn't work;

See above, if /bin/bash doesn't exist, the ln .... won't work either.

> after reboot it shows cannot execute /etc/init.d/rcS ; /etc/init.d/rc...

See above (again)

> could you help me how to fix this problem!!

Other then reinstalling or restoring backups?

--
Joost

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users