iso buildDownload Centos Server iso mount the iso file like this: mount CentOS-4.4.ServerCD-i386.iso ./CentOS-4.4 -t iso9660 -o ro,loop Then copy the iso to a new directory: cp -r CentOS-4.4 EVB-0.003-i386 cd EVB-0.003-i386 copy your kickstart file: cp your/kickstart/file ks.cfg copy the EVB build into the CD directory: cp pathtofile/EVB-0.003.tgz EVB-0.003.tgz edit isolinux/isolinux.cfg so that it looks like this: default EVB label EVB kernel vmlinuz append ks=cdrom:/ks.cfg initrd=initrd.img write the iso file (all one line): mkisofs -o /var/www/html/files/linux/EVB-0.003-i386.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T /var/www/html/files/linux/EVB-0.003-i386 When making custom-made CD etc.,which is necessary to investigate the dependency of the RPM files. It can investigate easily as follows: Premise:The directory with RPM files are /tmp/i386/RedHat/RPMS ?$cd /tmp/i386/RedHat/RPMS Make the directory for test ?$mkdir -p /tmp/testdb Initialize the RPMDB ?$rpm --initdb --dbpath /tmp/testdb Dependency check ?$rpm --test --dbpath /tmp/testdb -Uvh *.rpm Created by: admin last modification: Sunday 25 of November, 2007 [13:27:05 UTC] by admin |
Login
Search |