Files
oldlinux-files/docs/Install-Guide/install-guide-2.2.2/node192.html
2024-02-19 00:23:35 -05:00

73 lines
4.2 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.1 Recovering using a maintenance diskette</TITLE>
</HEAD>
<BODY>
<meta name="description" value="4.11.1 Recovering using a maintenance diskette">
<meta name="keywords" value="gs">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
<BR> <HR><A NAME=tex2html4205 HREF="node193.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4203 HREF="node191.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4197 HREF="node191.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4207 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4208 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html4206 HREF="node193.html">4.11.2 Fixing the root </A>
<B>Up:</B> <A NAME=tex2html4204 HREF="node191.html">4.11 What To Do </A>
<B> Previous:</B> <A NAME=tex2html4198 HREF="node191.html">4.11 What To Do </A>
<BR> <HR> <P>
<H2><A NAME=SECTION006111000000000000000>4.11.1 Recovering using a maintenance diskette</A></H2>
<P>
<A NAME=secmaintdiskette>&#160;</A>
<A NAME=5102>&#160;</A>
<A NAME=5103>&#160;</A>
<A NAME=5104>&#160;</A>
<A NAME=5105>&#160;</A>
<A NAME=5106>&#160;</A>
<A NAME=5107>&#160;</A>
<A NAME=5108>&#160;</A>
One indispensable tool for the system administrator is the so
called ``boot/root disk''---a floppy which can be booted for a complete
Linux system, independent of your hard drive. Boot/root disks are
actually very simple---you create a root filesystem on the floppy,
place all of the necessary utilities on it, and install LILO and a
bootable kernel on the floppy. Another technique is to use one floppy
for the kernel and another for the root filesystem. In any case, the
result is the same: you are running a Linux system completely from
floppy.
<P>
The canonical example of a boot/root disk is the Slackware
boot disks<A NAME=tex2html897 HREF="footnode.html#5170"><IMG ALIGN=BOTTOM ALT="gif" SRC="foot_motif.gif"></A>. These
diskettes contain a bootable kernel and a root filesystem, all on
floppy. They are intended to be used to install the Slackware distribution,
but come in very handy when doing system maintenance.
<P>
The H.J Lu boot/root disk, available from <tt>/pub/Linux/GCC/rootdisk</tt>
on <tt>sunsite.unc.edu</tt>, is another example of such a maintenance
disk. Or, if you're ambitious, you can create your own.
In most cases, however, using a pre-made boot/root disk is
much easier and will probably be more complete.
<P>
Using a boot/root disk is very simple. Just boot the disk on your
system, and login as <tt>root</tt> (usually no password). In order
to access the files on your hard drive, you will need to mount your
filesystems by hand. For example, the command
<P><TT> # <em>mount -t ext2 /dev/hda2 /mnt</em>
<P></TT>
will mount an ext2fs filesystem on <tt>/dev/hda2</tt> under <tt>/mnt</tt>.
Remember that <tt>/</tt> is now on the boot/root disk itself; you need
to mount your hard drive filesystems under some directory in order to
access the files. Therefore, <tt>/etc/passwd</tt> on your hard drive
is now <tt>/mnt/etc/passwd</tt> if you mount your root filesystem on
<tt>/mnt</tt>.
<P>
<BR> <HR><A NAME=tex2html4205 HREF="node193.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html4203 HREF="node191.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html4197 HREF="node191.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html4207 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html4208 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html4206 HREF="node193.html">4.11.2 Fixing the root </A>
<B>Up:</B> <A NAME=tex2html4204 HREF="node191.html">4.11 What To Do </A>
<B> Previous:</B> <A NAME=tex2html4198 HREF="node191.html">4.11 What To Do </A>
<BR> <HR> <P>
<BR> <HR>
<P><ADDRESS>
<I>Matt Welsh <BR>
mdw@sunsite.unc.edu</I>
</ADDRESS>
</BODY>