2005年5月14日星期六

发布Knoppix 3.7 中文扩展(演示版)

这个扩展只需要原版本的Knoppix,不需要等remaster过的中文版本。

基本原理就是利用Knoppix可以保存并加载用户的HOME, 而采用一些特殊的方法(当然是说不自己编译的前提下)可以使得一些东西安装在HOME上就可以用。如果要了解详细情况,可以翻翻我以前贴的相关内容

只所以叫“演示版”,是因为这个映像只提供了kde-i18n, ttf-arphic-gbsn00lp, fcitx三个包,只是为了证明这种可能性(其实去年中期就在琢磨这个,但今年初看见从knx-live-inst这个包上学到不少东西,使之变得更加容 易),因为带宽关系没法提供自己做的完全版本。不过这个映像本身是128M的,可以自己再加装东西。


下载
http://www.oliwen.com/bamanzi/linux/knx-clx/knoppix.img.bz2
(该目录内有简单的安装说明和制作说明)

安装方法

1. copy knoppix.img to the root of one of your partition (say, /dev/hda6) ( if you got a bzip2 image, unpack it first, (it should be knoppix.img)

2. boot with your Knoppix CD, adding 'home=/dev/hda6' in the boot parameters
e.g
knoppix home=/dev/hda6

3. when booted, use 'mount' to check whether this image already mounted to /home/knoppix.
Now switch to root account(if you don't know how, just type Ctrl+Alt+F1), and patch the knoppix's xsession init script
$ cd /
$ patch -p0 -b /home/bamanzi/45xsession.patch
$ /etc/init.d/xsession restart

Now everything should be OK.

To make your changes persistent, you should do some extra steps:
4. In Konsole(you need to this as user 'knoppix'), call 'saveconfig' to store your changes to system configuration (/etc/....) to the root of one of your partitions (say, /dev/hda5). As the result, you will see two files on that drive: config.tbz and knoppix.sh.

5. Next time when you boot with your Knoppix CD, add an extra parameter as this:
knoppix home=/dev/hda6 myconfig=/dev/hda1
then you don't need to repeat step 2-4 for the next boot

没有评论: