error while installing respinned/customized centos

爱⌒轻易说出口 提交于 2019-12-01 08:35:50

问题


i am following this link with an aim to create custom CentOS ISO with some extra packages downloaded from internet (say ABCD.rpm). https://wikis.uit.tufts.edu/confluence/display/TUSKpub/Build+Custom+RHEL+or+CentOS+Respin+DVD i customized the ISO by "only copying" ABCD.rpm package in /Packages directory

now when i boot from ISO via kickstart, i get following error

any idea where i am going wrong ?


回答1:


I was running into the same issue. It is working fine after using the following command to create ISO.

mkisofs -r -N -L -d -J -T -joliet-long -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -V RHEL6.5 -boot-load-size 4 -boot-info-table -o RHEL6.5-20131111.0-Server-x86_64-DVD1_new3.iso RHEL6.5-20131111.0-Server-x86_64-DVD1_new



回答2:


You have to re-create the comps.xml for any new added package.

cd <your_working_path>/isolinux
createrepo -u "media://`head -1 .discinfo`" -g <your_working_path>/comps.xml .



回答3:


You have to add '-joliet-long' option to mkisofs. These file name under the /repodata is too long.



来源:https://stackoverflow.com/questions/23236910/error-while-installing-respinned-customized-centos

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!