Bonjour,

Je travaille à la mise au point d'un script preseed pour Debian Lenny
derniere version :
wget http://ftp.fr.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/netboot.tar.gz

 et je but violemment sur la mise en place du LVM.
Ma configuration n'est jamais prise en compte (base noyaux Netboot),
j'ai suivi la doc officielle, non officielle, moi-meme et meme le chat !!! Rien à faire, ca sent le bug à plein nez ...

Voici une de mes conf (on ne peut plus simple):

d-i partman-auto/method string lvm
d-i partman-auto-lvm/new_vg_name string vg00
d-i partman-lvm/vgcreate string vg00

d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true

d-i partman-auto/expert_recipe string boot-root :: 512 512 512 ext3
$primary{ } $bootable{ } method{ format } format{ } use_filesystem{ }
filesystem{ ext3 } mountpoint{ /boot } . 8192 8192 8192 swap $lvmok{ }
in_vg{ vg00 } lv_name{ lv_swap } method{ swap } format{ } . 10240
10240 10240 ext3 $lvmok{ } in_vg{ vg00 } lv_name{ lv_root }
method{ format } format{ } use_filesystem{ } filesystem{ ext3 }
mountpoint{ / } . 20480 20480 20480 ext3 $lvmok{ } in_vg{ vg00 }
lv_name{ lv_var } method{ format } format{ } use_filesystem{ }
filesystem{ ext3 } mountpoint{ /var } . 100 1000 1000000000 ext3
$lvmok{ } method{ keep } .

d-i partman-auto/choose_recipe select boot-root
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman-basicmethods/method_only boolean false


Et voici l'erreur qui remonte dans les log apres l'installation
(DEBCONF_DEBUG=5 est indispensable) :
Oct 11 13:15:59 partman-auto: Expert recipe too large (39524 > 16106);
skipping

J'ai bien essayé de faire une conf toute petite, supprimé tout et
laissé un / dans le lvm... rien à faire, toujours l'erreur mais la
valeur 39524 change bien en fonction de ma ligne....

Ci-dessous la totaltité des logs debconf, ca peut être utile :

