Welcome, Guest. Please Login
 
  HomeHelpSearchLogin FAQ Radified Ghost.Classic Ghost.New Bootable CD Blog  
 
Pages: 1 2 3 
Send Topic Print
ghost boot Cd help (Read 23966 times)
Smurfsworld
Dude
*
Offline


I Love Radified!

Posts: 24
UK


Back to top
ghost boot Cd help
Oct 9th, 2007 at 7:54am
 
Hi to all

I have been using Ghost 8 for a number of years now for imaging the Hard Disk to a hidden partition.

I am and have been for weeks trying to create my own restore CD with no success.

I did have a guide from years ago which i can not find now and that showed a simple boot Disk.

What i need to do is the following.

Create a  bootable cd which will allow me to automatically restore image.gho from Hard disk 1 partition 2 to Hard Disk 1 partition 1 with a little menu

Ie.

Backup Hard disk 1 partition 1 to hard disk 1 partion 2
Restore Hard Disk 1 partition 1 from hard disk 1 partition 2

Would like the option to say "are you sure you want to....."

any help would be appriciated

Many thanks in advance

 
 
IP Logged
 

NightOwl
Radministrator
*****
Offline


"I tought I saw a puddy
tat..."

Posts: 5826
Olympia, WA--Puget Sound--USA


Back to top
Re: ghost boot Cd help
Reply #1 - Oct 9th, 2007 at 8:43am
 
Smurfsworld

This involves several different steps and skill sets--where in the process are you having difficulty?

Creating a bootable CD?

Creating a DOS Boot Menu?

Creating a Ghost command line to create a backup or run a restore?
 

____________________________________________________________________________________________

No question is stupid ... but, possibly the answers are Wink !
 
IP Logged
 
Smurfsworld
Dude
*
Offline


I Love Radified!

Posts: 24
UK


Back to top
Re: ghost boot Cd help
Reply #2 - Oct 9th, 2007 at 9:31am
 
Hi

Many thanks for the reply.

I am having problems with it all now as the ghoist.exe file is too big to go one one floppy to create the image from

The dos menu, i only know a little bit

The comand line i think is.......

ghost.exe -clone,mode=pload,src=1:2imagae.gho:2,dst=1:1 (for recovery.)

Not sure on the clone as i usually do this manually using the hiren boot cd

high compression, no spanning

REgards

 
 
IP Logged
 
Smurfsworld
Dude
*
Offline


I Love Radified!

Posts: 24
UK


Back to top
Re: ghost boot Cd help
Reply #3 - Oct 9th, 2007 at 9:36am
 
Hi

Lets say we broke it down into the 3 stages.

1 BOOT disk

2 DOS menu

3 Command Lines

Stage one......

If i create a boot disk with ghost 8, it puts it on 2 Flopies

How do i create a BOOT CD from this?

_____________________________________

Stage 2

Need to edit autoexec.bat
and             config.sys

Stage 3

Command lines?

Restore = ghost.exe -clone,mode=pload,src=1:2imagae.gho:2,dst=1:1
Backup = $$$$$

regards
 
 
IP Logged
 
NightOwl
Radministrator
*****
Offline


"I tought I saw a puddy
tat..."

Posts: 5826
Olympia, WA--Puget Sound--USA


Back to top
Re: ghost boot Cd help
Reply #4 - Oct 9th, 2007 at 10:20am
 
Smurfsworld

Okay, I guess you need it *all*!

I can not address all of this right now--have to go to work--but starting with Stage 1:

Creating Bootable CD/DVD's Without A:\Floppy Drive

Adding USB to Ghost Boot CD

Ghost 8 is too large to fit on a single floppy along with the other needed boot files--so it has to be placed on the data portion of the boot disc--and you have to either create a *custom* boot file (which you have to do anyway if you want to have that DOS boot menu option  Wink !), or modify the boot files created by the Ghost Boot Wizard that creates the 2 floppy boot disks for you.

The above two references should help you create a basic usable boot cd--you need to accomplish that first!  

Then will come the custom DOS boot menu and config.sys and autoexec.bat--stage 2 and 3 will have to be combined!
 

