New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Running Windows (or anything else) on your Mac Discussion of Classic or running Windows, Linux and other OSes on the Mac.

Deleting a partition


Post Reply New Thread Subscribe

 
Thread Tools
xsx-

 
Member Since: May 18, 2007
Posts: 42
xsx- is on a distinguished road

xsx- is offline
Okay, well, about a month ago I used a diskutil command I found to resize my main partition and create a partition for the windows OS. Well, I tried to resize the windows partition to a smaller size - say a few GB until I get a larger external HD. I couldn't resize it due to being unable to do so with FAT partitions.

Now I just want to delete this partition and make my os x partition the full size again. How can I do this??

thanks
QUOTE Thanks
xsx-

 
Member Since: May 18, 2007
Posts: 42
xsx- is on a distinguished road

xsx- is offline
Does ANYBODY know? ANY HELP AT ALL?
QUOTE Thanks
nMiller92

 
nMiller92's Avatar
 
Member Since: Feb 16, 2008
Location: Illinois
Posts: 17
nMiller92 is on a distinguished road
Mac Specs: Black Macbook, 1gb RAM

nMiller92 is offline
Either one of two things. Either back up your important files and do a clean install or try the diskutil mergePartitions tool.

Just run "diskutil mergePartitions" as root and diskutil will explain in detail how to use it. This will allow you to give all the space back to "Macintosh HD".

"Rights belong to the individual, not groups of those concerned."

"Yeah, you believe it. But I'm going to say why it's dumb." - Bill Maher
QUOTE Thanks
xsx-

 
Member Since: May 18, 2007
Posts: 42
xsx- is on a distinguished road

xsx- is offline
Is there no other way; I wanted to avoid losing my data. I just recently did a clean install, and it was a pain backing everything up. Kind of.
QUOTE Thanks
NPuter

 
NPuter's Avatar
 
Member Since: Jul 15, 2007
Location: Miami, Fl
Posts: 989
NPuter is a jewel in the roughNPuter is a jewel in the rough
Mac Specs: 15" 2.2GHz Santa Rosa Macbook Pro - 4GB Ram - 120GB HD OS X Leopard - Windows XP

NPuter is offline
are you running Tiger or Leopard


"The forums are not only a place to have questions answered, they are a place to be part of a community..."
QUOTE Thanks
xsx-

 
Member Since: May 18, 2007
Posts: 42
xsx- is on a distinguished road

xsx- is offline
I am running Tiger.
QUOTE Thanks
nMiller92

 
nMiller92's Avatar
 
Member Since: Feb 16, 2008
Location: Illinois
Posts: 17
nMiller92 is on a distinguished road
Mac Specs: Black Macbook, 1gb RAM

nMiller92 is offline
Quote:
Originally Posted by xsx- View Post
Is there no other way; I wanted to avoid losing my data. I just recently did a clean install, and it was a pain backing everything up. Kind of.
"diskutil mergePartitions" won't harm any of your data.

"Rights belong to the individual, not groups of those concerned."

"Yeah, you believe it. But I'm going to say why it's dumb." - Bill Maher
QUOTE Thanks
xsx-

 
Member Since: May 18, 2007
Posts: 42
xsx- is on a distinguished road

xsx- is offline
Really? Are you sure

Quote:
Usage: diskutil mergePartitions <format> <name> [Disk Identifier|Device Node]
[Disk Identifier|Device Node]
Merge partitions on a disk. All data on merged partitions will be lost.
Merged partitions are required to be ordered sequentially.
Ownership of the affected disk is required.
Format is the specific filesystem name you want to erase it as. (HFS+, etc.)
Name is the name of the final filesystem created.
The first device node is the start partition. Merging will start with this
partition. The second device node is the finish partition. Merging will
finish with this partition.
You cannot merge partitions on the boot disk.
Example: diskutil mergePartitions HFS+ NewName disk3s4 disk3s7
Note: This will merge all partitions *BETWEEN* disk3s4 and disk3s7!
This will destroy the data on disk3s4, disk3s5, disk3s6, disk3s7 and
any invisible free space partitions between those disks.
QUOTE Thanks
nMiller92

 
nMiller92's Avatar
 
Member Since: Feb 16, 2008
Location: Illinois
Posts: 17
nMiller92 is on a distinguished road
Mac Specs: Black Macbook, 1gb RAM

nMiller92 is offline
Quote:
Originally Posted by xsx- View Post
Really? Are you sure
It's saying that the MERGED partitions will be formatted. Not the target partition which will regain size. You're also missing the big "*BETWEEN*" down there...

Maybe it's because you have a Tiger version. I'm running Leopard, so perhaps Apple changed the way mergePartitions works. If you don't want to use it, fine, but I used it and I'm still alive to tell the tale. So now your only options look like clean install (which isn't a big deal if you have an external hd...) or to try and find a different tool you think will work.

This is what I got:
-------------
macbook:~ nick$ diskutil mergePartitions
Disk Utility Tool
Usage: diskutil mergePartitions [force] format name
DiskIdentifier|DeviceNode DiskIdentifier|DeviceNode
Merge two or more pre-existing partitions into one. The first disk parameter
is the starting partition; the second disk parameter is the ending partition;
this given range of two or more partitions will be merged into one. Both disk
parameters must of course be on the same whole-disk.
All data on merged partitions other than the first will be lost.
The first will be erased if it doesn't have a resizable type (e.g. JHFS+)
or if the "force" argument is given.
Merged partitions are required to be ordered sequentially on disk
(see diskutil list for the actual on-disk ordering).
Ownership of the affected disk is required.
The Format parameter is the specific filesystem name you want to erase it as
(e.g. HFS+, etc.). The Name parameter is the name of the final volume created.
Format and Name are ignored if the first partition is resizable.
Example: diskutil mergePartitions HFS+ NewName disk3s4 disk3s7
Note: This will merge all partitions *BETWEEN* disk3s4 and disk3s7!
This will destroy the data on disk3s5, disk3s6, disk3s7 and
any invisible free space partitions between those disks.
disk3s4 will be resized to cover the full space if possible.

---------------

"Rights belong to the individual, not groups of those concerned."

"Yeah, you believe it. But I'm going to say why it's dumb." - Bill Maher
QUOTE Thanks
xsx-

 
Member Since: May 18, 2007
Posts: 42
xsx- is on a distinguished road

xsx- is offline
I guess it changed in Leopard. Guess I'll clean install when I get my external HD.

Thanks for the help!
QUOTE Thanks

Post Reply New Thread Subscribe


« Is it possible to install XP then upgrade to Vista in boot camp? | Installing windows with bootcamp »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Slow boot after deleting bootcamp partition pthickett Running Windows (or anything else) on your Mac 5 03-17-2009 02:15 PM
Triple booting Leopard, Ubuntu, and XP on a MBP JAM Running Windows (or anything else) on your Mac 10 12-30-2008 09:53 PM
Problems deleting unused Boot Camp partition kill8joy Running Windows (or anything else) on your Mac 2 06-22-2007 09:12 AM
Deleting a partition babolatpdtp Running Windows (or anything else) on your Mac 4 02-18-2007 05:01 AM
Deleting the Boot Camp partition to make a bigger one. Adiversion Running Windows (or anything else) on your Mac 2 06-14-2006 09:19 AM

All times are GMT -4. The time now is 07:26 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?