Le 11/10/2010 17:39, Tech Nux a écrit :
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



Toujours moi, je ne vois pas la partition de type lvm qui *doit* prendre toute la place restante ?

--
Raphael Mazelier


_______________________________________________
Liste de diffusion du FRsAG
http://www.frsag.org/

Répondre à