Jump to content

Recommended Posts

Posted

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 ???

post-78970-1185865507_thumb.jpg


Posted

Your root-of-iso-tree is c:\boot

Actually it's about relative path. How do you launch the script?

At current working path c:\boot, there dosn't exist another folder boot.

Try

@echo off
cd /d c:\boot
mkisofs -b loader.bin -hide loader.bin -no-emul-boot -boot-load-size 4 -l -o main.iso .
pause

Another solution.

Try

mkisofs -b loader.bin -hide loader.bin -no-emul-boot -boot-load-size 4 -l -o main.iso c:\boot

Posted (edited)

It works the bat but when i test the iso with virtual pc i get an error " please report the eight-digit code to .... " and the code is 80200279

Do wou have an simple ex of a antire script that works with all the files ???

Edited by optico
Posted

80x Boot Codes

- Make sure that cdsh.bin is at the proper location.

- If the image size is 1.5gig+ then mount the image using a virtual CD program and reference the drive in Virtual PC instead of the .ISO directly.

- Make sure you are using an agreeable mkisofs for what you are doing. There are quite a few modified versions.

(Try using the mkisofs that is included with Bart's PEBuilder.)

Please post the structure of your image after it was made with mkisofs. Your problem most likely is incorrect file/folder placement.

Nlite allows you to build a ISO with a custom boot loader using mkisofs. Perhaps you should try building through it's GUI and see if that doesn't help you find where you are going wrong.

Posted
How can i copy copy an entire folder that contains folder, subfolder, etc with batch files??

Xcopy.exe copy files, folders and subfolders.

Run xcopy /?

Or read files from different folders: add fodler c:\boot and folder c:\add

mkisofs ... c:\boot c:\add

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...