____________________________________________________________________________________________

No question is stupid ... but, possibly the answers are Wink !
 
IP Logged
 
ben_mott
Nuclear Grade
****
Offline



Posts: 278


Back to top
Re: ghost boot Cd help
Reply #5 - Oct 9th, 2007 at 12:47pm
 
useful information on ghost Boot Cd/DVD(type manufacturers used to use few years ago)
also info booting from 2nd hidden partition pressing F10 or F11
http://www.911cd.net/forums//index.php?showtopic=14127

Regards ben
Smiley
 
 
IP Logged
 

Smurfsworld
Dude
*
Offline


I Love Radified!

Posts: 24
UK


Back to top
Re: ghost boot Cd help
Reply #6 - Oct 11th, 2007 at 7:50am
 
Cheers

Will take a look at both

Many thanks for the help so far

Regards
 
 
IP Logged
 
Smurfsworld
Dude
*
Offline


I Love Radified!

Posts: 24
UK


Back to top
Re: ghost boot Cd help
Reply #7 - Oct 11th, 2007 at 9:35am
 
Sorted.

Step 1 complete  Grin

Had a few alterations to make.

Had to use the 2.88MB floppy boot option to fit ghost in

Working like a charm

Step two Please  Shocked

Regards
 
 
IP Logged
 
NightOwl
Radministrator
*****
Offline


"I tought I saw a puddy
tat..."

Posts: 5826
Olympia, WA--Puget Sound--USA


Back to top
Re: ghost boot Cd help
Reply #8 - Oct 11th, 2007 at 9:51am
 
Smurfsworld

Here's a handy DOS reference page:

MS-DOS v6.22 Help

You need to look at the *menuitem* reference and its related links from within that item.

I won't have time to go into specifics until later--I have a busy work week this week!  Probably not until this evening at the soonest
 

____________________________________________________________________________________________

No question is stupid ... but, possibly the answers are Wink !
 
IP Logged
 
Smurfsworld
Dude
*
Offline


I Love Radified!

Posts: 24
UK


Back to top
Re: ghost boot Cd help
Reply #9 - Oct 11th, 2007 at 4:28pm
 
Cheers

Going to look at the win98e boot menu and try to alter that.

will post back as i go

many many thanks for te help so far

Regards
 
 
IP Logged
 
Smurfsworld
Dude
*
Offline


I Love Radified!

Posts: 24
UK


Back to top
Re: ghost boot Cd help
Reply #10 - Oct 11th, 2007 at 4:30pm
 
ben_mott wrote on Oct 9th, 2007 at 12:47pm:
useful information on ghost Boot Cd/DVD(type manufacturers used to use few years ago)
also info booting from 2nd hidden partition pressing F10 or F11
http://www.911cd.net/forums//index.php?showtopic=14127

Regards ben
Smiley



Hi

Interested in this method also as well as ..................

is it possible to load all the xp CD files on the hard drive so it desnt ask for the cd?

Regards
 
 
IP Logged
 

NightOwl
Radministrator
*****
Offline


"I tought I saw a puddy
tat..."

Posts: 5826
Olympia, WA--Puget Sound--USA


Back to top
Re: ghost boot Cd help
Reply #11 - Oct 12th, 2007 at 2:10am
 
Smurfsworld

Okay...so, building a DOS menu for a boot screen that gives you choices:

I will pull in the *config.sys* and *autoexec.bat from Creating Bootable CD/DVD's Without A:\Floppy Drive

so:

Quote:
[config.sys]

device=oakcdrom.sys /d:nightowl
lastdrive=z

and:

Quote:
[autoexec.bat]

path=a:\;x:\
mouse.com
mscdex.exe /d:nightowl /l:x /m:16 /v
ghost.exe


I note that you have chosen to use the 2.88 MB boot sector.  But for those who may not have a burning program that supports that, I will use the standard 1.44 MB boot sector, and show how to put Ghost on the data portion of the CD.  More about that later.

