Jump to content

Recommended Posts

Posted

I've been googling for a bit and can't find a solid way to do this.

I have 65 machines to image in the next couple of days using RIS. I have all the super cool unattended stuff going on, but I can't seem to figure out a way to keep windows from using the entire partition. Since I will be installing linux on a separate partition at some point in the future I'd like to leave about 30 gigs left on the drives.

Is there any way I can specify the size to make the primary partition without forcing the unattended install to stop and prompt me for the size?


Posted

Yes.

All you have to do is to use diskpart to do the job, in the winnt.sif/unattend.txt, section [Disk.Config]

Please read the setupmgr help file included in XP SP2 deploy tools

Posted (edited)

is that really true kazuza as most people have realised they need to use BartPE or WinPE to accomplish this behaviour.

[edit]

and have just looked through both re.chm and deploy.chm and foud no ref to [disk.config]. Can you add some more light to this.

[/edit]

Edited by oioldman
Posted

In deploy.chm:

Helpful command line tools > Diskpart commands (and diskpart scripting)

In ref.chm , searching by keyword "disk.config" , I've came across this sample script:

Example 1

The following example configures two physical hard disks, each 32 GB. The operating system is Windows XP Home Edition or another 32-bit edition of Windows.

[DiskConfig]

Disk1 = First.Config

Disk2 = Data.Config

[First.Config]

Size1 = 30000

FileSystem1 = FAT32

SetActive1 = Yes

PartitionType1 = Primary

Size2 = *

PartitionType2 = Extended

Size3 = *

PartitionType3 = Logical

[Data.Config]

Size1 = *

FileSystem1 = NTFS

Have fun :hello:

  • 2 weeks later...
  • 2 weeks later...
Posted

Hello kazuza,

I have Windows XP with SP2 slipstreamed, and Disk.Config is not found in ref.chm or deploy.chm.

I've put your example in winnt.sif and test it on a test machine, it doesn't work, it autopartition the whole harddisk into one partition only.

Can you please give us a complete winnt.sif to test it. Thank you.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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