Make your own mini Linux OS

本文详细介绍了从零开始构建一个自定义Linux系统的过程。通过下载指定版本的Linux内核源码,配置内核参数,安装必要的库文件及构建shell环境等步骤,最终制作成ISO镜像并安装使用。适合对Linux底层原理感兴趣的读者。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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.youkuaiyun.com/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


参考:

http://www.syslinux.org/wiki/index.php/ISOLINUX


转载于:https://my.oschina.net/stz/blog/726066

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值