Customize FAILED! Help
Posted: Sun Jun 12, 2005 9:16 pm
Hello. I have followed the directions on the customizing of UBCD. I have unpacked ISO to C:\UBCD. I have used Winimage to create the 1.44MB and 2.88 images of DOS boot disks. I have placed these images in: C:\UBCD\images. I have edited C:\UBCD\boot\menus\custom.scn with the following:
#
# User-defined Tools
#
custom_menu:
set textColor = color[white on black]
clear
set textColor = color[yellow on blue]
print " ULTIMATE BOOT CD VER 3.3 "
print " http://www.ultimatebootcd.com/ "
print " "
set textColor = color[white on red]
print " [User-defined Tools] "
set textColor = color[white on cyan]
print " "
set textColor = color[grey on cyan]
print " Please read the [Customizing Ultimate Boot CD] in ubcd/index.html first to "
print " understand how to create and add your own boot images to this CD. "
print " "
print " The menu file for this screen is found in boot/menus/custom.scn. Use any "
print " standard text editor to modify the file to add your own boot images. Make sure "
print " you modify the [Actions] section below to add your own key mappings to launch "
print " the user-defined boot images. "
set textColor = color[white on cyan]
print " "
set textColor = color[yellow on cyan]
print " User-defined Section "
set textColor = color[white on cyan]
print " [F1] PowerQuest Drive Image 2K 2.88MB "
print " [F2] PQDI2K (other) "
print " [F3] Dos 6.22 "
print " [F4] Win 98 Rescue "
print " "
print " "
print " "
print " "
print " "
set textColor = color[white on blue]
print " Please select an item (ESC returns to main menu) "
set textColor = color[white on black]
#
# Actions
#
getkey
clear
if ($lastKey == key[f1]); then diskemu /images/pqdi2k288.imz
if ($lastKey == key[f2]); then diskemu /images/pqdi2k.imz
if ($lastKey == key[f3]); then diskemu /images/dos622.imz
if ($lastKey == key[f4]); then diskemu /images/win98.imz
if ($lastKey == key[esc]); then script main.scn
goto custom_menu
I have tried diskemu AND memdisk when writing this script. UBCD burns, and boots correctly. But, when I go into [F5] to the user area, and attempt to boot ANY of my images (with either diskemu or memdisk) I get dumped to command prompt with:
Error: File not found.
[Command: diskemu (or memdisk if used)] [Line: 46.2] [File: custom.scn]
I have the cdrtools with mkisofs and all that in a directory with the PATH= set to include them. This is the cmd line from WinXP that I use to make the ISO:
mkisofs -N -J -r -o \ubcd.iso -b boot/loader.bin -no-emul-boot -boot-load-size 4 .
Anyone have any ideas/help?
Thanks in advance.
Scott - n0nuf
#
# User-defined Tools
#
custom_menu:
set textColor = color[white on black]
clear
set textColor = color[yellow on blue]
print " ULTIMATE BOOT CD VER 3.3 "
print " http://www.ultimatebootcd.com/ "
print " "
set textColor = color[white on red]
print " [User-defined Tools] "
set textColor = color[white on cyan]
print " "
set textColor = color[grey on cyan]
print " Please read the [Customizing Ultimate Boot CD] in ubcd/index.html first to "
print " understand how to create and add your own boot images to this CD. "
print " "
print " The menu file for this screen is found in boot/menus/custom.scn. Use any "
print " standard text editor to modify the file to add your own boot images. Make sure "
print " you modify the [Actions] section below to add your own key mappings to launch "
print " the user-defined boot images. "
set textColor = color[white on cyan]
print " "
set textColor = color[yellow on cyan]
print " User-defined Section "
set textColor = color[white on cyan]
print " [F1] PowerQuest Drive Image 2K 2.88MB "
print " [F2] PQDI2K (other) "
print " [F3] Dos 6.22 "
print " [F4] Win 98 Rescue "
print " "
print " "
print " "
print " "
print " "
set textColor = color[white on blue]
print " Please select an item (ESC returns to main menu) "
set textColor = color[white on black]
#
# Actions
#
getkey
clear
if ($lastKey == key[f1]); then diskemu /images/pqdi2k288.imz
if ($lastKey == key[f2]); then diskemu /images/pqdi2k.imz
if ($lastKey == key[f3]); then diskemu /images/dos622.imz
if ($lastKey == key[f4]); then diskemu /images/win98.imz
if ($lastKey == key[esc]); then script main.scn
goto custom_menu
I have tried diskemu AND memdisk when writing this script. UBCD burns, and boots correctly. But, when I go into [F5] to the user area, and attempt to boot ANY of my images (with either diskemu or memdisk) I get dumped to command prompt with:
Error: File not found.
[Command: diskemu (or memdisk if used)] [Line: 46.2] [File: custom.scn]
I have the cdrtools with mkisofs and all that in a directory with the PATH= set to include them. This is the cmd line from WinXP that I use to make the ISO:
mkisofs -N -J -r -o \ubcd.iso -b boot/loader.bin -no-emul-boot -boot-load-size 4 .
Anyone have any ideas/help?
Thanks in advance.
Scott - n0nuf