Help - Search - Members - Calendar
Full Version: begginer
The CD Forum > CD Shell and Boot Scriptor > Troubleshooting & Problems
optico
I am a beginner with cdshell .I need somme help .I am using the http://www.cdshell.org/doc/buildcd.html tutorial to create my cd menu but mkisofs.exe not working to build my iso . I have created a iso batch with the script
"@echo off
mkisofs -b loader.bin -hide loader.bin -no-emul-boot -boot-load-size 4 -l -o main.iso boot
pause "
but i get the error "invalid mode -boot"
Where is the mistake ???
cdob
Do you crosspost over forums?
http://www.msfn.org/board/index.php?showtopic=101991

QUOTE
but i get the error "invalid mode -boot"
Where is the mistake ???

It's a mistake, not to list the true error message.

Do you get ?
QUOTE
mkisofs: No such file or directory. Invalid node - 'boot'.


Current work directory is importand.
If you like to add current work directory, use a point.

CODE
mkisofs -b loader.bin -hide loader.bin -no-emul-boot -boot-load-size 4 -l -o main.iso .
paraglider
Assuming that your cmd file is in the same directory as mkisofs then its always a good idea to force the current directory at the start of the command file so that its the same as the command file. This is done by adding:

cd /d "%~dp0"

to the batch file. The directory boot must be an immediate subdirectory of the current directory.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.