A página com informações sobre o uso do draklive está aqui
http://wiki.mandriva.com/en/Development/Packaging/Tools/draklivemas eu nunca testei. Quem tentar usar e conseguir por favor avise e relate o que fez aqui.
O próprio programa fornece um help digitando
# draklive --help
Usage:
draklive [options]
Options:
--help long help message
--install install selected distribution in chroot
--boot prepare initrd and bootloader files
--loop build compressed loopback files
--master build master image
--all run all steps, from installation to mastering
--clean clean installation chroot and work directory
--device <dev> use this device for live recording (not needed
if the device already has the required label)
--format format selected device
--record record live on selected media
--record-onthefly record live by creating master from loopback files
on the fly
--initrd build initrd only
--post-install run post install only (rpms and patches installation)
--config-root <dir>
root directory containing config files and additionnal files
defaults to current directory if it contains a configuration file
else, "/etc/draklive" is used
--config <file> use this configuration file as live description
defaults to "config/live.cfg"
--settings <file> use this file as live settings (key=value format)
defaults to "config/settings.cfg"
--define key=value
set setting "key" to "value"
takes precedence over values from a settings file
--all-regions proceed with all configured regions
--copy-wizard run the copy wizard
--boot-only copy only boot files
(affects master/record steps)
--boot-image <method>
create a boot image for the selected method
(affects master/record steps, implies --boot-only)
Examples:
draklive --clean
draklive --all
draklive --record --device /dev/sdb1
draklive --config config/live.cfg --install
Options:
--config
Makes draklive use the next argument as a configuration file.
This file should contain an hash describing the live
distribution, meaning the system (chroot and boot), media (usb,
cdrom, nfs), and mount type (simple R/W union, union with squash
files).
Here's a configuration sample:
{
settings {
repository => '/mnt/ken/2006.0',
root => '/chroot/live-move',
},
system => {
kernel => '2.6.12-12mdk-i586-up-1GB',
auto_install => 'config/auto_inst.cfg.pl',
patch_install => 'config/patch-2006-live.pl',
rpmsrate => 'config/rpmsrate',
rpms => [
'rpms/unionfs-kernel-2.6.12-12mdk-i586-up-1GB-1.1.1.1.20051124.1mdk-1mdk.i586.rpm'
],
patches => [
'patches/halt.loopfs.patch',
],
vga_mode => 788,
},
media => {
storage => 'cdrom',
},
mount => $predefined{mounts}{squash_union}
};
--settings
Makes draklive load the next argument as a file in key=value
format into the $live->{settings} hash ($live being the global
live configuration hash).
Built-in keys: arch: build architecture builddir: directory
hosting build files (initrd, loopbacks, images) chroot:
directory hosting chrooted installations region: use the
matching set of langs from the regions configuration hash
repository: path to the Mandriva distribution repository
(ftp/http/local)
Example keys: desktop media product