User Tools

Site Tools


packages:anaconda

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
packages:anaconda [2007-12-15 23:32]
patrys
packages:anaconda [2016-01-16 09:34] (current)
glen
Line 3: Line 3:
 ====== Anaconda PLD Linux notes ====== ====== Anaconda PLD Linux notes ======
  
-  * [[http://​cvs.pld-linux.org/​cgi-bin/​cvsweb.cgi/​SPECS/​anaconda.spec|SPECS/​anaconda.spec]]  +  * [[package>anaconda]]  
-  * [[http://​glen.alkohol.ee/​pld/​anaconda/​|screenshots of progress]] ​+  * [[http://​glen.alkohol.ee/​pld/​anaconda/​|screenshots of progress ​(2006)]] 
  
  
Line 11: Line 11:
  
 ===== Creating livecd ===== ===== Creating livecd =====
-Start by creating the Live CD root. Necessary steps are described at [[:​Packages:​LinuxLive|Linux Live]]. ​+Start by creating the Live CD root. Necessary steps are described at [[linux-live|Linux Live]]. ​
  
 Next install the ''​anaconda''​ package into the new root:  Next install the ''​anaconda''​ package into the new root: 
Line 19: Line 19:
 <​file>#​ poldek -r /​path/​to/​root -U anaconda <​file>#​ poldek -r /​path/​to/​root -U anaconda
 </​file>​ </​file>​
 +You will need to load all the necessary file system modules, so put the following into ''/​path/​to/​root/​etc/​modules'': ​
 +
 +
 +
 +<​file>​dm-mod
 +ext2
 +ext3
 +jfs
 +reiser4
 +reiserfs
 +xfs
 +</​file>​
 +Also make sure the ''​kbd''​ package is installed and configured to start consoles in UTF-8 locale. ​
 +
 Then proceed with the rest of the steps and create an ISO image. ​ Then proceed with the rest of the steps and create an ISO image. ​
  
Line 24: Line 38:
  
 ===== Creating repodata ===== ===== Creating repodata =====
 +To get an idea of how installation works, see the following graph: ​
 +
 +{{inside-anaconda.png|}} ​
 +
 As the installer will depend on repodata, you'll need to create repodata in your PLD Linux Distribution mirror. ​ As the installer will depend on repodata, you'll need to create repodata in your PLD Linux Distribution mirror. ​
  
Line 32: Line 50:
 createrepo -g comps.xml -c /tmp/cache1 -v PLD/RPMS/ createrepo -g comps.xml -c /tmp/cache1 -v PLD/RPMS/
 </​file>​ </​file>​
-NOTE: Currently PLD Linux AC and TH already have repodata on ftp. +th/ac ftp admin could generate repodata with 
 + 
 +<​file>​$ gen-indexes ready 
 +</​file>​ 
 +the comps.xml that is used for generation is at:  
 + 
 +<​file>​$ l ~/​ftp/​.stat/​repodata/​comps.xml 
 +-rw-r--r-- 1 pldth pldth 114K 2008-01-06 19:09 /​home/​pld/​admins/​th/​ftp/​.stat/​repodata/​comps.xml 
 +</​file>​ 
 +and in CVS: [[http://​cvs.pld-linux.org/​cgi-bin/​cvsweb.cgi/​pld-ftp-admin/​repodata/​|http://​cvs.pld-linux.org/​cgi-bin/​cvsweb.cgi/​pld-ftp-admin/​repodata/​]]  
 + 
 +**NOTE** ​Currently PLD Linux AC and TH already have repodata on ftp. 
  
  
Line 41: Line 70:
  
  
-<​file>​# cat /root/anaconda-install +<​file>​anaconda -T -m http://ftp.pld-linux.org/​dists/​th/​ 
-export LC_ALL=en_US.utf-8 +</​file>​ 
-mirror=http://your-mirror/pld +Please note that http installation is preferred to ftp due to the way yum (current backend) works. It fetches package headers using partial download and ftp does not offer that feature.  
-arch=`arch` + 
-url=$mirror/dists/ac/PLD/$arch+This will anaconda ​install ​from the selected url.  
-anaconda --method=$url+ 
 + 
 + 
 +===== Testing changes ===== 
 +In order to test your changes without building a whole new CD, you can test Anaconda on your local systemTo do so, go to the folder where your local build is and type:  
 + 
 + 
 + 
 +<​file>​sudo ./anaconda --test -T -m http://ftp.pld-linux.org/​dists/​th
 +</​file>​ 
 +You can also test the graphic mode using:  
 + 
 + 
 + 
 +<​file>​sudo ./anaconda --test -G -m http://ftp.pld-linux.org/dists/th/ 
 +</​file>​ 
 + 
 + 
 +===== Installing a chroot ===== 
 +To install into a chroot, pass the ''​-r''​ command line switch:  
 + 
 + 
 + 
 +<​file>​anaconda --m http://​ftp.pld-linux.org/​dists/​th/​ -r /​path/​to/​chroot
 </​file>​ </​file>​
-This will just autodetect your archidecture ​and invoke anaconda install from url+This will skip the partitioning steps and proceed with software selection and package installation
  
  
packages/anaconda.1197757960.txt.gz · Last modified: 2007-12-15 23:32 by patrys