Thanks that helped a lot. I have the two MEMTEST's and DFT working now (i didn't know they were on 4.09, i was still using 4.08) Thanks. Unfortunately Spinrite.iso is still not working for me. I copied and pasted exactly what you had and copied the files over from the UBCD4DOS CD and it loads through DOS just fine then sits at a prompt Q: and i typed DIR and saw nothing for startup.bat or spinrite so i went C: and went to the C drive (my USB) and i typed in spinrite.iso and even startup.bat and it didn't work, just an error that it is an unknown command.
I might not of fully understood your description for spinrite so correct me if so:
I edited SYSLINUX.CFG to be like this
LABEL SPINRITE MENU LABEL SpinRite V6 KERNEL memdisk APPEND initrd=\syslinux\images\lzubcd.igz ubcdcmd=SpinRite.iso TEXT HELP Repairs Bad Harddrives ENDTEXT
and then i copied of the LZUBCD.IGZ file and created the bat file as you mentioned by copy pasting what you had and changing the path in the batch from the DOSAPPS to where the ISO is located for me and just get unknown command SpinRite. Any ideas if i did this wrong? If not i think i still have the executable so i can have it create a floppy image instead of a CD image. Thanks.
You need to be using Spinrite.exe directly, not Spinrite.iso and not a floppy image, though a floppy image might be usable with a different menu entry. And you need to put that exe in 1 of 2 possible places that I'm aware of for it to be automatically launched in this way, either the root folder or in the \dosapps\spinrite\ sub-folder. In other words, when you use the ubcdcmd=spinrite command (note the lack of an extension on the end), the LZ-DOS image that the UBCD4DOS guys specially crafted is going to look for \spinrite.exe or \dosapps\spinrite\startup.bat.
I was just trying to find where the ubcdcmd=<command> is documented but couldn't find it. I think maybe I studied the autoexec.bat file from inside the lzubd.igz image file or something in order to figure that out. Sorry I can't point you to better documentation at the moment.
The main reason I did it this way is that I was adding it to a boot disc where I had all the UBCD4DOS tools included, and just adding the exe was the smallest method. But I suppose if you're not using all the tools, a floppy image of Spinrite might be the smallest method. In that scenario, you can exclude lzubcd.igz, make a floppy image of Spinrite, maybe compress it using 7-Zip and the gzip method, rename the compressed floppy image file to spinrite.igz, and use a menu entry something like this instead:
LABEL SPINRITEF MENU LABEL SpinRite V6 (floppy image) KERNEL memdisk APPEND initrd=\syslinux\images\spinrite.igz TEXT HELP Repairs Bad Harddrives ENDTEXT
Just to be clear, here's a menu entry you can use for the UBCD4DOS method that better reflects your changes:
LABEL SPINRITELZ MENU LABEL SpinRite V6 (LZ-DOS) KERNEL memdisk APPEND initrd=\syslinux\images\lzubcd.igz ubcdcmd=spinrite TEXT HELP Repairs Bad Harddrives ENDTEXT
I haven't tested the floppy method, but if it works right, you now have the choice of two different methods. And actually, there's no reason (other than space considerations) you can't use both at the same time, if you wanted to see which one you prefer. If you want to use both, you just have to be sure they each have unique LABEL (and MENU LABEL) entries, which are modified for you above, and that you include the appropriate files of course.
And just to further clarify the overall idea here, syslinux appears to not like ISO image files. At least, nobody has figured out how to make ISO image files work with it directly and has cared to demonstrate it, yet, that I'm aware of.
This post has been edited by xibur: 29 November 2007 - 06:18 PM