Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Use AppleScript to Restore Multiple Partitions through Disk Utility

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 16-04-2012
Member
 
Join Date: Apr 2012
Posts: 36
Use AppleScript to Restore Multiple Partitions through Disk Utility
  

Does anyone heard about the AppleScript? I am looking for one which I can use to restore several partitions from a master drive to a stack of external drives. If it is necessary I can partition those drives. Right now there are 16 partitions in the master driver and all of them of same size. I would like to run a script so that the Disk Utility can list restoring each partition to the matching 16 partitions on external drive. Does anyone know how to do this? How can I create script using AppleScript? I donít have much knowledge with advanced AppleScript.

Reply With Quote
  #2  
Old 16-04-2012
Member
 
Join Date: Oct 2011
Posts: 83
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.
Reply With Quote
  #3  
Old 16-04-2012
Member
 
Join Date: Jan 2011
Posts: 163
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.
Reply With Quote
  #4  
Old 22-04-2012
Member
 
Join Date: Mar 2011
Posts: 155
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:
  • Fix partition table and recover a dropped table.
  • Recover boot sector otherwise boot from the backup FAT32.
  • Rebuild the boot sector in FAT12/FAT16/FAT32.
  • Fix FAT tables.
  • Rebuild NTFS boot sector.
  • Recover NTFS boot sector backup.
  • Fix MFT using MFT mirror.
  • Recovers files from the FAT, NTFS and ext2.
  • Copy files from deleted partitions FAT, NTFS and ext2/ext3.
  • To recover data from a damaged disk or partition, you must run the program from another disk or partition to function appropriately. You must have a few prior experience in driving records.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 12:53 PM.