Nous sommes le 19/05/2013
Votre adresse IP est : 184.72.91.94
Catégorie : Administration système
Liste des news
Monitorer les performances d'une machine Linux 08/03/2010 10:50:51
Voici un article sur les 20 meilleurs commandes pour monitorer les performances d'un système Linux. Tres bon article avec des exemples concrets.

Lien vers le site
Analyser graphiquement votre séquence de boot Linux 03/01/2008 10:49:44

Le boot sous Linux, ça peut rester obscur surtout pour les débutant ! Mais vous voulez quand même savoir ce que fait votre système lorsqu’il démarre ?

Utilisez alors bootchart qui va à partir de la séquence de boot, générer un graphique PNG pour rendre tout cela plus compréhensif.

Pour installer bootchart, un petit

sudo apt-get install bootchart

et le tour est joué.
Vous devez ensuite rebooter le PC et lorsque vous êtes loggé, allez dans le dossier /var/log/bootchart et vous y trouverez le graphique.

Protection des clés USB - Linux / Windows 02/01/2008 15:28:28
http://eblog.rd.francetelecom.fr/index.php?blog=89&title=protection_des_cles_usb_linux_windows&more=1&c=1&tb=1&pb=1
http://www.truecrypt.org/
Kudzu 02/01/2008 13:39:47

Kudzu

Kudzu is the Red Hat Linux hardware probing library, and the associated configuration program. The probing library is used by various system utilities, such as anaconda, Xconfigurator, and hwbrowser. The tool runs at system boot time to determine what hardware has been added or removed from the system.

How to get it

You can get the kudzu source code in a variety of ways.

  • The most recently built version is normally available on rawhide.
  • Via anonymous CVS.

         export CVSROOT=:pserver:anonymous@rhlinux.redhat.com:/usr/local/CVS
    cvs -z3 login
    (hit enter)
    cvs -z3 co kudzu
  • The source is also browseable via cvsweb.

How to report bugs, or send patches

The best way is through Bugzilla.

Mailing lists specifically for kudzu

None, currently. redhat-devel-list is an appropriate place to discuss kudzu development.

Documentation

ROCK Linux Distribution Build Kit 31/12/2007 21:45:39
ROCK Linux is a flexible Linux Distribution Build Kit. I.e. it is a toolchain/framework for making your own Linux Distributions. [...]

You can configure your personal build of ROCK and easily build your own distribution. It is software for managing operating environments. In a way it is a software development toolkit for building OS solutions.

The available config options include, but are not limited to:

Package Selection

You can select the packages you want to have in your distribution. So packages you don't want or need are not built at all. A list of available packages can be found here.

Compiler and Optimization

You can select a compiler and optimization options for building your distribution. That enables you to highly optimize for your hardware. You can also build your entire distribution with the GCC Stack-Smashing Protector enabled for enhanced security.

Dietlibc and uClibc

You can use dietlibc or uClibc instead of the GNU LibC as your C library. That can be very useful e.g. for embedded systems.

And much more ...

Other options are: selection of an init-style and package manager, custom GNU configure options, cross-building, and much more. A major focus in the ROCK development always has been to make adding new features and config options as easy as possible. [...]

Supported Architectures

Most of the ROCK Linux development is done on x86 hardware. But ROCK Linux also supports the Alpha AXP, ARM, HPPA/HPPA64, ia64, MIPS, PowerPC, Sparc32/Sparc64 and x86-64 architectures. Others will follow and are easy to add.

The ROCK Linux Core has been ported to the PowerPC. This was done live, on stage at the Chaos Communication Congress 1999 in only 3 congress days . That was a very impressive demonstration of the high portability of ROCK Linux.

http://www.rocklinux.org/
http://www.rocklinux.org/wiki/About

Intellibuild (iBuild) 31/12/2007 21:45:10
Intellibuild (iBuild) is a program that allows you to quickly and easily create your own custom GNU/Linux LiveCD Distribution

http://ibuild.livecd.net/
Create a Custom Live Linux CD w/ BusyBox and OpenSSH 31/12/2007 21:44:38
KioskCD Customization Kit 31/12/2007 21:44:17
You can choose your own home page, NIC, toolbar buttons, proxy server, keyboard layout, etc.

http://kioskcd.com/download.html
Morphix Module Maker: mmaker 31/12/2007 21:43:48
mmaker allows users to autobuild Morphix modules from scratch, using simple xmlified template files.

http://am.xs4all.nl/phpwiki/index.php/ModuleMaker
Genoppix-Scripts 31/12/2007 21:43:19
Collection of scripts to ease the creation and maintenance of a Gentoo based LiveCD or LiveDistro:

http://genoppixscripts.sourceforge.net/
livecdanaconda 31/12/2007 21:42:49
Clone of the fedora anaconda installer (10.1.0.2-1 with changed namespace and cleaned trademarks) to create a livecd via gui and wizard.

http://www.linux4all.de/livecd/livecdanaconda/index.htm

gcloop - Gentoo compressed loop 31/12/2007 21:42:24
This project develops gcloop kernel module and userspace tools, which will be used to build official Gentoo LiveCDs.

The whole project aims to be completely compression algorithm agnostic, even if the current development is focused on ucl nrv2e compressor. [...] The goal of the gcloop project is to provide a robust framework for building compressed partition image"

http://www.gentoo.org/proj/en/releng/gcloop/index.xml

Catalyst 31/12/2007 21:41:57
This project develops the catalyst tool, which is used to build official Gentoo stage tarballs, packages and install CDs.

It is also used in other Gentoo projects that are not official Gentoo releases, such as Benjamin Judas' "Project Dolphin" rescue CD and the upcoming Gentoo GameCD project. This tool is designed to be easy to use, customize, extend and maintain."

http://www.gentoo.org/proj/en/releng/catalyst/

dfsbuild - Debian From Scratch Live CD/DVD Builder 31/12/2007 21:41:22
dfsbuild is the program used to create the [Debian From Scratch] CD image. It is highly configurable and can be used to create other custom bootable CD or DVD images. You can use dfsbuild to do something as simple as building a DFS CD with a custom kernel. Or, you can customize the CD to include a completely different set of packages.

dfsbuild works by obtaining packages from your nearest Debian mirror. It will generate an ISO image that contains a bootable Debian system generated by installing those packages. Also, it can place all the .debs and files needed by cdebootstrap in the image. Thus, the generated image can be used to install the base Debian system on a PC as well.

http://darcs.complete.org/dfsbuild/
dfsbuild Debian Packages

Gentoo Network APpliance 31/12/2007 21:40:57
The acronym GNAP stands for Gentoo Network APpliance. It's an easy way to build stateless network appliances (firewalls, routers...) for old or embedded configurations without the need for a full installation.

A GNAP is a LiveCD, much like Knoppix, geared toward routing services like firewalling, traffic profiling, VPN and network monitoring. Specific configuration files are burnt onto the LiveCD to customize its behaviour, making it easy to restart, and impossible to permanently compromise.

It is also possible to install GNAP on a hard disk, DiskOnModule or CF card for embedded configurations."

http://www.gentoo.org/proj/en/base/embedded/gnap.xml

Umigumi - The Universal Meta Installer 31/12/2007 21:40:36
Umigumi is a Free Software published under the General Public License which simplifies the gerenation of custom Linux distributions and their deployment on various media: Flash memory cards, LiveCD, hard disk, etc. Umigumi is also a fantastic tool for system integrators looking to automate configuration and quality assurance of complex Linux based solutions."

http://umigumi.org/

The CDD Toolkit 31/12/2007 21:40:04
There is a lot of people working on Custom Debian Distributions, but it seems that everyone is reinventing the wheel to do it.

This document proposes the design of a CDD Toolkit that tries to standardize the way developers define their CDD and provides tools to distribute, install, update and manage the customized system.

This toolkit is being developed on the current CDD Project on alioth and discussed on the debian-custom [...] mailing list.

http://people.debian.org/~sto/cddtk/cddtool.html
http://alioth.debian.org/projects/cdd/

Rxmaster 31/12/2007 21:38:33
A web interface is used to build custom iso cdrom dedicated for specific nodes. Those nodes, also called rxnodes, boot up and optionally get the rest of configuration and software from a master server.

An rxmaster is a machine used to configure and build iso cdrom images for rxnodes. The rxmaster holds the configurations for all rxnodes. Each rxnodes can be managed, configured and updated from the rxmaster. The rxmaster also served as software distributor for the rxnodes. An rxmaster is a simple web server running the rxmaster cgi."

http://on-x.ca/html/rxlinux.html
http://www.fusionw3.com:8031/on-x/html/downloads.html

Altx - Arch Live Tx - a live CD transmuter 31/12/2007 21:38:09
Arch Live Tx is a live CD developer package (not a live CD) to transmuting HD to live CD either from an exiting setup or new install. With the help of pre-installed system template (also available a set of minimum Arch Linux base packages), setup tool and simple instructions, a user can develop any type of live CD (rescue, demo, dev ) with minimum effort.

http://wiki2.archlinux.org/index.php/ArchLiveTx

FAI BootCD for Debian 31/12/2007 21:37:40
F[ully] A[utomatic] I[nstallation] BootCD allows an FAI installation to be performed from a bootable CDROM, without any network connectivity required. FAI from Thomas Lange allows Debian GNU/Linux installations to be performed non-interactively and automatically. FAI classes define a set of packages that are to be installed, partition and filesystem configuration, scripts to further customise the system after package installation, and hooks to override default FAI behaviour during the installation."

http://www.informatik.uni-koeln.de/fai/fai-cd

livecd-tools 31/12/2007 21:37:17
Gentoo LiveCD tools for autoconfiguration of hardware

http://packages.gentoo.org/ebuilds/?livecd-tools-1.0.24

GeeXboX ISO Generator 31/12/2007 21:36:55
With this package, it is easy to modify the GeeXboX in a few seconds without having to build the sources. The generator produces an ISO image of the GeeXboX, ready to be burned on disc. [...]

Thanks to this generator, it's now possible to build a bootable image of the GeeXboX from the binaries. This lets you build the GeeXboX after slight changes in the configuration files, for example, with no need to build the full sources. [...] Just execute the ./generator.sh (under Linux) script [...] and watch the magic ;-)

http://www.geexbox.org/en/downloads.html
http://www.geexbox.org/en/doc.html

archie-scripts 31/12/2007 21:36:27
The set of scripts used to create the iso's [...] part of the Archie project (ie, archie-scripts, consists of mkliveiso, linuxrc, rc.sysinit.archie, etc).

http://user-contributions.org/projects/archie/source/
http://user-contributions.org/projects/archie/
http://user-contributions.org/wikis/userwiki/index.php/Mkliveiso

.
YETAA (Yet Another ADIOS) 31/12/2007 21:35:56
The objective of the YETAA is to quickly provide a mechanism for Fedora Core users to build their own boot CDs. Yet Another ADIOS is based on the ADIOS scripts, but this time we supply you with only the tools to build your own live boot CD. You can build the live CD with unionfs switched on or off.

This is version 0.20 and it has been tested by creating a Personal Workstation for Fedora Core 3 in one partition and then made a CD image for the Personal Workstation. Also created a Personal Workstation for Fedora Core 4 in another partition and made live boot CD image."

http://dc.qut.edu.au/yetaa/

Kadischi 31/12/2007 21:35:32
Kadischi is an application for Fedora-based Live CD generation. It takes Fedora repository as an input and outputs a livecd iso image. [...]

Kadischi is heavily based on readonly-root package from Stateless-linux project. Many design decisions are collective work of people from fedora-livecd list. There are also some ideas taken from linux4all project.

Basically, Kadischi uses anaconda to install the system in a temporary directory (specified in the configuration file) on user`s hard drive. It then executes the collection of scripts (stored in /usr/share/kadischi/post_install_scripts) in order to modify the system to run successfully in read-only environment (CD). After all modifications are done, Kadischi creates an initrd image, then compresses the system tree (actually, it creates a compressed copy, and then removes the original one), and finally creates iso image of the system."

http://fedoraproject.org/wiki/Kadischi
http://fedoraproject.org/wiki/KadischiDoc

How to Make a Bootable CD With ISOLINUX? 31/12/2007 21:34:57
ISOLINUX is a boot loader for Linux/i386 that operates off ISO 9660/El Torito CD-ROMs in "no emulation" mode. This avoids the need to create an "emulation disk image" with limited space (for "floppy emulation") or compatibility problems (for "hard disk emulation".)

http://syslinux.zytor.com/iso.php

The BBLCD Toolkit 31/12/2007 21:34:23
BBLCD is the acronym for Bernhard's Bootable Linux CD. You can also read it as Build your own Bootable Linux CD.

BBLCD is a toolkit for building your own bootable Linux CD from your favorite (and possibly customized) distribution. It is more or less an intelligent cp -a / /dev/cdrom (with Linux, it's not that simple, but with Windows, it's impossible). I have created this toolkit because these single-floppy Linux systems have three major drawbacks: floppies are slow, errorprone and always too small.

http://bblcd.berlios.de/
http://developer.berlios.de/project/showfiles.php?group_id=695
http://bblcd.berlios.de/doc/index.html

Yard 31/12/2007 21:33:57
Yard is a suite of Perl scripts for creating rescue disks (also called bootdisks) for Linux. A rescue disk is a self-contained Linux kernel and filesystem on a floppy diskette, usually used when you can't (or don't want to) boot off your hard disk.

A rescue disk usually contains utilities for diagnosing and manipulating hard disks and filesystems.

http://www.linuxlots.com/~fawcett/yard/

GRUB, CD and extended floppy formats: mkbimage and Howto 31/12/2007 21:33:27
To use the new features, I have attached a script (to be run under Linux since it uses loosetup) to create virtual bootable disks. The name of the script is `mkbimage', Make a Bootable IMAGE using GRUB as a bootloader."

http://lists.debian.org/debian-hurd/2001/10/msg00136.html

Rookery 31/12/2007 21:32:28
The rookery is a build system that you can use to take a collection of source rpms and turn it into a distribution. It takes care of figuring out the build order and seeing the build through to completion. IT REQUIRES YOU TO HAVE AN EMPTY SCRATCH PARTITION. It will erase everything in the build partition as a normal course of business. [...]

So you've compiled everything and have a bunch of rpms. Now what do you do with them? You could make a Live CD with them. Here's how:

http://www.web-insights.net/rookery/index.html

Calzador 31/12/2007 21:32:01
HowTo Metadistros [(Spanish)]

Esta es una guía sencilla de cómo hacerse una distribución basada en el sistema Metadistros. No se va a profundizar en cómo funciona o el el sistema mismo, sino en la manera actual más sencilla de hacerlo. Dado que el proyecto no está acabado y anda en plena evolución, lo que aquí se diga es más que probable que cambie en unas semanas. Así que éste documento seguirá esa evolución. Es por ello que le recomiendo que busque la versión más actual del mismo.

https://software-libre.org/cgi-bin/moin.cgi/Meta/en/HowTo
https://software-libre.org/cgi-bin/moin.cgi/Metadistros

DeadMini - Building the image 31/12/2007 21:31:34
For building the [DeadMini] image, a tool named build_distro.sh is in the dtools package. Currently, it supports only building iso - I do not posses an USB flashdisk, therefore I have no experience with syslinux. Should anyone feel like providing information, I would appreciate it. The UI of the tool is quite straightforward.

http://web.isteve.bofh.cz/deadcd/deadmini/documentation.htm#build

Catalyst 2 31/12/2007 21:31:04
This project develops the catalyst tool, which is used to build official Gentoo stage tarballs, packages and install CDs. It is also used in other Gentoo projects that are not official Gentoo releases, such as Benjamin Judas' "Project Dolphin" rescue CD and the upcoming Gentoo GameCD project. This tool is designed to be easy to use, customize, extend and maintain. [...]

The goal of the catalyst project is to provide a single multi-faceted tool that can reliably build all aspects of a Gentoo Linux release: stage tarballs, GRP package sets, and install CDs.

Our specific development goals for catalyst include the following: ensuring it provides high-quality builds of Gentoo Linux, and for the tool to be easy to use, customize, extend and maintain. The catalyst tool is intended to be used by those who wish to create their own customized versions of Gentoo Linux, or their own customized LiveCDs. Our goal is to make catalyst a powerful tool that's a pleasure to use, and to ensure that the code we write is maintainable and of high-quality. [...]

This document is intended to be a complete reference for all Catalyst targets, spec file options, and all other aspects of Catalyst."

http://www.gentoo.org/proj/en/releng/catalyst/
http://www.gentoo.org/proj/en/releng/catalyst/2.x/reference.xml

GAR 31/12/2007 21:30:35
GAR is also the name of our [LNX-BBC] software build toolset. Common backronyms we've seen include "GAR Are Recursive" and "Gmake Autobuild Runtime". It is a system similar in function (and nearly identical in purpose) to the BSD ports system. It is a set of Makefiles that we use to compile all of the software in the BBC and turn them into an ISO9660 CD-ROM image file."

http://www.lnx-bbc.org/faq-GAR.html
http://www.lnx-bbc.org/README.html

T2 System Development Environment 31/12/2007 21:30:05
T2 is not a common Linux distribution - it is a flexible open source System Development Environment or Distribution Build Kit if your are more familiar with that term. T2 allows the creation of custom distributions with bleeding edge technology. Currently the Linux kernel is normally used - but we are expanding to Hurd, OpenDarwin and OpenBSD - more to come. T2 started as a community driven fork from the ROCK Linux Project with the aim to create a decentralized development and clean a framework for spin-off projects and customized distributions.

http://www.t2-project.org/
http://article.gmane.org/gmane.comp.t2.devel/1515
http://www.t2-project.org/about.html
http://www.t2-project.org/packages/

aboot-cross 31/12/2007 21:29:16
If you want to create bootable CD-ROMs or floppies for the Linux/Alpha platform, you need this utility. It is not needed for normal system installation or operation."

http://packages.debian.org/stable/admin/aboot-cross
http://packages.qa.debian.org/a/aboot.html

.
mkrboot 31/12/2007 19:14:49
mkrboot generates boot disks that contain both a kernel and a root image. This enables debian bootup for installation purposes from one floppy.

mkrboot can also use loadlin to make a floppyless installation possible.

Boot methods supported:

- Loadlin from running DOS/Windows without a floppy
- Loadlin from a FreeDOS bootup disk
- Lilo from one floppy
- Kernel Boot loader from one floppy
- Syslinux from one floppy

http://packages.debian.org/stable/admin/mkrboot
http://packages.qa.debian.org/m/mkrboot.html

LifeBoat 31/12/2007 19:14:24
LifeBoat is a script program which can be used to create a Linux bootable rescue CD. [...] The LifeBoat rescue CD only uses memory. After you boot LifeBoat you can remove the CD and use your CD-ROM for other things such as mounting your backup CDs. You do not need working hard drives or clean file systems to run LifeBoat. You can repair your corrupt file systems from memory based LifeBoat.

LifeBoat has no security. It can be used to repair a broken or forgotten root password. LifeBoat builds a rescue CD by copying some your Linux system components to a CD and making the CD bootable. [...]

LifeBoat can be configured to your needs by adding utilities you need for your system. LifeBoat has an Addons function which you can use to add utilities which inspect and repair components specific to your system, such as RAID or a journaling file system.

LifeBoat will create either a CD-R or a CD-RW at whatever speed you choose.

Once you get LifeBoat configured to your system you can easily burn a new LifeBoat rescue CD. Whenever you make major changes to your Linux system you can quickly burn a new LifeBoat CD to match your latest system.

http://users.rcn.com/srstites/LifeBoat/LifeBoat.home.page.html
http://users.rcn.com/srstites/LifeBoat/downloads/

Mybuntu -- Custom Ubuntu live CD build scripts 31/12/2007 19:13:57
I wanted to build a custom CD for fun. I was tweaking settings and re-entering the same commands again and again, so I soon turned to scripting the process. About 80 CD builds later, I had a decent set of scripts for building a Ubuntu based live CD!

The scripts were tested using a fully up to date Ubuntu 5.10 install on an AMD 1.9GHZ, with a little over a gig of swap, lots of free space, and 512MB of RAM."

http://stuporglue.com/content/view/29/35/
http://stuporglue.com/downloads/mybuntu.tbz

PLUGSCRIPT 31/12/2007 19:12:53
The plugscript configuration system is the easy to use modular extension kit, designed by André Holzhey to extend, customize and tweak KNOPPIX, the easy 'Linux on CDROM' by Dr. Klaus Knopper.

The plugscript configuration system includes a modular interface, many modules for various tasks, 'mmkcdrom' - an easy tool for recording KNOPPIX CD-ROMs, and something more.

http://rcswww.urz.tu-dresden.de/~holzhey/plugscript/
http://rcswww.urz.tu-dresden.de/~holzhey/plugscript/doc/why_plugscript.html
http://rcswww.urz.tu-dresden.de/~holzhey/plugscript/download

Auto-Building Morphix Modules 31/12/2007 19:12:23
In this last hack, we will take a look at Module Maker, or MMaker, a tool for autobuilding Morphix modules.

http://alextreme.org/morphix/knoppixhacks/autobuildingmorphix.html
http://www.alextreme.org/phpwiki/index.php/ModuleMaker

DSS - Debased Scripts Set 31/12/2007 19:11:51
DSS (Debased Scripts Set) project is dedicated to providing you with a "System Development Environment" to create your own DEbian BASED Live Linux System.

Normally you're stuck with the type and amount of applications the creator decided to include, now you can customize the system to fit your needs, by generating on-the-fly compressed modules (layers) including additional software .

The idea is to don't "debase" the Default Debian System, for this pourpose has been designed the USS (The Upstream Salmon Struct).

In this way you'll have a knoppix like HW autodetection and autoconfiguration flavor without affecting the standard system.

DSS can be used to:

* create your own live distribution
* put together a demo disk to show off the power of our favourite OS
* build a portable system to install on external USB/FIREWIRE HD and boot it up.
* backup you system and run it from a CD/DVD
* build a morphix base module

http://www.dsslive.org/mediawiki/index.php/Home
http://www.dsslive.org/mediawiki/index.php/Downloads

mksquashfs 31/12/2007 19:11:18
mksquashfs is the tool for creating new squashed file systems, and for appending new data to existing squashed file systems.

http://www.artemio.net/projects/linuxdoc/squashfs/SquashFS-HOWTO.html#mksqoverview

LiveCD Druid 31/12/2007 19:10:47
The LiveCD_Druid aims to make it easy and fun to create LiveCD's.

* LiveCD_Druid has a pleasant looking GUI.
* LiveCD_Druid has simple and advanced options.
* LiveCD_Druid feature graphical progress indication.
* LiveCD_Druid has an ever present Default button to revert back.
* LiveCD_Druid includes complete documentation.

The LiveCD's that you create may include:

* Customizable splash screens on the live CD.
* Additional mount points on the live CD to enable hybrid setups.
* Customizable ISO files and sizes.
* Selectivity in the data you wish include or exclude on the live CD.
* Personalization of the user environment on the live CD. [...]

The LiveCD_Druid is quite flexible, this is only recommendations.

* A running Mandriva 2006 system with X.
* Two partitions, one root directory of 5GB or more, a swap partition of 2GB or more.
* Installing the rpm's in the download section. [..]

The LiveCD_Druid is written in Perl, using the Gtk2-Perl and Gnome2-Perl bindings."

http://forgeftp.novell.com//livecd-druid/homepage/index.html

trkdev 31/12/2007 19:10:24
Boot from your existing TRK 3.1, modify scripts, test them if you like and run updatetrk. This will put your updated scripts (from /bin, /sbin and /etc) back to a renewed ISO file. Check out the howto on usage of updatetrk. If you want to add files to everything in /usr, you need to use the old way, since the compressed ramfilesystem is readonly."

http://trinityhome.org/trk/development.php
http://www.hyguard.com/trk/trkdev-2006-01-03.tgz

mrxcdram 31/12/2007 19:08:17
Integrate several tools

Maybe you create your own mini iso with mrxcdram

* ./ramdisk.sh # generate the /boot/ramdisk.gz, with all command defined in ramdisk.db
* ./snapshot.sh # snapshot your current linux system without personal information directories
* ./geniso.sh # create bootable iso using the /boot/ramdisk.gz and current /vmlinuz kernel"

http://murix.sourceforge.net/modulo-mrxcdram.php
http://sourceforge.net/project/showfiles.php?group_id=35615&package_id=91455

Nbed 31/12/2007 19:07:51
A 'dialog' based tool for on-demand embedded system creation (e.g: Live-cd, usb key etc..). It allows creation of fully customized Live-cd in a few minutes, using normal packages, not special things. If fact, our init-scripts are Nbed-compliant from scratch, only the existence of an 'NBED' file at the root of filesystem will trigger variant action to work smooth on a read-only media. That's all, everything else is excatly the same that what's used on the Hard-drive, nothing to adapt, it works exactly the same.

It can be used at for easy creation of (non-exhaustive): advanced Live-rescue, live-desktop, autoconfiguring DHCP client and LAN, gateways, NAT-box, Distribution specific install-CD (binaries and or sources based), cluster nodes, media-box etc..."

http://norean.freecontrib.org/norean/#Nbed
http://norean.freecontrib.org/norean/SVN/snapshot/norean/current/nbed/

Garfio 31/12/2007 19:07:26
Genera tu livecd instalable en pocos minutos [...]

Garfio es un sistema e infraestructura, que te permite crear una livecd instalable de tu distribución preferida, en cuestión de minutos."

http://www.garfio.org.ar/

MKDanix 31/12/2007 19:06:59
MKDanix allows you to build Live CD ISO images non-interactively and easily. It uses the latest Debian archives from the stable or unstable Debian branch. You can add a custom set of packages, documents, texts, and images to create your own personal operating system. [...]

MKDanix - Build your own live CD today!
Document Actions

* Send this page to somebody
* Print this page

Having your own custom live CD rocks!
Have you ever dreamed to have your own custom live CD?

Imagine you can :

* build the cd noninteractively (even newbies can do it),
* use latest debian archives from stable or unstable debian suite,
* add custom set of packages,
* add custom texts and images,
* add custom configuration scriptlets."

http://www.danix.org/Documentation/mkdanix/
http://unix.freshmeat.net/projects/mkdanix/

MultiBootCD (MBCD) 31/12/2007 19:06:27
MBCD is a shell script to make a customised CD-ROM that can boot any kind and number of image files.

Currently 4 types of images are supported:

* Floppy images (1.2M, 1.44M or 2.88M)
* Knoppix-like image (one per CD)
* Kernel-binary images (e.g. memtest86)
* Windows XP Recovery Console

Note that using more than one Knoppix image is currently not possible, but may be in a future version. And of course you can't use the original 700MB Knoppix version (unless you use 800MB CDR blanks). See below for some smaller alternatives.

MBCD is licensed under the GNU GPL
(http://www.gnu.org/copyleft/gpl.html)

http://stephan.walter.name/MBCD
http://stephan.walter.name/wiki/images/3/32/Mbcd-README

Rescue disk images and Tools for creating rescue disks 31/12/2007 19:05:47
What you'll find here: rescue disk images and tools for creating rescue disks [and live linux operating system distributions]"

http://www.ibiblio.org/pub/Linux/system/recovery/!INDEX.html
http://www.ibiblio.org/pub/Linux/system/recovery/

Grand Unified Installer Project 31/12/2007 19:05:22
The GUI project - One CD boots them all*

The goal of the Grand Unified Installer project, is to create one CD, which can help install Linux/Windows on a single hard disk, and also function as a rescue disk for these operating systems. In addition, this CD can also be used to backup the harddisk to tape, and restore the hard disk from the tape. The starting point is a very useful utility called ISOLINUX, which functions as a boot loader for CD based Operating Systems."

http://people.cs.uchicago.edu/~gmurali/gui/

gBootRoot 31/12/2007 19:05:00
Make the development, construction, and testing of distributions fun and simple. [...]

Non-root users construct, develop, test and run all types of distributions with Root Methods (Yard, etc.) and user-mode-linux, then finish with a Boot Method (2-disk compression, etc). Make_debian yard template creator provided for Debian users."

http://freesoftwarepc.com/projects/gbootroot/
http://sourceforge.net/projects/gbootroot

BootRoot 31/12/2007 19:04:34
BootRoot creates a boot disk with lilo, a kernel and an initrd image. The initrd script mounts another root disk with a compressed (gzip or bzip2) filesystem.

The root filesystem isn't made by this program, but there lots of compressed filesytems out there to use (see rest of FAQ). This program is patterned after mkrboot, but unlike mkrboot it creates an unique bootdisk and a separate root disk."

http://freesoftwarepc.com/projects/bootroot/

dscdbuilder - Debian from Scratch CD Builder 31/12/2007 19:04:00
The name dscdbuilder stands for "Debian from Scratch CD Builder". The idea for doing this came from the needs to create a heavily modified version of Knoppix, and from a series of little scripts i wrote to help me on this task. But finally, this came as a tool to *master* a live CD, that is, build it on a bottom-to-top basis. The key word here, as Andreas Tille points on his notes for CDD, is *mater*, as the modifications from the famous Knoppix are just *remasters* of it, in the sense that you download the latest Knoppix CD image, copy it into your HD, make any changes you want and recompress it to a new iso. In the other hand, dscdbuilder starts from an empty directory and starts installing different layers of software, dedicated to different objectives, something similar to what dfsbuild does. [...]

The [...] 6 big groups of stages: 1) Install base system: the 'base' stages build a basic system on a directory, downloading and installing some packages (base_*) 2) Install live CD-related software: the 'knoppix' stages install some packages and add support for auto configuration and booting (they're called knx_* because they're a group of Knoppix packages) 3) Install final contents: the 'einam' stages add the real usefull contents to the directory, so here's the big list of package contents (the stages are named einam_* because 'dscdbuilder' was first written for use on the build of Einam CDs) 4) Miscelaneous operations: here come some extra 'knoppix' stages that need to be run after any package installation 5) Build initrd image: the 'miniroot' stages are used to build the initial root filesystem to mount and boot the CD as a live CD (minirt_*) 6) Create an ISO"

http://lists.debian.org/debian-knoppix/2005/01/msg00010.html
http://lafarga.upc.edu/scm/cvsweb.php/dscdbuilder/?cvsroot=gnupcix
http://lafarga.upc.edu/scm/cvsweb.php/dscdbuilder/README?cvsroot=gnupcix

Automated Debian Installer for USB Flash Thumbdrives 31/12/2007 19:02:13

Simple tool to automate installing Debian to a USB Flash drive using Debootstrap and a chroot jail. Easy to use and includes support for encrypted root partitions.

"This tool will automate the installation of Debian GNU/Linux onto a USB Flash drives or other removable media.

Features:

* Base install works on most USB flash thumbdrives larger than 256MB
* Simple Partitioning [Single partition for small unencrypted USB thumbdrives, OR two partitions for large and/or encrypted USB thumbdrives].
* Uses Mkinitramfs-tools.
* Simple user configuration.
* Simple network configuration.
* Hardware autodetection during boot.
* Privacy Features:
o Support for root partition encryption with DM-Crypt and LUKS."

http://feraga.com/project/deb2flash

Builder 31/12/2007 19:01:44
Our Builder generates our repositories and liveCD. It is a series of bash scripts, which can be gotten from our SVN Repositry. [...] Our script to build the LiveCD is based off the Debian Live project. Initially we hoped to work off Ubuntu's scripts but all we could find were ways to alter and existing LiveCD, rather than generate one from scratch.

Essentially we do a cdebootstrap, install all the packages we need, create a squashfs, setup syslinux and make an ISO."

http://www.gnewsense.org/Builder/Builder
http://www.gnewsense.org/LiveCD/LiveCD

PUD Build from Scratch (Using Casper) 31/12/2007 19:01:22
PUD GNU/Linux project provides a set of live CD's build tools, including configure files, build script and packages list.

You have exactly the same tools that developers use. Hope this may help you customize and make your own live CD quickly and easily."

http://pud-linux.sourceforge.net/en/bfs.htm
http://download.penkia.org/build-livecd-current.tar.gz

Pilgrim 31/12/2007 19:00:48
[Pilgrim is an] OLPC build system to be able to spit out Fedora livecd's."

https://www.redhat.com/archives/fedora-livecd-list/2006-September/msg00079.html
Pilgrim Build System README

Injector Linux Source-Kit 31/12/2007 19:00:22
Build you own small linux system within seconds !

The Source-Kit consists of injectors project files and gives you the opportunity to modify and tamper the filesystem as you like.

Get Injector Linux Source-Kit (5MB)

http://injector.sourceforge.net/
http://downloads.sourceforge.net/injector/injector_sourcekit-1_4.tar.gz

MoviXMaker-2 31/12/2007 18:59:17
MoviXMaker-2 is a simple GUI or command line utility which purpose is to create customized bootable disk images of eMoviX, MoviX or MoviX².

eMoviX, MoviX and MoviX² are tiny GNU/Linux distributions dedicated to multimedia playback (e.g. movies, music and slideshows).*

MoviXMaker-2 includes disk image customization possibilities such as :
- Choosing your boot help language, subtitle fontset and boot label.
- Including additionnal files in the disk image.
- Specifying values for some MoviX parameters¹.

¹ Here are the currently (version 0.8.2) supported MoviX parameters:
- movix/mplayer menu language (language),
- keyboard layout (kb),
- tv region (region),
- remote control (remote),
- loop,
- random,
- shutdown (shut),
- reboot,
- eject,
- dma,
- extra_mplayer_options,
- unwanted_mplayer_options.

MoviXMaker-2 is available on Debian GNU/Linux official mirrors."

http://savannah.nongnu.org/projects/movixmaker/
http://packages.debian.org/stable/utils/movixmaker-2

ADIOS Development Kit 31/12/2007 18:58:27
The Makefile is located at /adk on the CD file:///media/cdrom/adk. Here is a recent copy of the ADIOS version 6.0 Makefile. If you want to build your own boot CD please read this Makefile and edit it for your system. It assumes that you are using a kernel with squashfs support. You can copy the kernel from the ADIOS boot CD along with its modules and initial ramdisk by booting the CD first and copying the files you need from the directory /adios/boot or /media/cdrom/isolinux to your /boot and all of the /adios/lib/modules to your /lib/modules. You will also need to change your boot loader if you want to test the boot CD before you burn one.

Once you have successfully performed make devel you can then start removing RPMS and adding your preferred packages, assuming you have the RedHat Fedora Core distribution CDs."

http://os.cqu.edu.au/adios/adk.html

Liso 31/12/2007 18:57:54
Liso is the set of programs and data used to build STUX."

http://www.gpstudio.com/stux/remastering.html#liso

T2 SDE - System Development Environment 31/12/2007 18:57:29

With T2 SDE you can define targets for various purposes, ranging from embedded linux systems with a few MB of size over server configurations to a full desktop system featuring X.Org foundation, KDE, Gnome, OpenOffice.Org and many more. Those targets can be compiled for use on the most common architectures: Alpha, ARM, HPPA (incl. HPPA64), IA64, MIPS, PowerPC (incl. PowerPC-64), SPARC (incl. SPARC64), SuperH, x86 (incl. x86-64) - theoretically any GCC/Linux supported one.

T2 comes with many predefined targets (desktop, router, live CD ...) and over 2800 package descriptions. For more details T2 SDE - Overview.

The Build System

T2 features an automated build system which manages the whole compilation process including a possible installer CD creation. After initial creation of the build-tool chain, all packages are built inside a sandbox environment to monitor installed files and dependencies automatically. The build system can also modify the execution of various programs to provide a generic way to control compiler flags and file manipulations.

The T2 framework allows the creation of individual custom build target definitions and to customize any build aspect, as well as every single package built for it. Due to the nature of the clean source packages and its automatic build system, T2 is highly portable. Adding new architectures is easy and can be done within a day!

A quick introduction how to compile a target for your favorite architecture can be found here.

T2 - the possibilities are endless ...

The flexible T2 build environment, with the vanilla packaged built from source allows to realize your specific Linux and application ideas.

KIWI Image System 31/12/2007 18:56:53
The OpenSuSE KIWI Image System provides a complete operating system image solution for Linux supported hardware platforms as well as for virtualisation systems like Xen Qemu or VMware. The KIWI architecture was designed as a two level system. The first stage, based on a valid software package source, creates a so called physical extend according to the provided image description. The second stage creates from a required physical extend an operating system image. The result of the second stage is called a logical extend or short an image."

http://kiwi.berlios.de/
http://en.opensuse.org/KIWI
http://developer.berlios.de/projects/kiwi/

Live-helper 31/12/2007 18:56:25
Live-helper is a utility to build CD, DVD, netboot and USB-stick live images of Debian, a GNU/Linux operating system. It boasts support for multiple architectures, auto-building images, amongst many other features.

Live-helper is extremely flexible, allowing interested parties to create their own system completely specific to their needs, including support for custom package lists, kernel parameters, encryption, additional commands to configure the live system etc."

http://wiki.debian.org/Live-helper
http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-March/000998.html

Kickstart Tools 31/12/2007 18:55:02
Build and manage your own linux distribution. You decide what RPMS should be in it. Then give your users access to a web page to create an automated boot floppy install disk."

https://sourceforge.net/projects/kickstart-tools/

NimbleX Custom LiveCD Web Builder 31/12/2007 18:54:43

NimbleX now has a beta web page from where you can create your custom LiveCD with just a couple of clicks. You select the software packages that you want on your Live CD, a wallpaper of your choice, the language you prefer to use and then from that page you can generate an unique ISO that can be downloaded only by yourself.

Check this out on http://custom.nimblex.net or visit NimbleX on http://nimblex.net

Ubuntu LiveCD Creator 31/12/2007 18:54:17
This spec proposes a set of tools and graphical user interface to create and maintain custom Ubuntu LiveCDs.

Our scope includes all manner of LiveCD creation. LiveCD tools should provide a robust enough environment for the Ubuntu developers to generate the official CDs from them. Required functionality includes:

* Creating LiveCDs based on templates, such as bare minimum installing ubuntu-minimal
o Selects repositories
o Selects default packages

* Adjusting the packages on the LiveCD by adding or removing through a Synaptic-like interface

* Adding files directly to the LiveCD just before finalizing

* Modifying the default X11 environment
o Execute a GNOME, KDE, or XFCE log-in in Xnest
o Save the home directory as the /etc/skel

* Saving and updating LiveCD templates
o Save the package list, /etc/skel, and additional files
o Update by adjusting repositories and performing upgrades or dist-upgrades

* Adding the Ubiquity installer"

https://wiki.ubuntu.com/LiveCDCreator
https://blueprints.launchpad.net/ubuntu/+spec/livecd-creator

Linux My Way 31/12/2007 18:53:52
LMW is a bash shell script, released under the GPL, for producing a minimal linux initrd image from your resident linux installation, suitable for booting from a floppy, hard-disk or solid-state memory device. You, too, can join the PDA/Internet appliance boom in the privacy of your own home.

Default X configuration includes the Xvnc server, allowing remote control of the target system. Using Xvnc eliminates the necessity of a graphics card in the target system, at the cost of requiring a network interface. Options are also provided for conventional X servers.

You can build a minimal floppy disk size compressed image of 1.22Mb and/or an X capable compressed image of 3.7Mb (these are functional sizes, not minimums. Depending on your linux and selected applications, the size can vary wildly). This does not include a bootable kernel which you will have to provide.

Be forewarned, this is NOT a distribution. This is a framework for creating your own distribution."

http://modest-proposals.com/Hacklin.htm
http://modest-proposals.com/README.txt

Revisor 31/12/2007 18:53:27
Revisor enables you to customize and compose your own installation and live media. It does so by presenting you a GUI with all options, and a CLI for the more advanced users. Features that Revisor has vary from customizing the packages available during the installation and/or installed on the live media, to fully customizing the desktop environment for the live media.

Installation media would be the media you use when you install a machine to run Fedora (the CDs and DVDs the Fedora Project releases every 6 months). You cannot do anything with installation media other then install a system to run Fedora.

Live media on the other hand allow you to run Fedora, without the need to install it on your system first. Actually, the operating system is installed on a CD, DVD or USB Thumbdrive, and you let your computer boot that operating system."

http://revisor.fedoraunity.org/

.
pungi 31/12/2007 18:53:02
The pungi project is two things. First and foremost it is a free opensource tool to spin Fedora installation trees / isos. It will be used to produce Fedora releases from Fedora 7 on until it is replaced by something better. Secondly pungi is a set of python libraries to build various compose like tools on top of. Pungi provides a library with various funtions to find, depsolve, and gather packages into a given location. It provides a second library with various functions to run various Anaconda tools on the gathered packages and create isos from the results."

https://hosted.fedoraproject.org/projects/pungi

mkimage 31/12/2007 18:52:41
mkimage - creating ariane image files

mkimage is your friend for image creation. This script creates a
archive of your current system.

The output file is an imagefile that can be used to replace the plain "stock" ariane image. If you are sure that your system boots, put it on the CD as linux.tgz in the /bootcode directory and boot from the CD (see ArianeDiskCreation).

mkimage excludes certain parts of the running system you don't want to have in the image. Hardcoded exclusion are /proc/*, /tmp/* and /var/tmp/* since the contents of these directories simply interferes with the idea of a fresh installed system. More exclusions can be configured in the file /sbin/ariane.d/etc/image.exclude. This file contains filenames (with or without shell wildcards) that should be excluded from the image, one per line. There are already some exclusion defined because there is more to drop for a clean image than just the directories above."

http://quietsche-entchen.de/cgi-bin/wiki.cgi/-ariane,/ArianeImageCreation#M1

live-initramfs 31/12/2007 18:52:15
live-initramfs is a fork from Casper by Canonical. live-initramfs is used for to build an initramfs suited to boot live systems. [...]

live-initramfs is a hook for the initramfs-tools, used to generate a initramfs capable to boot live systems, such as those created by live-helper(7). This includes the Debian Live isos, netboot tarballs, and usb stick images.

At boot time it will look for a (read-only) media containing a "/live" directory where a root filesystems (often a compressed filesystem image like squashfs) is stored. If found, it will create a writable environ‐ ment, using unionfs, for Debian like systems to boot from."

http://wiki.debian.org/DebianLive/live-initramfs
http://wiki.debian.org/DebianLive/live-initramfs-manpage

UbuntuTrinux 31/12/2007 18:51:34
Trinux: A Linux Security Toolkit was a ramdisk-based Linux distribution that was under active development from 1998-2003. This new project (i.e. ubuntutrinux) seeks to integrate elements (and code, where appropriate) of Trinux with the Debian/Ubuntu mkinitramfs infrastructure to allow easy development and packaging Ubuntu binary (and ultimately package and repository) compatible ramdisk distributions using recent 2.6.x kernels. As before, the most common use is network security monitoring and analysis."

http://www.threatmind.net/secwiki/UbuntuTrinux
http://code.google.com/p/ubuntutrinux/

Automated Linux From Scratch 31/12/2007 18:51:05
Automated Linux From Scratch (ALFS) is a project that creates the generic framework for an extendable system builder and package installer.

After having gone through the LFS and BLFS books more than 2 or 3 times, you will quickly appreciate the ability to automate the task of compiling the software you want for your systems.

The goal of ALFS is to automate the process of creating an LFS system. It seeks to make the process of building LFS easier and more efficient while still providing flexibility by granting the user total control and insight into the compilation and management of his LFS build."

http://www.linuxfromscratch.org/alfs/

YaST2 Product Creator 31/12/2007 18:49:57
Custom NimbleX 2 31/12/2007 18:49:34

Custom NimbleX 2 is now available for everybody. Even if now it is at Release Candidate stage this provides a much better way for generating a customised Free Linux OS based on NimbleX. The only requirements from the users are knowledge of English, a web browser (Firefox) and a CD for burning the ISO that was generated.

Features of Custom NimbleX 2:

* Absolutely no knowlege required for the custom OS
* > 150 software packages from where you can choose
* support for over a dusin most popular languages
* configure the sounds of your Custom NimbleX OS
* set the wallpaper from 36 pics or upload your own
* configure your password and the restricted user
* calculating the size of the ISO dinamically

To go straingt to Custom NimbleX 2 go to http://custom.nimblex.net

For more info about NimbleX you can visit http://nimblex.net

live-magic 31/12/2007 18:49:12
Debian Live helper programs (gui frontend)

Live-helper is a collection of programs that can be used to build Debian Live system images. The philosophy behind live-helper is to provide a collection of small, simple, and easily understood tools that can be used in your own program to automate building of a Live system.

A typical program that uses live-helper will call several live-helper commands in sequence. Live-helper commands are all named with a "lh_" prefix.

Homepage:

This package contains the gui frontend.

Tags: Implemented in: Python"

http://packages.debian.net/source/sid/live-magic
http://packages.debian.net/unstable/live-magic

Mkmydsl 31/12/2007 18:48:42
mkmydsl is NOT myDslMaker. mkmydsl is done locally. This has several advantages over a website version of the same thing including:

1. "Try before you burn" You can download extensions and try them out before you commit to making an iso and burning.

2. "Construction Set" by downloading in parts, you truly have a construction set method. This makes it easier for a slow modem users to be able to take advantage by not having to download a large single mydsl.iso

3. "Privacy" By makeing the iso locally, you are not "sending" private information to a website only to have to download the results back. This is where the myconf.tar.gz comes into play. This is your "personal" and "private" configuration including passwords, etc.

4. "No double down" You already have the base iso and have proved that it works on your system, so you don't have to download it again only this time MUCH bigger. Also, you already have your local "proven" collection of extensions

5. "The Sky 's the Limit" I know of one user, Ke4nt, who uses the mkmydsl script to make DVD sized mydsl.iso. Imagine having to download DVD sized images."

http://damnsmalllinux.org/wiki/index.php/Mkmydsl

PUD Build Kit 31/12/2007 18:48:21

"PUD GNU/Linux project provides a set of live CD's build tools, including configure files, build script and packages list.

You have exactly the same tools that developers use. Hope this may help you customize and make your own live CD quickly and easily. [...]

This script will install base system, chroot to install more packages, config, cleanup unneeded files, compress filesystem, make the .iso image and start qemu to test. The whole files will be put into ../builddir/pud-YYYYMMDD-HH/, and the image file is ../builddir/pud-YYYYMMDD-HH.iso ."

http://pud-linux.sourceforge.net/en/bfs.htm
http://download.penkia.org/build-livecd-current.tar.gz

webhelper 31/12/2007 18:47:58

This is webhelper of the Debian Live project.

Submit your parameters (working email address is required) to generate your very own Debian Live system.

http://live.debian.net/live-webhelper/

mkinitrd-cd 31/12/2007 18:47:32
Creates an initrd image for booting from a live CD-ROM or USB device

This is the package used by the Gibraltar project to create the initrd images used for booting from CD-ROM or USB sticks. The bootable CD-ROMs or USB mass storage devices are actual live CD-ROMs respective live filesystems. That is, the root file system is the CD-ROM or an image on the USB device, ramdisks are the only things needed for operation without a hard disk. Although a harddisk can be used for e.g. storing log files permanently or when the machine acts as a proxy server.

Given a kernel image and the corresponding modules, it creates a complete boot image that can be written to floppy or be used as El Torito image for a bootable CD-ROM. Additionally, it is possible to create an initrd image to be used on a USB stick (e.g. with syslinux). Upon bootup, the initrd image will try to locate an ATAPI CD-ROM drive or a USB mass storage device. When this does not succeed, it auto-probes for SCSI adapters and tries to locate SCSI drives. It also works when multiple CD-ROM drives are installed in the system by checking if the inserted CD is the correct one for booting.

The package can be of use to developers and packagers who want to create their own bootable, live Debian CD-ROM or bootable, live Debian USB stick. It will probably not be of any use to others."

http://packages.debian.org/mkinitrd-cd
http://packages.debian.org/sid/mkinitrd-cd
http://www.mayrhofer.eu.org/mkinitrd-cd

grml-live 31/12/2007 18:47:04
grml-live - build framework based on FAI for generating a grml and Debian based Linux Live system (CD/ISO) [...]

grml-live provides the build system for creating a grml and Debian based Linux Live-CD. The build system is based on FAI (Fully Automatic Installation). grml-live uses the "fai dirinstall" feature to generate a chroot system based on the class concept of FAI (see later sections for further details) and provides the framework to be able to generate a full-featured ISO. It does not use all the FAI features by default though and you don't have to know FAI to be able to use it.

The use of FAI gives you the flexibility to choose the packages you would like to include on your very own Linux Live-CD without having to deal with all the details of a build process."

http://grml.org/grml-live/

Jornada 820 bootimage 31/12/2007 18:44:06
BUILD ENVIRONMENT

The Makefile ought to contain everything you need to build the bootimage. For hacking, an optional script "please" helps you do things with the kernel tree. [...]

The toolchain is based on uClibc - http://www.uclibc.org/ [...]

RAMDISKIMAGE USAGE

The ramdisk that is built by this Makefile has the following usage:
* lots of functions are defined in /etc/functions -- see by yourself
* you may add your own additional functions in /etc/functions.local
* Use "standalone" to configure linux for standalone usage with the ramdisk.
* Use "rootfs" to chain-boot into your first Linux partition on CF.
* The ramdisk will automatically attempt to "rootfs" at startup, unless you
create a file or directory named "noautomount" in your WinCE partition.
* We have mkfs.minix and fsck.minix in busybox. No ext2 support, sorry.
To build an ext2 filesystem, you'll have to use a CF reader on your PC,
or to NFS mount a filesystem with your ext2 utilities.
* Busybox is packed up with lots of functionality. Check it out!
* To free the memory occupied by the ramdisk, your rootfs will need to run
the program blockdev, which is part of the util-linux debian package.

* With kernel 2.6, you must use cat /proc/modules instead of lsmod"

http://cvs.sf.net/viewcvs.py/jornada820/bootimage
http://cvs.sf.net/viewcvs.py/jornada820/bootimage/README

LiveCD Collection 31/12/2007 18:43:27

This is an example of a Multi-boot LiveCD/DVD.

"There are a lot of Live CD Linux's versions, some of them based in diferents ditributions other in the same and other based en other LiveCD, so if you are like me, you have a collection of CD's and floppys. I decided to create a CD/DVD where I can have some LiveCD's and floppy programs that I have untudy in the box. This could be usefull or useless depending the person, but if you want to create this CD/DVD here you are the method I have used. [...]

The zip file to download, contains one script to create a booteable CD/DVD image with mkisofs in the directory where we have unzipped the file. The CD/DVD will use Grub as a boot loader.
Along with the script there is a folder named /dvd/ in this folder we are going to put the files corresponding for each distribution we want to include. Inside the folder dvd there is among others a folder named /boot/. The boot folder contain a folder for each distribution where we will place the kernel and initrd of each distribution.."

http://www.nautopia.net/archives/es/linux_distribuciones/custom/livecd_collection.php
http://www.nautopia.net/estaticos/descargas/customlivecd.zip

grow-knoppix 31/12/2007 18:43:01
[grow-knoppix is a] Xdialog script creates a boot-able live CD or DVD that is a copy of a KNOPPIX version plus user content added to the root of the new DVD.

The guide allows easy publishing and including of new a boot file, background, startup index.html, and desktop on your custom DVD. [...]

Boot from a KNOPPIX KANOTIX CD, get grow-knoppix, save to /home/knoppix. right click --> Properties --> Permissions --> put X in Exec boxes, click to run"

http://grow-knoppix.berlios.de/
ftp://ftp.berlios.de/pub/grow-knoppix/
(download)
http://wiki.kanotix.net/CoMa.php?CoMa=Grow_Knoppix

draklive 31/12/2007 18:42:35
draklive builds a live distribution according to a configuration file, creates a master image, and optionally installs it on a device.

draklive's philosophy is to keep the live distribution as close as possible to a normal Mandriva Linux distribution. All specific live tweaks are done in a very tiny initrd script. Since this one is generated on the fly, it's very small, and gets quite easy to debug.

The list of drivers included in the initrd is adjusted during the live distribution creation, according to the medium type. draklive uses the DrakX libraries to have an up-to-date drivers list. [...]

Once the initrd script is done booting, the root device will be used transparently by the distribution, without any additional tricks.

Hardware detection is done with harddrake, providing a reliable integration.

Features

* live CD
* live distribution on USB key
* easy to test over NFS
* uses the Mandriva installer to create the live system
* fully read-write live system (using unionfs)
* automatic hardware configuration (using harddrake)
* generic code structure to make new technical choices usable quickly"

http://qa.mandriva.com/twiki/bin/view/Main/DrakLive
http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/gi/tools/draklive

.
Udpcast Boot Image Generator 31/12/2007 18:41:03
This section describes how to generate boot images yourself.

If you have installed the Udpcast image generator RPM, the boot image generator is located in /usr/lib/udpcast/makeImage, and needs the following additional packages to be installed:

* mknbi (only needed for generating etherboot images), can be downloaded from Etherboot's site
* syslinux (for PXE, and CD-Rom. For floppy, the relevant files are already included with the image generator itself)

These additional packages are already supplied with most major distributions (SuSE, Redhat, Mandrake, Debian, ...)"

http://www.udpcast.linux.lu/mkimagedoc.html

Crucible 31/12/2007 18:40:28
Crucible is a flexible, layered set of tools for pulling down software from the web, building it, running tests on it, and reporting any unusual behaviors back to the parent project.

But since every testing project is unique, we strive to structure Crucible as a set of distinct tools that can be used independently or in other frameworks. Thus, if you're working on your own test harness, we hope you can cherry pick something of use to you from Crucible. :-)

Crucible has been used for doing automated testing of:

* NFSv4 kernel code - client / server multi-machine testing
* Inkscape - build, make check
* Cairo - build, make check
* Crucible - of course [...]

It was created because while there are a lot of automated test harness out there, none were found that could both do kernel booting and allow for orchestrating testing across multiple machines. The Samba build farm was selected as a starting point because the code was simple and relatively clear.

A key design goal of Crucible is to keep its focus as *limited* as possible. "Do one thing, and do it well." Many test harnesses try to do _too_ much, and in the process become too cumbersome and unweildy to be of real use for doing real world testing. I need the ability to easily break things apart and run things in isolation, so I can dig my hands in and get a good grasp on the bug. Also, every test project is unique, so by keeping Crucible's scope limited, it makes it easier to reuse for a wide variety of test harness needs.

Crucible is implemented mainly in Bash. This was done not because I love bash (I actually much prefer Perl), but because bash is reasonably easy to debug, it's widely known, and fairly easily learned. Much of what Crucible does is just file and process manipulation, and bash is pretty good at that. For more complex tasks, or for functionality that bash isn't that good at, I code a tool in a better language and exec that."

http://crucible.sourceforge.net/

Ubuntu Customization Kit 31/12/2007 18:40:02
Ubuntu Customization Kit (UCK) is a set of tools for easy cutomization of Ubuntu Linux distribution (and its derivatives, like Kubuntu).

Currently it allows you to:

* Create bootable LiveCD with predefined languages based on original Ubuntu/Kubuntu live CD using wizard with GUI.

* Build live CD with special features using scripts. It is possible to customize root filesystem (for example install/remove packages), ISO contents (add/remove docs, change names) and initrd (add modules to boot, change boot sequence)."

http://uck.sourceforge.net/
http://sourceforge.net/projects/uck/
http://lichota.net/~krzysiek/projects/ubuntu-livecd-customization/

MkDistro 31/12/2007 18:39:37
MkDistro has evolved to an excellent tool for building and remastering modules and whole Distros. [...] [It leverages] the Morphix approach of modules and his previous works on developing the HD remastering scripts for the Kurumin, Knoppix, Kanotix and Beatrix Live CD Distros."

http://www.dreamlinux.com.br/english/saiba-tutor.html

larch 31/12/2007 18:37:04

larch is a kit for building a live CD based on Archlinux.
Package selection is fully configurable, and a simple hard disk installer is also provided, the result being a completely standard and up-to-date Archlinux system. It should be possible to run the build scripts on most up-to-date Linux systems, so you don't already need an Arch system to build the CD.

Extensive documentation is provided.

http://four.fsphost.com/gradgrind

Backup Host:

"Until I've got something new sorted out you should be able to download the stuff as a tarball (larch_all.tar.gz), including all the docs, from http://www.savefile.com/files/5968615

Aurox Live Generator 31/12/2007 18:36:29
Aurox Live Generator is a tool for building your own operating system bootable directly from CD or DVD. This is the first OS in the world, which gives you a possibility of preparing customized iso images from www site. Person who's preparing system must only choose applications which should be placed on CD or DVD and their own pack of artwork like wallpaper or splash screen. The OS is based on scripts prepared dynammically, which are downloading choosed software from network repositories.

Building the new system in short:

* user is selecting programs from web site which will be added to his system
* next he downloads specially prepared pack of scripts and runs it. Scripts will prepare iso image which user can burn on CD/DVD
* user burns an iso image and booting the new system from CD/DVD [...]

Project status

Currently project is at testing stage. The quickly test the latest working version of scripts by generating live from WWW (see links below). You can browse the latest source code with Your WWW browser from adress:

http://svn.aurox.org/cgi-bin/viewcvs.cgi/scripts/livecd/

or download the latest SVN version by typing:

svn co http://svn.aurox.org/svn/aurox/scripts/livecd/branches/kwojnowski/

You can also browse automaic home generation scripts written by Dariusz Gut from Aurox Core Team by typing:

svn co http://svn.aurox.org/svn/aurox/scripts/generate-live-custom-home/
http://www.aurox.org/en/

Casper 31/12/2007 18:35:46

Debian Live initramfs generator

Casper provides an initramfs generator suited for booting a Debian Live systems from read only media. Useful to build live CDs.

http://packages.debian.org/unstable/admin/casper

MINIMIX Debian/GNU Linux 3.1 LiveCD HOWTO 31/12/2007 18:35:18
In this Howto you will learn like simply it are their own live CD from a the Scratch to be provided. It is divided into three sections.

In the section 1 explained like one is installed a Debian basic system by Qemu and entpakt with lomount. I have myself consciously approximately debootstrap decided because I the opinion am which one the expiration with Qemu better understand. In addition the Qemu is simpler variant to handle. They can download the result of section 1 in form of a tar.bz2 Archives (121 MT).

In the section 2 we come then on the point. We provide step by step own live CD. The finished live CD can download you here (227,9 MT).

In the section 3 I explain as simply and fast one MINIMIX rem asters and to install can.

This HOWTO is constantly updated and improved, if someone has an idea like one it make better could please answer-gives.

http://www.minimix.ch/debian-live/ (Allemand)
http://www.minimix.ch/debian-live/files/minimix-core.tar.bz2
http://translate.google.com/translate?hl=en&sl=de&u=http://www.minimix.ch/debian-live/

TCOS 31/12/2007 18:34:33
TCOS is a free software project, it consists in creating a micro OS (debian/ubuntu based) that when copied into /tftpboot root dir it gets served to a thin client network (pentium 350 64 Mb ram), this will boot terminals and connect by XMDCP to the server where the users can login and work. The idea is based on PXES project but TCOS uses newer kernel without patches and recognizes newest hardware."

http://soleup.eup.uva.es/mediawiki/index.php/TCOS/en
http://soleup.eup.uva.es/tcos/
http://soleup.eup.uva.es/tcos/screenshots/

make-live 31/12/2007 18:34:04
make-live is a shell script that does automagically create Debian Live images foryou. The image generation is as simple as:

* cdebootstrap a debian standard system in a subdirectory.
* apt-get install the linux kernel image together with squashfs, unionfs modules and the casper initramfs image generator.
* Install the proper flavour packages with right preseeded questions.
* Clean things up
* Compress this rootfs as a squashfs image.
* Copy out the kernel and initramfs image.
* Assemble the iso, hd or netboot final image."

http://live.debian.net/wiki/live-package

LinuxCOE - Linux Common Operating Environment 31/12/2007 18:33:24
The HP Linux Common Operating Environment (LinuxCOE) is a global engineering program which facilitates provisioning and lifecycle support of Linux systems. Key deliverables are to increase reliability, availability, maintainability and performance of global infrastructure and production environments by maintaining a minimum number of platform and component configurations.

LinuxCOE is licensed under the GNU General Public License.

LinuxCOE System Designer is a CGI-based web application that allows a user to create localized network boot images. To get started, download System Designer and follow the documented installation and configuration procedure.

Features :

* A CGI-based network install image generator
* A profile manager to store custom install images
* A retrofit process to configure machines to use LinuxCOE processes for patch and package management

http://linuxcoe.sourceforge.net/
http://linuxcoe.sourceforge.net/snapshot/
https://sourceforge.net/project/showfiles.php?group_id=144250

EasyVMX! 31/12/2007 18:32:47
EasyVMX! is the simple and failsafe way to create complete virtual machines for VMware Player on the web.

Install any Windows, Linux, BSD or Solaris, and test live-CDs in a safe environment.

Filling in only four configuration fields will create a downloadable virtual machine. [...]

You can install the following operating systems in VMware Player:

* Any of your favourite Linux distributions, be it Slackware, TurboLinux, Mandrake, Linspire, Ubuntu, Debian, Gentoo, SUSE/Novell or Redhat.
* Any version of Novell Netware.
* Any version of FreeBSD.
* Any version of Sun Solaris for x86.
* You can even install Darwin!
* Most other operating systems for the x86 platform will also run in VMware Player.

You can also run live CDs like Knoppix inside a virtual machine generated by EasyVMX!. It's a perfect way to test new stuff, and keep your computer safe at the same time.

http://www.easyvmx.com/

Instalinux 31/12/2007 18:31:41
[Instalinux] is a simple, easy way to install Linux. You follow the steps in the System Designer to choose from a bunch of different distributions and versions of Linux, and to choose what software you want included. The final product will be a fairly small ISO image (30 MB or less) that you can burn to a CD and boot from. It will automatically build your system for you, pulling what it needs from the network mirror you selected, while you sit back and relax. [...]

This site is most useful (currently!) to experienced Linux System Administrators who need to standardize their system install routines. It enables you to build custom install images for various flavors of Linux. A custom install image is one where most or all of the questions that a normal install asks have been pre-answered. You can also optionally preselect what software will be installed automatically before the system's first boot into service.

http://www.instalinux.com/
http://www.instalinux.com/cgi-bin/coe_bootimage.cgi
http://www.instalinux.com/cgi-bin/coe_profiles.cgi
http://www.instalinux.com/wiki/index.php?title=Main_Page
Gendist 31/12/2007 18:27:48

"Gendist is a live CD generator system. It has nice features like multi-distribution CDs, support for grub, isolinux, and gfxboot boot managers, and a modules system for configuring your distribution in live mode. This system is independent from the kernel version (but need unionfs and squashfs support). It only works on Debian Sid or Ubuntu Dapper."

http://freshmeat.net/projects/gendistcrisol/
https://forja.rediris.es/projects/gendist/
(spanish)

Gendist is a live CD generator system. Gendist has nice features like multi-distribution CDs, support for grub, isolinux, and gfxboot boot managers, and a modules system for configuring your distribution in live mode.

This system is independent from the kernel version (but need unionfs and squashfs support). It only works on Debian Sid or Ubuntu Dapper.

Gendist Download
Gendist Screenshots
Find Related Downloads
Intellibuild 31/12/2007 18:25:52
Intellibuild (iBuild) is a program that allows you to quickly and easily create your own custom GNU/Linux LiveCD Distribution (like Knoppix and Morphix). A LiveCD allows you to run linux from the CD-ROM without having to install it on the computer's hard drive.

Quite simple, really (at least from the user's perspective!). You simply open up a template, select which programs you want to be included, click on the "Build" button and wait. When iBuild is done, your custom .iso awaits you. All you have to do is burn and go.

It may seem "too simple", but remember that many, many hours have gone into the creation of iBuild to make it simple. You can simply create a pre-designed template or you can "root around" around a bit and make further customizations on your own - you're own bootsplash image, custom program start-ups, et

Yes and (maybe) Not Yet. Because iBuild builds your LiveCD using Debian, you have access to over 15,000 packages/programs that are present in the Debian distribution. Chances are the most popular programs are already included in iBuild (nearing 200 patches). If not, you can actually create one in under a minute if it's a simple install. Our Howto explains how to do this. You can also pop into the IRC channel #morphix on irc.freenode.net and ask and quite possibly someone there will create the patch for you.

Start by reading our Howto. A lot of time has been spent trying to make the Howto as user friendly as possible. It will walk you through the steps of preparing your system, downloading and installing iBuild, and even making a small customized LiveCD.

http://ibuild.livecd.net/
http://ibuild.livecd.net/ss.php
Kadischi: A Live CD generator 31/12/2007 18:23:01
It's not ready for prime time yet but you can download it now via anonymous CVS and try it...
Kadischi is an application for Fedora-based Live CD generation. It is still in the early stage of development, but has basic functionality and can be run successfuly. If you are interested, you can download it via CVS and try it out. All comments and suggestions are welcome.

[ . . . ]

Basically, Kadischi uses anaconda to install the system in a temporary directory (specified in the configuration file) on user`s hard drive. It then executes the collection of scripts (stored in /usr/share/kadischi/post_install_scripts) in order to modify the system to run successfully in read-only environment (CD). After all modifications are done, Kadischi creates an initrd image, then compresses the system tree (actually, it creates a compressed copy, and then removes the original one), and finally creates iso image of the system.

http://fedoraproject.org/wiki/Kadischi
naslite 31/12/2007 13:12:47
ttached Storage) est une distribution Linux très petite (MiniLinux), destinée à transformer un ordinateur en serveur de fichiers.

Il existe 3 différentes versions, chacune tenant sur une disquette 1722 Ko. Elles permettent respectivement de créer un serveur Samba, FTP ou NFS. La version NASLite+ permet d'établir ces trois serveurs, mais est commerciale.

Liens externes 

FreeNAS 31/12/2007 13:10:58
FreeNAS est un serveur  NAS (Network-Attached Storage) libre, supportant les protocoles: CIFS (samba), FTP, NFS, AFP, RSYNC, iSCSI, S.M.A.R.T., l'authentification des utilisateurs, le RAID logiciel (JBOD,0,1,5) et est entièrement paramétrable par interface WEB. FreeNAS nécessite moins de 32MB pour être installé sur Compact Flash, disque dur ou cle USB. Le concept de distribution FreeBSD allégée, l'interface Web, les scripts PHP et la documentation sont basés sur M0n0wall.

http://www.freenas.org/
http://www.freenas.org/index.php?option=com_openwiki&Itemid=30&id=roadmap:fr
http://www.framasoft.net/article4273.html
http://www.supinfo-projects.com/fr/2006/freenas2006_fr/
Zenoss 31/12/2007 13:08:49
The Zenoss project provides an integrated, easy-to-deploy and cost-effective opensource alternative for enterprise IT infrastructure monitoring. Unlike the big OSS companies (IBM, HP, CA, BMC, Amdocs) we are able to keep costs down and directly involve end users throughout the world. More details can be found here.

http://www.zenoss.com/community/docs/faqs/faq-english/
http://www.zenoss.com/community/docs
http://downloads.sourceforge.net/zenoss/ZenossAdminGuide211.pdf.zip
http://www.zenoss.com/community/docs/howtos/
http://www.zenoss.com/community/docs/ZenossDevGuide211.pdf
http://www.zenoss.com/community/docs/Zenoss-API-docs.zip
http://www.zenoss.com/forms/demorequest
http://www.zenoss.com/download/
True Image 9.1 Server for Linux 31/12/2007 13:04:49
Acronis True Image Server pour Linux vous permet de créer une image disque exacte d’un disque dur, y compris le système d’exploitation, les applications, les bases de données et les configurations ou les fichiers et dossiers individuels de sauvegarde.

http://fr.insight.com/apps/gdl/index.php?mfg=Acronis&page=1&product=1072
http://www.acronis.com/enterprise/products/ATISLin/
Ubuntu hardware database 31/12/2007 12:11:05
This is the interim Front Page of the Ubuntu Hardware Database the above links lead you to some very basic statistics, below you can fill in a hwdb id to look up a record.

http://hwdb.ubuntu.com/
pam_usb login with USB memory stick 30/12/2007 12:05:52
PAM_USB

1. Get pam_usb from the website http://www.pamusb.org/ latest version is 0.3.2

2. Get all the packages needed by pam_usb, it depends on what you have installed already, but I needed:
  • libncurses5-dev
  • libreadline4-dev

3. Unpack and install the source, do a:

Code:
tar xvzf pam_usb-0.3.2.tar.gz
./configure
make
make install
4. Read the Quickstart and Options files on http://www.pamusb.org/

5. Make the keys on the usb memory stick, as described in the Quickstart. I made one for root and one for my normal user account. I used a DSA keypair of 4096 bits

Code:
usbadm keygen [/path/to/mounted/usbmemorystick] [username] [bits]
Check if the keys are made correctly. They are in the .auth directory on the usb memory stick.

Simply by issueing a command like
Code:
more .auth/[username].[hostname]
If it spits out all kind of DSA code gibberish, the key is ok.

6. BACKUP all the /etc/pam.d files somewhere, in case something goes wrong.

7. Edit /etc/pam.d/login. I added the following line (copy-pasted it from some gentoow forum). Check whether your filesystem is vfat, otherwise replace fs= with your filesystem, e.g reiserfs or ext3 or whatever.

Code:
auth       required   pam_usb.so fs=vfat check_device=-1 check_if_mounted=-1 force_device=/dev/sda log_file=/var/log/pam_usb.log
8. Make the logfile (for debugging purposes)

make a empty file:
Code:
vi /var/log/pam_usb.log
save & exit.

My /etc/pam.d/login file:
Code:
#
# The PAM configuration file for the Shadow `login' service
#
# NOTE: If you use a session module (such as kerberos or NIS+)
# that retains persistent credentials (like key caches, etc), you
# need to enable the `CLOSE_SESSIONS' option in /etc/login.defs
# in order for login to stay around until after logout to call
# pam_close_session() and cleanup.
#

# Outputs an issue file prior to each login prompt (Replaces the
# ISSUE_FILE option from login.defs). Uncomment for use
# auth required pam_issue.so issue=/etc/issue

# Disallows root logins except on tty's listed in /etc/securetty
# (Replaces the `CONSOLE' setting from login.defs)
#auth requisite pam_securetty.so

# Disallows other than root logins when /etc/nologin exists
# (Replaces the `NOLOGINS_FILE' option from login.defs)
#auth requisite pam_nologin.so

# This module parses /etc/environment (the standard for setting
# environ vars) and also allows you to use an extended config
# file /etc/security/pam_env.conf.
# (Replaces the `ENVIRON_FILE' setting from login.defs)
auth required pam_env.so

auth required pam_usb.so fs=vfat check_device=-1 check_if_mounted=-1 force_device=/dev/sda log_file=/var/log/pam_usb.log

# Standard Un*x authentication. The "nullok" line allows passwordless
# accounts.
@include common-auth

# This allows certain extra groups to be granted to a user
# based on things like time of day, tty, service, and user.
# Please uncomment and edit /etc/security/group.conf if you
# wish to use this.
# (Replaces the `CONSOLE_GROUPS' option in login.defs)
# auth optional pam_group.so

# Uncomment and edit /etc/security/time.conf if you need to set
# time restrainst on logins.
# (Replaces the `PORTTIME_CHECKS_ENAB' option from login.defs
# as well as /etc/porttime)
account requisite pam_time.so

# Uncomment and edit /etc/security/access.conf if you need to
# set access limits.
# (Replaces /etc/login.access file)
account required pam_access.so

# Standard Un*x account and session
#@include common-account
@include common-session

# Sets up user limits, please uncomment and read /etc/security/limits.conf
# to enable this functionality.
# (Replaces the use of /etc/limits in old login)
# session required pam_limits.so

# Prints the last login info upon succesful login
# (Replaces the `LASTLOG_ENAB' option from login.defs)
#session optional pam_lastlog.so

# Prints the motd upon succesful login
# (Replaces the `MOTD_FILE' option in login.defs)
#session optional pam_motd.so

# Prints the status of the user's mailbox upon succesful login
# (Replaces the `MAIL_CHECK_ENAB' option from login.defs). You
# can also enable a MAIL environment variable from here, but it
# is better handled by /etc/login.defs, since userdel also uses
# it to make sure that removing a user, also removes their mail
# spool file.
#session optional pam_mail.so standard noenv
@include common-password
9. Test stuff
Depending on how you set the mode on pam_usb, play a little around with it. There are 3 modes according to the Quickstart:

1. Unique

auth required pam_usb.so

2. Alternative

auth sufficient pam_usb.so

3. Additional

auth required pam_usb.so

I found out that in Additional mode you cannot login if the usb memory stick isn't there (doh') and that you _can_ login if the stick is present.

8. If things go wrong

Well, I if you stare at the screen at errors like this:
Code:
Authentication token is no longer valid; new one required.
and you locked yourself out because you didn't leave a root terminal open

*don't panic*

There are a couple of things you can do:

1. blame someone else
2. reboot into single user mode.I have GRUB installed as bootmanager so in the GRUB menu upon boot I edited the line starting the kernel and added the word "single" to it. Now your system will boot in single-user mode and you can login and repair the damage.
// end
OCS Inventory NG 30/12/2007 11:44:51

Open Computer and Software Inventory Next Generation is an application designed to help a network or system administrator keep track of the computers configuration and software that are installed on the network.

Information about Hardware and Operating System are collected.

BIOS device System serial number, System manufacturer, System model, BIOS manufacturer, BIOS version, BIOS date.
Processors device Type (Pentium with MXX, Penitum II, Penitum III, Pentium IV, Celeron, Athlon, Duron...), Processor speed, Number of Processors.
Memory slot arrays device Caption and description, Capacity in MB, Purpose (system memory, flash memory...), Type of memory (SDRAM, DDR...), Speed in MHz, Slot number.
Total physical memory device in MB
Total paging file or swap size device in MB
Input devices devicedevice Type (keyboard or pointing), Manufacturer, Caption, Description, Interface used (PS/2, USB...).
System Ports device Type (serial or parallel), Name, caption and description.
System Slots device Name, Description, Designation (AGP1, PCI1, PCI2, ISA1...).
System Controllers devicedevicedevicedevice Manufacturer, Name, Type (Floppy, IDE, SCSI, USB, PCMCIA, IEEE1394, Infrared).
Storage peripherals devicedevicedevicedevice Manufacturer, Model, Description, Type (Floppy, Hard disk, CD-Rom, Removable, Tape...), Size in MB.
Logical drives / partitions device Logical drive letter, Type (removable, hard drive, cd-rom, network, RAM...), File system (FAT, FAT32, NTFS...), Total size in MB, Free space in MB.
Sound devices device Manufacturer, Name, Description.
Video adapters device Name, Chipset, Memory in MB, Screen resolution.
Display monitors device Manufacturer, Caption, Description, Type, Serial number.
Telephony modems device Name, Model, Description, Type (internal, external...).
Network Adapters device Description, Type (Dialup, Ethernet, Token Ring, ATM...), Speed (in Mb/s or Gb/s), MAC Address, IP Address, IP Network Mask, IP gateway, DHCP server used.
Printers device Name, Driver, Connection port.
Operating System devicedevice Name (Linux, Windows 95/98/Me/NT Workstation/NT Server/2000 Professional/2000 Server...), Version (4.0.1381 for NT4, 4.10.2222 for 98 SE...), Comments (Operating System Release for Windows 9X, Service Packs for NT/2000/XP), Registered company, Registered owner, Registered product ID.
Software device extracted from the registry as shown in the "Add/Remove software" control panel applet: Name, Publisher, Version.
Registry values device  if you want to query for some key under one of Windows registry hives.
Computer description
as shown in the Identification Tab of the Network Settings dialog box.

OCS Inventory is also able to detect all active devices on your network, such as switch, router, network printer and unattended devices. For each one, it stores MAC and IP addresses and allows you to classify them.

When running Administration console under Linux, if nmap and nmblookup are available, you will also be able to scan an IP or a sub network for detailled informations about uninventoried hosts.

Last, but not least, OCS Inventory NG includes package deployment feature on client computers. From the central management server, you can upload packages (software setup, commands or only files to store on client computers) which will be downloaded through HTTP/HTTPS and launched by agent on client computer.

OCS Inventory NG Architecture Components

OCS Inventory NG uses an agent, which runs the inventory on client computers, and a management server, which centralizes inventory results, allow viewing inventory results and creating deployment packages.

Communications between agents and management server are done using HTTP/HTTPS protocols. All data are formatted in Zlib compressed XML to reduce network traffic average.

Agents may be installed on client computers. We provide a tool to deploy it through login scripts or Active Directory GPO under Windows OS. Under Linux OS, agent must be installed manually.

Management server contains 4 main components:

  • Database server, which store inventory information.
  • Communication server, which will handle HTTP communications between database server and agents.
  • Deployment server, which store all package deployment configuration (require HTTPS!)
  • Administration console, which will allow administrators to query the database server through their favorite browser.

These 4 components can be hosted on a single computer or on different computers to allow load balancing. For more than 10000 inventoried computers, it is better to use at least 2 different servers, one for the database server + Communication server and the other for a database replica + Administration server + Deployement server.

NB: If you want to use multiple servers to host OCS inventory NG management server, we recommend that you setup it on Linux computers. OCS Inventory NG server for Windows comes as an integrated package containing all required components (apache, perl, php, mod_perl, mysql…).

Database server currently can only be MySQL 4.1 or higher.

Communication server needs Apache Web Server 1.3.X/2.X and is written in PERL as an Apache module. Why ? Because PERL script is compiled when Apache starts, and not at each request. This is better for performance issue. Communication server may require some additional PERL module, depending your distribution.

Deployment server needs any Web Server with SSL enabled.

Administration console is written in PHP 4.1 (or higher) and runs under Apache Web Server 1.3.X/2.X (but may run under other web servers). Administration server requires ZIP and GD capabilities enabled in PHP in order to use deployment features.

Windows agent is written in C++ (needs MS Visual C++ 6 Service Pack 5 or higher and MS Platform SDK Februray 2003 or newest to compile) and NSIS scripts for logon script or GPO automatic deployment tool.

Linux agent is written in PERL and C languages and may need some additional PERL module to handle XML and Zlib compression, depending your distribution. It also use dmidecode.

http://www.ocsinventory-ng.org/

Making a GRUB bootable CD-ROM 23/12/2007 11:55:01

GRUB supports the no emulation mode in the El Torito specification(5). This means that you can use the whole CD-ROM from GRUB and you don't have to make a floppy or hard disk image file, which can cause compatibility problems.

For booting from a CD-ROM, GRUB uses a special Stage 2 called `stage2_eltorito'. The only GRUB files you need to have in your bootable CD-ROM are this `stage2_eltorito' and optionally a config file `menu.lst'. You don't need to use `stage1' or `stage2', because El Torito is quite different from the standard boot process.

Here is an example of procedures to make a bootable CD-ROM image. First, make a top directory for the bootable image, say, `iso':

 
$ mkdir iso

Make a directory for GRUB:

 
$ mkdir -p iso/boot/grub

Copy the file `stage2_eltorito':

 
$ cp /usr/share/grub/i386-pc/stage2_eltorito iso/boot/grub

If desired, make the config file `menu.lst' under `iso/boot/grub' (see section 5. Configuration), and copy any files and directories for the disc to the directory `iso/'.

Finally, make a ISO9660 image file like this:

 
$ mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \
-boot-load-size 4 -boot-info-table -o grub.iso iso

This produces a file named `grub.iso', which then can be burned into a CD (or a DVD). mkisofs has already set up the disc to boot from the boot/grub/stage2_eltorito file, so there is no need to setup GRUB on the disc. (Note that the -boot-load-size 4 bit is required for compatibility with the BIOS on many older machines.)

You can use the device `(cd)' to access a CD-ROM in your config file. This is not required; GRUB automatically sets the root device to `(cd)' when booted from a CD-ROM. It is only necessary to refer to `(cd)' if you want to access other drives as well.

backing up entire hard disks or partitions 19/12/2007 16:34:39

It's often useful to make an image of either an entire hard disk or an entire partition. One reason is to duplicate an installed system onto another PC (probably over a network connection); another is to make a backup of your complete hard disk including every aspect of the installed operating systems, which you can restore if you have to replace your hard disk or if you screw things up. Typically it's useful to be able to transfer these images over the network to another machine, although you may want to save images onto a different partition or hard disk.

