Hello,
And thanks, if it help someone , I have resolved my problem with another forum
this is my script
[Main]
Title=Gparted
Level=7
Version=5
Description=Pour fonctionner le script "Grub4Dos" doit être activé
Locked=false
Selected=True
Download_Level=2
Mandatory=False
Author=webjerome, r140
Contact=
Date=20.12.2008
Credits=Avec l'aide du forum www.boot-land.net (with help bootland forum)
[Comment]
This project is based on VistPE by Nightman (www.vistape.net) and includes scripts and code freely available from several users. Most of it comes from www.boot-land.net.
All code taken from public sources is free to use for anyone, but the package you have here also contains many improvements and code made by me, Markus Debus (vpe@markus-debus.de).
If you plan to publish a release based on this or if you want to offer anything from this for download, please contact me first and ask for permission. Thanks.
[variables]
%MenuFile_GRUB%=%targetdir%\menu.lst
[Process]
Echo,Processing Gparted Linux...
If,NotExistFile,"%MenuFile_GRUB%",Exit,"Pour fonctionner le script "Grub4Dos" doit être activé"
DirCopy,"%basedir%\Projects\VistaPE-Core\OtherOS\live","%TargetDir%"
TXTAddLine,"%MenuFile_GRUB%","title Gparted","Append"
TXTAddLine,"%MenuFile_GRUB%","root (cd)","Append"
TXTAddLine,"%MenuFile_GRUB%","kernel /live/vmlinuz1 boot=live union=aufs noswap vga=791 ip=frommedia nolocales","Append"
TXTAddLine,"%MenuFile_GRUB%","initrd /live/initrd1.img","Append"
TXTAddLine,"%MenuFile_GRUB%","lock","Append"
TXTAddLine,"%MenuFile_GRUB%"," ","Append"
[Download]
[Interface]
[InterfaceEncoded]