If fsck ran successfully, you can now restore an accidentally removed /dev/console device file or reset a damaged /etc/passwd file back to its newconfig state.
8.To restore an accidentally removed /dev/console device file, enter the following command:
# mknod /ROOT/dev/console c 0 0
To reset a damaged /etc/passwd file to its newconfig state, enter the following command:
#cp /etc/passwd /ROOT/etc/passwd
9.If you require additional content, it can be loaded using the loadfile command. For example, to get the /etc/magic file:
#loadfile /etc/magic
The loadfile command loads content from the SYSCMDS archive by default. If the content is only available in the INSTCMDS archive, then use the
#loadfile
10.When the recovery tasks are complete, exit expert recovery by first entering the menu command at the shell prompt.
#menu
You are then returned to the
Select b Enter to reboot the system.
254 Expert recovery