|
楼主 |
发表于 2003-11-8 21:29:32
|
显示全部楼层
最初由 struggle 发表
修改rc.sysvinit,把里面执行rhgb的段删掉,有两段。
ps:我也是看到很烦,昨晚找了半天才删掉。
谢谢!
根据你的提示我查了一下"/etc/rc.d/rc.sysinit"发现它就只有第82--89行用到了 initrd 所以我想如果注释掉85和87行可以不?不知道会不会对其他的产生什么影响。那个 rhgb 是用来图形启动的,如果不运行了可能在级别5时的图形服务启动画面就会消失。
以下两段英文截自 release-notes 参考一下:
Fedora Core 1 now uses a graphical interface while booting. The graphical boot screen will appear once the kernel has loaded. Graphical booting is controlled by the GRAPHICAL line in the /etc/sysconfig/init file; set it to "no" to permanently disable graphical booting. In addition, the parameter rhgb must be appended to your bootloader command line.
Systems that have been upgraded to Fedora Core 1 will not be configured to include the graphical boot feature. You must install the rhgb package, and add the rhgb boot-time parameter to your bootloader configuration.
以下是 "/etc/rc.d/rc.sysinit" 82 -- 89 的内容
# Unmount the initrd, if necessary
if LC_ALL=C fgrep -q /initrd /proc/mounts && ! LC_ALL=C fgrep -q /initrd/loopfs /proc/mounts ; then
if [ -e /initrd/dev/.devfsd ]; then
umount /initrd/dev
fi
umount /initrd
/sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1
fi
再次感谢 |
|