Make your own mini Linux OS

Please follow the steps:

1,wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.4.tar.bz2

2,  tar jxvf  linux-2.6.24.4.tar.bz2

3 dowload the file: myOS.tar.gz

   http://download.csdn.net/source/3570140

4, specify the Makefile variables

      KERNEL_DIR      CONFI_FILE      LIB_INSTALL

5, Description:

   KERNEL_DIR : kernel file directory

   CONFI_FILE : linux  config file, you could use the default .config file (linux-2.6.24.4/arch/x86/configs/i386_defconfig)

   LIB_INSTALL: copy some necessary libaries from your compiling linux machine

   system : some necessary libaries and bin files including busybox to build a shell environment

6, cd iso and make

7, install the ISO 

8, logon your new OS and set network environment

     run the ./probemod.sh to load some drivers

     ifconfig eth0 ip1 netmask netmask1

     route add default gw gw1


posted on 2011-09-02 18:24  Tonystz  阅读(143)  评论(0编辑  收藏  举报