PLDWWW: Packages/Anaconda
patrys
patrys at pld-linux.org
Sat Dec 15 23:29:28 CET 2007
Author: patrys Date: Sat Dec 15 22:29:28 2007 GMT
Module: PLDWWW URL: http://pld-linux.org/Packages/Anaconda?action=diff&rev2=18&rev1=17
---- Log message:
---- Page affected: Packages/Anaconda
---- Diffs:
================================================================
= Anaconda installer =
- == links ==
+ == Creating livecd ==
- * http://lal.bizhat.com/docs/anaconda.html
+ Start by creating the Live CD root. Necessary steps are described at [../LinuxLive LinuxLive].
+ Next install the {{{anaconda}}} package into the new root:
- == 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
+ # poldek -r /path/to/root -U anaconda
}}}
- == making iso ==
+ Then proceed with the rest of the steps and create an ISO image.
- 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.
+ == Creating repodata ==
- 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.
+ As the installer will depend on repodata, you'll need to create repodata in your PLD Linux Distribution mirror.
{{{
cd dists/ac/PLD/i686
@@ -90, +33 @@
NOTE: Currently PLD Linux AC and TH already have repodata on ftp.
- == invoking anaconda ==
+ == Invoking anaconda ==
+
- after you've successfully booted from livecd and logged into root shell, invoke anaconda:
+ After you've successfully booted from livecd and logged into root shell, invoke anaconda:
{{{
# cat /root/anaconda-install
@@ -99, +43 @@
mirror=http://your-mirror/pld
arch=`arch`
url=$mirror/dists/ac/PLD/$arch/
- anaconda --method=$url}}}
+ anaconda --method=$url
- this will just autodetect your archidecture and invoke anaconda install from url.
+ }}}
+ This will just autodetect your archidecture and invoke anaconda install from url.
+
More information about the pld-cvs-commit
mailing list