
15.10 What is Rescue Mode? 215
Your system’s diskette drive should start writing to the diskette. After a minute or so, the dd com-
mand will complete, and you’ll get your shell prompt back.
Wait for your diskette drive’s access light to go out, and that’sit!
You now have a rescue disk set. Label this diskette something like “Red Hat Linux 6.0 rescue
diskette” and store it someplace safe.
Let’s hope you never have to use it.
If you should ever need to use rescue mode, here’show.
Boot your system with the boot diskette in the first diskette drive. At the LILO Boot: prompt, enter
the word rescue. You will see the usual kernel messages as the Linux kernel starts up.
Eventually, it will ask you to insert the next diskette, and press
Enter . Remove the boot diskette,
insert the rescue diskette, and press
Enter .
The rescue diskette will be read into memory. After a minute or so, you should see the shell prompt.
That’sit– you’re in rescue mode!
Now what?
When it comes to rescue mode, that’s a bit like asking, “how long is a piece of string?” What you
require depends a great deal on what your system’s problem is, your level of Linux expertise, and
several variables we haven’t even thought of yet. So we can’t give you explicit instructions.
But we can tell you what programs you have access to while in rescue mode.
Here’s the list:
badblocks bash bzip2
cat chmod chroot
cp cpio dd
e2fsck fdisk grep
gunzip gzip head
ifconfig init ln
ls lsmod mkdir
mke2fs mknod mount
mt mv open
pico ping ps
restore rm route
rpm sed sh
swapoff swapon sync
tac tail tar
traceroute umount vi
vim
You’re likely to be unfamiliar with most, if not all of these commands. However, the commands
Komentarze do niniejszej Instrukcji