We help IT Professionals succeed at work.

Making Auto-Run Bootable  Restore CD w \ Norton Ghost 2001

jojosm
jojosm asked
on
I am having a real problem trying to figure out how to make a restore CD in ghost. I don't know DOS so, I am having problems with where and how to add the different parameters that are mentioned in the instructions and tutorials. I mean, where do you put the split= stuff and all of that. How do you edit the exec.bat & config.sys ? This is driving me nuts!!!
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2007

Commented:
Use Nero  from nero.com or Roxio software, to put a Boot floppy image on a bootable CD ( Win98 startup floppy is god ), alonsg with a Ghost image on the DCD.
Use the autoexec.bat to start the Ghost restore.

I hope this helps !
CERTIFIED EXPERT
Top Expert 2007

Commented:
More Info !!

Bootable CD
 Nero and Adaptec CD creator both allow making a bootable CD and having other info on it besides.
 The best thing to do is to use the win98 bootable diskette as the floppy image, and then put a copy   of the ghost DOS files and image on the CD .
   The CD will boot from the floppy image, give you access to the CD where the ghost and image are stored.
    I tried this recently and it worked beautifully.

 From: ne0         Date: Monday, November 20 2000 - 11:27AM EST

                     Bootable CD facts - http://www.ozemail.com/~rossstew/drs/bootcd.html 
                     BOOTISO - http://www.geocities.com/SiliconValley/Way/2996/readme.html 
                     Bootable CD - http://www.cdpage.com/Compact_Disc_Variations/eltoritoi.html 
Creating a Bootable CD - http://computing.net/windowsnt/wwwboard/forum/380.html 
                     Freeware ISO/Bootable CD Tools - http://www.goldenhawk.com/freeware.htm 
http://winxp.descrypt.com/cdboot.htm
                     How to make a Bootable CD - http://www.nikko.simplenet.com/goldentime/bootcd1b.htm 
-------------------

It's not that hard !
Kyle SchroederEndpoint Engineer
CERTIFIED EXPERT

