In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
The main content of this article is to explain the steps of rhel6 making CD-ROM automatic installation image under kickstart. Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn the steps for rhel6 to make an automatic installation image of a CD under kickstart.
1. Mount the CD and copy the CD contents locally
Mkdir / opt/rhel6
Mount-oloop rhel6.iso / mnt
Cp-arfv / mnt/. / opt/rhel6-pay attention to this place when cp / mnt/. The latter point, if it is / mnt/*, will not copy the hidden file.
two。 Modify the isolinux.cfg file
Vi / opt/rhel6/isolinux/isolinux.cfg
Add
Append ks=cdrom:/isolinux/myks.cfg initrd=initrd.img-myks.cfg generated files for kickstart or self-written files or customized ks files from installed linux / root/anaconda-ks.cfg modifications
3. Create repo
Cd / opt/rhel6
Declare-x discinfo= `head-1. Discinfo`-Note that the symbol ``is the one under the tilde, not the single quotation mark, unfamiliar with this part but understood as reading the first line of the .discinfo file is the disk ID.
Rm-rf / opt/rhel6/repodata/*.bz2
Rm-rf / opt/rhel6/repodata/*.gz
Rm-rf / opt/rhel6/repodata/repomd.xml
Createrepo-u "media://$discinfo"-g repodata/*-comps-Server.x86_64.xml / opt/rhel6/
4. Generate iso file
Mkisofs-R-J-T-r-l-d-joliet-long-allow-multidot-allow-leading-dots-no-bak-o / opt/myrhel6.iso-b isolinux/isolinux.bin-c isolinux/boot.cat-no-emul-boot-boot-load-size 4-boot-info-table / opt/rhel6
At this point, I believe you have a deeper understanding of "rhel6's steps to make an automatic installation image of a CD under kickstart". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.