LinuxSir.cn,穿越时空的Linuxsir!

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

[求助]升级 openrc 系统出问题了。

[复制链接]
发表于 2009-10-4 15:40:53 | 显示全部楼层 |阅读模式
刚刚装好KDE4.3,系统都设置好了,打算升级下OpenRC.结果就出问题了
升级的时候参考下面的网页
http://www.gentoo.org/doc/zh_cn/openrc-migration.xml
http://www.linuxsir.cn/bbs/thread327354.html
我安装了LVM。
屏幕信息提示:

  1. Failed to set user font
  2. ERROR:consolefont failed to start


  3. Filesystems couldn't be fixed
  4. rc: Aborting!
  5. fsck:caught SIGTERM,aborting
复制代码

现在用户可以登录,cd ls 命令可以用,startx命令无效,emerge 命令无效
发表于 2009-10-4 15:51:43 | 显示全部楼层
哈?是不是real_root沒有指定呀?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-4 15:53:14 | 显示全部楼层
谢谢,如何查看?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-4 15:58:18 | 显示全部楼层
cat /proc
cat : /proc : is a directory

ls /usr 是空的

我的分区情况是
sda1  /boot
sda2  /
sda5  swap
sda6  lvm

lvm---包含目录
usr  home  opt var tmp

现在用 ls 查看只有 usr是空的,其他目录都有文件
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-4 16:01:00 | 显示全部楼层
可以用命令mount /dev/vd/usr /usr 挂载
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-4 16:01:55 | 显示全部楼层
。。。。。。发现挂载 /usr 之后 startx 可以进KDE了。但是进kde之后鼠标键盘用不了。请教下问题可能出在哪里?
回复 支持 反对

使用道具 举报

发表于 2009-10-4 16:16:41 | 显示全部楼层
滑鼠鍵盤用不了看faq……(這個問題不知道被問了多少遍了……)有好幾個方法。個人比較推薦用hal的那個方法。

還有,我不知道你是不是用lvm了(我是說rc-update add lvm boot && rc-update add device-mapper boot)。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-4 16:28:19 | 显示全部楼层
Post by 亞利艾爾;2032964
滑鼠鍵盤用不了看faq……(這個問題不知道被問了多少遍了……)有好幾個方法。個人比較推薦用hal的那個方法。

還有,我不知道你是不是用lvm了(我是說rc-update add lvm boot && rc-update add device-mapper boot)。


谢谢回复, rc-update show 看到有hald 在 default 级别启动,

rc-update show | grep lvm

  1. lvm | boot
复制代码

rc-update show | grep device-mapper

  1. device-mapper | boot
复制代码


