Deployment and Imaging Group

 View Only
  • 1.  How do I do fixed and percentage partitons with GDISK

    Posted May 21, 2014 12:58 PM

    Can someone explain how I would make a 300mb active partition and another primary of 100% for the remaining space? It looks like the task in 7.5 doesn't like mixing fixed numbers and percentages. If I set a 300mb fixed then use 100% for the next partition it says "The total size of partitions should not exceed 100% of disk 1"

    I just need the GDISK equivalent of this Diskpart:

    select disk 0
    clean
    create partition primary size=300
    format quick fs=ntfs label="System"
    active
    create partition primary
    format quick fs=ntfs label="Windows"
    active
    exit



  • 2.  RE: How do I do fixed and percentage partitons with GDISK

    Posted May 23, 2014 02:47 PM

    I guess it isn't possible? I will just do it a different way. I am going to do two fixed partitions and handle the partition expansion in the advanced settings of the ghost image re-deployment.



  • 3.  RE: How do I do fixed and percentage partitons with GDISK

    Broadcom Employee
    Posted Jun 16, 2014 04:32 AM

    Excellent scenario you bring up. You are right, you cannot do what you want in a single task. Each partition entry in a single partition disk task calculates disk space based on the total initial disk space available for partitioning.

    You will need to create two partition disk tasks:

    1. The first task will contain only the 300MB fixed size option.
    2. The second task will contain a primary partition size of 100%.

    You can wrap these two tasks into a job or simply add them in the correct order to your existing jobs.

    I hope this helps!



  • 4.  RE: How do I do fixed and percentage partitons with GDISK

    Posted Jun 20, 2014 09:34 AM

    Hey Brandon,

    Out of pure curiosity, why not DiskPart? Just wondering?



  • 5.  RE: How do I do fixed and percentage partitons with GDISK

    Posted Jul 01, 2014 11:18 AM

    I am trying to move to all natively supported tasks (if they work properly) for our image deployment process. I am moving away from scripting as much as possible. This is easier for general training using the product and cleaner for the most part when remote imaging is set up for distant offices.