Création DVD multi-boot error

Statut
N'est pas ouverte pour d'autres réponses.
V

vendredi13

ex membre
hello, cela fait plusieurs semaines que je suis occupé d'essayer de faire marché ce ... de dvd multiboot.
Pour le créer pas de prob, pour l'iso pas de prob non plus et pour graver c bon aussi

Seulement qd je boot sur le dvd, "appuyer sur enter pour booter sur le dvd"

mon menu apparait mais qd je choisi une option, n importe laquelle, le cd charge et hop il passe au dessus et lance mon systeme d'exploitation.
a mon avis, il doit y avoir une erreur au niveau de mon fichier cdshell.ini
je vs le montre


CDShell.ini :

Code:
boot: 

cls 
print "\n" 
print "Appuyer sur Entrer pour booter sur le DVD... \n" 

getkey 5 boot 0x80 
if $lastKey == key[enter]; then goto menu 
# When no key found... 
goto boot 


# Affichage de l'ecran de selection de l'OS a installer 
menu: 
set textColor= color[yellow on black] 
set boldColor= color[cyan on black] 
cls 


print "1) Installer Windows XP Pro sp1 \n" 
print "2) Installer Windows XP Home \n" 
print "3) Installer Windows Server 2003 Enterprise \n" 
print "4) Installer Windows 2000 Professionnel \n" 
print "5) Installer Windows 2000 Server \n" 
print "6) Installer Windows NT 4.0 server \n" 
print "7) Installer Winodws NT 4.0 Workstation \n" 
print "8) Installer Windows 98 SE \n" 
print "9) Installer Windows ME \n" 
print "0) ERD Commander 2003 \n" 
print "\n" 
print "Q) Quitter \n" 
print "R) Redemarrer \n" 
print "ESC) Booter sur le 1er Disque-Dur \n" 
print c "\n" 



MainKey: 
getkey 20 boot 0x80 
if $lastKey == key[1]; then goto Etiquette_XP_Pro 
if $lastKey == key[2]; then goto Etiquette_XP_Home 
if $lastKey == key[3]; then goto Etiquette_Server_2003 
if $lastKey == key[4]; then goto Etiquette_2000_Pro 
if $lastKey == key[5]; then goto Etiquette_2000_Server 
if $lastKey == key[6]; then goto Etiquette_NT4_Server 
if $lastKey == key[7]; then goto Etiquette_NT4_Workstation 
if $lastKey == key[8]; then goto Etiquette_Win98_Se 
if $lastKey == key[9]; then goto Etiquette_Win_ME 
if $lastKey == key[0]; then goto Etiquette_ERD 



if $lastKey == key[Q]; then end 
if $lastKey == key[R]; then reboot 
if $lastKey == key[ESC]; then boot 0x80 



Rem ************************************ 
Rem *** Demarrage de Windows XP Pro *** 
Rem ************************************ 
Etiquette_XP_Pro: 
cls 
if $lastKey == key[1]; then chain /PRO1.DAT 
if $lastKey == key[Q]; then goto menu 


Rem ****************************************** 
Rem *** Demarrage de Windows XP Familiale *** 
Rem ****************************************** 
Etiquette_XP_Home: 
cls 
getkey 20 boot 0x80 
if $lastKey == key[2]; then chain /HOM1.DAT 
if $lastKey == key[Q]; then goto menu 


Rem **************************************************** 
Rem *** Demarrage de Windows Server 2003 Enterprise *** 
Rem **************************************************** 
Etiquette_Server_2003: 
cls 
getkey 20 boot 0x80 
if $lastKey == key[3]; then chain /3ENT.DAT 
if $lastKey == key[Q]; then goto menu 


Rem ************************************************ 
Rem *** Demarrage de Windows 2000 Professionnel *** 
Rem ************************************************ 
Etiquette_2000_Pro: 
cls 
getkey 20 boot 0x80 
if $lastKey == key[4]; then chain /2PRO.DAT 
if $lastKey == key[Q]; then goto menu 


Rem ***************************************** 
Rem *** Demarrage de Windows 2000 Server *** 
Rem ***************************************** 
Etiquette_2000_Server: 
cls 
getkey 20 boot 0x80 
if $lastKey == key[5]; then chain /2SRV.DAT 
if $lastKey == key[Q]; then goto menu 


Rem ******************************************* 
Rem *** Demarrage de Windows NT 4.0 Server *** 
Rem ******************************************* 
Etiquette_NT4_Server: 
cls 
getkey 20 boot 0x80 
if $lastKey == key[6]; then chain /NT4S.DAT 
if $lastKey == key[Q]; then goto menu 


Rem ************************************************ 
Rem *** Demarrage de Windows NT 4.0 Wokrstation *** 
Rem ************************************************ 
Etiquette_NT4_Workstation: 
cls 
getkey 20 boot 0x80 
if $lastKey == key[7]; then chain /NT4W.DAT 
if $lastKey == key[Q]; then goto menu 


Rem *********************************** 
Rem *** Demarrage de Windows 98 Se *** 
Rem *********************************** 
Etiquette_Win98_Se: 
cls 
getkey 20 boot 0x80 
if $lastKey == key[8]; then memdisk /98SE.IMA 
if $lastKey == key[Q]; then goto menu 


Rem ******************************** 
Rem *** Demarrage de Windows ME *** 
Rem ******************************** 
Etiquette_Win_ME: 
cls 
getkey 20 boot 0x80 
if $lastKey == key[9]; then memdisk /ME.IMA 
if $lastKey == key[Q]; then goto menu 



Rem **************************************** 
Rem *** Demarrage de Erd Commander 2003 *** 
Rem **************************************** 
Etiquette_ERD: 
cls 
getkey 20 boot 0x80 
if $lastKey == key[0]; then chain /ERD1.DAT 
if $lastKey == key[Q]; then goto menu 
end
Mon cdshell.ini me semble bon je comprends pas du tout

qq un pourrait il m aider à remedier à mon problème svp


Pourriez vous aussi m'indiquer l'arborescence exacte de répertoire "BOOT"

merci d'avance
 

alan

Elite
oula chouette TFE toi .... :)
je c pas trop mais deja regardé sur une disquette boot windows 98 ???
(PS : t'as les licences de tout ca ou bien c'est Monsieur D ou R ou V ou le nouveau .... qui a tout ca ...

humm je connais pas trop le shell ss windows mais un truc que je comprends pas :
Code:
...
if $lastKey == key[1]; then goto Etiquette_XP_Pro 
...
Etiquette_XP_Pro:
cls
if $lastKey == key[1]; then chain /PRO1.DAT
if $lastKey == key[Q]; then goto menu ...
tu fais 2 vérifications de ton $lastKey ca sert a rien c'est une répétition inutile, et aussi une perte de temps pour ton CPU meme si c'est infime .... et si tu montres ton codes(surement écrit dans ton TFE) a mon avis il vont te demander des explications....

A ta place je mettrais pas un goto mais directement
Code:
if $lastKey == key[1]; then chain /PRO1.DAT
aller bon courage pour ta présentation et tes exams ....
 

Gh0$T

Elite
Bah le code il le connais alan, mais il y a une petite erreur dans son cod et là on est assez presser de trouvé la solution :]
 

Bingo

Beer Addict
Code:
if $lastKey == key[1]; then chain /PRO1.DAT
PRO1.DAT est bien dans la racine de ton DVD ?
 
1er
OP
V

vendredi13

ex membre
ok alan je v tester ca merci

ghost, tu crois qu il y aurait une autre commande?

bingo, oui pro1.dat est bien a la racine du dvd


je comprends pas ce qui se passe!

merci pour votre aide
a bientot
 
1er
OP
V

vendredi13

ex membre
re coucou, voila j ai modifié mon cdshell.ini en suivant les instructions d'alan et j en suis arrivé à ça

cdshell.ini :

Code:
boot:

cls
print "\n"
print "Appuyer sur Entrer pour booter sur le DVD... \n"

getkey 5 boot 0x80
if $lastKey == key[enter]; then goto menu
# When no key found...
goto boot

cls

# Affichage de l'ecran de selection de l'OS a installer
menu:
set textColor= color[yellow on black]
set boldColor= color[cyan on black]
cls


print "Appuyer sur un de ces touches pour installer un systeme d'exploitation \n"
print "\n"
print "1)  Installer Windows XP Pro sp1 \n"
print "2)  Installer Windows XP Home \n"
print "3)  Installer Windows Server 2003 Enterprise \n"
print "4)  Installer Windows 2000 Professionnel \n"
print "5)  Installer Windows 2000 Server \n"
print "6)  Installer Windows NT 4.0 server \n"
print "7)  Installer Winodws NT 4.0 Workstation \n"
print "8)  Installer Windows 98 SE \n"
print "9)  Installer Windows ME \n"
print "0)  ERD Commander 2003 \n"
print "Q)  Quitter \n"
print "R)  Redemarrer \n"
print "ESC) Booter sur le Disque-Dur \n"
print c "\n"


MainKey:
getkey 60 boot 0x80
if $lastKey == key[1]; then chain /PRO1.DAT
if $lastKey == key[2]; then chain /HOM1.DAT
if $lastKey == key[3]; then chain /3ENT.DAT
if $lastKey == key[4]; then chain /2PRO.DAT
if $lastKey == key[5]; then chain /2SRV.DAT
if $lastKey == key[6]; then chain /NT4S.DAT
if $lastKey == key[7]; then chain /NT4W.DAT
if $lastKey == key[8]; then memdisk /98SE.IMA
if $lastKey == key[9]; then memdisk /ME.IMA
if $lastKey == key[0]; then chain /ERD1.DAT
if $lastKey == key[Q]; then end
if $lastKey == key[R]; then reboot
if $lastKey == key[ESC]; then boot 0x80
end
voila, j ai un autre prob maintenant
erreur: cdboot: cannot boot from cd - code 5

cela se passe qd je boot sur le dvd et que je choisi par exemple d'installer win xp j appuie sur 1 et paf vieille erreur qui se pointe

Si qq un peut m aider toutes les propositions sont les bienvenues
merci
a bientot
 
Statut
N'est pas ouverte pour d'autres réponses.
Haut