My future is not a dream

------------------------------work hard for my beautiful future

导航

2005年10月17日

摘要: 1.常见的错误 (1)编译模块错误 出错信息如下: In file included from proc.c:5: /usr/include/linux/proc_fs.h:47: parse error before "off_t" /usr/include/linux/proc_fs.h:51: parse error before "off_t" /usr/include/linux/pro... 阅读全文

posted @ 2005-10-17 22:15 XiaoZhong 阅读(658) 评论(0) 推荐(0)

2005年10月15日

摘要: 1.安装编译内核辅助工具 (1)下载module-init-tools-3.1.tar.bz2 安装方法如下: ./configure --prefix=/ make moveold (只能用一次) make all install (在此处有错误: 错误如下: if [ "docbook2man" = "docbook2man" ]; then \ docbook2man doc/modpr... 阅读全文

posted @ 2005-10-15 14:30 XiaoZhong 阅读(975) 评论(0) 推荐(0)

2005年6月12日

摘要: 如何在不增加swap分区的情况下使用swap文件来增加swap?[前提] --- 了解dd的用法和swap的激活# dd if=/dev/zero of=/.../swapfile bs=1024 count=65536 ^1024=1K ^即为 64MB# mkswap /.../swapfile# swapon /... 阅读全文

posted @ 2005-06-12 21:56 XiaoZhong 阅读(454) 评论(0) 推荐(0)

2005年5月30日

摘要: when the process wants to use the data in the hard disk, it will first find whether the data is in the buffer,if the data in buffer , it will use it directly, if not , the kernel will read the data i... 阅读全文

posted @ 2005-05-30 19:42 XiaoZhong 阅读(412) 评论(0) 推荐(0)

2005年5月19日

摘要: grub在引导系统的时候,主要通过他的配置文件grub.conf来,找到要引导的系统所在的地方对于win系列的系统.通过chainloader来完成的而linux系列的.只要给出root(hdx,y)x指定了在那个硬盘,.y指定在那个分区.然后给出内核文件的名字,就ok了.另外,如果系统中有多个硬盘,记得一定要把grub按到第一个硬盘的mbr.如果不在主盘mbr,在开机的时候,就会把错的,grub... 阅读全文

posted @ 2005-05-19 17:20 XiaoZhong 阅读(457) 评论(0) 推荐(0)

2005年5月14日

摘要: Only one Hard Disk: grub> kernel (hd0,1)/boot/vmlinuz...... root=/dev/hdax (x----the number of r oot partition) grub> initrd (hd0,1)/boot/initrd grub> boot or Use the installation disk to boot PC, t... 阅读全文

posted @ 2005-05-14 16:07 XiaoZhong 阅读(400) 评论(0) 推荐(0)