LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 745|回复: 4

恢复内核

[复制链接]
发表于 2004-1-25 15:10:17 | 显示全部楼层 |阅读模式
我安装的内核不能启动了。我想问一下能不能用安装光盘来恢复一下。

我用的是4.9
发表于 2004-1-26 15:57:37 | 显示全部楼层
我用的是4.8,不知道和你的一样吗?
在启动等待那里按一下空格键。
#boot -s
后面的不记得了。看置顶
 楼主| 发表于 2004-1-26 16:05:27 | 显示全部楼层
我重装了。我按空格后输入什么也不启动。
用chflags可以恢复内核,不过好像在开始的时候不能使用这个命令。
发表于 2004-1-26 21:10:51 | 显示全部楼层
最初由 再吻我吧 发表
我重装了。我按空格后输入什么也不启动。
用chflags可以恢复内核,不过好像在开始的时候不能使用这个命令。


chflags 有这样的功能?不知道哦。。

  1.            arch    set the archived flag (super-user only)
  2.            opaque  set the opaque flag (owner or super-user only)
  3.            nodump  set the nodump flag (owner or super-user only)
  4.            sappnd  set the system append-only flag (super-user only)
  5.            schg    set the system immutable flag (super-user only)
  6.            sunlnk  set the system undeletable flag (super-user only)
  7.            uappnd  set the user append-only flag (owner or super-user only)
  8.            uchg    set the user immutable flag (owner or super-user only)
  9.            uunlnk  set the user undeletable flag (owner or super-user only)
  10.            archived, sappend, schange, simmutable, uappend, uchange,
  11.                    uimmutable, sunlink, uunlink
  12.                    aliases for the above

  13.      Putting the letters ``no'' before or removing the letters ``no'' from a
  14.      keyword causes the flag to be cleared.  For example:

  15.            nouchg  clear the user immutable flag (owner or super-user only)
  16.            dump    clear the nodump flag (owner or super-user only)
复制代码
发表于 2004-1-27 14:07:52 | 显示全部楼层
chflags不能恢复, 它只是对一个文件进行操作从而使得这个文件不能被改变.一般你不能记得对系统的原始内核进行这一步操作的!你在编译内核后如果安装了两次内核文件后就没有好的内核文件了, 都是坏的内核文件!一般在安装内核时系统会把原先使用的内核改为old, 然后再安装新的内核!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表