PLDWWW: Packages/Anaconda

glen glen at pld-linux.org
Tue Jun 6 23:06:29 CEST 2006


Author: glen   Date: Tue Jun  6 21:06:29 2006 GMT
Module: PLDWWW   URL: http://www.pld-linux.org/Packages/Anaconda
---- Log message:


---- Page affected: Packages/Anaconda

---- Diffs:

================================================================
New page:
= Anaconda installer =

== 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
anaconda
kernel-grsecurity
grub
bash
less
pciutils
usbutils
udev
openssh-clients
openssh-server
eject
vim
sed
dhcpcd
qtparted
linux-live
wireless-tools
iputils-ping
traceroute
wget
}}}
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 ==
download linux-live.tar.gz from http://www.linux-live.org/. you'll need kernel which has ext2 compiled in as default PLD Linux Distribution kernel doesn't provide that, you can download precompiled kernel also 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.
== 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/
}}}
== 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.


More information about the pld-cvs-commit mailing list