我的usr hoem opt var  tmp 都在LVM上面,偏偏就是usr没能自动挂载上,fstab 文件里面挂载这5个目录的顺序是usr home opt var tmp
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-4 17:55:24 | 显示全部楼层
/var/log/rc.log



  1. rc shutdown logging started at Sun Oct  4 17:48:26 2009

  2. * Stopping udevd...
  3. [ ok ]
  4. *   lvm uses addon code which is deprecated
  5. *   and may not be available in the future.
  6. * Shutting down the Logical Volume Manager
  7. *   Shutting Down logical volume: /dev/vd/usr ...
  8. [ ok ]
  9. * Finished Shutting down the Logical Volume Manager

  10. rc shutdown logging stopped at Sun Oct  4 17:48:27 2009


  11. rc boot logging started at Mon Oct  5 01:48:59 2009

  12. * Setting system clock using the hardware clock [Local Time]...
  13. [ ok ]
  14. * Checking root filesystem...
  15. Reiserfs super block in block 16 on 0x802 of format 3.6 with standard journal
  16. Blocks (total/free): 1050240/821746 by 4096 bytes
  17. Filesystem is clean
  18. Filesystem seems mounted read-only. Skipping journal replay.
  19. Checking internal tree..finished
  20. [ ok ]
  21. * Remounting root filesystem read/write...
  22. [ ok ]
  23. * Updating modprobe.conf by hand...
  24. [ ok ]
  25. *   lvm uses addon code which is deprecated
  26. *   and may not be available in the future.
  27. * Setting up the Logical Volume Manager...
  28. [ ok ]
  29. *   device-mapper uses addon code which is deprecated
  30. *   and may not be available in the future.
  31. *   checkfs uses addon code which is deprecated
  32. *   and may not be available in the future.
  33. * Setting up dm-crypt mappings...
  34. [ ok ]
  35. * Checking all filesystems...
  36. /dev/sda1: clean, 38/16064 files, 17737/64228 blocks
  37. Reiserfs super block in block 16 on 0xfe00 of format 3.6 with standard journal
  38. Blocks (total/free): 2621440/1629937 by 4096 bytes
  39. Filesystem is clean
  40. Replaying journal..
  41. Reiserfs journal '/dev/vd/usr' in blocks [18..8211]: 0 transactions replayed
  42. Checking internal tree..finished
  43. Reiserfs super block in block 16 on 0xfe01 of format 3.6 with standard journal
  44. Blocks (total/free): 5242880/4465153 by 4096 bytes
  45. Filesystem is clean
  46. Replaying journal..
  47. Reiserfs journal '/dev/vd/home' in blocks [18..8211]: 0 transactions replayed
  48. Checking internal tree..finished
  49. Reiserfs super block in block 16 on 0xfe02 of format 3.6 with standard journal
  50. Blocks (total/free): 1310720/1269641 by 4096 bytes
  51. Filesystem is clean
  52. Replaying journal..
  53. Reiserfs journal '/dev/vd/opt' in blocks [18..8211]: 0 transactions replayed
  54. Checking internal tree..finished
  55. Reiserfs super block in block 16 on 0xfe03 of format 3.6 with standard journal
  56. Blocks (total/free): 2621440/2578164 by 4096 bytes
  57. Filesystem is clean
  58. Replaying journal..
  59. Reiserfs journal '/dev/vd/var' in blocks [18..8211]: 0 transactions replayed
  60. Checking internal tree..finished
  61. Reiserfs super block in block 16 on 0xfe04 of format 3.6 with standard journal
  62. Blocks (total/free): 524288/516023 by 4096 bytes
  63. Filesystem is clean
  64. Replaying journal..
  65. Reiserfs journal '/dev/vd/tmp' in blocks [18..8211]: 0 transactions replayed
  66. Checking internal tree..finished
  67. [ ok ]
  68. * Mounting local filesystems...
  69. [ ok ]
  70. * Mounting USB device filesystem (usbfs)...
  71. /etc/init.d/localmount: line 30: getent: command not found
  72. [ ok ]
  73. * Mounting misc binary format filesystem...
  74. [ ok ]
  75. * Activating (possible) swap...
  76. [ ok ]
  77. *   localmount uses addon code which is deprecated
  78. *   and may not be available in the future.
  79. * Setting up dm-crypt mappings...
  80. [ ok ]
  81. * Setting hostname to GT...
  82. [ ok ]
  83. * Configuring kernel parameters...
  84. [ ok ]
  85. /etc/init.d/keymaps: line 22: is_uml_sys: command not found
  86. /etc/init.d/keymaps: line 22: is_xenU_sys: command not found
  87. /etc/init.d/keymaps: line 39: /usr/bin/kbd_mode: No such file or directory
  88. * Loading key mappings...
  89. cannot open file us
  90. * Error loading key mappings
  91. [ !! ]
  92. /etc/init.d/keymaps: line 60: dumpkeys: command not found
  93. * Setting terminal encoding to UTF-8...
  94. [ ok ]
  95. /etc/init.d/consolefont: line 12: is_uml_sys: command not found
  96. /etc/init.d/consolefont: line 12: is_xenU_sys: command not found
  97. * Setting user font...
  98. Cannot open font file default8x16
  99. Cannot open font file default8x16
  100. Cannot open font file default8x16
  101. Cannot open font file default8x16
  102. Cannot open font file default8x16
  103. Cannot open font file default8x16
  104. Cannot open font file default8x16
  105. Cannot open font file default8x16
  106. Cannot open font file default8x16
  107. Cannot open font file default8x16
  108. Cannot open font file default8x16
  109. * Failed to set user font
  110. [ !! ]
  111. * ERROR: consolefont failed to start
  112. * Checking local filesystems ...
  113. /dev/sda1: clean, 38/16064 files, 17737/64228 blocks
  114. Reiserfs super block in block 16 on 0xfe00 of format 3.6 with standard journal
  115. Blocks (total/free): 2621440/1629937 by 4096 bytes
  116. Filesystem is clean
  117. Replaying journal..
  118. Reiserfs journal '/dev/vd/usr' in blocks [18..8211]: 0 transactions replayed
  119. Checking internal tree..finished
  120. Reiserfs super block in block 16 on 0xfe01 of format 3.6 with standard journal
  121. Blocks (total/free): 5242880/4465153 by 4096 bytes
  122. Filesystem is NOT clean
  123. Partition /dev/vd/home is mounted with write permissions, cannot check it
  124. Reiserfs super block in block 16 on 0xfe02 of format 3.6 with standard journal
  125. Blocks (total/free): 1310720/1269641 by 4096 bytes
  126. Filesystem is NOT clean
  127. Partition /dev/vd/opt is mounted with write permissions, cannot check it
  128. Reiserfs super block in block 16 on 0xfe03 of format 3.6 with standard journal
  129. Blocks (total/free): 2621440/2578164 by 4096 bytes
  130. Filesystem is NOT clean
  131. Partition /dev/vd/var is mounted with write permissions, cannot check it
  132. Reiserfs super block in block 16 on 0xfe04 of format 3.6 with standard journal
  133. Blocks (total/free): 524288/516023 by 4096 bytes
  134. Filesystem is NOT clean
  135. Partition /dev/vd/tmp is mounted with write permissions, cannot check it
  136. * Filesystems couldn't be fixed
  137. [ !! ]
  138. * rc: Aborting!
  139. * fsck: caught SIGTERM, aborting

  140. rc boot logging stopped at Sun Oct  4 17:49:14 2009


  141. rc default logging started at Sun Oct  4 17:49:14 2009

  142. /etc/init.d/consolefont: line 12: is_uml_sys: command not found
  143. /etc/init.d/consolefont: line 12: is_xenU_sys: command not found
  144. * Setting user font...
  145. Cannot open font file default8x16
  146. Cannot open font file default8x16
  147. Cannot open font file default8x16
  148. Cannot open font file default8x16
  149. Cannot open font file default8x16
  150. Cannot open font file default8x16
  151. Cannot open font file default8x16
  152. Cannot open font file default8x16
  153. Cannot open font file default8x16
  154. Cannot open font file default8x16
  155. Cannot open font file default8x16
  156. * Failed to set user font
  157. [ !! ]
  158. * ERROR: consolefont failed to start
  159. * Checking local filesystems ...
  160. /dev/sda1: clean, 38/16064 files, 17737/64228 blocks
  161. Reiserfs super block in block 16 on 0xfe00 of format 3.6 with standard journal
  162. Blocks (total/free): 2621440/1629937 by 4096 bytes
  163. Filesystem is clean
  164. Replaying journal..
  165. Reiserfs journal '/dev/vd/usr' in blocks [18..8211]: 0 transactions replayed
  166. Checking internal tree..finished
  167. Reiserfs super block in block 16 on 0xfe01 of format 3.6 with standard journal
  168. Blocks (total/free): 5242880/4465153 by 4096 bytes
  169. Filesystem is NOT clean
  170. Partition /dev/vd/home is mounted with write permissions, cannot check it
  171. Reiserfs super block in block 16 on 0xfe02 of format 3.6 with standard journal
  172. Blocks (total/free): 1310720/1269641 by 4096 bytes
  173. Filesystem is NOT clean
  174. Partition /dev/vd/opt is mounted with write permissions, cannot check it
  175. Reiserfs super block in block 16 on 0xfe03 of format 3.6 with standard journal
  176. Blocks (total/free): 2621440/2578162 by 4096 bytes
  177. Filesystem is NOT clean
  178. Partition /dev/vd/var is mounted with write permissions, cannot check it
  179. Reiserfs super block in block 16 on 0xfe04 of format 3.6 with standard journal
  180. Blocks (total/free): 524288/516023 by 4096 bytes
  181. Filesystem is NOT clean
  182. Partition /dev/vd/tmp is mounted with write permissions, cannot check it
  183. * Filesystems couldn't be fixed
  184. [ !! ]
  185. * rc: Aborting!
  186. * fsck: caught SIGTERM, aborting

  187. rc default logging stopped at Sun Oct  4 17:49:15 2009


复制代码
回复 支持 反对

使用道具 举报

发表于 2009-10-4 18:48:00 | 显示全部楼层
如果就是只有usr沒有掛上的話,你可能要檢查一下/etc/fstab中/usr那項寫的對不對了,仔細看看。而且好玩的是你的掛載發生在檢查之前。你是用genkernel的嗎?不是,把你的initramfs給看一下。我是說啟動的腳本。
  最後,hald在default還能滑鼠不動的話,看下INPUT_DEVICES……我說有hal的方法不只是hald在default。到FAQ把帖子看完吧……
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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