bonjour,
Je suis entrain de tenter une installation via un fichier preseed.cfg.
Je démarre le cd au moment du choix je fait esc, puist mest auto url=http://192.168.1.115/preseed.cfg
tout se passe bien jusqu’à :
The installer failed to process the preconfiguration file from http://192.168.1.115/preseed.cfg the file may be corrupt
mon fichier preseed.cfg:
##choix de la langue d'installation
d-i debian-installer/locale string fr_FR
# choix du clavier (select indique une liste de choix)
d-i console-keymaps-at/keymap select fr
#choix de l'interface select auto (interface réseaux)
d-i netcfg/choose_interface select auto
#### configuration du hostname ###
d-i netcfg/get_hostname string robinux-laptop
# configuration du domaine
d-i netcfg/get_domain string robinux.lan
# configuration du réseau en dhcp
d-i netcfg/dhcp_timeout string 60
# type de rpotcole pour acces au mirroir
d-i mirror/protocol string ftp
# choix du mirroir
d-i mirror/ftp/hostname string ftp.fr.debian.org
# choix du répertoir dans le mirroir
d-i mirror/ftp/directory string /debian
d-i mirror/ftp/proxy string
# Type de distribution (stable, testing, experimentale)
d-i mirror/suite string experimental
# configuration horaire
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Paris
# pas de serveur ntp
d-i clock-setup/ntp boolean false
# partion boot pour amorcer lvm
d-i partman-auto/disk string /dev/sda
d-i partman-auto/expert_recipe string \
boot-root :: \
128 128 128 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
.
# Partitioning LVM
d-i partman-auto/method string lvm
d-i partman-auto/disk string /dev/md0
d-i partman-auto-lvm/new_vg_name string vg0
d-i partman-lvm/vgcreate string vg0
10240 10240 10240 ext3 \
$lvmok{ } in_vg{ vg0 } lv_name{ root } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
. \
10240 10240 10240 ext3 \
$lvmok{ } in_vg{ vg0 } lv_name{ root } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /home } \
. \
2048 2048 2048 linux-swap \
$lvmok{ } in_vg{ vg0 } lv_name{ swap } \
method{ swap } format{ } \
.
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
# configuration du compte root (à décommanter pour le passe root automatique)
d-i passwd/root-password password xxx
d-i passwd/root-password password-again xxx
#configuration d’un autre user
d-i passwd/user-fullname string test test
d-i passwd/username string test
d-i passwd/user-password test azerty
d-i passwd/user-password-again password azerty
# ajout de non-free et contrib dans /etc/apt/sources.list
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
# Selection d’une install standard, sans desktop
tasksel tasksel/standard
# ajout des packages supplémentaires
d-i pkgsel/include string openssh-server build-essential xorg xterm dialog openbox gdebi gmrun obconf obmenu synaptic nitrogen openbox-themes gnome-themes bee-icons bee-wallpapers gnome-utils alsa-utils mesa-utils xarchiver unrar galternatives htop xfce4-taskmanager fbpanel-fr wicd thunar thunar-archive-plugin mplayer-nogui iceweasel iceweasel-l10n-fr gtk2-engines-aurora flashplayer-mozilla ffmpeg w32codecs libmp3lame0 gstreamer0.10-ffmpeg gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly libdvdcss2 libdvdnav4 libdvdread3 msttcorefonts sun-java6-plugin geany transmission gimp audacious audacious-plugins audacious-plugins-extra mplayer-nogui gnome-mplayer mozilla-mplayer brasero evince gpicview
# installation de grub
d-i grub installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
# extinction de la machine après l’install
d-i debian-installer/exit/poweroff boolean true
# ajout d’encodage ISO UTF8
locales locales/default_environment_locale select fr_FR@euro
locales locales/locales_to_be_genereted multiselect fr_FR.UTF-8 UTF-8, fr_FR@euro ISO-8859-15
# script post install
d-i pressed/late_command string in-target wget http://192.168.1.2/post-install.sh; in-target /bin/sh post-install.sh; in-target rm -f post-install.sh
vous voyez une erreur ?