Jump to content

Booting XP install from USB (2 partitions)


vrocco

Recommended Posts

OK I know it has been covered over and over how to boot a WinPE from an external USB drive. Thanks to these forums, I got mine working.

However, I have a problem. I have a highly customized install DVD that we use for my workplace. After booting WinPE, it uses Ghost to lay down an image on the drive. The Ghost file (.gho) is about 4GB. This means it will not fit on my FAT partition which needs to be 2GB or less.

I was able to hard code the drive letters into the batch files to get it to run ghost from the second partition after booting WinPE, however, this is where I have a problem. Depending on which computer I plug into, WinPE seems to mount the USB drive partitions as different letters. So I need to go in each time and find out what the drive letter is for my econd partition and then re-edit the batch files to point to that drive letter.

Is there anyway to configure the WinPE so that the Ghost partition always mounts as a certain drive letter, or somehow set a variable like %TargetDrive% to that partition? That way, I can use the variable and not a drive letter.

Any help is appreciated.

Vito

Link to comment
Share on other sites


Just an idea:

in Unattended installation there is a way to set a variable for CD drive:

for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\cdrom_nt.5 set CDDRIVE=%%i:
set WINPATH=%CDDRIVE%\

As you can see a file CDROM_NT.5 (it's a file in the root on Windows 2000 CD disk) is used as a tag file for finding and defining where the installation source is.

PS By the way, I'm using DeployCenter (DOS version of PowerQuest DriveImage Pro that is still available from Symantec) and there is a way to specify all needed info in scripts (they have a very good manual). No need to difine a letter for USB drive ;)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...