46 lines
2.8 KiB
HTML
46 lines
2.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
|
|
<!Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
|
|
<HEAD>
|
|
<TITLE>4.11.4 Recovering lost files</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<meta name="description" value="4.11.4 Recovering lost files">
|
|
<meta name="keywords" value="gs">
|
|
<meta name="resource-type" value="document">
|
|
<meta name="distribution" value="global">
|
|
<P>
|
|
<BR> <HR><A NAME=tex2html4241 HREF="node196.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4239 HREF="node191.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4233 HREF="node194.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4243 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4244 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
|
|
<B> Next:</B> <A NAME=tex2html4242 HREF="node196.html">4.11.5 Fixing trashed libraries</A>
|
|
<B>Up:</B> <A NAME=tex2html4240 HREF="node191.html">4.11 What To Do </A>
|
|
<B> Previous:</B> <A NAME=tex2html4234 HREF="node194.html">4.11.3 Fixing trashed filesystems</A>
|
|
<BR> <HR> <P>
|
|
<H2><A NAME=SECTION006114000000000000000>4.11.4 Recovering lost files</A></H2>
|
|
<P>
|
|
<A NAME=5155> </A>
|
|
If you accidentally deleted important files on your system,
|
|
there's no way to ``undelete'' them. However, you can copy the
|
|
relevant files from the floppy to your hard drive. For example,
|
|
if you deleted <tt>/bin/login</tt> on your system (which allows you
|
|
to login), simply boot the boot/root floppy, mount the root filesystem
|
|
on <tt>/mnt</tt>, and use the command
|
|
<P><TT> # <em>cp -a /bin/login /mnt/bin/login</em>
|
|
<P></TT>
|
|
The <tt>-a</tt> option tells <tt>cp</tt> to preserve the permissions
|
|
on the file(s) being copied.
|
|
<P>
|
|
Of course, if the files you deleted weren't essential system files
|
|
which have counterparts on the boot/root floppy, you're out of
|
|
luck. If you made backups, you can always restore from them.
|
|
<P>
|
|
<BR> <HR><A NAME=tex2html4241 HREF="node196.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4239 HREF="node191.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4233 HREF="node194.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4243 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4244 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
|
|
<B> Next:</B> <A NAME=tex2html4242 HREF="node196.html">4.11.5 Fixing trashed libraries</A>
|
|
<B>Up:</B> <A NAME=tex2html4240 HREF="node191.html">4.11 What To Do </A>
|
|
<B> Previous:</B> <A NAME=tex2html4234 HREF="node194.html">4.11.3 Fixing trashed filesystems</A>
|
|
<BR> <HR> <P>
|
|
<BR> <HR>
|
|
<P><ADDRESS>
|
|
<I>Matt Welsh <BR>
|
|
mdw@sunsite.unc.edu</I>
|
|
</ADDRESS>
|
|
</BODY>
|