MSFN Forum: Partition unattend.txt - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Partition unattend.txt Rate Topic: -----

#1 User is offline   pmcsharry 

  • Group: Members
  • Posts: 1
  • Joined: 02-November 05

Posted 02 November 2005 - 09:37 AM

Hello everyone.

I haven't created an unattend.txt for a while. I have got my file working nicely except for the following.

I would like to build a system, with 3 partitions. Limiting the system partition to 10GB. I don`t believe its possible to customer the partitioning info. Just all or nothing.

Any ideas?


#2 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 November 2005 - 01:18 PM

[Data]
Autopartition = 0

[Unattended]
Repartition = No


Windows should then prompt you to partition during the installation.

This post has been edited by cluberti: 02 November 2005 - 01:20 PM


#3 User is offline   tguy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 698
  • Joined: 19-May 04

Posted 03 November 2005 - 03:58 PM

Look into Microsoft's diskpart.exe utility. You can use it to create and size all sizes and types of partitions for your installation. It is free, there is lots of stuff on the web on how to use it.

#4 User is offline   tkmadison 

  • Junior
  • Pip
  • Group: Members
  • Posts: 75
  • Joined: 28-August 05

Posted 20 December 2005 - 03:29 AM

View Postpmcsharry, on Nov 2 2005, 09:37 AM, said:

Hello everyone.

I haven't created an unattend.txt for a while. I have got my file working nicely except for the following.

I would like to build a system, with 3 partitions. Limiting the system partition to 10GB. I don`t believe its possible to customer the partitioning info. Just all or nothing.

Any ideas?


It is indeed possible...found a good explanation on the forum here once, but you won't have a lot of luck using the forum's integrated search...use the google search instead...

Anyway, as for autopartitioning your hard drive with winnt.sif...here's a quick starter...
[Data]
Autopartition = 1
MsDosInitiated = 0
UnattendedInstall = Yes
OemDrivers = OemInfFiles

[Unattended]
UnattendMode = DefaultHide
UnattendSwitch = No
OemPreinstall = Yes
OemSkipEula = Yes
Repartition = Yes
WaitForReboot = No
NoWaitAfterTextMode = 1
NoWaitAfterGUIMode = 1
DriverSigningPolicy = Ignore
NonDriverSigningPolicy = Ignore

[DiskConfig]
Disk1 = "Disk1.config"

[Disk1.config]
Size1 = "*"
PartitionType1 = "primary"
FileSystem1 = "ntfs"
Quickformat1 = "yes"


Notice under Disk1.config you have Size1.
Leaving it as an asterix means it will reformat the entire hard drive and use it as a single partition.
You can specify the size here (in MB) of the partition size you'd like. So in your case it would be
Size1="10000"


As for adding other paritions, I think that you would have to do something like this...
[DiskConfig]
Disk1 = "Disk1.config"
Disk2 = "Disk2.config"
Disk3 = "Disk3.config"

[Disk1.config]
Size1 = "10000"
PartitionType1 = "primary"
FileSystem1 = "ntfs"
Quickformat1 = "yes"

[Disk2.config]
Size2 = "10000"
PartitionType2 = "logical"
FileSystem2 = "ntfs"
Quickformat2 = "yes"


If at all possible, I would test this with Virtual PC or VMWare before potentially screwing up your system.
I know that the first part is right for autopartitioning, but I'm not entirely sure whether or not i have the code right for adding more partitions.

This post has been edited by tkmadison: 20 December 2005 - 03:30 AM


#5 User is offline   Ashimema 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 02-May 04

Posted 26 December 2005 - 02:46 PM

Wow, i've been looking for somthing as easy as this for years!

I did manage to do it manually a long time ago, but have forgotten how now. I hope the above works.

If anyone knows where that orginal post thats mentioned is, please post a link, i can't find it for looking!

Cheers

Ashimema

#6 User is offline   dahvaio 

  • Group: Members
  • Posts: 7
  • Joined: 16-December 05

Posted 27 December 2005 - 12:34 PM

I tried the above but it did not work for me...I wish it would have worked... I will have to go back to the drawing board.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy