Link to home
Start Free TrialLog in
Avatar of bojangles714
bojangles714Flag for United States of America

asked on

Shrink and create new partition in command line?

I am looking for a way to have a script that will take a computer and create a new partition out of what is already there. So for example, there is the C volume. I want to take this C volume and break off 8 gigs and create a new partition and assign it the letter U. After everything is done I want to be able to have a 8 gig partition called U.

I am having a hard time to figure out what commands to run. I need to run this from a script.

Thanks in advance!
Avatar of Wolfhere
Wolfhere
Flag of United States of America image

You can use gparted live CD (http://gparted.sourceforge.net/larry/livecd/livecd.htm), although all the scripting has been done. You can use the command line options, if that helps.
Avatar of bojangles714

ASKER

I will not have physical access to the machine. Any other suggestions?
ASKER CERTIFIED SOLUTION
Avatar of Lee Osborne
Lee Osborne
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial