Page 1 of 1

ubcd2iso.bat will not run under Win98 Dos

Posted: Thu Apr 19, 2007 4:18 pm
by WillyW
I'd like to add a couple things to UBCD before I burn it. Found the directions here and on the site.

When I ran ubcd2iso.bat, it exited with errors. "bad command or filename".
It is because my operating system is Win98SE.
I see things in the batch file that I assume pertain to W2K and/or WinXP.

mkisofs.exe seems like it will run though. I tried it.
However, the output of mkisofs - help rolls off the top of the screen.
mkisofs - help |more does not paginate it either.
mkisofs - help >> help.txt produced only a zero byte file.
:(

I could use some help coming up with the proper command line for mkisofs to create an iso file.


Thanks

Posted: Fri Apr 20, 2007 7:52 am
by Victor Chew
Actually, all you need to do is to issue the following command line from c:\ubcd:

Code: Select all

tools\ubcd2iso\mkisofs.exe -N -J -joliet-long -D -V "UBCD40" -o <outfile> -b
"isolinux/isolinux.bin" -no-emul-boot -boot-load-size 4 -boot-info-table .
I am pretty sure it will work, since the batch file is mostly window dressing.

Remember to substitute <outfile> with the full path of the output ISO image.

Posted: Fri Apr 20, 2007 8:03 am
by WillyW
Victor Chew wrote:
...

Remember to substitute <outfile> with the full path of the output ISO image.

Would that substitution be in quotes or no?
as d:\outfile.iso or "d:\outfile.iso"


Thanks

Posted: Fri Apr 20, 2007 1:55 pm
by verndog
WillyW wrote:
Victor Chew wrote:
...

Remember to substitute <outfile> with the full path of the output ISO image.

Would that substitution be in quotes or no?
as d:\outfile.iso or "d:\outfile.iso"


Thanks
You only need to quote if their are any spaces in the path such as:
"D:\This Has A Space\So Does This\My Spaced Out.iso"

Posted: Fri Apr 20, 2007 3:51 pm
by WillyW
verndog wrote:
WillyW wrote:
Victor Chew wrote:
...

Remember to substitute <outfile> with the full path of the output ISO image.

Would that substitution be in quotes or no?
as d:\outfile.iso or "d:\outfile.iso"


Thanks
You only need to quote if their are any spaces in the path such as:
"D:\This Has A Space\So Does This\My Spaced Out.iso"
Thanks.
Hopefully, I'll have some time to play around with it later on.

Posted: Sat Apr 21, 2007 9:11 am
by WillyW
Victor Chew wrote:Actually, all you need to do is to issue the following command line from c:\ubcd:

Code: Select all

tools\ubcd2iso\mkisofs.exe -N -J -joliet-long -D -V "UBCD40" -o <outfile> -b
"isolinux/isolinux.bin" -no-emul-boot -boot-load-size 4 -boot-info-table .
I am pretty sure it will work, since the batch file is mostly window dressing.

Remember to substitute <outfile> with the full path of the output ISO image.
Have discovered that this command line does not work.
The error message reports missing pathspec.

If anyone else is reading along, I think I found what to do, with this web
page: www.bootcd.us/Mkisofs_options.php
There are explanations of the command line options there, and an example. It includes the input directory.
Thus, I used:
mkisofs -N -J -joliet-long -D -V "UBCD40" -o "d:\out.iso" -b "isolinux/isolinux.bin" -no-emul-boot -boot-load-size 4 -boot-info-table "d:\ubcd"
Just appended "d:\ubcd" is all.

That command line is too long for dos though. Tried it from a batch file, and was a little bit surprised it ran.

New problem though - it errored out with message about duplicate filenames.
At this point, I wondered if perhaps dos was not handling some long file name encountered somewhere, and thus mkisofs.exe was reporting a dupe. If anybody would like to comment on this, please do.


I have a solution for folks like me, without WinXP or W2K. :)

Use a linux Live CD.
I booted Puppy Linux that I happened to have.

Ran mkisofs there.
Created an ISO for me in a jiffy!

Back to Win98SE, and the CD burning software I am used to.
Burned the ISO to CD.

It boots right up! :)

This is my first try with UBCD. I added a few things, and some of them do not work 100%.... or I am expecting too much.... will start another thread(s) to ask about them.
I was happy to see that the stuff I added worked at all!


In summary:
If you are like me, using Win98, and wish to make a customized UBCD - if you can get mkisofs.exe to work, please post here and tell us all how you did it.
If you just want to get the ISO file created, use a linux CD to boot, and mkisofs it that way. ( If you don't know how to navigate at the the command line under linux, you will need to find out how to do that first. )

Hopefully this will be useful info for someone else.