LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2282|回复: 5

debian硬盘安装备忘录!

[复制链接]
发表于 2005-9-19 17:48:31 | 显示全部楼层 |阅读模式
xp下 c(or d .....) 盘必备 :debian第一张光盘+initrd.gz+vmlinuz+grub for dos(only need file grub.exe)。(要有linux格式分区 :例如swap,ext3)

进入dos,运行grub.exe.   (could anyone tell me how  to run file grub.exe if I don't have floppy  and cdrom device?)

kernel空(hd0,0)/vmlinuz空root=/dev/ram空ramdisk_size=256000,devfs=mount,dall
initrd空(hd0,0)/initrd.gz
boot
(hd0->primary harddisk; 0->c disk in os xp)

接下来的选项中 大部分回车即可!到选择apt源时,stop! 此时debian基系统finished!
root登陆

#vi /etc/apt/apt-get.conf(局域网用户所需)
i(input mode)
Acquire{
http
{
Proxy "http://ip:3128";
};
};
ESC(exit)
:wq(write and quit)

#vi /etc/apt/source.list
o(newline input mode)
deb http://debian.ustc.edu.cn/debian sarge main non-free contrib
deb http://debain.okey.net/debian-fonts/空./
ESC
:wq

ok! now we start to install software we need.

apt-get update

apt-get install x-window-system-core xfce4(desktop like kde but smaller) fcitx(tool  input) xmms(music player) mozilla-firefox(web browers)

next step:download fonts

apt-get install ttf-microsoft-simsun ttf-microsoft-simhei ttf-microsoft-simyou ttf-microsoft-simli ttf-arphic-* msttcorefonts(microsoft truetype core fonts)
apt-get install x-ttcidfont-conf

汉化:
vi /etc/locale.gen
add line zh_CN GB2312

run locale-gen

you should overwrite the file /etc/fonts/local.conf with http://debian.okey.net/debian-fonts/local.conf

add the next two lines :FontPath  "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID" to file /etc/X11/XFree86-conf
and use "xtt" instead of "freetype" in the same file;

next step: build new file /etx/X11/Xsession.d/25xchinput-start
export G_FILENAME_ENCODING=@GBK
export LANG=zh_CN.GB2312
export XMODIFIERS=@im=fcitx
fcitx
ESC(exit input mode)
:wq

ok! now we can leave the txt mode .
logout
普通用户登陆
startx
(note: xfce4 will call xterm as the base term, but the xterm should be configed before it could display chinese characters completely!);
emil  zhxt_zsu@163.com
发表于 2005-9-19 20:46:12 | 显示全部楼层
chmod 755  /etx/X11/Xsession.d/25xchinput-start
回复 支持 反对

使用道具 举报

发表于 2006-1-13 13:14:15 | 显示全部楼层
(could anyone tell me how to run file grub.exe if I don't have floppy and cdrom device?)

vfloppy
回复 支持 反对

使用道具 举报

发表于 2006-10-17 22:41:56 | 显示全部楼层
奇怪你那个iso文件什么地方用到了?????????
回复 支持 反对

使用道具 举报

发表于 2006-10-18 09:27:30 | 显示全部楼层
硬盘安装很麻烦,不是加载不了iso就是找不到驱动
回复 支持 反对

使用道具 举报

发表于 2006-10-18 10:03:56 | 显示全部楼层
只要 安装了base系统。什么都有了,除非你没有网路
回复 支持 反对

使用道具 举报

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

本版积分规则

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