esp Posted October 7, 2004 Posted October 7, 2004 OK, I found it;The example below works BUT, and I don't know if that is a problem, the script adds a space aftermulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional test" /noexecute=optin /fastdetect /Kernel=OEMKrnl1.exeSo it becomes this after 8 tries;multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional test"********/noexecute=optin /fastdetect /Kernel=OEMKrnl1.exeThe * are the spaces (it's hard to illustrate spaces in this forum)This is the working script@echo offSET /A NUM=%RANDOM% %% 10IF %NUM%==1 GOTO Num1IF %NUM%==2 GOTO Num2IF %NUM%==3 GOTO Num3IF %NUM%==4 GOTO Num4IF %NUM%==5 GOTO Num5IF %NUM%==6 GOTO Num6IF %NUM%==7 GOTO Num7IF %NUM%==8 GOTO Num8IF %NUM%==9 GOTO Num9:Num0bootcfg /RAW "/noexecute=optin /fastdetect /Kernel=OEMKrnl0.exe" /ID 1bootcfg /Timeout 0GOTO END:Num1bootcfg /RAW "/noexecute=optin /fastdetect /Kernel=OEMKrnl1.exe" /ID 1bootcfg /Timeout 0GOTO END:Num2bootcfg /RAW "/noexecute=optin /fastdetect /Kernel=OEMKrnl2.exe" /ID 1bootcfg /Timeout 0GOTO END:Num3bootcfg /RAW "/noexecute=optin /fastdetect /Kernel=OEMKrnl3.exe" /ID 1bootcfg /Timeout 0GOTO END:Num4bootcfg /RAW "/noexecute=optin /fastdetect /Kernel=OEMKrnl4.exe" /ID 1bootcfg /Timeout 0GOTO END:Num5bootcfg /RAW "/noexecute=optin /fastdetect /Kernel=OEMKrnl5.exe" /ID 1bootcfg /Timeout 0GOTO END:Num6bootcfg /RAW "/noexecute=optin /fastdetect /Kernel=OEMKrnl6.exe" /ID 1bootcfg /Timeout 0GOTO END:Num7bootcfg /RAW "/noexecute=optin /fastdetect /Kernel=OEMKrnl7.exe" /ID 1bootcfg /Timeout 0GOTO END:Num8bootcfg /RAW "/noexecute=optin /fastdetect /Kernel=OEMKrnl8.exe" /ID 1bootcfg /Timeout 0GOTO END:Num9bootcfg /RAW "/noexecute=optin /fastdetect /Kernel=OEMKrnl9.exe" /ID 1bootcfg /Timeout 0GOTO ENDEXIT
Alanoll Posted October 8, 2004 Posted October 8, 2004 kinda strange....by default, /fastdetect and the /noexecute are already included. thought maybe not with optin set. I'm not sure, i removed that whole thing before SP2 was final. Perhaps that's what's causing the spaces. BUt even with the spaces it should still work fine
esp Posted October 8, 2004 Posted October 8, 2004 by default, /fastdetect and the /noexecute are already included.It would be if I still used your first example bootcfg /RAW /A WITH the /ABUT then there would be another problem because every time you execute the kernel.ccmd it would add /Kernel=OEMKrnl0.exe to the first line.multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional test" /noexecute=optin /fastdetect /Kernel=OEMKrnl1.exeWould becomemulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional test" /noexecute=optin /fastdetect /Kernel=OEMKrnl1.exe /Kernel=OEMKrnl3.exe /Kernel=OEMKrnl8.exe /Kernel=OEMKrnl5.exeThat's why I chose to dump the /A and rewrite the entire line everytime. It wouldn't matter if this whole thing was just for a unique bootwindow on the cd, you would only use the kernel.cmd once every install but I'm planning to use it on a daily basis on my own computer.
Koentje Posted October 27, 2004 Posted October 27, 2004 I have this problem during my unattended install of Windows XP. The booting of the cd works fine and so does the formatting, but right after that, I get this message:The following value in the SIF-file that Setup uses is damaged or missing:The value 0 (Zero) on the line with the key ntoskrnl.exe in the section [sourceDisksFiles]Than the system says that setup cannot continue. Does anyone how to solve this?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now