ct 11 13:15:33 debconf: --> FSET clock-setup/ntp-server seen true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman-auto/disk /dev/sda
Oct 11 13:15:33 debconf: <-- 10 partman-auto/disk doesn't exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman-
auto/disk
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman-auto/disk /dev/sda
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman-auto/disk ID partman-auto/
disk
Oct 11 13:15:33 debconf: Adding [ID] -> [partman-auto/disk]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman-auto/disk seen true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman-auto/method lvm
Oct 11 13:15:33 debconf: <-- 10 partman-auto/method doesn't exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman-
auto/method
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman-auto/method lvm
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman-auto/method ID partman-
auto/
method
Oct 11 13:15:33 debconf: Adding [ID] -> [partman-auto/method]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman-auto/method seen true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman-auto-lvm/new_vg_name vg00
Oct 11 13:15:33 debconf: <-- 10 partman-auto-lvm/new_vg_name doesn't
exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman-
auto-lvm/new_vg_name
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman-auto-lvm/new_vg_name vg00
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman-auto-lvm/new_vg_name ID
partman-auto-lvm/new_vg_name
Oct 11 13:15:33 debconf: Adding [ID] -> [partman-auto-lvm/new_vg_name]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman-auto-lvm/new_vg_name seen
true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman-lvm/vgcreate vg00
Oct 11 13:15:33 debconf: <-- 10 partman-lvm/vgcreate doesn't exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman-
lvm/vgcreate
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman-lvm/vgcreate vg00
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman-auto-lvm/new_vg_name ID
partman-auto-lvm/new_vg_name
Oct 11 13:15:33 debconf: Adding [ID] -> [partman-auto-lvm/new_vg_name]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman-auto-lvm/new_vg_name seen
true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman-lvm/vgcreate vg00
Oct 11 13:15:33 debconf: <-- 10 partman-lvm/vgcreate doesn't exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman-
lvm/vgcreate
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman-lvm/vgcreate vg00
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman-lvm/vgcreate ID partman-
lvm/
vgcreate
Oct 11 13:15:33 debconf: Adding [ID] -> [partman-lvm/vgcreate]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman-lvm/vgcreate seen true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman-lvm/device_remove_lvm true
Oct 11 13:15:33 debconf: <-- 10 partman-lvm/device_remove_lvm doesn't
exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman-
lvm/device_remove_lvm
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman-lvm/device_remove_lvm true
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman-lvm/device_remove_lvm ID
partman-lvm/device_remove_lvm
Oct 11 13:15:33 debconf: Adding [ID] -> [partman-lvm/
device_remove_lvm]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman-lvm/device_remove_lvm seen
true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman-lvm/confirm true
Oct 11 13:15:33 debconf: <-- 10 partman-lvm/confirm doesn't exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman-
lvm/confirm
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman-lvm/confirm true
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman-lvm/confirm ID partman-lvm/
confirm
Oct 11 13:15:33 debconf: Adding [ID] -> [partman-lvm/confirm]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman-lvm/confirm seen true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman-auto/expert_recipe boot-
root :: 512 512 512 ext3 $primary{ } $bootable{ } method{ format }
format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } .
8192 8192 8192 swap $lvmok{ } in_vg{ vg00 } lv_nam
Oct 11 13:15:33 debconf: <-- 10 partman-auto/expert_recipe doesn't
exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman-
auto/expert_recipe
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman-auto/expert_recipe boot-
root :: 512 512 512 ext3 $primary{ } $bootable{ } method{ format }
format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } .
8192 8192 8192 swap $lvmok{ } in_vg{ vg00 } lv_nam
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman-auto/expert_recipe ID
partman-auto/expert_recipe
Oct 11 13:15:33 debconf: Adding [ID] -> [partman-auto/expert_recipe]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman-auto/expert_recipe seen true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman-auto/choose_recipe boot-root
Oct 11 13:15:33 debconf: <-- 10 partman-auto/choose_recipe doesn't
exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman-
auto/choose_recipe
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman-auto/choose_recipe boot-root
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman-auto/choose_recipe ID
partman-auto/choose_recipe
Oct 11 13:15:33 debconf: Adding [ID] -> [partman-auto/choose_recipe]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman-auto/choose_recipe seen true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman/confirm_write_new_label true
Oct 11 13:15:33 debconf: <-- 10 partman/confirm_write_new_label
doesn't exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman/
confirm_write_new_label
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman/confirm_write_new_label true
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman/confirm_write_new_label ID
partman/confirm_write_new_label
Oct 11 13:15:33 debconf: Adding [ID] -> [partman/
confirm_write_new_label]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman/confirm_write_new_label seen
true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman/choose_partition finish
Oct 11 13:15:33 debconf: <-- 10 partman/choose_partition doesn't exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman/
choose_partition
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman/choose_partition finish
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman/choose_partition ID
partman/
choose_partition
Oct 11 13:15:33 debconf: Adding [ID] -> [partman/choose_partition]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman/choose_partition seen true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman/confirm true
Oct 11 13:15:33 debconf: <-- 10 partman/confirm doesn't exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman/
confirm
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman/confirm true
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman/confirm ID partman/confirm
Oct 11 13:15:33 debconf: Adding [ID] -> [partman/confirm]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman/confirm seen true
Oct 11 13:15:33 debconf: <-- 0 true
Oct 11 13:15:33 debconf: --> SET partman-basicmethods/method_only
false
Oct 11 13:15:33 debconf: <-- 10 partman-basicmethods/method_only
doesn't exist
Oct 11 13:15:33 debconf: --> REGISTER debian-installer/dummy partman-
basicmethods/method_only
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> SET partman-basicmethods/method_only
false
Oct 11 13:15:33 debconf: <-- 0 value set
Oct 11 13:15:33 debconf: --> SUBST partman-basicmethods/method_only ID
partman-basicmethods/method_only
Oct 11 13:15:33 debconf: Adding [ID] -> [partman-basicmethods/
method_only]
Oct 11 13:15:33 debconf: <-- 0
Oct 11 13:15:33 debconf: --> FSET partman-basicmethods/method_only
seen true
Oct 11 13:15:33 debconf: <-- 0 true
[...]
ct 11 13:15:59 debconf: --> METAGET partman/text/scsi_disk description
Oct 11 13:15:59 debconf: <-- 0 SCSI%s (%s,%s,%s) (%s)
Oct 11 13:15:59 debconf: --> GET partman-auto/method
Oct 11 13:15:59 debconf: <-- 0 lvm
Oct 11 13:15:59 debconf: --> GET partman-auto/disk
Oct 11 13:15:59 debconf: <-- 0 /dev/sda
Oct 11 13:15:59 debconf: --> METAGET partman/text/scsi_disk
description
Oct 11 13:15:59 debconf: <-- 0 SCSI%s (%s,%s,%s) (%s)
Oct 11 13:15:59 debconf: --> GET partman-auto/expert_recipe
Oct 11 13:15:59 debconf: <-- 0 boot-root :: 512 512 512 ext3
$primary{ } $bootable{ } method{ format } format{ } use_filesystem{ }
filesystem{ ext3 } mountpoint{ /boot } . 8192 8192 8192 swap $lvmok{ }
in_vg{ vg00 } lv_name{ lv_swap } method{ swap } f
Oct 11 13:15:59 debconf: --> SET partman-auto/expert_recipe_file /tmp/
expert_recipe
Oct 11 13:15:59 debconf: <-- 0 value set
Oct 11 13:15:59 debconf: --> GET partman-auto/expert_recipe_file
Oct 11 13:15:59 debconf: <-- 0 /tmp/expert_recipe
Oct 11 13:15:59 debconf: --> METAGET boot-root description
Oct 11 13:15:59 debconf: <-- 10 boot-root doesn't exist
Oct 11 13:15:59 partman-auto: Expert recipe too large (39524 > 16106);
skipping
Oct 11 13:15:59 debconf: --> GET partman-auto/choose_recipe
Oct 11 13:15:59 debconf: <-- 0 boot-root
Oct 11 13:15:59 debconf: --> METAGET partman-auto/text/atomic_scheme
description
Oct 11 13:15:59 debconf: <-- 0 Tout dans une seule partition
(recommandé pour les débutants)
Oct 11 13:15:59 debconf: --> METAGET partman-auto/text/home_scheme
description
Oct 11 13:15:59 debconf: <-- 0 Partition /home séparée
Oct 11 13:15:59 debconf: --> METAGET partman-auto/text/multi_scheme
description


Merci de votre aide :)

m&n's