Welcome, Guest. Please Login
 
  HomeHelpSearchLogin FAQ Radified Ghost.Classic Ghost.New Bootable CD Blog  
 
Page Index Toggle Pages: 1
Send Topic Print
Windows 7 Boot CD's Autoexec.bat File Wording (Read 4900 times)
Big_Al
Gnarly
*
Offline


I love YaBB 1G - SP1!

Posts: 48
Los Angeles


Back to top
Windows 7 Boot CD's Autoexec.bat File Wording
Dec 11th, 2011 at 1:26am
 
                                                  December 10, 2011
Guys/Gals,

    I'm near completion of my new Intel i5 2500K build.

    I've successfully mastered NightOwl's "Ghost Bootable CD/DVD--on Steroids"

http://nightowl.radified.com/bootcd/bootcdintro.html#P1

and gotten to a point so that all that I have to do is use Power ISO v4.8 to

open up the bootcdp1.ima file and switch Autoexec.bat files and then burn

another CD with Cheetah CD Burner v4.15 for any particular job I need done.

    BUT, that has all been done on my all FAT32 Windows 98SE box.

    The new box will have either all NTFS or C: and D: as NTFS and the rest

of my partitions (E: to M:) as FAT32.

    So, I need help with the wording in my future Autoexec.bat files.

Currently my "Make" and "Restore" Image To Hard Drive Autoexec.bat's are so:

Make:

REM        Ghost v7.5 Corporate Edition Will Now Make a C: Drive Image
REM
REM         To The G:\01_Ghost Folder With High Compression, Name It
REM
REM        Newest.gho, CRC Check It Twice, Then Boot The Computer.
REM
REM                 So, Go Make a Cup Of Coffee, Already!
@echo off
GhostCE.exe -clone,mode=pdump,src=1:1,dst=G:\01_Ghost\Newest.gho -z3 -fx -sure
GhostCE.exe -chkimg,G:\01_Ghost\Newest.gho -sure
GhostCE.exe -chkimg,G:\01_Ghost\Newest.gho -sure
set comspec=c:\command.com
c:
cd\
set winbootdir=c:\windows
c:\windows\win.com


Restore:

@echo off
GhostCE.exe -clone,mode=pload,src=G:\01_Ghost\Newest-1.gho:1,dst=1:1 -sure


   I know Windows 7 won't allow rebooting, so I'll just use the "Shutdown.exe"

I found here at http://radified.com/cgi-bin/yabb2/YaBB.pl?num=1241024260.

   My questions are about the dst=G:\ and src=G:\ parts of the Autoexec.bat's.

If I go the "C: and D: as NTFS and the rest of my partitions as FAT32" route

will the "G:\" be OK or must they be "1:5"?

   And if I go the "all NTFS partitions" way, "G:\" or "1:5"??

   Thanks in advance for your help.


Big Al
 
 
IP Logged
 

NightOwl
Radministrator
*****
Offline


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

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


Back to top
Re: Windows 7 Boot CD's Autoexec.bat File Wording
Reply #1 - Dec 16th, 2011 at 1:42am
 
@
Big_Al

Quote:
my all FAT32 Windows 98SE box



Currently my "Make" and "Restore" Image To Hard Drive Autoexec.bat's are so:

Make:

REM        Ghost v7.5 Corporate Edition Will Now Make a C: Drive Image
REM
REM         To The G:\01_Ghost Folder With High Compression, Name It
REM
REM        Newest.gho, CRC Check It Twice, Then Boot The Computer.
REM
REM                 So, Go Make a Cup Of Coffee, Already!
@echo off
GhostCE.exe -clone,mode=pdump,src=1:1,dst=G:\01_Ghost\Newest.gho -z3 -fx -sure

As I mentioned in the other thread ( http://radified.com/cgi-bin/yabb2/YaBB.pl?num=1322712394 ), when I attempted to use *1:1* to indicate a FAT32 partition--Ghost 2003 failed.  And when I attempted to use a DOS drive letter *G* (or any other drive letter) for a NTFS partition--that also failed.

Now, maybe the Corporate versions of Ghost (7.5) allow for mixin' and matchin' DOS drive letters and *drive:partition* designations--but, Ghost 2003 did not.

Quote:
If I go the "C: and D: as NTFS and the rest of my partitions as FAT32" route

will the "G:\" be OK or must they be "1:5"?

Well, C:  would be 1:1, and D:  would be 1:2 if they are NTFS partitions.  And if everything else is FAT32, then E:  would be *C*, F: would be *D*, and G would be *E* .

Quote:
And if I go the "all NTFS partitions" way, "G:\" or "1:5"??

DOS will not *see* any NTFS partitions to assign a drive letter to--so there will be no DOS drive letter *G:* assigned to anything--so it has to be 1:5 .  Once you load DOS Ghost, you can *see* NTFS partitions in the Ghost interface--but, they will all be identified by the *drive number:partition number* designation because DOS has not assigned any drive letters.

Quote:
I know Windows 7 won't allow rebooting, so I'll just use the "Shutdown.exe"

Really--I wasn't aware of that--do you have a reference?
 

____________________________________________________________________________________________

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