Page 1 of 1

Anyone know how to add SpinRite to UBCD?

Posted: Mon Feb 18, 2008 8:03 pm
by IsLNdbOi
Anyone know how to add SpinRite to UBCD?

When I run SpinRite in Windows, it gives me an option to create an image file that I can burn on CD or put on a floppy.

I created the *.img file and extracted the contents. In the *.img file are these files:

spinrite.exe
config.sys
kernel.sys
srsplash.sys

The spinrite.exe file in the image file is the exact same one I ran in Windows that let me create the image file in the first place.

I opened config.sys w/ notepad and this is what's in it:

DEVICE=SRSPLASH.SYS
SHELL=SPINRITE.EXE

When I opened kernel.sys and srsplash.sys w/ notepad, both had a bunch of unreadable stuff. Also, the official SpinRite website says:

"SpinRite is self-contained, including its own bootable FreeDOS operating system."


Anyone know how to add SpinRite to UBCD and can post a step-by-step on how to do it?

Thanks.

Posted: Tue Feb 19, 2008 1:54 am
by Icecube
Read http://www.ultimatebootcd.com/customize.html

Use the *.img file. (e.g.: spinrite.img) and copy it to /custom/
Change /menus/custom.cfg

Code: Select all

MENU INCLUDE /menus/defaults.cfg
LABEL back
	MENU LABEL ..
	KERNEL menu.c32
	APPEND /menus/main.cfg
LABEL spinrite
	MENU LABEL SpinRite
	KERNEL memdisk
	APPEND initrd=/custom/spinrite.img
If you have 7zip, you can compress the image to the the gz format.
spinrite.img.gz (you can rename it to spinrit.igz, but it is not nessesary)
If you do this, you have to change the last line to this.

Code: Select all

APPEND initrd=/custom/spinrite.igz

Posted: Tue Feb 19, 2008 6:14 am
by IsLNdbOi
Thanks guys. Icecube, is there some added benefit in having it in *.igz format instead of *.img ?

Posted: Tue Feb 19, 2008 6:56 am
by IsLNdbOi
Also, I don't see a custom.cfg in the menus folder.

Posted: Tue Feb 19, 2008 7:34 am
by Icecube
Also, I don't see a custom.cfg in the menus folder.
Sorry, my fault. It is in the /custom/ folder.
I always make the changes in the cfg files from the /menus/ folder.
Thanks guys. Icecube, is there some added benefit in having it in *.igz format instead of *.img ?
*.igz format is a gz compressed image (compress it with 7zip to the gz format http://www.7-zip.org).
If you look at the images folder you can see that it contains a lot of *.igz files. They are all compressed *.img files , which were 1.4MB or 2.8MB in size before compression(= size of a floppy disk). Now most of the files are less than 1MB (smallest file is only 2.5kb).

The compression saves a lot of space. If you want to include larger programs, all space that you can save is handy. When a file is smaller, the time to read it from the CD is also shorter (decompression of the file is faster than reading more from the CD).
The spinrite.img should compress to a very good ratio.

You don't have to compress the image, but it has advantages when you do it.

Posted: Tue Feb 19, 2008 7:58 am
by IsLNdbOi
Thanks again. Just made the custom UBCD w/ SpinRite and it works!