Help - Search - Members - Calendar
Full Version: Project problems
The CD Forum > CD Shell and Boot Scriptor > Troubleshooting & Problems
Aleksey09
Dear users:
I would like to introduce myself, my name is Nicolas and I'm in a project to create a tool for repairing computer containing analysis software, Windows XP, Vista and seven and 2 GNU / Linux distribution in submenus and options to a graphical interface and / or text using the last CdShell has emerged.
I turn to you for 3 issues:
The first is that I have tested the project McGyver (so I baptized) emulator in the latest version of VirtualBox on a Windows XP SP3 and when I select any of the options (eg, windows 7) does not load anything and the screen is static (even in text mode, selecting any option to boot, appears the version of cdshell and the name of the creator of it and nothing happens there), so I leave the script to have it tested and I can say I'm doing wrong.
The second is that based on the script I offer them, I can advise that it should add or modify the project to make it better.
And finally, if you have any documentation or tutorial or information cdshell to learn how to manage or want to offer other options to create multiboot flash drives for the purpose for which it was created the project McGyver, pasenmela if you can I'm curious and want to learn as possible on these tools to exploit them.

Sincerely, I salute you.

Here's the script of "McGyver USB 1.0 Beta"

if $vga
then goto vga2
else goto otromenu

vga2:
if $vesa
then goto menugrafico
else goto masmenu

otromenu:
cls
show console
menutexto:

masmenu:
cls
show console
font fonts/boxround.f16

menutexto:

set textColor = color[cyan on blue]
clear
font fonts/boxround.f16
set textColor = color[cyan on blue]
print " "
print " USB McGyver "
print " Menu Principal "
print " "
set textColor = color[blue on cyan]
print " "
print " "
print " "
print " "
print " "
print " [F1] Software de Diagnostico y Respaldo "
print " "
print " "
print " [F2] Sistemas Operativos Microsoft "
print " "
print " "
print " [F3] Sistemas Opetarivos GNU/Linux "
print " "
print " "
print " "
print " "
print " "
set textColor = color[cyan on blue]
print " "
print " [A] Acerca de [G] Menu Grafico "
print " [R] Reiniciar el Equipo [ESC] Bootear desde el Disco Duro "

getkey 60 goto hddboot80
if ($lastKey == key[f1]); then goto diagnostico
if ($lastKey == key[f2]); then goto microsoft
if ($lastKey == key[f3]); then goto gnulinux
if ($lastKey == key[a]); then goto acercade
if ($lastKey == key[g]); then goto menugrafico
if ($lastKey == key[r]); then reboot cold
if ($lastKey == key[esc]); then goto hddboot80
goto menutexto

hddboot80:
if bootCheck[0x80]; then boot 0x80
clear
set textColor = color[brightred on black]
print "\n"
print "\acUnidad C: no booteable\n"
wait 5
set textColor = color[brightred on black]
goto menutexto

diagnostico:

set textColor = color[grey on white]
clear
font fonts/boxround.f16
set textColor = color[grey on white]
print " "
print " USB McGyver "
print " Software de Diagnostico y Respaldo "
print " "
set textColor = color[white on grey]
print " "
print " "
print " "
print " [F1] warez Boot 13.2 "
print " "
print " "
print " [F2] HDD Regenerator 2011 "
print " "
print " "
print " [F3] Hardware Detection Tool 0.5.0 "
print " "
print " "
print " [F4] Acronis True Image 2010 "
print " "
print " "
print " "
print " "
set textColor = color[grey on white]
print " "
print " "
print " [ESC] Volver al Menu Principal "

getkey 60 goto hddboot80
if ($lastKey == key[f1]); then bcdw boot images/warez132.img
if ($lastKey == key[f2]); then bcdw boot images/hddreg11.img
if ($lastKey == key[f3]); then bcdw boot images/harddt05.img
if ($lastKey == key[f4]); then bcdw boot images/acronis10.img
if ($lastKey == key[esc]); then goto menutexto
goto diagnostico

microsoft:

set textColor = color[green on red]
clear
font fonts/boxround.f16
set textColor = color[green on red]
print " "
print " USB McGyver "
print " Sistemas Operativos Microsotf "
print " "
set textColor = color[red on green]
print " "
print " "
print " "
print " "
print " [F1] Windows Colossus Reloaded Edition 2 "
print " "
print " [F2] Windows XP SP3 sin Modificaciones "
print " "
print " [F3] Windows Vista SP2 32 Bits "
print " "
print " [F4] Windows Viste SP2 64 Bits "
print " "
print " [F5] Windows 7 SP1 32/64 Bits "
print " "
print " "
print " "
print " "
set textColor = color[green on red]
print " "
print " "
print " [ESC] Volver al Menu Principal "

getkey 60 goto hddboot80
if ($lastKey == key[f1]); then bcdw boot images/colossus.bin
if ($lastKey == key[f2]); then bcdw boot images/winxp.img
if ($lastKey == key[f3]); then bcdw boot images/vista32.bin
if ($lastKey == key[f4]); then bcdw boot images/vista64.bin
if ($lastKey == key[f5]); then bcdw boot images/73264.bin
if ($lastKey == key[esc]); then goto menutexto
goto microsoft

gnulinux:

set textColor = color[yellow on brown]
clear
font fonts/boxround.f16
set textColor = color[yellow on brown]
print " "
print " USB McGyver "
print " Sistemas Operativos GNU/Linux "
print " "
set textColor = color[brown on yellow]
print " "
print " "
print " "
print " "
print " "
print " [F1] Ubuntu 11.04 "
print " "
print " "
print " "
print " "
print " [F2] Puppy Linux 5.25 "
print " "
print " "
print " "
print " "
print " "
print " "
set textColor = color[yellow on brown]
print " "
print " "
print " [ESC] Volver al Menu Principal "

getkey 60 goto hddboot80
if ($lastKey == key[f1]); then bcdw boot images/ubuntu1104.img
if ($lastKey == key[f2]); then bcdw boot images/puppy525.img
if ($lastKey == key[esc]); then goto menutexto
goto gnulinux

acercade:

set textColor = color[white on cyan]
clear
font fonts/boxround.f16
set textColor = color[white on cyan]
print " "
print " Acerca de "
print " USB McGyver "
print " "
set textColor = color[cyan on white]
print " "
print " "
print " Version 1.0 Beta - Realizada el 13 de Octubre del 2011 "
print " "
print " "
print " "
print " Colaboradores "
print " "
print " Javier Richarte (Hard Side) - Tutoriales "
print " "
print " Nicolas Omar Gonzalez Passerino - Script e Imagenes "
print " "
print " Alan Ocanto - Diseņo Grafico "
print " "
print " Sergio Gonzalo Gomez (Gonzalito Obvio) - Testing "
print " "
print " "
set textColor = color[white on cyan]
print " "
print " "
print " [ESC] Volver al Menu Principal "

getkey 120 goto hddboot80
if ($lastKey == key[esc]); then goto menutexto
goto creditos

menugrafico:

clear
show image graphics/menu.csi
set textColor = color[brightblue on black]

getkey 60 goto hddboot80
if ($lastKey == key[f1]); then goto diagnosticog
if ($lastKey == key[f2]); then goto microsoftg
if ($lastKey == key[f3]); then goto gnulinuxg
if ($lastKey == key[a]); then goto acercadeg
if ($lastKey == key[t]); then goto menutexto
if ($lastKey == key[r]); then reboot cold
if ($lastKey == key[esc]); then goto hddboot80g
goto menugrafico

hddboot80g:
if bootCheck[0x80]; then boot 0x80
clear
set textColor = color[brightred on black]
show image graphics/booteo.csi
wait 5
set textColor = color[brightred on black]
goto menugrafico

diagnosticog:
clear
show image graphics/diag.csi
set textColor = color[brightblue on black]

getkey 60 goto hddboot80g
if ($lastKey == key[f1]); then bcdw boot images/warez132.img
if ($lastKey == key[f2]); then bcdw boot images/hddreg11.img
if ($lastKey == key[f3]); then bcdw boot images/harddt05.img
if ($lastKey == key[f4]); then bcdw boot images/acronis10.img
if ($lastKey == key[esc]); then goto menugrafico
goto diagnosticog

microsoftg:
clear
show image graphics/micro.csi
set textColor = color[brightblue on black]

getkey 60 goto hddboot80g
if ($lastKey == key[f1]); then bcdw boot images/colossus.bin
if ($lastKey == key[f2]); then bcdw boot images/winxp.img
if ($lastKey == key[f3]); then bcdw boot images/vista32.bin
if ($lastKey == key[f4]); then bcdw boot images/vista64.bin
if ($lastKey == key[f5]); then bcdw boot images/73264.bin
if ($lastKey == key[esc]); then goto menugrafico
goto microsoftg

gnulinuxg:
clear
show image graphics/linux.csi
set textColor = color[brightblue on black]

getkey 60 goto hddboot80
if ($lastKey == key[f1]); then bcdw boot images/ubuntu1104.img
if ($lastKey == key[f2]); then bcdw boot images/puppy525.img
if ($lastKey == key[esc]); then goto menugrafico
goto gnulinuxg

acercadeg:
clear
show image graphics/creditos.csi
set textColor = color[brightblue on black]

getkey 120 goto hddboot80
if ($lastKey == key[esc]); then goto menugrafico
goto acercadeg
jaclaz
If you think a bit on it, CDShell and BCDW (and BCDL for that matters) are connected with CD's wink.gif.

No way to have them work on USB (or more generally non-optical mass storage devices).

If your tool is "self-contained" it is possible that it can run in a "virtual CD" such as those that Syslinu/memdisk or - better IMHO - grub4dos may provide.

If not, you should "migrate" your menu-system to either of Syslinux/Isolinux/Memdisk or grub4dos, in order to have the "same" thing working on both CD/DVD and "Mass Storage devices".

cheers.gif
jaclaz
jaclaz
For the record, Aleksey09 PMed me asking for more details.

Here they are.

There are (among many others) two "main" and "current" tools.

They are:
Syslinux/Isolinux/Memdisk

Homepage:
http://syslinux.zytor.com/wiki/index.php/T...yslinux_Project

Dedicated Forum:
http://reboot.pro/forum/92/

grub4dos

Homepage:
http://code.google.com/p/grub4dos-chenall/

Dedicated Forum:
http://reboot.pro/forum/66/

Both can boot almost "anything" from "any" device, be it CD/DVD or floppy, HD and what not.

Personally I use grub4dos as I find it's syntax easier, but it's only a matter of personal preferences, and since they can be "cross-chainloaded" it is not a problem to boot (say) grub4dos and then chainload from it Syslinux or viceversa.

grub4dos has additionally the possibility of using a "gfxmenu", i.e. a (rather complex but) very nice looking graphical menu, which can include animations and what not.

A very quick example to test the possibilities may be for you to create a bootable USB stick using fuwi's tools here:
http://www.911cd.net/forums//index.php?sho...c=21702&hl=

cheers.gif
jaclaz
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.