root用户进入
fsck -y 运行完之后;
reboot
重启之后 再次进入 会显示
“/lib/svc/method/fs-root ....
/lib/svc/method/fs-usr ....
/lib/svc/bin/restore_repository "
先运行/lib/svc/method/fs-root
再运行/lib/svc/method/fs-usr 这个命令需花些时间。
再次运行/lib/svc/bin/restore_repository
显示:
If there are any problems which need human intervention, this script will
give instructions and then exit back to your shell.
Note that upon full completion of this script, the system will be rebooted
using reboot(1M), which will interrupt any active services.
The following backups of /etc/svc/repository.db exist, from
oldest to newest:
manifest_import-20120203_121952
boot-20120225_121347
boot-20120228_160438
boot-20120228_161952
boot-20120511_114917
The backups are named based on their type and the time what they were taken.
Backups beginning with "boot" are made before the first change is made to
the repository after system boot. Backups beginning with "manifest_import"
are made after svc:/system/manifest-import:default finishes its processing.
The time of backup is given in YYYYMMDD_HHMMSS format.
Please enter either a specific backup repository from the above list to
restore it, or one of the following choices:
CHOICE ACTION
---------------- ----------------------------------------------
boot restore the most recent post-boot backup
manifest_import restore the most recent manifest_import backup
-seed- restore the initial starting repository (All
customizations will be lost, including those
made by the install/upgrade process.)
-quit- cancel script and quit
Enter response [boot]:
输入 boot-20120225_121347
运行完之后,系统会重启,就正常了。我的是这样操作,祝你好运!