reinstalling debian /bin
James Kramer
kramerjm at gmail.com
Sun Sep 17 15:48:41 EDT 2006
Thanks,
I'll give it a try
On 9/17/06, dsr at tao.merseine.nu <dsr at tao.merseine.nu> wrote:
> On Sun, Sep 17, 2006 at 01:53:35PM -0400, James Kramer wrote:
> > While working on Xen setup I managed to delete /bin by using the command
> > rm -R /bin. I don't think that I can recover the /bin files but I
> > should be able to reinstall the packages. I have a backup of all my
> > data files and most config files that were in /etc. I can boot into a
> > different debian OS using grub so I can access the partition and
> > files. I can chroot the particular partition. Can someone suggest
> > how to reinstall the system. If I do a complete debian reinstalll
> > from CD on top the partition would it retain my old directories and
> > files. I tried to chroot the root partion figuring that I could use
> > apt-get to reinstall the packages but I can not figure out the proper
> > way to do it. Any suggestion would be appreciated.
>
> Use dpkg --get-selection to get a list of all installed
> packages, then apt-get install --reinstall to reload them.
>
> -dsr-
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Discuss
mailing list