bullet Posted September 13, 2005 Posted September 13, 2005 (edited) I have searched for the answer to this question and I can't get a real straight answer. When using my Unattend CD it asks for partition information every time. I can't seem to get it stop even though I think I have followed the directions correctly. If someone could look at my winnt.sif file and tell me what I am doing wrong I would appreciate it.;SetupMgrTag[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" UseBIOSToBoot = 0 AutomaticUpdates = yes[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall= yes TargetPath=\WINDOWS Repartion = yes UnattendSwitch = yes WaitForReboot = No NoWaitAfterTextMode = 1 NoWaitAfterGUIMode = 1 DriverSigningPolicy = Ignore NonDriverSigningPolicy = Ignore Hibernation = No AutoActivate = No[DiskConfig] Disk1="Disk1.config"[Disk1.config] Size1="*" PartitionType1="primary" FileSystem1="ntfs" Quickformat1="yes"I want 1 partition - ntfs - use all of the drive - and no more questions Edited September 13, 2005 by bullet
Asin Posted September 13, 2005 Posted September 13, 2005 I can't seem to find the [DiskConfig] section in ref.chm.
Fox Mulder Posted September 13, 2005 Posted September 13, 2005 I can see that you have a typo there in your [unattended] section, actually is Repartition not Repartion
bullet Posted September 13, 2005 Author Posted September 13, 2005 You are a genius Fox. I looked at that for a week now and didn't see my typo. It shows you have attention to detail and I am lacking. Thanks
orion2 Posted September 13, 2005 Posted September 13, 2005 I have searched for the answer to this question and I can't get a real straight answer. When using my Unattend CD it asks for partition information every time. I can't seem to get it stop even though I think I have followed the directions correctly. If someone could look at my winnt.sif file and tell me what I am doing wrong I would appreciate it.;SetupMgrTag[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" UseBIOSToBoot = 0 AutomaticUpdates = yes[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall= yes TargetPath=\WINDOWS Repartion = yes UnattendSwitch = yes WaitForReboot = No NoWaitAfterTextMode = 1 NoWaitAfterGUIMode = 1 DriverSigningPolicy = Ignore NonDriverSigningPolicy = Ignore Hibernation = No AutoActivate = No[DiskConfig] Disk1="Disk1.config"[Disk1.config] Size1="*" PartitionType1="primary" FileSystem1="ntfs" Quickformat1="yes"I want 1 partition - ntfs - use all of the drive - and no more questions<{POST_SNAPBACK}>Does this mean that the unattended install will repartition and format the drive? without the needs of any other partition tool such as diskpart etc thanks
bullet Posted September 14, 2005 Author Posted September 14, 2005 (edited) You are correct Orion2. The Windows CD has one built in, I just had a typo and was having to manually tell the installer how I wanted the drive partitioned and formated. I corrected my typo and it does it automatically nowEdit: Actually, if I understand it correctly diskpart is the portion of the Windows CD that does all of the formatting and partitioning. Diskpart is built in. Edited September 14, 2005 by bullet
supadodger Posted September 14, 2005 Posted September 14, 2005 can i use this to just format a partition and not create a new one?
Takeshi Posted September 14, 2005 Posted September 14, 2005 I can't seem to find the [DiskConfig] section in ref.chm. <{POST_SNAPBACK}>Nor can I. Haven't seen this before.
orion2 Posted September 14, 2005 Posted September 14, 2005 Excellant, just going to try it out now. If I wanted to aprtition the drive in to 5 GIGs worth, in the [Disk1.config] part of the unattended do I put the size down as MB's (5000) or GIG's 5Thanks again
Rambler Posted September 14, 2005 Posted September 14, 2005 I can't seem to find the [DiskConfig] section in ref.chm. <{POST_SNAPBACK}>Nor can I. Haven't seen this before.<{POST_SNAPBACK}>As it is not part of unattend.txt/winnt.sif, but winbom.ini, which is used in factory mode.But that doesn't mean it won't work in unattend.txt - maybe it's silently supported, have someone tested it?And as for diskpart - yes, windows setup uses it to do the partitioning.
orion2 Posted September 14, 2005 Posted September 14, 2005 Just tested it and it works a treat.........You see the visual progress of the formatExcellant - thanks again bullet for thisorion2
Rob325 Posted September 14, 2005 Posted September 14, 2005 I've been looking at this as well - i need to set up a c, d and s partition.Tried looking at diskpart running as a RunOnceEx, but it can't handle splitting an existing partition which takes up an entire disk. Another option may be a freeware partition manager utility (which I'm saving as a last resort).What I'm intending to do is to break apart the boot.img used with cdimage, and edit it so that in the autoexec.bat fdisk runs and removes all existing partitions, then creates the ones I want.I've currently extracted boot.img using BBIE and am trying to figure out how to unpack image1.bin that BBIE has given me - any thoughts anyone?
Takeshi Posted September 15, 2005 Posted September 15, 2005 Thanks Rambler. If this really works consistently it would be useful to many users , perhaps even worth a mention in the uA guide.
MOONLIGHT SONATA Posted September 15, 2005 Posted September 15, 2005 (edited) @Bullet,Can you please explain the purpose of the following things and their intended effects during setup?[unattended]NoWaitAfterTextMode = 1NoWaitAfterGUIMode = 1[DiskConfig] Disk1="Disk1.config"[Disk1.config] Size1="*"What if I wish to format Partition 1 of Disk 1 only? And what if it's Partition 2 of Disk 2? Please, elaborate, as your comments have enormous potential of implementations.Thanks. Edited September 15, 2005 by MOONLIGHT SONATA
Rob325 Posted September 15, 2005 Posted September 15, 2005 even if it doesn't allow you to create multiple partitions on the same disk, you can use it to create the c partition of a fixed size leaving the remainder as unpartitioned space. You could then use diskpart via RunOnceEx to create the other partitions in the unpartitioned space.I'll have a play with this later
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now