Mandrake's installation tool DrakX stores a lot of information in the directory /root/drakx
:
/root/drakx/stage1.log
Displays the system information gathered during the first CD boot
/root/drakx/install.log
Shows the installed packages and relative warnings.
/root/drakx/auto_inst.cfg.pl
Is a perl script summarizing the installation settings that can be used to repeat unattended installations with the same parameters, a ready to dump floppy image to replay the same installation is also created: replay_install.img
/root/drakx/ddebug.log
Is a verbose debug of the full installation choices using DrakX.
[root@vagante drakx]# ls -l /root/drakx/
total 2024
-rw-r--r-- 1 root root 11975 Apr 22 21:51 auto_inst.cfg.pl
-rw-r--r-- 1 root root 441097 Apr 22 21:51 ddebug.log
-rw-r--r-- 1 root root 42381 Apr 22 21:50 install.log
-rw-r--r-- 1 root root 245 Apr 22 21:51 README
-rw-r--r-- 1 root root 1474560 Apr 22 21:51 replay_install.img
-rw-r--r-- 1 root root 88375 Apr 22 21:51 report.bug.gz
-rw-r--r-- 1 root root 2212 Apr 22 21:51 stage1.log
[root@vagante al]# cat /root/drakx/stage1.log
* welcome to the Mandrake Linux install (mdk-stage1, version 10.0 built Mar 29 2004 10:17:15)
* opening /proc/cmdline...
* initrd=alt0/all.rdz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788 automatic=method:cdrom BOOT_IMAGE=alt0
* AUTOMATIC MODE: got 1 params
* got 7 args
* spawning a shell
* cannot open shell - /tmp/sh doesn't exist
* loading modules dependencies
* PCMCIA: probing PCI bus..
* ENE Technology CB1411 found, 2 sockets (driver yenta_socket).
* have to insmod pcmcia_core
* needs pcmcia_core
* succeeded pcmcia_core
* have to insmod yenta_socket
* needs yenta_socket
* succeeded yenta_socket
* have to insmod ds
* needs ds
* succeeded ds
* CM: cardmgr/hacked starting, version is 3.1.29
* CM: watching 1 sockets
* CM: warning, Card Services release does not match kernel (generally harmless)
* cardmgr rc: 0
* PCI: device 8086 24d2 ffff ffff is "", driver is usb-uhci
* have to insmod uhci-hcd
* needs usbcore
* needs uhci-hcd
* succeeded uhci-hcd
* PCI: device 8086 24d4 ffff ffff is "", driver is usb-uhci
* PCI: device 8086 24d7 ffff ffff is "", driver is usb-uhci
* PCI: device 8086 24dd ffff ffff is "", driver is ehci-hcd
* have to insmod ehci-hcd
* needs ehci-hcd
* succeeded ehci-hcd
* PCI: device 104c 8026 ffff ffff is "", driver is ohci1394
* have to insmod ohci1394
* needs ieee1394
* needs ohci1394
* succeeded ohci1394
* have to insmod usbkbd
* needs usbkbd
* succeeded usbkbd
* have to insmod keybdev
* needs keybdev
* file-not-found-in-archive keybdev.ko (maybe you can try another boot floppy such as 'hdcdrom_usb.img')
* warning, insmod failed (keybdev (null)) (2)
* AUTOMATIC: parameter cdrom for method means returning CDROM drive
* have to insmod ide-cd
* needs cdrom
* needs ide-cd
* succeeded ide-cd
* looking for ide media
* IDE/1: hda is a TOSHIBA MK6021GAS
* IDE/0: hdc is a HL-DT-STCD-RW/DVD DRIVE GCC-4241N
* mounting /dev/hdc on /tmp/image as type iso9660
* have to insmod isofs
* needs isofs
* succeeded isofs
* found a Mandrake Linux CDROM, good news!
* Total Memory: 512 Mbytes
* trying to load /tmp/image/Mandrake/base/mdkinst_stage2.bz2 as a ramdisk
* mounting /dev/ram3 on /tmp/stage2 as type ext2
* stage1: disconnecting life support systems
[root@vagante drakx]# cat/root/drakx/install.log
ldconfig-2.3.3-10mdk.i586.rpm
sash-3.6-5mdk.i586.rpm
pwdb-conf-0.61.2-3mdk.i586.rpm
libtermcap2-2.0.8-35mdk.i586.rpm
bash-2.05b-16mdk.i586.rpm
glibc-2.3.3-10mdk.i586.rpm
/var/tmp/rpm-tmp.60640: line 24: rm: command not found
%post(glibc-2.3.3-10mdk) scriptlet failed, exit status 127
chkconfig-1.3.8-5mdk.i586.rpm
[...]
MySQL-client-4.0.18-1mdk.i586.rpm
apache2-manual-2.0.48-6mdk.i586.rpm
apache2-mod_ssl-2.0.48-6mdk.i586.rpm
43 semi-random bytes loaded
Generating RSA private key, 1024 bit long modulus
..++++++
..........................................................++++++
e is 65537 (0x10001)
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
1. Country Name (2 letter code) []:2. State or Province Name (full name) []:3. Locality Name (eg, city) []:4. Organization Name (eg, company) [WWW.ADVX.ORG TEMPORARY CERTIFICATE localhost.i1WNod]:5. Organizational Unit Name (eg, section) [For Testing Purposes Only]:6. Common Name (eg, CA name) [localhost.i1WNod]:7. Email Address (eg, name@FQDN) []:Signature ok
subject=/O=WWW.ADVX.ORG TEMPORARY CERTIFICATE localhost.i1WNod/OU=For Testing Purposes Only/CN=localhost.i1WNod
Getting Private key
writing RSA key
43 semi-random bytes loaded
Generating RSA private key, 1024 bit long modulus
....++++++
............................................++++++
e is 65537 (0x10001)
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
1. Country Name (2 letter code) []:2. State or Province Name (full name) []:3. Locality Name (eg, city) []:4. Organization Name (eg, company) [localhost.i1WNod]:5. Organizational Unit Name (eg, section) [localhost.i1WNod]:6. Common Name (eg, DOMAIN NAME) [localhost.i1WNod]:7. Email Address (eg, name@fqdn) []:Signature ok
subject=/O=localhost.i1WNod/OU=localhost.i1WNod/CN=localhost.i1WNod
Getting CA Private Key
writing RSA key
apache2-mod_suexec-2.0.48-1mdk.i586.rpm
audacity-1.2.0-1mdk.i586.rpm
bash-completion-20040101-2mdk.noarch.rpm
bison-1.875-4mdk.i586.rpm
crack-attack-music-1-2mdk.noarch.rpm
crack-attack-sounds-1-2mdk.noarch.rpm
dia-0.92.2-2mdk.i586.rpm
dump-0.4b34-2mdk.i586.rpm
efax-0.9a-2mdk.i586.rpm
grub-doc-0.93-5mdk.i586.rpm
[...]
XFree86-server-4.3-30mdk.i586.rpm
NVIDIA_kernel-smp-2.6.3.7mdk-5336-6mdk.i586.rpm
NVIDIA_kernel-2.6.3.7mdk-5336-6mdk.i586.rpm
NVIDIA_GLX-5336-6mdk.i586.rpm
[root@vagante drakx]# cat /root/drakx/auto_inst.cfg.pl
#!/usr/bin/perl -cw
#
# You should check the syntax of this file before using it in an auto-install.
# You can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file
# (note the '#!/usr/bin/perl -cw' on the first line).
$o = {
'printer' => {
'BROWSEPOLLADDR' => undef,
'configured' => {},
'MANUALCUPSCONFIG' => undef,
'BROWSEPOLLPORT' => undef,
'DEFAULT' => undef,
'SPOOLER' => undef
},
'libsafe' => 0,
'security_user' => '',
'netc' => {
'NETWORKING' => 'yes',
'DHCP' => 'yes',
'NET_DEVICE' => 'eth0'
},
'default_packages' => [
'locales',
'locales-en',
'msec',
'perl',
'kernel-smp-2.6.3.7mdk',
'vim-enhanced',
'grub',
'eject',
'gnupg',
'hotplug',
'urw-fonts',
'wget',
'netprofile',
'urpmi',
'mpage',
'bootsplash',
'foomatic-filters',
'foomatic-db-engine',
'ghostscript',
'mandrake_desk',
'XFree86',
'gurpmi',
'lynx',
'sane-backends',
'binutils',
'galaxy-kde-kwin',
'kdemultimedia-kmix',
'mandrake-mime',
'python',
'kdebase-progs',
'mdkkdm',
'kdebase-servicemenu',
'perl-libwww-perl',
'printer-testpages',
'psutils',
'libtool',
'mtools',
'procmail',
'libstdc++5-devel',
'ImageMagick',
'apache2',
'gcc',
'groff',
'mailx',
'openssh-clients',
'qiv',
'rsync',
'OpenOffice.org',
'XFree86-server',
'a2ps',
'drakfirsttime',
'ghostscript-module-X',
'gimp',
'hylafax-client',
'iptables',
'lesstif',
'm4',
'menudrake',
'mkisofs',
'ppdfilt',
'printer-filters',
'userdrake',
'libsane-hpoj1',
'libsnmp0',
'OpenIPMI',
'XFree86-75dpi-fonts',
'alsa-utils',
'apache2-mod_php',
'at',
'autoconf',
'cdrecord',
'coreutils-doc',
'crack-attack',
'cvs',
'devfsd',
'dhcp-client',
'dmidecode',
'drakconf',
'draksync',
'enscript',
'foomatic-db',
'ftp-client-krb5',
'galaxy-gnome',
'gimpprint',
'gpr',
'harddrake',
'hdparm',
'hexedit',
'kdegraphics-kghostview',
'kdegraphics-kooka',
'kdemultimedia-common',
'kdeutils-kdepasswd',
'kdeutils-kfloppy',
'ldetect',
'lshw',
'magicdev',
'mdkonline',
'mkxauth',
'myspell-hyph-it',
'ndiswrapper',
'nfs-utils-clients',
'nmap',
'openssh-server',
'pcmcia-cs',
'postgresql',
'printer-utils',
'reiserfsprogs',
'rfbdrake',
'rpmdrake',
'rxvt',
'samba-client',
'samba-server',
'sane-frontends',
'scli',
'slocate',
'strace',
'sudo',
'telnet-client-krb5',
'tmpwatch',
'usbview',
'words',
'xchat',
'xmms',
'xojpanel',
'xpp',
'zip',
'libqt3-devel',
'libarts1-devel',
'libkdecore4-devel',
'aspell-en',
'fonts-ttf-vera',
'myspell-en_AU',
'myspell-en_CA',
'myspell-en_GB',
'myspell-en_US',
'myspell-hyph-en',
'myspell-it_IT',
'OpenOffice.org-l10n-en',
'kdebase-kdm',
'kdebase-kate',
'kdebase-kdeprintfax',
'kdebase-konsole',
'man',
'mozilla',
'libkdepim2-common-devel',
'libncurses5-devel',
'gnucash',
'gphoto2',
'automake',
'bind-utils',
'gcc-c++',
'icewm-light',
'patch',
'libkdemultimedia1-common-devel',
'libkdemultimedia1-noatun-devel',
'apache2-mod_perl',
'dvd+rw-tools',
'gqview',
'ispell-en',
'k3b',
'kdegames',
'kdegraphics-common',
'kdepim-kaddressbook',
'kdepim-knotes',
'kdepim-korganizer',
'proftpd',
'rpm-build',
'sharutils',
'tkinter',
'libkdebase4-kate-devel',
'libkdebase4-nsplugins-devel',
'libkdeedu1-devel',
'libkdegames1-devel',
'libkdegraphics0-common-devel',
'libkdegraphics0-kooka-devel',
'libkdegraphics0-kpovmodeler-devel',
'libkdegraphics0-ksvg-devel',
'libkdegraphics0-kview-devel',
'libkdemultimedia1-kscd-devel',
'libkdenetwork2-kopete-devel',
'libkdepim2-kaddressbook-devel',
'libkdepim2-kmail-devel',
'libkdepim2-knode-devel',
'libkdepim2-kontact-devel',
'libkdepim2-korganizer-devel',
'libkdepim2-kpilot-devel',
'libkdesdk1-cervisia-devel',
'libkdesdk1-devel',
'libkdesdk1-kbabel-devel',
'libkdetoys1-devel',
'libkdeutils1-common-devel',
'libkdeutils1-ksim-devel',
'libkdevelop3-devel',
'libkoffice2-devel',
'libquanta0-devel',
'libquanta0-kfilereplace-devel',
'libquanta0-kommander-devel',
'apache2-manual',
'apache2-mod_ssl',
'apache2-mod_suexec',
'audacity',
'bash-completion',
'bison',
'crack-attack-music',
'crack-attack-sounds',
'dia',
'dump',
'efax',
'emacs-X11',
'flex',
'fonts-ttf-decoratives',
'fonts-ttf-west_european',
'frozen-bubble',
'galaxy-kde',
'gdb',
'gettext-devel',
'giftrans',
'gnome-media',
'gnomemeeting',
'gnucash-hbci',
'gnucash-ofx',
'grub-doc',
'gtk-engines',
'info',
'ipvsadm',
'kbear',
'kde-i18n-en_GB',
'kde-i18n-it',
'kdeaddons-konqimagegallery',
'kdeaddons-noatun',
'kdeaddons-searchbar',
'kdeartwork-kde-classic',
'kdebase-nsplugins',
'kdegraphics-kdvi',
'kdegraphics-kfax',
'kdegraphics-kpaint',
'kdegraphics-ksnapshot',
'kdegraphics-kuickshow',
'kdegraphics-kview',
'kdemultimedia-kaudiocreator',
'kdemultimedia-kscd',
'kdenetwork-kdict',
'kdenetwork-kget',
'kdenetwork-knewsticker',
'kdenetwork-kopete',
'kdenetwork-ksirc',
'kdenlive',
'kdepim-karm',
'kdepim-kontact',
'kdesdk',
'kdeutils-ark',
'kdeutils-kcalc',
'kdeutils-kcharselect',
'kdeutils-kdessh',
'kdeutils-kedit',
'kdeutils-khexedit',
'kdeutils-kwalletmanager',
'krozat',
'lbreakout2',
'lftp',
'lilo-doc',
'lisa',
'ltrace',
'man-pages',
'mc',
'metamail',
'mirrordir',
'mountloop',
'mplayer-gui',
'nfs-utils',
'nmap-frontend',
'open',
'perl-Mysql',
'perl-Term-Readline-Gnu',
'perl-devel',
'php-mysql',
'planner',
'postgresql-server',
'proftpd-anonymous',
'qt3-example',
'quanta',
'rcs',
'rdist',
'recode',
'rgrep',
'routed',
'rpm-rebuilder',
'screen',
'smb4k',
'symlinks',
'texinfo',
'tftp',
'totem',
'traceroute',
'tuxracer',
'xine-arts',
'xmms-alsa',
'xmms-arts',
'xmms-esd',
'xmms-mesa',
'LinNeighborhood',
'MySQL',
'bluefish',
'kdeaddons',
'kdeartwork',
'kdenetwork-krfb',
'kdetoys',
'kdevelop',
'kernel-source',
'kimdaba',
'mozilla-mail',
'samba-swat',
'tightvnc-server',
'xmms-mikmod',
'NVIDIA_kernel-2.6.3.7mdk',
'NVIDIA_kernel-smp-2.6.3.7mdk',
'RealPlayer',
'acroread',
'FlashPlayer',
'NVIDIA_GLX',
'acroread-nppdf',
'j2re',
'opera',
'OpenOffice.org-help-en',
'howto-html-en',
'mandrake-doc-en',
'libstdc++6-devel'
],
'useSupermount' => 'magicdev',
'users' => [
{
'icon' => 'ic-nature4',
'pw' => '$1$kecJpMBV$arEqCtEkJds7GlXThHcb//',
'uid' => 501,
'name' => 'al',
'realname' => 'Al',
'groups' => [],
'shell' => '/bin/bash',
'home' => '/home/al',
'gid' => 501
}
],
'locale' => {
'country' => 'IT',
'lang' => 'en_US',
'langs' => {
'en_US' => 1
},
'utf8' => ''
},
'authentication' => {
'shadow' => 1,
'local' => '',
'md5' => 1
},
'partitions' => [
{
'mntpoint' => '/mnt/windows',
'type' => 263,
'size' => 20482812
},
{
'mntpoint' => '/share',
'type' => 1155,
'size' => 20482875
},
{
'mntpoint' => 'swap',
'type' => 130,
'size' => 2040192
},
{
'mntpoint' => '/',
'type' => 387,
'size' => 16383969
}
],
'netcnx' => {
'type' => 'lan',
'lan' => {}
},
'superuser' => {
'pw' => '$1$TH2rrpm9$DTouZOf8kzBWqTBIczhLJ/',
'realname' => 'root',
'uid' => '0',
'shell' => '/bin/bash',
'home' => '/root',
'gid' => '0'
},
'mouse' => {
'XMOUSETYPE' => 'ExplorerPS/2',
'name' => 'Any PS/2 & USB mice',
'EMULATEWHEEL' => undef,
'device' => 'input/mice',
'type' => 'Universal',
'nbuttons' => 7,
'MOUSETYPE' => 'ps/2',
'wacom' => []
},
'autoExitInstall' => '',
'keyboard' => {
'GRP_TOGGLE' => '',
'KBCHARSET' => 'C',
'KEYBOARD' => 'it'
},
'manualFstab' => [],
'timezone' => {
'ntp' => undef,
'timezone' => 'Europe/Rome',
'UTC' => 0
},
'X' => {
'bios_vga_mode' => undef,
'resolution_wanted' => 1024,
'monitor' => {
'HorizSync' => '31.5-48.5',
'VideoRam_probed' => '65536',
'size' => '',
'ModelName' => 'Flat Panel 1024x768',
'VendorName' => 'Generic',
'manually_chosen' => 1,
'Identifier' => 'monitor1',
'VertRefresh' => '40-70',
'EISA_ID' => '0',
'dpms' => undef
},
'default_depth' => 24
},
'intf' => {
'eth0' => {
'NETMASK' => '255.255.255.0',
'BROADCAST' => '',
'BOOTPROTO' => 'dhcp',
'WIRELESS_ENC_KEY' => '',
'NETWORK' => '',
'ONBOOT' => 'yes',
'DEVICE' => 'eth0'
}
},
'partitioning' => {
'auto_allocate' => '',
'clearall' => 0,
'eraseBadPartitions' => 0
},
'security' => 2,
'interactiveSteps' => [
'doPartitionDisks',
'formatPartitions'
]
};
Overview of Linux Installation on different distributions.
OS Guide: MandrakeThe OpenSkills Guide for Experienced Linux sysadmin: Mandrake