Commented:
So you want a CD somewhat like those that come with a Compaq, HP, etc?  This is doable, my old roommate did this and it worked really well.  You have to edit the autoexec.bat and config.sys that are on a Windows 98 boot disk (you can use Notepad) and then resave them.  What happens basically is that the CDR software reads the image of the diskette and makes that the bootable part of your CD; when you boot from the CD, that floppy disk image that is the bootable component becomes your A: drive, and your physical floppy drive (normally A:) becomes B:.  So once you have the bootable files created on the CD (in Easy CD Creator at least) then you drag your Ghost image (.GHO) to the CD, along with any other files you might like to have (esp. ghost.exe, since its ~600-700K and won't fit on the floppy with the Win98 system files).  To set your ghost command line options (the "split=" stuff you mentioned), probably the easist way is to create a .bat file (also in Notepad) that runs ghost with your switches, call it ghost.bat.  So this file will contain (for example):

Echo Starting GHOST to restore the harddrive...
ghost.exe -switch -switch -option

------------

At the end of the Autoexec.bat (on the Win98 boot disk), add this information:

ECHO About to restore system's harddrive with Ghost image
ECHO Proceeding will erase the harddrive and all current files!
ECHO Press any key to continue, or CTRL-C to stop
pause
call d:\ghost.bat (this is assuming that your CD-ROM shows up as the D: drive when booting from the Win98 boot disk)
exit

That should get you started!

-d
patch575IT Systems Admin
CERTIFIED EXPERT

Commented:
a:\ghost\ghost -split=number

Author

Commented:
Maybe I'm not lettin' you guys know how much hand holding I need. I need someone to take me through this from the dialogue box you get when you make the "Ghost" floppy. It gives you the choice of three different types of boot floppies,then it shows the contents of the floppy and below that it says parameters. Am I supposed to edit the floppy from there and also add the parameters in the dialogue box below it or what? I mean, I need some serious hand holding here regardless of the cost in points!I know how to burn the ghost image to my CD/RW drive, I just don't know how to set it up before and after that point.

JOE-  
CERTIFIED EXPERT
Top Expert 2007

Commented:
You need to be able to Burn a bootable CD.
 
Please read the info on bootable CD's that I previously mentioned.

What software are you using to burn CD's ?

Not all of them let you create a bootable one !

Nero does as well as Roxio/Adpatec and others.

Read the info on how to create a bootable CD from your burner software.

You should use a standard win98 Bootup floppy as the boot image.
The only change should be to the autoexec.bat file,  add a line that calls another batch file

rest1.bat, on the CD drive ( D: or E; usually ).

that file should contain the ghost command line for automated restore, or at least to start ghost in manual mode.

I hope this helps !
patch575IT Systems Admin
CERTIFIED EXPERT

Commented:
Edit the autoexec.bat on the floppy.
To edit it with windows, just search for the file on the floppy and open with notepad.  After making the changes, you can just close it and it will prompt you to save it.  CLick yes.  If you want to edit it in DOS, type edit "autoexec.bat".

the line that calls ghost,

it should read "ghost -split=690"
I use 690 because I am using 700 MB cd's you may want to use 640 or 645 if you are using 650 MB cds.  This will split the image into 690 MB.  
There might be other switches depending upon what version of ghost you have and what options you chose when you made the disk.  With this switch, I was able to create a bootable CD with the ghost image on it directly from the ghost software.  
Here is a list of the switches.  Some may be for older versions, so look at the version number.

http://service1.symantec.com/SUPPORT/ghost.nsf/034d12503a06d36c8525692d0046dbfa/be51defb326c21978825699a007b8405?OpenDocument

After you add the switch, restart you computer with the floppy in the drive and it should start directly into ghost.  If you do not want to edit the autoexec.bat, you can always exit out of the ghost program when it start up and just type "ghost -split=690", assuming you are in the proper directory.

If you do not know how to ghost your HD to another HD or partition, go to local-->disk--to image.  Or you can ghost just a partition local-->partition-->to image.  Click the source, the partition or disk you want to image and then click ok.  Next, it will prompt you for the destination.  If you have another HD this should be easy.  I was able to ghost my drive directly to a plextor CD-r but I realize that the boot disk i was using was for a backpack burner.  That is a portable burner, so that is why I don't know if it will work with the standard bootdisk, but it's worth a try.  Reply if you have any questions.

Author

Commented:
SysExpert
You are talking to me like I know how to add a line that calls another batch file and all of that arcane s..t! I don't, okay. That is the problem that I am having with the user guide and all of the tutorials. They seem to take it for granted that everyone knows DOS and how to use Command Line stuff. I have been looking over those articles for a while now and they seem to be trying to be vague. I have EZ-CD creator 4 Deluxe. With the version Ghost that I own,6.5 (2001) I can burn my C: drive straight to CD/RW (E: Drive), and I understand that I should be able to do what I am trying to do just using the "Ghost 2001" program. The program gives you the option of making 3 different types of boot floppies and then burning one of them and your ghost image straight to CD-R/RW

JOE-
Kyle SchroederEndpoint Engineer
CERTIFIED EXPERT

Commented:
Well what are the 3 choices you get for making these boot floppies?

-d

Author

Commented:
The Norton Ghost Boot Wizard gives you these 3 choices:

Standard Boot Disk w/ LPT & USB support-

Peer-to-Peer Network Boot Disk-

CD Rom Boot Disk-

After you make your choice a dialogue box opens showing the contents of the type of boot disk that you have chosen and below that a window that says "Parameters"
CERTIFIED EXPERT
Top Expert 2007

Commented:
I would think that 3 would be the best option, but you may also try 1.
Try both !!

Commented:
This procedure may be a bit mundane but it will work with win 9x and ME
The following  is in the assumption that you know your way around and how to work within a windows environment.

You need Ghost 2001 and know how to make a Ghost image and a ghost cd boot floppy.
A cd burner and burner software that allows you to burn a bootable cd.

Get a win95B boot disk from www.bootdisk.com  Make a bootdisk from the downloaded image.
Set your computer Views/Options to show hidden system files.

Open the ghost boot disk and you should have the following files:
 GHOST  (a directory with GHOSTPE in it)
AUTOEXEC
COMMAND
DRVSPACE.BIN
IBMBIO
IBMDOS
IO.SYS
MOUSE
MOUSE.INF
MSDOS.SYS

DELETE the following files from the disk:
IBMBIO
IBMDOS
MSDOS.SYS

Open Autoexec with Notepad and modify the file to read as below:

@echo off

MSCDEX.EXE  /D:CDROM
MOUSE.COM
CD GHOST
echo Loading...
GHOSTPE.EXE

Save it as the new autoexec.

From the win95B boot disk copy the following files to the ghost boot disk:
CD1.SYS
CD2.SYS
CD3.SYS
CD4.SYS
CONFIG.SYS
HIMEM.SYS
MSCDEX
MSDOS.SYS

Open CONFIG.sys with Notepad and edit it as per below:

DEVICE=HIMEM.SYS /testmem:off
FILES=30
BUFFERS=20

DEVICE=cd1.SYS /D:CDROM

LASTDRIVE=Z

Save as the new config.sys on the ghost boot disk.

The new Ghost bootdisk will have the following 15 files with the edited
autoexec and config.sys files:

 GHOST  (a directory with GHOSTPE in it)
AUTOEXEC
COMMAND
DRVSPACE.BIN
IO.SYS
MOUSE
MOUSE.INF
MSDOS.SYS
CD1.SYS
CD2.SYS
CD3.SYS
CD4.SYS
CONFIG.SYS
HIMEM.SYS
MSCDEX

You can use the floppy to boot the pc to install the Ghost images or
use it when burning a bootable cd when your program calls to insert
a bootable floppy disk.
You can burn your ghost image on the same cd you make bootable and restore from there.
Check your ghost documentation for spanning multiple cd's. Only the first needs be bootable.

When booting to either method, the pc will have ghost loaded on your screen ready for
restoring or making images.

This bootdisk was researched by me and should work in most instances.
Many features can be customized to your specific needs, but that you'll have to explore them yourself.
As stated previously, this disk works for me in win9x-ME and only with the specified software.
No guarantees to anyone else.
Good luck and enjoy.



Author

Commented:
centerv,

I am at work right now, but when I get home in the morning I will try this method. It seems to me that you have really explained how to do this step by step, which is what I was looking for. I only have one more comment to add and that is that: this is my drive setup-

2 CD drives: (Burner-E:) (CD-ROM-F:)
2 Hard drives (C:) & (D:)

Will that make any difference in your process?

Joe-

Commented:
No. Setup as above, the first cd drive letter in your pc will load.
ie: if your cd-rom is H and you burner is G, than  G will be accessible in ghost.
During boot you'll see which drive letter is available.
All hard drives are accessible in ghost.
Other variations from above, as I stated, will require making adjustments to the autoexec and config.sys and/or add other drivers.
Floppy size limitations and other considerations steered me to the above.
You're welcome to make whatever changes may suit you.

I should also add that your bios, if not already done, should be setup to boot sequence of CD-Rom, Floppy A:, IDE 0.

Good luck.

Author

Commented:
See ya in the mornin'

Thanks,
Joe-

Commented:
I did what you want, here is a copy of my  autoexec.bat, config.sys and Ghost.bat (In Spanish). Prepare the a bootable floppy with the required files, create an image with ghost then use Nero or Easy CD creator and make a bootable CD.  In order for this to work you need to set your BIOS so the system can boot from a CD
There is one thing with this setup it didn't work with 2 CD's because it couldn't decided wich one to use.
AUTOEXEC.BAT
mouse.com
path=a:\;%CDROM%:\
cls
IF "%config%"=="NOCD" GOTO LQUIT
LH MSCDEX.EXE /D:cdrom001 /L:%CDROM%
set CDROM=FOO23
DETECTCD.EXE
IF "%CDROM%"=="FOO23" GOTO NOCDROM
%CDROM%
cls
IF "%config%"=="SUCD" GOTO LQUIT
ghost.bat
GOTO LQUIT
:NOCDROM
cls
echo.
echo    DetectCD no fue capaz de asignar una letra a su CD ROM

Echo    Posiblemente se deba a que tiene dos unidades de CD ROM.
Echo    CD ROM y CDRW, desde BIOS deshabilite el segundo controlador IDE
Echo    y vuelva a intentarlo
echo.
:LQUIT
set CDROM=
You need to have the following files on the floppy
MSCDEX.exe
detectcd.exe
CONFIG.SYS
[menu]
menuitem=SUCD, Iniciar la computadora con soporte para CD-ROM.
menuitem=NOCD, Iniciar la computadora sin soporte para CD-ROM.
menuitem=GHOST, Reconstruir el disco duro C de la computadora
menudefault=CD,30
menucolor=7,0

[SUCD]
device=himem.sys /testmem:off
device=oakcdrom.sys /D:cdrom001
device=flashpt.sys

[NOCD]
device=himem.sys /testmem:off

[GHOST]
device=himem.sys /testmem:off
device=oakcdrom.sys /D:cdrom001
device=flashpt.sys

[COMMON]
files=60
buffers=20
dos=high,umb
device=EMM386.EXE NOEMS
stacks=9,256
lastdrive=z
device=display.sys con=(ega,,1)
country=034,437,country.sys
install=mode.com con cp prepare=((437) ega.cpi)
install=mode.com con cp select=437
install=keyb.com sp,,keyboard.sys
You need to have the following files on the floppy
Himem.sys
Oakcdrom.sys
Flashpt.sys
Display.sys
Country.sys
Keyboard.sys
GHOST.BAT
@ECHO off
Cls
cls
ECHO.
Echo CUIDADO SI CONTINUA EL PROCESO SE BORRARA TODO EL CONTENIDO DEL DISCO C
ECHO.
ECHO.
PAUSE 45
CLS
Choice /c:sn /N /T:n,10 Para continuar oprima la S  para salir oprima la N
IF ERRORLEVEL = 2 GOTO SALIR
CLS
ECHO.
ECHO   Todavia se puede arrepentir, el programa le volvera a preguntar
ECHO.                
ECHO.
PAUSE 30
CLS
GHOST.EXE -clone,MODE=pload,SRC=IMAGEN.GHO:1,DST=1:1
IF ERRORLEVEL 1 GOTO PROBLEM
cls
ECHO.
ECHO.
ECHO     La reconstrucci?n se realiz? satisfactoriamente
ECHO         Retire el CD y reinicie la computadora
REM GOTO FINISH
:PROBLEM
cls
ECHO.
ECHO.
ECHO        Se encontro un problema durante la reconstrucci?n
ECHO     Intente otra vez, si la reconstrucci?n volviera a fallar
ECHO           pongase en contacto con el soporte t?cnico
GOTO FINISH
:SALIR
cls
ECHO.
ECHO.
ECHO            Reconstrucci?n suspendida por el usuario
:FINISH
Echo on
You need Ghost.exe on the floppy

Author

Commented:
centerv I could not get on the site for a couple of days! Did anybody else have that problem or was it just me? anyway I will try your process today. Will award points as soon as I get the chance to implement solution.

Joe-

Author

Commented:
Thanks a lot!

Joe

Author

Commented:
Thanks a lot!

Joe

Commented:
You're welcome.Glad it worked for you.