Jump to content

cdshell beginner


optico

Recommended Posts

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

Link to comment
Share on other sites


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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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