Wednesday, March 10, 2010

Install Slackware 13 using UNetBootin

To install Slackware 13 using UNetBootin, you need to:

1. Download slackware-13.0-install-dvd and extract it to the root area of a hard drive(e.g. E:\).

2. Insert a USB.

3. Start UNetBootin, then select 'Custom', For the kernel, select one from the extracted ISO (e.g. E:\kernels\hugesmp.s\bzImage); for the Initrd, select one accordingly too. (e.g. E:\isolinux\initrd.img). Select the USB you've just inserted and click 'OK'.

4. Follow the instructions to reboot your computer and select 'Boot from the USB Hard Drive'.

5. You should now begin your Slackware installation progress. Just remember that, after logging in as root and before entering 'setup', please mount the hard drive which has been extracted the ISO image into. (e.g. 1. mkdir /mnt/foobar, 2. mount -t ntfs /dev/sda3 /mnt/foobar)

6. Enter 'setup' and remeber to select 'Install from a pre-mounted directory".

That's it.

Kernel URL>> http://slackware.osuosl.org/slackware-13.0/kernels/hugesmp.s/bzImage
Initrd URL>> http://slackware.osuosl.org/slackware-13.0/isolinux/initrd.img

Sunday, January 24, 2010

FCITX 安装

不需要ZH Locale
参照水木帖子
http://www.newsmth.net/bbscon.php?bid=392&id=489854

修改文件:
/etc/gtk-2.0/gtk.immodules文件,把有关xim的部分改成:
"/usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh
否则的话,右键可以看到输入法还是default

如果你升级系统了,可能你的/etc/gtk-2.0下没有东西的话就改这个:
/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules
把有关xim的部分改成:
"/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"
加上"en:"
ok,现在logout再登录
运行
im-switch -s fcitx设置fcitx为默认输入法,
现在就可以用ctrl+space调出输入法了,用鼠标点击fcitx图标“智能拼音”可以切换输入法(如五笔等),enjoy!

Saturday, January 23, 2010

打算把desktop换成linux

今夜尝试

1. Format USB Stick: to FAT (2G) or FAT32 (>2G)

2. Download syslinux. Unzip it. Run in cmd: syslinux.exe -m -a H:, where H is the USB drive. (remember to run as admin)

3. Download initrd.gz and vmlinuz to H.

4. Create file syslinux.cfg, and write to it:
default vmlinuz
append initrd=initrd.gz

5. Reboot from USB stick.