Quote:
Backup Hard disk 1 partition 1 to hard disk 1 partion 2
Restore Hard Disk 1 partition 1 from hard disk 1 partition 2

You want two menu choices as noted above--so I will call those two choices menu item *backup* and menu item *restore*.  And I will add a couple additional items to make this Ghost boot disc a little more generally usable!

So, in config.sys you add the [menu] command to tell the boot sequence that this is going to be a multi-configuration boot, and then define your menu item choices--and then to automate things--add a *menudefault* command so the procedure you will use most often will occur without further input after a certain amount of time (but, by hitting any key, the countdown will stop and you can choose whichever choice manually)--and just to spice up the menu appearance--I will change the background and text color *menucolor* command:

Quote:
[config.sys]

[menu]

menuitem=backup, Backup Hard disk 1 partition 1 to hard disk 1 partition 2
menuitem=restore, Restore Hard Disk 1 partition 1 from hard disk 1 partition 2
menuitem=ghost, Run Ghost Interactively (Manually)
menuitem=dos_prompt, Boot to DOS Prompt Only

menudefault=auto,30
menudefault=backup,30
menucolor=15,1

device=oakcdrom.sys /d:nightowl
lastdrive=z

Now, if both configurations will have certain *common* DOS drivers, you put those under the [common] command, then add the individual menu item categories--if they have DOS drivers that are specific to one of them, that would be listed here--if not, list the item categories, but leave the area below the headings *blank*:


Quote:
[config.sys]

[menu]

menuitem=backup, Backup Hard disk 1 partition 1 to hard disk 1 partition 2
menuitem=restore, Restore Hard Disk 1 partition 1 from hard disk 1 partition 2
menuitem=ghost, Run Ghost Interactively (Manually)
menuitem=dos_prompt, Boot to DOS Prompt Only

menudefault=auto,30
menudefault=backup,30
menucolor=15,1

[common]

device=oakcdrom.sys /d:nightowl
lastdrive=z

[backup]

[restore]

[ghost]

[dos_prompt]


Now, on to the [autoexec.bat] file.  I have set the *echo* to *on* so you see the processing of the commands.  If you are saving your image files to a NTFS partition, on certain systems, the time/date stamp for the image files will be inaccurate unless you set the *timezone*, i.e. *set TZ=....* (see here for more info--How to Set a Time Zone for Image for DOS), and setting the path helps DOS find the programs referenced in the command lines.

There is no similar *common* command for autoexec.bat, so whatever DOS drivers are needed for each configuration, those commands need to be in each configuration:

Quote:
[autoexec.bat]

@echo on
SET TZ=GHO+08:00
path=a:\;x:\

goto %config%

backup:

mouse.com
mscdex.exe /d:nightowl /l:x /m:16 /v
cls
echo.
echo You are about to over-write your
echo previous backup image!
echo.
echo Do you wish to continue?  A "No" response
echo will take you to a DOS Prompt.
echo.
choice Do you wish to continue?
if errorlevel 2 goto end
if errorlevel 1 goto backup_yes

backup_yes:

ghost.exe -clone,mode=pdump,src=1:1,dst=1:2\image.gho -sure -fx
if errorlevel 1, goto Problem
ghost.exe -chkimg,1:2\image.gho -fx
if errorlevel 1, goto Problem
goto end

problem:

echo.
echo There has been an error reported by Ghost.
echo This needs to be investigated!
echo.
pause
goto end

restore:

mouse.com
mscdex.exe /d:nightowl /l:x /m:16 /v
cls
echo.
echo You are about to over-write your Disk 1,
echo 1st Partition with a backup image!
echo.
echo Do you wish to continue?  A "No" response
echo will take you to a DOS Prompt.
echo.
choice Do you wish to continue?
if errorlevel 2 goto end
if errorlevel 1 goto restore_yes

restore_yes:

ghost.exe -clone,mode=pload,src=1:2\image.gho,dst=1:1 -sure -fx
if errorlevel 1, goto Problem
goto end

ghost:

mouse.com
mscdex.exe /d:nightowl /l:x /m:16 /v
ghost.exe
goto end

dos_prompt:

