User Tools

Site Tools


packages:linux-live

This is an old revision of the document!


Creating a PLD Live CD

Creating the CD root

First, start by creating a directory for the CD. Issue the following command adjusting the path to suit your needs:

mkdir -p /path/to/root

Next select the packages to install. The following list should be a nice start:

# cat base.lst
FHS
basesystem
bash
blockdev
dhcpcd
eject
fix-info-dir
fsck
grub
iproute2
iputils-ping
kernel
kernel-fs-aufs
less
linux-live
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/install/remove packages at any time just use the -r parameter:

# poldek -r /path/to/root -u anypackage

Preparing the ISO image

Start by installing the linux-live package (linux-live-build package in PLD Linux) on your host system.

Remember to set password for root or alter /etc/inittab to execute shell instantly after boot or you'll not be able to login. To set the password, just mount /dev and chroot to the installation root:

# mount /dev /path/to/root/dev -o bind
# chroot /path/to/root

Now you can put any necessary changes in place.

To build your CD use:

# export ROOT=/path/to/root
# export ISO_IMAGE=/path/to/result.iso
# linux-live-build
packages/linux-live.1219186821.txt.gz · Last modified: 2008-08-20 01:00 by patrys