|
| ||||||||||
| Tags: apple, applescript, disk utility, mac os x, partition |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Use AppleScript to Restore Multiple Partitions through Disk Utility
|
|
#2
| |||
| |||
| Re: Use AppleScript to Restore Multiple Partitions through Disk Utility
I don’t think that in Apple you will get like that technology. I have seen in UNIX like computer a utility called diskutil. I think that this is the one which you are looking for. First of all you need to know what you exactly want to do. Without knowing it, it is hard to find precise code. You can either use the applescript or a shell script. At this your boot drive will be disk0. If you set the mater drive as second drive, it will be disk1. If you attach another drive, that will be a slave drive and would be disk2. These things may not be default, you have to check it. Once the IDs are identified, you can partition the drive. diskutil partitionDisk disk2 16 GPT [format name size]+ The last three parameters indicate the partition format. You should repeat them for each partition on the disk. You can specify the sizes in any manner. |
|
#3
| |||
| |||
| Re: Use AppleScript to Restore Multiple Partitions through Disk Utility
Up to and including Mac OS X 10.4 operating system offered no way to partition a hard drive to change later without erasing all data. The only way was to copy all the data including the operating system to another disk, the computer to boot from a different volume and delete the hard drive completely or to repartition. To work with disk partitions, you had to inevitably pay third-party software such as iPartition draw. From Mac OS X 10.5, it is possible to use Disk Utility (Applications - Utilities) to change the partitioning of a hard drive later, without having to delete all data must be - albeit with some limitations. |
|
#4
| |||
| |||
| Re: Use AppleScript to Restore Multiple Partitions through Disk Utility
TestDisk is OpenSource software that works fixing the serious problems of your disk. Tasks Performed:
|
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Use AppleScript to Restore Multiple Partitions through Disk Utility" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting error 22 while trying to restore in disk utility on PowerMac | Kuhuk | Portable Devices | 3 | 15-11-2011 04:32 AM |
| Disk Management not understanding multiple partitions on removable devices [CONFIRMED BUG] | Nipissing | Portable Devices | 6 | 15-08-2010 06:01 AM |
| OS 10.5 Merging partitions with disk utility | Montana | Operating Systems | 4 | 27-07-2010 04:29 AM |
| Launch Multiple Programs Under Utility List by downloading Utility Launcher | Damien25 | Windows Software | 1 | 20-01-2009 07:48 AM |
| Chkdsk utility and disk cleanup utility | Fedlix | Windows Vista Performance | 1 | 05-02-2008 08:10 PM |