Commercial tools to do this job include Norton Ghost, Acronis TrueImage (which now seems to have overtaken Ghost in usefulness), and DriveImage (which I believe can't save over the network). Nowadays these tools are quite sophisticated and can even work from within Windows on mounted filesystems and do incremental block-level backups. There is a open source Linux program called partimage which is similar to Ghost, but I prefer to make backups using basic tools which I know will always be to hand, and in a pure format which I understand.

My preferred solution in some situations is to use raw linux commands. The backup technique uses linux, but you don't have to have linux installed on your computer to do this, and you can use this technique to backup partitions containing any filesystem.

IMPORTANT NOTE: I can offer no guarantees whatsoever that the methods detailed on this page are correct or reliable. I've used them on a few occasions without problems, but I have not exhaustively tested this method, and it could be that in some situations it does not perform as expected. Also, these instructions are designed to give pointers and suggestions. They do not comprise step-by-step instructions which you can blindly follow without understanding them. Many of the commands described here are very likely to trash the contents of your hard disk if you don't understand them properly. Use at your own risk!

Copying partitions under linux

When making an image of a disk/partition, you don't want the drive contents changing under you, so the partition(s) must be either unmounted or mounted read-only. The latter possibility means that you can probably drop down to single-user mode and remount essential partitions read-only in order to backup a linux system. If you do this, make sure you have a way of restoring the backup which doesn't depend on already having the OS installed!

A more general method is to boot from CDROM into linux without using the hard disk at all, for example using Knoppix. It's brilliant at autodetecting hardware.

Once you have a linux running, the basic technique is to use the dd command to read the hard disk device (or one of its partitions). The output of dd can be written to a file (perhaps to an external hard disk you have mounted) or piped over the network to another instance of dd on a remote machine. Note that there is a neater way of backing up NTFS partitions: see below.

Example:

dd if=/dev/hda1 bs=1k conv=sync,noerror | gzip -c | ssh -c blowfish user@hostname "dd of=filename.gz bs=1k"

This instructs dd to read the contents of /dev/hda1 (the first partition). conv=sync,noerror tells dd that if it can't read a block due to a read error, then it should at least write something to its output of the correct length. Even if your hard disk exhibits no errors, remember that dd will read every single block, including any blocks which the OS avoids using because it has marked them as bad. So don't be too surprised if dd seems to struggle to read some blocks. (But see the next section for a better way of handling this situation).

bs=1k sets the block size to be 1k. I'm not quite sure what the optimal value is, but it needs to be no larger the the block size for the disk, otherwise a bad block may mask the contents of a good one. 1k is a safe bet.

In the above example the output of dd is piped through gzip to compress it. We then pipe the compressed data stream over an ssh connection to another linux machine (which may also be running Knoppix - see Knoppix notes below). If you wanted to write straight to a local file, you could either just add of=filename to the first dd command (to write an uncompressed image), or if you want to compress it, just redirect the output of the gzip to a filename.

Continuing with our explanation, the -c blowfish option to ssh selects blowfish encryption which is much faster (useful since we're sending tons of data) than the default. Finally another dd command is invoked on the remote machine to read the data stream and write it to a file there. Alternatively you could pipe it through gunzip -c and write it straight to a partition on the remote machine instead of to a file.

Note that, as long as its not compressed, you should be able to mount a file containing a single partition's image using a loopback device in linux. (With a little more jiggery-pokery to find the correct offset, you can also mount partitions within a whole-disk image; see here).

What to do if the disk is damaged and dd takes forever?

Tobias Wolf pointed out "dd_rescue, which deals a lot better with bad blocks than plain dd. A useful helper script to dd_rescue is dd_rhelp, which postpones re-reading bad blocks to the very end because it can be a struggle to retreive something from them".

Steve Holmes reports that dd with conv=sync,noerror doesn't correctly image disks with LVM2 Logical Volumes. I haven't investigated this. He also points out GNU ddrescue ( not the same as dd_rescue mentioned above) which looks useful. According to Steve, ddrescue works finewith LVM2, and some people seem to suggest it's generally superior to dd_rescue.

Restoring partitions

The restore procedure is fairly similar. For example, on the machine with the image on it, you might do something like:

dd if=filename.gz | ssh -c blowfish root@deadhost "gunzip -c | dd of=/dev/hda1 bs=1k". This assumes you have linux (e.g. Knoppix) running on the target machine with an ssh server running. See 'Knoppix tips', below. Note that you should not include conv=sync,noerror in the restore dd - doing so can, in certain situations, corrupt the data being written, since it instructs dd not to wait for more data to arrive from the network or filesystem if a whole block isn't available.

The partition needs to already exist before you do this, and needs to be large enough to take all the data. If it's too big, that doesn't matter, you'll just be wasting space at the end. You should then be able to grow the filesystem to fill that extra space. For ext2 filesystems, try using the ext2resize tool. You may also be able to persuade the partition editing tool parted to do this, since it can handle resizing most filesystems.

Copying an entire hard disk

You can simply use "/dev/hda" as the source (target) to backup (restore) an entire hard disk image, including partition table, MBR and all partitions. This will certainly work if the hard disk being written to is identical to the one the image was made from. I think it will generally also work in other situations as long as the destination disk is larger than the source. I'm not 100% sure that this is always true - partition table entries do contain information in C/H/S (i.e. disk geometry dependent) units, which may be used by the boot loader even if the OS uses LBA. (Links to some gory details about partition table formats are at the end of this page).

If you do make an image of a whole disk, I strongly recommend that you also store extra information about the drive geometry which is necessary in order to interpret the partition table stored within the image, should you need to do that. The most important thing is the cylinder size. Best thing is just to grab a copy of the information fdisk can tell us: fdisk -l /dev/hda > hda_fdisk_information. Keep that file with the image. For good measure, why not get the same information as sfdisk displays it: sfdisk -d /dev/hda > hda_sfdisk_information

Knoppix tips

To become root in knoppix, just use sudo su -

If you are using Knoppix as a destination machine in one of these examples, you'll need to start up its ssh server. A command to do so is on the KDE menus; otherwise /etc/init.d/sshd start (as root) should do the trick. You'll then need to set a password for root so you can login remotely (sudo passwd root).

Knoppix tries to acquire an IP address by DHCP, so if you have a DHCP server on your network you can just find out the IP addresses of the machines (e.g. with ifconfig) and use those in place of hostnames in the ssh commands. If you don't have a DHCP server running on your network (or you're connected two machines directly together by crossover cable), you should be able to manually assign IP addresses using something like ifconfig eth0 192.168.x.y.

Reducing the storage space required

One of the disadvantages of the dd method over software specifically designed for the job such as Ghost or partimage is that dd will store the entire partition, including blocks not currently used to store files, whereas the likes of Ghost understand the filesystem and don't store these unallocated blocks. The overhead isn't too bad as long as you compress the image and the unallocated blocks have low entropy. In general this will not be the case because the emtpy blocks will containing random junk from bygone files. To rectify this, it's best to blank all unused blocks before making the image. After doing that, the unallocated blocks will contain mostly zeros and will therefore compress down to almost nothing.

A slightly clunky way to do this is to mount the partition, then create a file of zeros which fills the entire disk, then delete it again. e.g:

dd if=/dev/zero of=delme bs=8M; rm delme

It's worth doing this regardless of the type of filesystem in use. But don't do it if you suspect the filesystem may be corrupt, as you'll lose the ability to 'recover' lost files.

At the time of writing there is no reliable write support in the Linux NTFS drivers, so you won't be able to use this zeroing technique on an NTFS partition. However, ther are other ways (see below) of efficiently backing up NTFS partitions.

Backing up the MBR (Master Boot Record)

If you save copies of some or all of your partitions individually, and want to be able to use them to restore a working system, you'll also need to backup and restore the MBR and partition table. (The same caveats apply as discussed above about whether partition tables can be restored onto a disk of a different size).

Backing up the MBR:

dd if=/dev/hda of=backup-of-hda-mbr count=1 bs=512

This stores the first 512 bytes of the disk (contianing the MBR and the primary partition info - i.e. the first four primary entries) into the file "bcakup-of-hda-mbr" which you can then copy to somewhere safe.

To restore (be careful - this could destroy your existing partition table and with it access to all data on the disk):

dd if=backup-of-hda-mbr of=/dev/hda

If you only want to restore the actual MBR code and not the primary partition table entires, just restore the first 446 bytes: dd of=/dev/hda if=backup-of-hda-mbr bs=446 count=1. (Those first 512 bytes are 446 bytes of MBR, then 64 bytes of primary partition table).

Backing up the extended partition table

sfdisk -d /dev/hda > backup-hda.sfdisk

(sfdisk is in the util-linux package. I think it's in Knoppix.)

Restore (ditto the above warning):

sfdisk /dev/hda < backup-hda.sfdisk

(then reboot)

I also recommend making a record of the partition table details as displayed in whatever disk partitioning program you like to use, and also as displayed by fdisk -l. Could be handy if you find yourself needing to repartition the disk by hand in preparation for restoring some images of individual partitions.

Linux swap partitions

Somebody asked me how a linux system knows which partitions to use as swap partitions - this is of course an issue if you're restoring a linux partition to a new disk and need to re-create the swap partition for it. The answer is that the swap partition should be listed in /etc/fstab, e.g.:

# <file system> <mount point>   <type>  <options>   <dump>  <pass>          
/dev/hda6 none swap sw 0 0

During bootup, one of the init scripts runs swapon -a which activates all swap partitions listed in /etc/fstab.

I imagine that if a swap partition listed in /etc/fstab isn't actually found to be of the correct partition type (or isn't initialised), then the system will ignore it. So it should be safe to boot the restored system even if the swap partition information in /etc/fstab is incorrect, and then amend it to point to a swap partition you've created and run swapon -a.

Backing up and restoring NTFS partitions

The ntfsclone program from the Linux NTFS tools can efficiently clone and restore NTFS partitions without storing the unused space. You can either create a sparse file (if saving an image to a filesystem which supports sparse files), which will appear to have the size of the whole filesystem but will only take up about us much disk space as the used parts of the NTFS filesystem, or you can create a special image file which only contains the used blocks and which ntfsclone can restore later if needed.

Alternative to ssh

If you're on a trusted network, you might think it silly to go to trouble of encrypting and unencrypting all that data with ssh. Yet these days your machines are probably not configured to allow rsh connections. nc (a.k.a. netcat) is one option here: it just sends raw streams of data across a network. On the destination machine you could run nc -l -p 10001 > imagefile to start a process which will listen on TCP port 10001 and dump everthing it receives from the first thing to connect to it to imagefile. Then on the source machine, pipe the output of dd (or gz, or whatever) to nc remote 10001 where remote is the name or IP address of the destination machine.

File-level backup techniques

Backing up entire partitions or disks is most useful when replacating systems across hard disks or when backing up partitions containing operating systems which are otherwise hard to fully backup. For more every-day backups of your data, a file-level method is more appropriate. Here are some handy tools for doing backups over a network to a remote machine in various clever ways:

Random technical details

Anders Lennartsson sent me this information, which doesn't directly affect any of the above notes, but could be useful to know if trying to reconstruct partition tables by hand or whatnot:

Sectors on harddrives normally have 512 bytes each. To find out how many sectors there are in one partition one can use for instance cfdisk. After changing the units by typing a "u" cfdisk reports the number of such sectors. However, for obscure historic reasons, the partition data doesn't start until sector 64. Thus the numbers of sectors obtained by dd when specifying for instance if=/dev/hda1 is the number of sectors seen in cfdisk for this partition, minus 63. I don't remember exactly how (linux) fdisk does report the numbers.

Page about recovering disks containing ext2 filesystems when you don't know the partition table.

Details on how partition tables are stored: here and here.

Program which tries to find partitions even if partition table is damaged: TestDisk

Liste des articles
Comment se connecter en root quand on a perdu le mot de passe root 09/07/2009 13:43:11
Comment changer le mot de passe de root quand on a oublié ce dernier.
Liste des liens
Aucun lien existant
©2009 LinuX Maine - Tous droits réservés