livecd-creater是lived-tools中的一个工具,但是在CentOS7的官方yum源中却已经被取消掉了,因此我们需要自行下载rpm包来安装。可在该网站寻找适合的rpm包,这里我们选择的rpm下载路径是:ftp://195.220.108.108/linux/centos/7.2.1511/extras/x86_64/Packages/livecd-tools-21.4-2.el7.x86_64.rpm 安装时可能会提示缺少一些依赖包:
[root@localhost ~]# rpm -ivh livecd-tools-21.4-2.el7.x86_64.rpm
error: Failed dependencies:
dumpet is needed by livecd-tools-1:21.4-2.el7.x86_64
hfsplus-tools is needed by livecd-tools-1:21.4-2.el7.x86_64
lorax >= 18.3 is needed by livecd-tools-1:21.4-2.el7.x86_64
python-imgcreate = 1:21.4-2.el7 is needed by livecd-tools-1:21.4-2.el7.x86_64
先安装依赖包,再安装livecd-tools
[root@localhost ~]# yum -y install dumpet hfsplus-tools lorax python-imgcreate
……安装成功……
[root@localhost ~]# rpm -ivh livecd-tools-21.4-2.el7.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:livecd-tools-1:21.4-2.el7 ################################# [100%]
一切搞定。