您的位置:首页 > 运维架构 > Linux

Make your own mini Linux OS

2011-09-02 18:24 260 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: