From Grid5000
Jump to: navigation, search

Warning.png Warning

This environment has been marked as deprecated since 3 June 2013. Please consult the Environment_Management#Deletion_and_Deprecation to know what it means for this environment.

lenny-x64-big-0.9 is derived from Lenny-x64-nfs-0.9 to provide a debian environment, with LDAP and NFS homedir, and all the packages listed in Karafon.


Identification sheet


Kernel version from kernel.org for amd64/em64t


  • Remote console: enabled on ttyS0 at 34800 bps
  • Services: ldap:yes, nfs:yes
  • Accounts: root:grid5000




Here are explanations on how the system was installed and tuned starting from the content of the Lenny-x64-nfs-0.9 environment. A script available from the svn do the work for us. This script is available from : [grid5000]/admin/trunk/images/build/nfs2big.sh

Repository enhancement

We add the non-free repository and the imag repository.

cat >> /etc/apt/sources.list <<EOF
deb http://ftp.fr.debian.org/debian etch non-free
deb http://ftp.fr.debian.org/debian lenny non-free
deb http://security.debian.org/ etch/updates main contrib
deb http://security.debian.org/ lenny/updates main contrib
deb http://oar.imag.fr/download ./


We update the motd.

cat > /etc/motd.tail <<EOF
Lenny-x64-big-0.9 (image based on Debian version Lenny for AMD64/EM64T)
Maintained by Cyril Constantin <cyril.constantin@loria.fr>
Valid on Dell {PE1855, PE1950}, HP {DL140G3, DL145G2, DL385G2}, 
       IBM {e325, e326, e326m}, Sun {V20z, X2200 M2, X4100},
       Altix Xe 310
 * Text: Vim, XEmacs, JED, nano, JOE
 * Script: Perl, Python, Ruby
 (Type "dpkg -l" to see complete installed package list)
 * i386 shared libraries are available
 * SSH has X11 forwarding enabled
 * Max open files: 8192
 * TCP bandwidth: for 1Gbs
More details: https://www.grid5000.fr/index.php/Lenny-x64-big-0.9

Packages install

We update and install all the packages of karafon.

apt-get update
apt-get upgrade
apt-get install autoconf bison cmake cvs elinks emacs flex g77 gdb gfortran git host iperf sun-java5-jre lam-runtime lshw m4 man mpich-bin openmpi-bin patch tcl8.4 php5-cli screen subversion taktuk telnet time valgrind zsh g++ automake automake1.9 xml-core libxi6 libxp6 libxtst6 gsfonts-x11 libterm-readline-gnu-perl

mpich2 doesn't have a package in debian. We compile it from the source obtained on the official site (mpich2-1.0.7.tar.gz at the build date).

cp /home/nancy/cconstantin/softwares/lenny/mpich2*.tar.gz /usr/local/src/
cd /usr/local/src/
tar zxf mpich2*
rm mpich2*.tar.gz
cd mpich2*
./configure && make && make install


Image is ready. We can keep a trace of the last update.

date > /root/release


Creating image's archive

As for Etch-x64-base-1.0, system archive creation and retrieving is done with TGZ-G5K:

tgz-g5k cconstantin@frontale:images/lenny-x64-big-0.9.tgz

Creating postinstall's archive

The postinstall lenny-x64-big-0.9-post is the same as etch-x64-nfs-1.0-post. It takes advantage from prepost mechanisms and so it is site-independent.

Orsay site particularities

The orsay site use for now a specific way to configure nfs. So you have to use the specific orsay postinstall available at orsay. This situation will be resolved. You can follow the bug on https://www.grid5000.fr/bugzilla/show_bug.cgi?id=1170 .

cd /home/
mkdir {bordeaux,grenoble,lille,lyon,orsay,nancy,rennes,sophia,toulouse}

Recording environment

Recording environment can be done from a description file. So we create lenny-x64-big-0.9.dsc:

name = lenny-x64-big-0.9
description = https://www.grid5000.fr/index.php/Lenny-x64-big-0.9
author = cyril.constantin@loria.fr
filebase = file:///grid5000/images/lenny-x64-big-0.9.tgz
filesite = file:///grid5000/postinstalls/lenny-x64-big-0.9-post.tgz
size = 1000
initrdpath = /boot/initrd.img-
kernelpath = /boot/vmlinuz-
fdisktype = 83
filesystem = ext2

With karecordenv, the new environment can be known by Kadeploy:

karecordenv -fe lenny-x64-big-0.9.dsc
Personal tools

Public Portal
Users Portal
Admin portal
Wiki special pages