最近在折腾ipxe安装系统,iso里面获取系统的版本选择手动有点麻烦, 找了下wimlib实现dism的一些功能,
记录一下wimtools源码安装记录.
官方网站https://wimlib.net/
安装前提需要准备好编译环境以及ntfs-3g-devel(自己想办法)
yum install fuse-devel git -y
git clone git://wimlib.net/wimlib
cd wimlib
./bootstrap
./configure
安装好后在目录/usr/local/bin/下可以看到命令全部.
# ls /usr/local/bin/wim*
/usr/local/bin/wimappend /usr/local/bin/wimextract /usr/local/bin/wimoptimize
/usr/local/bin/wimapply /usr/local/bin/wiminfo /usr/local/bin/wimsplit
/usr/local/bin/wimcapture /usr/local/bin/wimjoin /usr/local/bin/wimunmount
/usr/local/bin/wimdelete /usr/local/bin/wimlib-imagex /usr/local/bin/wimupdate
/usr/local/bin/wimdir /usr/local/bin/wimmount /usr/local/bin/wimverify
/usr/local/bin/wimexport /usr/local/bin/wimmountrw