Recovering from a Solaris Runtime Linker failure
shows some steps to bring back the system to normal state as soon as the runtime linker starts malfunctioning.
The following steps show how to recover the system after the damage has been done ie., after the losing access to the system completely.
The recovery process starts with booting Solaris from bootable CD-ROM. The steps are as follows:
- Put the CD-ROM into CD drive and reboot the system.
- From the boot solaris menu, select CD-ROM drive and then type
b -s at the prompt.
The other way is the type
boot cdrom -s at
- The above step takes you to single user mode with a functional but limited Solaris access from CD-ROM.
- To access your file system(s), you need to mount them. So, atleast mount the root file system (/).
If your root file system is
c0t0d0s0, mount it as follows:
mount /dev/dsk/c0t0d0s0 /mnt
If you don't know the partition name where / is installed, have a look at
- Then copy back the original run-time linker (
ld.so.1). For example, if you have the original
ld.so.1 copied to
ld.so.1.orig, copy it to
ld.so.1 as shown below:
cp /mnt/usr/lib/ld.so.1.orig /mnt/usr/lib/ld.so.1
- Finally reboot the system.