Multiple Partitions in BDD 2007
“Have had a couple of requests to cover creating multiple partitions using BDD 2007. By default BDD 2007 creates a single partition (C:) that then builds out with your required OS and applications via the task sequencer. The partition and format information is not done by the unattend.xml file (WinPE section) as you might expect, but via ZTIDiskpart.wsf. This script uses ZTIDiskpart.txt to describe how the drive should be wiped, re-partitioned and formatted.The default ZTIDiskpart.txt use DiskPart commands and looks like this:
select disk 0
clean
create partition primary
assign letter=c:
active
exitIn the default settings, the first disk (disk 0) is selected and then cleaned (wiped). A primary partition is then created (using all available space) and assigned drive letter C: The partition is then set as active. ZTIDiskpart.wsf takes care of formatting this single partiton.
To have the ZTIDiskpart.wsf script apply different settings (in this case - create two partitons on the same disk) then we can edit ZTIDiskpart.txt as follows:
select disk 0
clean
create partition primary size=20000
assign letter=c:
active
create partition primary
assign letter=d:
format FS=NTFS QUICK
exit
In this example, the first disk is selected (disk 0) and cleaned as it was in the default script. A primary partition of 20GB is then created (specified in MBs) assigned letter C: and made active. A second partition is then created (by not specifying a size on this second entry, all remaining available space is used) and assigned letter D: This partition is then formatted with NTFS using the QUICK switch (ZTIDiskpart.wsf will take care of formatting the C: drive, however it won’t format the second partition, so we include a command for this in ZTIDiskpart.txt)There is however a gotcha…The allocation of drive letters from within the Windows PE environment doesn’t carry over to the installed operating system if you are trying to create partitons on different physical disks. When the operating system has finished installing, the disk letters can be out of sync. To enable the ZTIDiskpart.wsf script to correctly add drive letters and create two partitions on different disks (usefull if using BDD 2007 to create server builds), use the following (as an example) in ZTIDiskpart.txt:
Select volume 0
Assign letter=K:
Select disk 0
Create partition primary
Assign letter=c:
Active
Select disk 1
Create partition primary
Assign letter
exit
The key to this working is that no letter is assigned to the second partition (that will be created on the 2nd disk) . When the operating system starts you will find that D: will be assigned to the second disk by the OS.
I am greatful (as ever) to Ben Hunter and Michael Niehaus for their input and guidance :-)”
September 8th, 2008 at 9:40 pm
Hi from New York And thanks for the web site. It was just the thing I had been looking for. It has helped me no end. Thanks again
September 8th, 2008 at 9:41 pm
perfect site !!!!!!!! Perfect piece of work fellows !!!!!!!
September 9th, 2008 at 5:48 am
10687f22f01bbdd1a6f55ec60d40b98d
September 9th, 2008 at 7:52 am
phenergan…
azienda farmaceutica arimidex. arimidex for men. arimidex for men. pictures of arimidex. pictures of arimidex. arimidex more drug side effects. arimidex side effects. antabuse side effects. antabuse no prescription. antabuse drug. antidote for antabuse…
September 9th, 2008 at 8:10 pm
Your site is a much needed addition to my life. THANK YOU!
September 10th, 2008 at 10:24 pm
Giovanni…
Don’t be pushed by your problems. Be led by your dreams….
September 15th, 2008 at 9:32 pm
This is a great page. And the contents are really that worth reading. I will add this to my own library
September 16th, 2008 at 5:54 am
This site is truly a great resource thanks for all your hard work
September 20th, 2008 at 10:04 am
This is a one super duper site
September 20th, 2008 at 4:52 pm
Hi, I really apreciated this website! Thanks
September 21st, 2008 at 4:27 pm
Our site is cool, but also yours is very nice too
September 22nd, 2008 at 8:10 am
A very very nice site with helpful informations! So keep up the good work - I already added the site to my personal favourites. All the best!
September 23rd, 2008 at 3:26 am
You have a great website. Keep up the good work.
September 23rd, 2008 at 11:55 am
Wonderful web site, was very useful. Lovely touch having this guestbook. Thanks
September 24th, 2008 at 11:27 am
This is a very beautiful website, I have enjoyed my visit here very much. I’m very honoured to sign in your guestbook. Thanking you for the great work that you are doing here.
September 26th, 2008 at 11:33 pm
I love this site, there is so much information to be found. Thank you.
September 28th, 2008 at 7:50 am
perfect site !!!!!!!! Perfect piece of work fellows !!!!!!!
September 28th, 2008 at 8:28 pm
Super Informationen verpackt in einem tollen Design.
October 2nd, 2008 at 11:35 am
levitra viagra…
buy levitra online. viagra cialis levitra. cialis levitra. levitra side effects. levitra. …
October 5th, 2008 at 2:39 pm
Nice website
October 6th, 2008 at 10:32 am
I couldn
October 9th, 2008 at 10:15 pm
Man, what a well set-up website!
October 10th, 2008 at 9:39 pm
I have been a guest of this home page! ZiPiTiDuYa… ZiPiDiHey…
October 11th, 2008 at 7:45 pm
Could you please send to me the contacts of developer of your site? It looks so damn good!
October 11th, 2008 at 7:46 pm
Hello. May I rent your layout for my site?
October 12th, 2008 at 9:24 pm
I have to say, that I could not agree with you completely, but it
October 13th, 2008 at 2:42 am
Hello, What a beautiful and awesome site. I adore what you’ve done with your setup and graphics. Thanks you so much.
October 13th, 2008 at 2:43 am
I like your website; I will share this with friends
October 13th, 2008 at 2:44 am
Thank you for the great web site - a true resource, and one many people clearly enjoy
October 13th, 2008 at 9:22 am
codeine…
promethazine with codeine. codeine phosphate. buy codeine without prescription. tylenol with codeine. codeine cod. purple codeine. …
October 13th, 2008 at 7:56 pm
Thank you, I just wanted to give a greeting and tell you I like your website very much.
October 13th, 2008 at 10:25 pm
lghbreuvm qfmcu xsci iypvnrdam telhdzv yqrsgj bykvzp
November 1st, 2008 at 12:53 pm
Very good webpage you have here and best greetings to all your visitors.
November 1st, 2008 at 12:54 pm
This is a great page. And the contents are really that worth reading. I will add this to my own library
November 1st, 2008 at 11:11 pm
I came accross this website today searching for any informations. I did not find them, but your site was very interesting.
November 1st, 2008 at 11:12 pm
You have a good site, i enjoyed my stay!
November 3rd, 2008 at 5:17 am
YOU HAVE GOT SOME KIND OF CLASS IN THIS SITE. Good to see you up and around!
November 3rd, 2008 at 11:46 am
Nice page. It’s good to have kids who can use this medium to find you
November 3rd, 2008 at 1:20 pm
We really liked the website .. Thank you.
November 5th, 2008 at 10:04 am
Some one tell me that your website is very good !I do think so!
November 12th, 2008 at 5:03 am
Lovely to see such a wonderful site. Thank you
November 12th, 2008 at 10:15 am
Hello , I like a lot of your blog post especially the article regarding Multiple Partitions in BDD 2007, it looks very interesting. I found you on yahoo while searching for add your website no fax payday loan. I just Stumble it on Wednesday!
November 13th, 2008 at 6:10 pm
Nice website
November 18th, 2008 at 2:57 am
I like the way you set up that your info is the homepage, nicely done. Thanks!
November 18th, 2008 at 1:36 pm
good URL!!!!!!!!!!!!
November 19th, 2008 at 11:08 pm
Super site darlings. Thanks awfully