文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>bady.linux学习笔记之(rescue)在 rescue 模式下安..

bady.linux学习笔记之(rescue)在 rescue 模式下安..

时间:2007-07-03  来源:bady.hero

$在 rescue 模式下安装软件:
# >1< 破坏一个重要的执行文件,重启动系统,你会发现系统不能重启动,使用 rescue 模式安装适当的 rpm 包;
[bady]#   /bin/date /bin/mount     /* 破坏 mount 的执行文件 */
[bady]#   reboot
# >2< 从光盘/软盘启动输入 linux rescue 进入 rescue 模式;
sh-2.05b# mount       /* 以读写模式加载硬盘文件,进入后用 mount 检查文件系统加载是否正确 */
sh-2.05b# rpm -qf --root /mnt/sysimage /bin/mount /* 注意:硬盘加载在/mnt/sysimage 目录下,查看哪个软件包包含这个命令 */
sh-2.05b# chroot /mnt/sysimage    /* 使用 chroot shell */
sh-2.05b# rpm -V mount      /* 确认 mount 的 rpm 包 */
sh-2.05b# exit       /* 退出 chroot shell */
sh-2.05b# rpm -ivh --force --root /mnt/sysimage /mnt/source/RedHat/RPMS/mount* /* 安装 mount 的 rpm 包 */
sh-2.05b# exit       /* 退出 rescue 模式 */
$通过上面的步骤相信你已经能够自己搞定咯! 祝贺你。
$本人不喜欢长篇大论,只喜欢简简单单的把事情弄好咯,要是有必要的话,欢迎来邮件跟我探讨!
$E-mail= [email protected]
                                                                     ---bady[八朵云]
相关阅读 更多 +
排行榜 更多 +
一剑灭天

一剑灭天

角色扮演 下载
戮仙战纪

戮仙战纪

角色扮演 下载
头号海贼王手机版

头号海贼王手机版

棋牌卡牌 下载