Problem
When using the tar(C) command after booting from my emergency root and boot floppies, this error occurs:
dynamic linker: tar: cannot open /usr/lib/libcrypt.soWhy is the tar(C) command failing and how do I prevent similar failures in the future?
Cause
When creating the boot and root emergency floppy disks for your installation, the file "/usr/lib/libcrypt.so" was not copied to the root floppy diskette.
Solution
There are two solutions for this issue: a temporary, quick solution for the existing root floppy diskette (step 1), and a long-term solution for any future root diskettes you may make (step 2).
1. After creating the root floppy diskette, mount the root floppy to the /mnt directory:
# mount /dev/fd0 /mnt(The above assumes you are using the first floppy drive.)
After mounting the root floppy, copy the crypt library to the appropriate directory on the root floppy:
# cp /usr/lib/libcrypt.so /mnt/usr/libWhen the file has been copied, unmount the root floppy from the mountpoint:
# umount /mnt2. To prevent this error from occurring in all future versions of your boot/root emergency floppy diskettes, edit this file:
# vi /usr/lib/mkdev/fdLocate the lines that looks similar to this:
# The following is a list of core utils that
# must be placed on the
# root floppy filesystem.
core_utils="
./usr/lib/libc.so.1
./usr/lib/libsocket.so.1
./usr/lib/librpcsvc.so
.
.
.Add this line after the librpcsvc.so entry:
./usr/lib/libcrypt.soAnd save the new fd script, exiting the editor.
Future versions of the root floppy you create will no longer generate the described error when accessing the tar(C) utility.