Jump to content

install.cmd


strekship

Recommended Posts


So if your partition is already setup then it should be easy due to negating the need for diskpart.

so just

ex.

mkdir %driveletter%\minint

Xcopy thefiles %driveletter%\minint

Xcopy ntdetect %driveletter%

easy man just try it out.

To create a bootable WinPE disk (32-bit versions of WinPE)

***Please note this is only the instructions on how to install WinPE and WinPE only to the hard drive, you must modify these instructions to get a "Dual boot"***

Boot the destination computer into WinPE using a WinPE CD.

Create a formatted and active partition.

On the active partition, create a directory called C:\Minint. You must name the directory "Minint".

Copy the contents of build_location\i386 to C:\Minint.

For example:

xcopy "C:\Build.x86\i386\*.*" C:\Minint /S

where C:\Build.x86 is build_location.

Copy Ntdetect.com from build_location to the root of the destination hard disk.

For example:

xcopy "C:\Build.x86\ntdetect.com" C:\

where C:\Build.X86 is build_location.

On the destination hard disk, copy C:\Minint\setupldr.bin to C:\ntldr.

For example:

xcopy "C:\Minint\setupldr.bin" C:\ntldr

Restart the destination computer. The computer starts using WinPE.

Link to comment
Share on other sites

Diskpart is not meant for existing installations, it is for a fresh hard drive. But here is the info:

http://www.microsoft.com/resources/documen...s/diskpart.mspx

EDIT--

diskpart /s <path>\diskpart.txt
FORMAT S: /FS:NTFS /V:My_Label

where diskpart.txt would contain:

REM Select future S:\ drive
SELECT DISK 1
REM Wipe the disk clean
CLEAN
REM Create a single Primary Partition
CREATE PARTITION PRIMARY
REM Set the drive to mount at S:\
ASSIGN LETTER=S

Source:http://www.jsiinc.com/SUBO/tip7200/rh7282.htm

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...