mouse.com
mscdex.exe /d:nightowl /l:x /m:16 /v
goto end

end:


I have not had time to trouble shoot the above boot menu--it's late and I'm tired--so there may be *bugs*--I would remove the *-sure* switches and run everything manually to make sure it works *as advertised* before adding back in the *-sure* switches.

I will try to test it in the next day or two.

When creating the boot image--you can leave *ghost.exe* out of the list of files to be in the boot image--and instead burn it to the data portion, root directory of the CD--once the DOS optical drive drivers are loaded, you can then access the *ghost.exe* on the data portion of the disc--and so you can leave the boot sector size at 1.44 MB, and there should be plenty of space.


 

____________________________________________________________________________________________

No question is stupid ... but, possibly the answers are Wink !
 
IP Logged
 
Smurfsworld
Dude
*
Offline


I Love Radified!

Posts: 24
UK


Back to top
Re: ghost boot Cd help
Reply #12 - Oct 12th, 2007 at 3:32am
 
Cheers m8

Will ta look

Thanks for your hard work

Regards
 
 
IP Logged
 
TheShadow
Kahuna
*****
Offline


Old Ghost user!

Posts: 613
Florida, USA


Back to top
Re: ghost boot Cd help
Reply #13 - Oct 12th, 2007 at 8:42am
 
Am I missing something here or are you making the Ghost Image from a GUI interface in Windows and wanting to restore them form a bootable CD? (and using the same name for each Ghost backup file......not a good idea.)

My best suggestion would be to get Ghost.exe and Mouse.com on a bootable CD and then learn how to use Ghost from it's own menu.  It's really quite simple and gives you just SO MUCH more flexibility in how you run Ghost. 

With everything you need on a bootable CD, you can then run it on any system and you can name each Ghost backup file differently (I use "IM101007) format for all my Ghost files.  It's "IM" for Image File and then the six digit date without dashes or slashes.

Now you can have several Ghost Images on the same drive or partition and be able to go back and get the specific one you need.  I still have the Ghost Image File I made the day I upgraded from 98/SE to Windows XP.  With Ghost Explorer I can go back into any of those old Image files and pick out any old file that I may have since deleted.

Please don't paint yourself into a corner with Ghost.  You can...obviously, it's very easy.
By always running Ghost from a boot disk, Floppy, CD or Flash Drive, you have just so many options as to what you want to do and what drives you want to use.
Once you put it in an automatic mode, like in a batch file, you limit yourself to just one function using a backup file of the same name all the time.  That means that you can have only one backup file.  The latest one will overwrite an older one.  NOT GOOD!

With my own Ghost boot CD, I can run Ghost against any hard drive on any computer, NTFS or FAT-32, running any version of Windows or even DOS and save the image file to again any drive that's seen by the motherboard.  On my system, that includes flash drives or even SD Flash cards.

Just the other day, I booted my system up with my Ghost boot SD flash card and saved the Ghost Image to my 6 gig USB Flash drive.  There was no floppy or CD ever used in the process.

Ghost 8.3 is a very powerful version and I think the last one that will run totally from a boot disk in DOS.  I'm sure someone will tell me if I'm wrong about that.  Wink Grin Grin

There's times when automation is good and times when it just defeats the whole purpose of the program.  If only I could sit down with you at your computer and show you my Ghost boot CD, I think you'd like it as much as I do. 

I apologize that this post ran so long.....

Cheers!
Shadow  Cool
 
WWW  
IP Logged
 
NightOwl
Radministrator
*****
Offline


"I tought I saw a puddy
tat..."

Posts: 5826
Olympia, WA--Puget Sound--USA


Back to top
Re: ghost boot Cd help
Reply #14 - Oct 12th, 2007 at 8:56am
 
Smurfsworld

Well, with the *light of morning*, I've already found a programing error--I was cut and pasting from other sources, and I missed the necessary edit!

I've made the necessary edit in the previous post.
 

____________________________________________________________________________________________

No question is stupid ... but, possibly the answers are Wink !
 
IP Logged
 
Pages: 1 2 3 
Send Topic Print