answersLogoWhite

0


Best Answer

If you are running a recent version of Mac OS X you can use the Disk Utility software found in the Utilities folder within the Applications folder. As with all disc based operations it is good practice to have a back-up copy of your content. From the Disk Utility Help page (The Help menu is your friend):

Creating new partitions on a disk

You may be able to create multiple partitions on your disk without losing any data. Each partition works like a separate disk. You may need to create a new partition if you want to install multiple operating systems on your computer. Partitions can also help you organize your files.

NOTICE:Back up your data before creating new partitions on your disk as a precaution.

To create new partitions on a disk:

1. Select the disk from the list at the left, and click Partition.

2. Select an existing partition in the Volume Scheme list, and click Add (+).
Disk Utility splits the partition into two, leaving the data in one of the new partitions. If the partition is less than half-full, Disk Utility creates two partitions of equal size. Otherwise, it creates one partition large enough for the data, and another partition with the remaining space.

3. Resize the partitions as needed.
You can drag the dividers between the partitions in the Volume Scheme list, or you can select a partition in the Volume Scheme list, and then enter a value in the Size field.

4. Choose how to format the partitions that will be erased or created.
For each new partition, select it, enter a name, and then choose a format.

5. Click Apply.

Or you can get under the bonnet and do all that geeky stuff:

You need to use the "diskutil" command line program, along with the "-resizeVolume" flag...

Here is the help information for this command:

#################

Disk Utility Tool

Usage: diskutil resizeVolume [Mount Point|Disk Identifier|Device Node] size ...

Non-destructively resize a disk. You may increase or decrease its size.

When decreasing size, you may optionally supply a list of new partitions to create.

Ownership of the affected disk is required.

Valid partition sizes are in the format of .

Valid sizes are B(ytes), K(ilobytes), M(egabytes), G(igabytes), T(erabytes)

Example: 10G (10 gigabytes), 4.23T (4.23 terabytes), 5M (5 megabytes)

resizeVolume is only supported on GPT media with a Journaled HFS+ filesystem.

A size of "limits" will print the range of valid values for the current filesystem.

Example: diskutil resizeVolume disk1s3 10G JHFS+ HDX1 5G MS-DOS HDX2 5G

Valid filesystems: "Case-sensitive HFS+" "Journaled HFS+" "Case-sensitive Journaled HFS+" "HFS+" "HFS" "MS-DOS FAT32" "MS-DOS FAT16" "MS-DOS" "MS-DOS FAT12" "UFS" "Linux" "Swap"

#################

So here's what you need to do: (if you want to install a Linux partition)

In the example from the help command, they are creating a second and third partition on the disk - you don't need to do this (because diskutil doesn't create ext3 or ext4 partitions)...leave the space as "free" or unpartitioned space.

When I'm giving you commands below, a normal shell prompt is shown as a "$" (you don't need to type in the $)....

1.) MAKE SURE YOU AREN'T RUNNING ANY OTHER PROGRAMS WHEN YOU'RE RUNNING THESE COMMANDS. YOU WILL NEED TO RESTART THE MACHINE IMMEDIATELY AFTER THE PARTITION GETS RESIZED.

2.) Use the diskutil command line program to determine which device number your startup disk is:

$ diskutil list

This will list out information that shows device numbers (ie. disk0, disk1s5, etc.). Determine the identifier for your hard drive (it will be listed under "name" - you probably only have one partition, and it's probably the last on on the list).

/dev/disk0

#: type name size identifier

0: Apple_partition_scheme *149.1 GB disk0

1: Apple_partition_map 31.5 KB disk0s1

2: Apple_HFS Macintosh HD 148.9 GB disk0s3

3.) You need to determine how much free space you have available, and how much you want to split off for Linux (you will want to leave a little for the Mac side, but have enough for Linux or whatever you are doing)...For the most part, if you "Get Info" on the hard drive, and it shows that you have 95 GB capacity, and that 40 GB are used, 75 GB would be a good size to resize the Mac partition to (giving you 35 GB of space there, and 20GB free space for LInux)...

4.) To do the actual resizing, you'll need to use the "sudo" command to run the command as root:

$ sudo diskutil resizeVolume disk0s3 75GB

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

In the Applications folder is a folder called Utilities. In that folder is an application called "Disk Utility". Open that and then type "partition" into the Help menu's search window. You'll get all you need to know in there.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Open Disk Utility (found in the Utilities folder within the Applications folder) and select the hard drive to be changed in the left hand pane. In the right hand pane select the Partition tab and then select 1 partition from the drop down menu labelled Volume Scheme. Click on the Apply button to make the changes permanent. Always keep a back up copy of the hard disc so that you do not lose the contents when you make changes to the disc.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

To partition, erase, repair, get information or change the name of an external hard drive, use Disk Utility.

Many of these operations will cause all the information on the hard drive to be lost. Take care!

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you partition a mac hard drive without losing data?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

I have 3 drives in 1 hard drive in which windows xp is installed in drive c and i want to install ubuntu in drive d without formatting it causing any damage to my data on drive e help 4 partition?

Your question isn't exactly clear. If you want to install Ubuntu natively onto a partition, you must format the partition or make a new one. It is quite possible to resize the XP partition and make a new one without losing data on the XP partition. Ubuntu already includes the tools to do this.


How do you extend system partition for windows 8.1 without losing data?

if Disk Management can help you, then you have to try third party partition manager like partitionguru to extend system partition.


How much data can be stored in folder in ntfs partion?

The type of partition is irrelevant to how much data can be stored. A partition can hold as much data as has been designated on the hard drive during the creation of the partition. The size of your hard drive determines how large the NTFS partition can be.


What are different reasons for partitioning your hard drive?

Data safety in the event of winders screwing up. If you have all your photos etc on a partition with windows installed on another, you can reinstall windows in the event of a serious error without losing your files.


How do you split a hard disk of320 GB in to two different 200 GB and 120 GB without affecting the original?

Use partition magic software to split the existing partition into multiple partitions without losing of affecting the data


What will happen if you delete a partition?

Delete all data on a hard drive. Ditto!


What kind of computer program is Partition Magic?

Partition Magic is a partition managing software utility created by PowerQuest Corporation. It was changing moving, or copying hard drive partitions without data loss. It also allowed one to change their FAT file systems.


How do you transfer files from an xbox hard drive to another without losing data?

The easiest way to transfer files from an Xbox hard drove to another without losing data is to buy a hard drive transfer kit or transfer cable. It will connect the two hard drives and transfer the files directly. It is also possible to transfer the files by using a flash drive.


How do you delete a partition on a hard drive and incorporate the memory to make one drive for example a C-drive with 30G ten of which is a D partition into one C-drive with 30G?

You might be looking for a partition resizer. That will allow you to change the size of either partition. I'd backup the data on both before you do though, just in case.


How do you remove a hard drive partition on windows vista?

There are several tutorials on YouTube which will show you exactly how to remove a partition. Removing a hard drive partition on Windows Vista will create an empty space that you can use to install a new partition. Be aware that it will also delete all data that is on the partition.


How do you remove a partition on a hard drive running Windows 98 without reformatting the hard disk?

On a Windows 98 system, there is very likely to only be one partition on the disk. The difference between formatting the disk and deleting the partition would thus be a matter of semantics. Either way, all the data on the hard drive would be gone.


How do you delete loading apps for iPad without losing data?

You cannot delete apps without losing the associated data. The app space and the data are essentially one.