Sebastian Foss Blog

Sebastian Foss Blog

Sebastian Foss ’s IT News /etc/rc.d

Sebastian Foss Blog RSS Feed
 
 
 
 

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 :-)”

46 Responses to “Multiple Partitions in BDD 2007”

  1. 1
    giochi casin in italiano:

    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

  2. 2
    pronostici tris:

    perfect site !!!!!!!! Perfect piece of work fellows !!!!!!!

  3. 3
    John Doe:

    10687f22f01bbdd1a6f55ec60d40b98d

  4. 4
    phenergan:

    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…

  5. 5
    free gambling:

    Your site is a much needed addition to my life. THANK YOU!

  6. 6
    Giovanni:

    Giovanni…

    Don’t be pushed by your problems. Be led by your dreams….

  7. 7
    auto insurance in new jersey:

    This is a great page. And the contents are really that worth reading. I will add this to my own library

  8. 8
    ny auto insurance ma auto insurance:

    This site is truly a great resource thanks for all your hard work

  9. 9
    european roulette:

    This is a one super duper site

  10. 10
    play roulette:

    Hi, I really apreciated this website! Thanks

  11. 11
    credit card interest rate:

    Our site is cool, but also yours is very nice too

  12. 12
    college student credit cards:

    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!

  13. 13
    no fax payday loan:

    You have a great website. Keep up the good work.

  14. 14
    adipex online rx united health care weight loss pill:

    Wonderful web site, was very useful. Lovely touch having this guestbook. Thanks

  15. 15
    didrex online pharmacy indian phentermine:

    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.

  16. 16
    national payday:

    I love this site, there is so much information to be found. Thank you.

  17. 17
    private mortgage lender chase:

    perfect site !!!!!!!! Perfect piece of work fellows !!!!!!!

  18. 18
    casin in italiano senza deposito:

    Super Informationen verpackt in einem tollen Design.

  19. 19
    viagra cialis levitra:

    levitra viagra…

    buy levitra online. viagra cialis levitra. cialis levitra. levitra side effects. levitra. …

  20. 20
    directory:

    Nice website

  21. 21
    Auto Jersey Loan New Online:

    I couldn

  22. 22
    no limit holdem articles:

    Man, what a well set-up website!

  23. 23
    online casino review:

    I have been a guest of this home page! ZiPiTiDuYa… ZiPiDiHey…

  24. 24
    casino roulette:

    Could you please send to me the contacts of developer of your site? It looks so damn good!

  25. 25
    intercasino online casino play fun:

    Hello. May I rent your layout for my site? :)

  26. 26
    Auto Jersey Loan New Online Credit:

    I have to say, that I could not agree with you completely, but it

  27. 27
    casino wette:

    Hello, What a beautiful and awesome site. I adore what you’ve done with your setup and graphics. Thanks you so much.

  28. 28
    kostenloses internet kasino:

    I like your website; I will share this with friends

  29. 29
    glcksspiel casinos:

    Thank you for the great web site - a true resource, and one many people clearly enjoy

  30. 30
    codeine:

    codeine…

    promethazine with codeine. codeine phosphate. buy codeine without prescription. tylenol with codeine. codeine cod. purple codeine. …

  31. 31
    kasino wetten:

    Thank you, I just wanted to give a greeting and tell you I like your website very much.

  32. 32
    fgycilhu bakins:

    lghbreuvm qfmcu xsci iypvnrdam telhdzv yqrsgj bykvzp

  33. 33
    empire poker:

    Very good webpage you have here and best greetings to all your visitors.

  34. 34
    poker and free:

    This is a great page. And the contents are really that worth reading. I will add this to my own library

  35. 35
    free party poker:

    I came accross this website today searching for any informations. I did not find them, but your site was very interesting.

  36. 36
    tlive poker:

    You have a good site, i enjoyed my stay!

  37. 37
    poker stars com texas holdem poker tips:

    YOU HAVE GOT SOME KIND OF CLASS IN THIS SITE. Good to see you up and around!

  38. 38
    learn poker:

    Nice page. It’s good to have kids who can use this medium to find you

  39. 39
    deadmans hand poker:

    We really liked the website .. Thank you.

  40. 40
    video poker online:

    Some one tell me that your website is very good !I do think so!

  41. 41
    reviews:

    Lovely to see such a wonderful site. Thank you

  42. 42
    Add Your Website No Fax Payday Loan:

    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!

  43. 43
    play casino game:

    Nice website

  44. 44
    bingo online budda bingo:

    I like the way you set up that your info is the homepage, nicely done. Thanks!

  45. 45
    click here:

    good URL!!!!!!!!!!!!

  46. 46
    descargar poker gratis:

    Super site darlings. Thanks awfully

Leave a Reply