设为首页 友情链接
在线留言 发表文章
加入收藏 广告联系

刺猬首页

| 专案技术 | 网络技术 | 图形图象 | 网络编程 | 网页设计 | 操作系统 | 服务器 | 技术白皮书 | 在线实验室 | 刺猬论坛 |
小说专版  | 数据库 | 设计赏析 | 存储频道 | 网络安全 | 私服架设 |  Solaris | 网站评估 | PC维护技巧 | 下载中心 | 博 客 |
专   题: | Linux | java | cisco | 防病毒 | 刀片 | SOA | iscsi | ASP.NET | SQL | Oracle |
您现在的位置: IT公社 IT community >> 操作系统 >> UNIX系统 >> 教程正文 用户登录 新用户注册
专 题 栏 目
最 新 热 门
最 新 推 荐
相 关 文 章
HP Tru64 UNIX Sendmail…
FreeBSD下如何安装nvidi…
FreeBSD核心入门 作者:…
菜鸟 x window 发问必看…
将WinXP改造成Media Cen…
  IA:X86如何从光盘启动,用于超级口令丢失等错误修复。         
IA:X86如何从光盘启动,用于超级口令丢失等错误修复。
 

IA: How to Boot a System for Recovery Purposes
Follow these steps to boot the system to repair a critical system resource. The
example shows you how to boot from a Solaris Installation CD or the network,
mount the root (/) file system on the disk, and repair the /etc/passwd file.
Substitute the device name of the file system to be repaired for the devicename
variable in the procedures below. If you need help identifying a system’s device
names, refer to Chapter 26.
Follow the instructions below to boot from the Solaris installation CD or the network.
1. Boot from the Solaris installation CD (or the network) to single-user mode.
a. Insert the Configuration Assistant Boot Diskette or the Installation CD you
wish to boot from.
b. Press any key to reboot the system if the system displays the Type any
key to reboot prompt. You can also use the reset button at this prompt. If
the system is shut down, turn the system on with the power (on/off) switch.
c. Press the F2 key (F2_Continue) at the Solaris Device Configuration Assistant
screen.
Device identification is performed and a screen that displays the identified
devices appears.
d. Press the F2 key (F2_Continue) at the Identified Devices screen.
Bootable drivers are loaded.
e. Press the F2 key (F2_Continue) at the Solaris Device Configuration Assistant
screen.
Device identification is performed and a screen that displays the identified
devices appears.
f. Press the F2 key (F2_Continue) at the Identified Devices screen.
Bootable drivers are loaded.
g. Select the CD-ROM drive or network device from the Boot Solaris menu.
Then press the F2 key (F2_Continue).
The Current Boot Parameters menu is displayed.
h. Type b -s at the prompt. Press Enter.
After a few minutes, the single-user mode # prompt is displayed.
2. Mount the root (/) file system that has the invalid passwd file.
# mount /dev/dsk/devicename /a
3. Change to the newly mounted etc directory.
# cd /a/etc
4. Make the necessary change to the passwd file using an editor.
# vi passwd
5. Change to the root (/) directory.
# cd /
6. Unmount the /a directory.
# umount /a
7. Reboot the system.
# init 6
8. Verify the system boots to run level 3.
The login prompt is displayed when the boot process has finished successfully.
hostname console login:Linux联盟收集整理

频道声明:本频道的文章除部分特别声明禁止转载的专稿外,可以自由转载.但请务必注明出出处和原始作者 文章版权归本频道与文章作者所有.对于被频道转载文章的个人和网站,我们表示深深的谢意。

原始作者:佚名 录入时间:2007-1-1 19:33:18
信息来源:不详 投稿信箱:itqoo@126.com
教程录入:itqoo    责任编辑:itqoo 
  • 上一个教程:

  • 下一个教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    - 关于我们 - 合作伙伴 - 友情链接 - 广告刊登 - 投稿热线 - 在线留言版权声明联系方式 -
    IT公社版权所有 粤ICP备05127012号
    Copyrigh@2005-2006 itqoo.com.Inc All Rights Reserved  推荐分辨率 1024*768
    联系站长:E-Mail:itqoo@126.com     MSN:urchincc@hotmail.com    QQ:点击这里给我发消息
    特别感谢:亿太网络提供空间支持