Computing.Net > Forums > Windows 2000 > Optional bootdisk

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Optional bootdisk

Reply to Message Icon

Name: MDubb
Date: June 24, 2005 at 07:15:15 Pacific
OS: Windows 2000
CPU/Ram: 1024
Comment:

I am in the works of attempting to do some automated Install Testing with some software. The process requires the automation of Reghosting the OS of the computer. I have a boot disk that reads a registry on the image drive and selects the correct OS to ghost. After ghosting the computer is automatically restarted. If the boot CD is not removed at this time the computer wants to reghost again...

Is there some way to rewrite Autoexec.bat on the CD to proceed with loading from the hardrive if a certain key is read from the image drive.

In the hope of automation I would not have to be around for several install tests and ghosts of the PC.

Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: June 24, 2005 at 07:37:46 Pacific
Reply:

Rewriting the autoexec on CD presupposes ability to write to CD.

Could you write a small file to the root of the HD that the CD autoexec would look for and act accordingly?

Like, as the ghosting finishes:

type > c:\doneGHO

and in your autoexec:

if exist c:\doneGHO goto :somelabel

HTH


M2


If at first you don't succeed, you're about average.


0

Response Number 2
Name: MDubb
Date: June 24, 2005 at 07:49:20 Pacific
Reply:

I guess my question was a bit unclear. I am just in the works of rewriting the Autoexec.bat file now. I will not be trying to rewrite the file during automated testing.

Mechanix2Go idea is basically what I have implemented so far. What I really need is the following:

If Exists c:\doneGHO goto: SOMELABEL

What do I use for code in SOMELABEL to tell the BIOS to quit running from the CD and load the OS settings


0

Response Number 3
Name: Mechanix2Go
Date: June 24, 2005 at 07:58:30 Pacific
Reply:

If you mean to alter BIOS setting to change boot order, it's way out of my league.

M2


If at first you don't succeed, you're about average.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


panda platinum 7.0 not in... Multiple Nics



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Optional bootdisk

List of options. www.computing.net/answers/windows-2000/list-of-options/64077.html

Win2000 bootdisk www.computing.net/answers/windows-2000/win2000-bootdisk/27006.html

Cannot make win2k bootdisk...+.... www.computing.net/answers/windows-2000/cannot-make-win2k-bootdisk/28312.html