MSFN Forum: cdshell beginner - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

cdshell beginner Rate Topic: -----

#1 User is offline   optico 

  • Group: Members
  • Posts: 7
  • Joined: 07-November 05

Posted 31 July 2007 - 01:05 AM

I am a beginner with cdshell .I need somme help .I am using the http://www.cdshell.o...oc/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 ???

Attached File(s)




#2 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 757
  • Joined: 29-September 05

Posted 31 July 2007 - 01:57 AM

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


#3 User is offline   optico 

  • Group: Members
  • Posts: 7
  • Joined: 07-November 05

Posted 31 July 2007 - 06:26 AM

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

This post has been edited by optico: 31 July 2007 - 06:29 AM


#4 User is offline   LiquidSage 

  • Wayward Prophet
  • PipPipPipPip
  • Group: Members
  • Posts: 577
  • Joined: 29-August 03

Posted 31 July 2007 - 09:49 AM

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.

#5 User is offline   optico 

  • Group: Members
  • Posts: 7
  • Joined: 07-November 05

Posted 01 August 2007 - 11:47 AM

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

#6 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 757
  • Joined: 29-September 05

Posted 02 August 2007 - 05:23 AM

Quote

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy