From Fedora Project Wiki

Revision as of 20:50, 16 February 2010 by Mrtom (talk | contribs) (moved Fr FR/IntroductionAnaconda to Archive:Fr FR/IntroductionAnaconda)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Important.png
Old page
This page has been marked as "old", and likely contains content that is irrelevant or incorrect. If you can, please update this page. This page will be deleted if action is not taken.

I. Introduction à Anaconda

1. Anaconda - Le programme d'installation de Fedora Core

Anaconda est un programme d'installation pour les distributions Fedora Core et Red Hat Linux. Durant l'installation, Le matériel du système est identifié et configuré, et les système de fichiers appropriés pour l'architecture du système sont créés. Il pemet par la suite l'installation de divers logiciel empaquetés. Anaconda peut être également utilisé pour la mise à jour d'une installation Fedora Core ou Red Hat existante.

Anaconda est capable de se lancer en mode texte pour de ancienne machine ou en mode graphique pour des machine modernes. Il a également la possiblité de se lancer dans un mode totalement automatisé, via l'utilisation d'un fichier_kickstart, Permettant que l'installation soit préétabli pour une opération sans surveillance. Anaconda peut aussi être employé pour installer des systèmes au-dessus d'un réseau, par n'importe lequel des protocoles de gestion de réseau communs (eg. ftp, http, nfs). Cela rend le processus de déployement de systèmes des centaines, ou même des millier de fois plus rapide, efficace et facile à contrôler.

La majorité d'Anaconda est écrit en Python, avec de petit chargeur initiaux écrit en C. Le code est distributé sous la lisence GPL. L'inerface graphique est écrit avec pyGtk. Utilisant un langage préétabli telle que le Python pour la majorité du code permit pour unez distribution simple de mise à jour et de développement de nouveaux dispositifs.

2. La procédure d'installation (depuis un CD/DVD amorçable)

Démarrer depuis un CD/DVD requiers un processus de démarrage différent comparé à l'amorçage depuis un disque dur. The linux kernel doesn’t really know how to boot from a CD-ROM. When booting from a CD-ROM, an initrd (initial ramdisk) is used as the root filesystem. The initrd is loaded by the _boot loader_ - not the kernel. This makes it possible to boot from any device accessible to the bootloader. ISOLINUX is the boot loader commonly used for booting from a CD-ROM.

Processus de démarrage (depuis un CD/DVD):

1. Phase d'initialisation du PC - BIOS, POST. 1. ISOLINUX est invoqué depuis un CD/DVD amorçable (isolinux.bin). 1. ISOLINUX charge le noyau depuis le répertoire du périphérique (le répertoire /isolinux sur le CD/DVD). 1. ISOLINUX charge l'image initrd (initrd.img). 1. The kernel then takes over, and attempts to decompresses the initrd.img into memory (/dev/ram0), and mounts this new filesystem as root (/). 1. The kernel attempts to run /linuxrc in the newly created root filesystem. 1. The linuxrc program then mounts the CD-ROM (by trial and error), and decompresses a 'true' root filesystem from CD-ROM to /dev/ram1. 1. The kernel takes over and mounts the newly configured root filesystem. The new filesystem is mounted and a softlink for the CD-ROM is added to the /dev directory, so that the system has access to the CD-ROM. 1. The kernel runs the /sbin/loader binary which then invokes the anaconda installer.

Processus de Anaconda:

1. Probe for hardware devices (eg. CD/DVD drives, hard-drives, etc) 1. Prompt to test CD for errors screen 1. Probe for video card 1. Probe for monitor 1. Probe for mouse 1. Welcome to Fedora Core introduction screen 1. Language Selection for the installation screen 1. Keyboard Configuration screen 1. Mouse Configuration screen 1. Monitor Configuration screen 1. Search for existing Fedora Core/Red Hat Linux installations 1. Upgrade existing installation or perform fresh Fedora Core installation screen 1. Installation Type screen [Personal Desktop, Workstation, Server, Custom] 1. Disk Partitioning Setup screen [Automatically Partion, Manually Partition with Disk Druid] 1. Boot Loader Selection screen 1. Network Configuration screen 1. Firewall Configuration screen 1. Default Language Selection for the system and install of additional languages screen 1. Time Zone Selection screen 1. Root Password Selection screen 1. Package Selection screen [Default Packages, Custom Package Selection] 1. Formatting of configured filesystems 1. Transfer of install image to hard drive 1. Installation of Packages 1. Reboot screen. Congratulations, the installation is complete