QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 852|回复: 9

这一步怎么做啊???

[复制链接]
发表于 2003-9-14 17:34:55 | 显示全部楼层 |阅读模式
关于中文,说了很多次了,自己编译内核,把CP936编译成为Native Language

这一步怎么做啊?麻烦高手说清楚点!我 很菜!是不是换了后RH9.0就不用加 ocharset=cp936了!
发表于 2003-9-14 23:07:24 | 显示全部楼层
# Native Language Support
#
CONFIG_NLS_DEFAULT="cp936"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
CONFIG_NLS_CODEPAGE_936=y
CONFIG_NLS_CODEPAGE_950=m
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m


不用改fstab了
回复

使用道具 举报

 楼主| 发表于 2003-9-15 20:02:41 | 显示全部楼层
还是看不太懂!!

大哥能说清楚点吗?
是在终端里吗?
回复

使用道具 举报

发表于 2003-9-15 21:59:41 | 显示全部楼层
.config里的相关内容


makexconfig的时候File systems里的Native Language Support把cp936选“Y”最上面一个default nls改成cp936
回复

使用道具 举报

 楼主| 发表于 2003-9-16 16:17:46 | 显示全部楼层
大哥,实在多谢了!!
我只会升级内核!
如果我想保持现在linux-2.4.20-8的内核不变,是不是象升级内核一样
make mrproper
make xconfig
make dep
make bzImage
make modules
make modules_install
make install
能不能把步骤告诉我一下,我只make xconfig 然后改了保存了,不行! 我很菜,实在多谢了!!!!
回复

使用道具 举报

发表于 2003-9-16 23:28:27 | 显示全部楼层
没看明白。你是想把2.4.20升级成新的2.4.22,还是只想加入对ntfs的支持?
不管是怎样都是以上几步。关键是make xconfig的时候选好相关的模块支持
回复

使用道具 举报

 楼主| 发表于 2003-9-17 18:27:19 | 显示全部楼层
不升级啊!只是想改一下内核!是不是所有步骤都要做啊!
回复

使用道具 举报

发表于 2003-9-17 22:48:19 | 显示全部楼层
是啊
回复

使用道具 举报

 楼主| 发表于 2003-9-26 23:46:28 | 显示全部楼层
大哥我这么做了!!第一个Red Hat Linux (2.4.20-8custom)启动不了啊!!!怎么回事啊!!!
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,12)
#          kernel /vmlinuz-version ro root=/dev/hda14
#          initrd /initrd-version.img
#boot=/dev/hda13
default=2
timeout=10
splashimage=(hd0,12)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8custom)
        root (hd0,12)
        kernel /vmlinuz-2.4.20-8custom ro root=LABEL=/
        initrd /initrd-2.4.20-8custom.img
title Red Hat Linux (2.4.20-
        root (hd0,12)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /initrd-2.4.20-8.img
title WINDOS
        rootnoverify (hd0,0)
        chainloader +1
教我啊!第2个能启动!!
回复

使用道具 举报

发表于 2003-9-27 00:03:10 | 显示全部楼层
[quote:d578d14bc9="lxw4321"]大哥我这么做了!!第一个Red Hat Linux (2.4.20-8custom)启动不了啊!!!怎么回事啊!!!
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,12)
#          kernel /vmlinuz-version ro root=/dev/hda14
#          initrd /initrd-version.img
#boot=/dev/hda13
default=2
timeout=10
splashimage=(hd0,12)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8custom)
        root (hd0,12)
        kernel /vmlinuz-2.4.20-8custom ro root=/dev/hda13
        initrd /initrd-2.4.20-8custom.img
title Red Hat Linux (2.4.20-
        root (hd0,12)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /initrd-2.4.20-8.img
title WINDOS
        rootnoverify (hd0,0)
        chainloader +1
教我啊!第2个能启动!![/quote]
试试
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-12-4 18:16 , Processed in 0.044957 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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