packages:anaconda
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packages:anaconda [2007-12-14 16:17] – patrys | packages:anaconda [2016-01-16 09:34] (current) – glen | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== Anaconda PLD Linux notes ====== | ====== Anaconda PLD Linux notes ====== | ||
- | * [[http:// | + | * [[package>anaconda]] |
- | * [[http:// | + | * [[http:// |
Line 10: | Line 10: | ||
- | ===== links ===== | + | ===== Creating livecd |
- | * [[http:// | + | Start by creating the Live CD root. Necessary steps are described at [[linux-live|Linux Live]]. |
+ | Next install the '' | ||
- | ===== creating livecd ===== | ||
- | I used [[http:// | ||
- | The packages choice may vary for you, but here's my packages choice: | + | < |
+ | </ | ||
+ | You will need to load all the necessary file system modules, so put the following into ''/ | ||
- | < | + | < |
- | FHS | + | ext2 |
- | anaconda | + | ext3 |
- | basesystem | + | jfs |
- | bash | + | reiser4 |
- | blockdev | + | reiserfs |
- | dhcpcd | + | xfs |
- | eject | + | |
- | fsck | + | |
- | grub | + | |
- | iproute2 | + | |
- | iputils-ping | + | |
- | kernel | + | |
- | less | + | |
- | linux-live | + | |
- | lvm2 | + | |
- | mingetty | + | |
- | mount | + | |
- | openssh-clients | + | |
- | openssh-server | + | |
- | pciutils | + | |
- | sed | + | |
- | traceroute | + | |
- | udev | + | |
- | usbutils | + | |
- | vim | + | |
- | wget | + | |
- | wireless-tools | + | |
</ | </ | ||
- | to install | + | Also make sure the '' |
+ | Then proceed with the rest of the steps and create an ISO image. | ||
- | < | + | |
+ | ===== 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. | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | umask 2 | ||
+ | createrepo | ||
</ | </ | ||
- | to upgrade packages any time just issue: | + | th/ac ftp admin could generate repodata with: |
+ | < | ||
+ | </ | ||
+ | the comps.xml that is used for generation is at: | ||
+ | < | ||
+ | -rw-r--r-- 1 pldth pldth 114K 2008-01-06 19:09 / | ||
+ | </ | ||
+ | and in CVS: [[http:// | ||
- | < | + | **NOTE** Currently PLD Linux AC and TH already have repodata on ftp. |
+ | |||
+ | |||
+ | |||
+ | ===== Invoking anaconda ===== | ||
+ | After you've successfully booted from livecd and logged into root shell, invoke anaconda: | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
</ | </ | ||
+ | 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. | ||
+ | This will anaconda install from the selected url. | ||
- | ===== making iso ===== | ||
- | download linux-live.tar.gz from [[http:// | ||
- | to use the linux-live kernel, pay attention that you need only / | ||
- | ===== creating repodata | + | ===== Testing changes |
- | as the installer will depend on repodata, you'll need to create repodata in your PLD Linux Distribution mirror. | + | In order to test your changes without building a whole new CD, you can test Anaconda on your local system. To do so, go to the folder where your local build is and type: |
- | < | + | < |
- | umask 2 | + | |
- | createrepo | + | |
</ | </ | ||
- | NOTE: Currently PLD Linux AC and TH already have repodata on ftp. | + | You can also test the graphic mode using: |
- | ===== invoking | + | < |
- | after you've successfully booted from livecd and logged into root shell, invoke anaconda: | + | </ |
+ | ===== Installing a chroot ===== | ||
+ | To install into a chroot, pass the '' | ||
- | < | + | |
- | export LC_ALL=en_US.utf-8 | + | |
- | mirror=http://your-mirror/ | + | < |
- | arch=`arch` | + | </ |
- | url=$mirror/dists/ac/PLD/$arch/ | + | This will skip the partitioning steps and proceed with software selection and package installation. |
- | anaconda --method=$url</ | + | |
- | this will just autodetect your archidecture | + | |
packages/anaconda.1197645427.txt.gz · Last modified: 2007-12-14 16:17 by patrys