热门关键字:  ubuntu  分区  函数  Fedora  linux系统进程

ubuntu 内核升级 2.6.16.1 出现的几个问题

来源: 作者: 时间:2007-08-25 Tag: 点击:
ubuntu 内核升级 2.6.16.1 出现的几个问题(昨天升级到现在为止出现的)原内核为2.6.12.10
 
问题1、make menuconfig 出现错误 “curse.h” 无法找到。
系统没有安装libcurses5-dev库
apt-get install libcurses5-dev 解决
 
问题2、发现系统没有mkinitrd
make menuconfig
make
make modules_install
make install
一切就绪后,查看/boot/下已经有vmlinuz-2.6.16.1了,但是没有对应的initrd.img。查了查资料,要mkinitrd.
可是竟然没有这个命令,又少了东东。
apt-get install  initrd-tools
安装initrd-tools 然后执行 initrd -o /boot/initrd.img.2.6.16.1 /lib/modules/2.6.16.1
生成 新的initrd.img
再修改 /boot/grub/menu.lst 用新的内核启动
title  Ubuntu, kernel 2.6.16.1
root  (hd0,8)
kernel  /boot/vmlinuz-2.6.16.1 root=/dev/hdb9 ro quiet splash
initrd          /boot/initrd.img-2.6.16.1
savedefault
boot
OK 升级完成
 
问题3 bind9 启动报错: "capset failed: Operation not permitted"
解决方法:
modprobe capability 然后在/etc/modules中加入capability
还有人建议编译BIND9时去掉Linux cap support ./configure用 IIRC 也就是 --disable-linux-caps 选项
我用的是前一种方法,问题OK.
问题4 挂载fat32分区时失败,有如下提示,ntfs分区正常:
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
我的系统 encoding 为zh-cn.utf-8
原/etc/fstab,在以前的系统工作正常
/dev/hdb5       /mnt/d     ntfs    ro,nls=utf8,umask=022        0       0
/dev/hdb6       /mnt/e     vfat    utf8,umask=022        0       0
修改为
/dev/hdb5       /mnt/d     ntfs    ro,nls=utf8,umask=022        0       0
/dev/hdb6 /mnt/e  vfat umask=022,iocharset=utf8  0 0
挂载成功,中文字符也没有问题。问题解决!
 
一个晚上的辛苦终于有了结果,感觉不错。

最新评论共有 4 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册