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 -sat the prompt.
The other way is the typeboot cdrom -satokprompt. - 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 (/).
eg.,
If your root file system isc0t0d0s0, mount it as follows:mount /dev/dsk/c0t0d0s0 /mnt
Note:
If you don't know the partition name where / is installed, have a look at/mnt/etc/vfstabfile. - Then copy back the original run-time linker (
ld.so.1). For example, if you have the originalld.so.1copied told.so.1.orig, copy it told.so.1as shown below:cp /mnt/usr/lib/ld.so.1.orig /mnt/usr/lib/ld.so.1 - Finally reboot the system.
0 comments:
Post a Comment