In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces Fedora Core 3 how to rebuild and install CD, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
Fedora system after a long time of development, many users are very familiar with Fedora Core 3, here I would like to publish a personal understanding, and discuss with you. Fedora Core 3 comes with all the necessary tools for updating and rebuilding the installation of CD. This requires sufficient disk space-- about 22 GB. Fedora Core 3 is released on CD ISO images with a total of about 4.5 GB.
Clear
The original build leaves some extra files when the ISO image is created. These files can be cleared with the following command:
Find $FCBASE/fc3-name TRANS.TBL-exec rm-f {}\
Find $FCBASE/fc3-name boot.cat-exec rm-f {}\; feedom.net
Construction
Fedora Core 3 you now have an updated version of the installation directory tree, you need to execute the following command:
1. Update the hdlist file with the following command:
Genhdlist-- productpath=Fedora $FCBASE/fc3/i386
2. Next, create the package sequence file: feedom.net
Pkgorder $FCBASE/fc3/i386 i386 Fedora | tee\
$FCBASE/fc3/pkgfile
3, then update the installation file:
Buildinstall-- pkgorder $FCBASE/fc3/pkgfile\
-version 3-product "Fedora Core"\
Release "Fedora Core 3"\
-- prodpath Fedora\
$FCBASE/fc3/i386
Separate installation directory tree
If Fedora Core 3 creates a CD ISO image, you will need to separate the binary RPM and source code RPM into eight CD directory trees:
Rm-fr $FCBASE/fc3/i386-disc [1-9]
Splittree.py-- arch=i386\
-total-discs=8-bin-discs=4-src-discs=4\
Release-string= "Fedora Core 3"\
-- pkgorderfile=$FCBASE/fc3/pkgfile\
-- distdir=$FCBASE/fc3/i386\
-- srcdir=$FCBASE/fc3/i386/SRPMS\
-- productpath=Fedora
Rm-f $FCBASE/fc3/i386-disc1/Fedora/base/hdlist
Genhdlist-productpath=Fedora-withnumbers\
-- fileorder $FCBASE/fc3/pkgfile\
$FCBASE/fc3/i386-disc [1234]
The branch directory tree is created at $FCBASE/fc3 and named i386-disc [1-8].
Note: the Fedora Core 3 parameter "--distdir=$FCBASE/fc3/i386" deliberately does not end with "/". If it ends with "/", the branch directory tree will be named-disc [12345678] and placed as a subdirectory in $FCBASE/fc3/i386/ instead of i386-disc [1-8] in the $FCBASE/fc3 subdirectory.
The splittree.py program currently does not support separating the installation directory tree into the DVD capacity directory tree. However, this can be done by hand. This choice will modify the directory tree of the two new DVD capacities that you have just created or are about to create. To achieve this, two directory trees will be created as follows:
Mkdir-p $FCBASE/fc3/i386-dvd1
Mkdir-p $FCBASE/fc3/i386-dvd2
Cp-a $FCBASE/fc3/i386/* $FCBASE/fc3/i386-dvd1/
Cp-p $FCBASE/fc3/i386/.discinfo $FCBASE/fc3/i386-dvd1/
Cp-p $FCBASE/fc3/i386/* $FCBASE/fc3/i386-dvd2/
Mv $FCBASE/i386-dvd1/SRPMS $FCBASE/fc3/i386-dvd2/
Another way to create a DVD image (thanks to Andrew Mann) is simply explained in the anaconda-devel-list message. This indicates that the DVD image needs to be manipulated with splittree.py:
Cp / usr/lib/anaconda-runtime/splittree.py\
. / splittree-dvd.py
Self.target_size = 640.0 * 1024.0 * 1024 modified to
Self.target_size = 4.4 * 1024.0 * 1024.0 * 1024 54com.cn
You can also change all "- disc" to "- dvd" so that both CD and DVD branch trees can coexist.
Rm-fr $FCBASE/fc3/i386-dvd [1-9]
. / splittree.py-- arch=i386\
-total-dvds=2-bin-dvds=1-src-dvds=1\
Release-string= "Fedora Core 3"\
-- pkgorderfile=$FCBASE/fc3/pkgfile\
-- distdir=$FCBASE/fc3/i386\
-- srcdir=$FCBASE/fc3/i386/SRPMS\
-- productpath=Fedora
Thank you for reading this article carefully. I hope the article "how to rebuild and install CD in Fedora Core 3" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you 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: 251
*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.