4.3. After the kernel is booted...

...You will find yourself in an absolute minimal bash-environment.

You will not even be asked to enter your username or password! At this time you are the ultimate super-user; no-one can get around you because the system is in single-user mode, so be careful what you are doing. There are no file-rights set or anything else!

Your prompt will probably look like this:

init-x.y#

At this moment your root (/) has been mounted as read-only, thus you will not be able to write the new library to your hard drive. To make it r/w, enter the command:

mount -o remount,rw /

If your source is located on another partition you must also mount it, as it is not done for you (for me this means mounting my raid system):

mount -t reiserfs /dev/md0 /usr/src

As you see, I defined the file system type, which is needed because mount does not look anything up in /etc/fstab.

Now you can go to the directory containing the source and type in:

make install

If you like, now might be a good time to pray that everything works out fine... ;-)

If everything went through properly, you will return to your prompt after the installation without any error message. In all other cases, please see Chapter 5.

If everything goes fine, run:

ldconfig -v

to update your library cache.

Congratulations! The library is successfully installed. Now type in: mount -o remount,ro / to ensure that all the data is written to the hard drive.

Now start the reboot:

exit

This will cause an error message saying that you have caused a kernel-panic. If possible, restart the computer by using CTRL-ALT-DEL, otherwise use your hardware's reset switch.

Try booting your normal kernel. If everything turns out fine, you are ready to use the new library.