This is an old revision of the document!
Table of Contents
Anaconda PLD Linux notes
Anaconda installer
links
creating livecd
I used http://www.linux-live.org/ and http://poldek.pld-linux.org/ to create the livecd.
The packages choice may vary for you, but here's my packages choice:
# cat base.lst FHS anaconda basesystem bash blockdev dhcpcd eject fix-info-dir fsck grub iproute2 iputils-ping less linux-live linux-live-kernel lvm2 mingetty mount openssh-clients openssh-server pciutils sed terminfo traceroute udev usbutils vim wget wireless-tools
to install the root issue:
# poldek --pset=base.lst --uniq --install-dist=/path/to/root
to upgrade packages any time just issue:
# poldek -r /path/to/root -u anypackage
making iso
Install linux-live-build. You'll need kernel which has ext2 compiled in as default PLD Linux Distribution kernel doesn't provide that, you can download precompiled kernel from linux-live site. You should set password for root, or alter /etc/inittab to execute shell instanly after boot or you'll not be able to login.
To use the linux-live kernel, pay attention that you need only /boot/vmlinuz-$VERSION /lib/modules/$VERSION. just copy those to your installroot.
To build your CD use:
# ROOT=/path/to/your/root /usr/lib/linux-live/build
Then to create ISO, cd to the /tmp/live_data_* directory created by the above command. Then cd to your live name and run:
# sh make_iso.sh
creating repodata
as the installer will depend on repodata, you'll need to create repodata in your PLD Linux Distribution mirror.
cd dists/ac/PLD/i686 umask 2 createrepo -g comps.xml -c /tmp/cache1 -v PLD/RPMS/
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:
# cat /root/anaconda-install export LC_ALL=en_US.utf-8 mirror=http://your-mirror/pld arch=`arch` url=$mirror/dists/ac/PLD/$arch/ anaconda --method=$url
this will just autodetect your archidecture and invoke anaconda install from url.