BBS水木清华站∶精华区

发信人: emi (你既无心我便休), 信区: Linux        
标  题: 有关那个从粗制滥造的ctlinux的一些资料 (转载) 
发信站: BBS 水木清华站 (Fri Dec 10 23:14:57 1999) 
 
【 以下文字转载自 NewSoftware 讨论区 】 
【 原文由 emi 所发表 】 
千僖年快乐!虫虫们! 
 
 
这是对Slackware虫虫的Ctlinux的一点小篡改,Slackware虫虫的那个Ctlinux 
所有的东西我几乎都照搬过来了(cp -a)。此外参考以及照搬了DosLinux的一些 
内容。 
 
 
1 请详细阅读Slackware虫虫的相关文件如网络配置等,在slackware目录下。 
 
2 改用loop的文件系统,减少了内存占用,可以在8M内存的机器上很好地运行。 
  我在8M内存的486上试验过,可正常工作,并且可使用汉字和网络。虽然内存 
  占用减少,但硬盘占用有所增加。不过对于小破386/486来说,增加点内存比 
  多空出点硬盘空间麻烦多了。内核按386编译,并加入了FPU模拟,以便386 
  和486SX破机器也可以用。不过我没有在386和486sx上试验。本文件最后附录 
  了系统在8M内存的机器上启动后的内存占用情况以及使用cce以后的内存占用 
  情况。 
 
3 加入了oshare以便打击同子网乱占IP的M$ Windows 9x使用者。:PP另外加入 
  了tar/wget/md5sum。这样这个小的Linux在mount上其他的盘以后,可以在 
  晚上用wget下载东西,也可以用来下载vcd(我还是喜欢Linux下面的wget) 
  到Windows系统的盘上。加入md5sum后可以比较方便地校验ISO的正确性。此 
  外加入了tar以便打包,加入了dmesg(因为我老喜欢启动后看一看情况):PP 
 
4 改用了2.0.37的内核以便加强对vfat以及fat32的支持。 
 
5 每次对系统的改动,如IP配置会自动保存(废话,root文件系统在硬盘上啊)。 
 
6 用户可以很方便地自己添加新的工具,原来的文件系统(8M)大约还有1M左右 
  的剩余空间。如果不满意原文件系统的大小,可以立即重新做一个更大点的, 
  不用担心内存空间。 
 
7 网卡支持只加入了NE2000以及3Com的3c5x9,如果您的网卡不在此列,请自行编 
  译内核。编译内核注意加上RAM drive的支持以及INITRD的支持。用户如不满意 
  当前核心,亦可自行配置一个。我配置内核时所用的文件(coreconf)也一并给 
  出以便参考。 
 
8 安装请在DOS的D盘(/dev/hda5)根目录下创建一个linux目录,然后将所有 
  文件都放进去即可。如果您想在其他盘安装,请修改initrdgz.img。(先解压, 
  然后loop mount之,再修改那个linuxrc文件)。 
 
9 加入了nmap。扫描所导致的后果请自行负责。 
 
======================================================================== 
Happy New Year! All Linux fans! 
 
 
Changes: 
 
NOTICE:After shifting to loop file system, the system runs well on 8M RAM 
 
***************************** files under DOS *************************** 
ALL THESE FILES SHOULD BE IN D:\LINUX !!!  (/dev/hda5) 
 
1. 2037         Linux Kernel 2.0.37(support NE200, 3Com 3c5x9 network card) 
2. rfs.img      Root File System(8M size)  
3. loalin.exe   A tool to boot Linux from DOS 
4. linux.bat    A DOS batch file for booting this tiny Linux 
5. initrdgz.img Initrd file (gzipped) 
6. slakware     It's a directory which includes files from Slackware's ctlinux 
7. emi_note.txt Note from emi (This file) 
8. coreconf     The config file I used to compile the kernel (FYI) 
********************************* NEWS! ********************************* 
1. The The kernel is updated to 2.0.37 which will supports vfat/fat32 better. 
 
2. You can use wget/tar/md5sum/nmap/oshare/ in the system now. 
 
3. You can use the system on a 386 with 8M RAM. 
 
4. Any modification will be saved automatically.  
 
5. You can add your own utilities to the system. If the file system is too 
   small, you can create your own easily. 
************************************************************************** 
 
EMI                     emi@pkubbs.dhs.org 
1999.12.10 
 
============================================================================= 
Memory Status on a 8M System: 
 
 
Red Hat Linux release 4.2 (Biltmore) 
Kernel 2.0.37 on an i486 
 
emipsi login: root 
emipsi:~# free 
             total       used       free     shared    buffers     cached 
Mem:          6740       5968        772       3908       2372       1656 
-/+ buffers:             1940       4800 
Swap:            0          0          0 
************************ 
# cce startup 
 
emipsi:~# free 
             total       used       free     shared    buffers     cached 
Mem:          6740       6308        432       4772       1680       1948 
-/+ buffers:             2680       4060 
Swap:            0          0          0 
************************* 
# Another root login at tty2, the root on tty1 telnet to ytht.dhs.org. 
emipsi:~# free 
             total       used       free     shared    buffers     cached 
Mem:          6740       6356        384       5524       1728       1728 
-/+ buffers:             2900       3840 
Swap:            0          0          0 
************************* 
 
=========================================================================== 
 
-- 
女朋友结婚了,新郎不是俺。人生很失败不是? 
 
退一步说,得到又如何? 
 
嗯,就算这么说吧:得到的只是锁链,而失去的将是整个世界。 
 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 162.105.16.145] 

BBS水木清华站∶精华区