image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old July 24th, 2008, 09:12 PM
LABachlr's Avatar
Macurious
 
Join Date: Apr 2003
Posts: 169
Thanks: 3
Thanked 1 Time in 1 Post
LABachlr is on a distinguished road
Resized partition using Disk Utility and lost the data on the preserved partion!

I was told by Apple that if I used Disk Utility in Leopard to delete one partition and resize another one to take over the amount of space that was gained by deleting the first partition, that no data would be lost. That, however, does not seem to be true, as when I open the resized partition, there is nothing there, yet it says there is only 21.72GB available out of a possible 122.88GB.

The amount of space that is being taken up is the same amount of space that the data was taking up when it was still there. It's still there in some form or another, but is it retrievable, or did Apple give me information that was not correct?

Also, on another forum, I found the another way of merging partitions that I have not tried yet.

It's done in Terminal:

---------------------
diskutil list

that listed back 2 partitions with the identifiers: disk1s1 and disk1s2 (in other cases might be disk0...)

Now,

sudo diskutil mergePartitions "Journaled HFS+" New disk1s1 disk1s2

did the trick (New is the name, it will actually be ignored).

The first partition will be kept intact and the second one will be "merged" therefore you will loose all contents (I made sure it was empty before running the merge just in case).
---------------------------

Can anyone confirm if this works?
Reply With Quote
  #2  
Old July 24th, 2008, 09:36 PM
LABachlr's Avatar
Macurious
 
Join Date: Apr 2003
Posts: 169
Thanks: 3
Thanked 1 Time in 1 Post
LABachlr is on a distinguished road
I just read on the Apple website that yes, you will lose your data when you resize. C'est la vie. Luckily, it's not my only copy.
Reply With Quote
  #3  
Old July 25th, 2008, 03:18 AM
LABachlr's Avatar
Macurious
 
Join Date: Apr 2003
Posts: 169
Thanks: 3
Thanked 1 Time in 1 Post
LABachlr is on a distinguished road
Apple says that you can not resize a partition that has a Master Boot Record, which is in the first sector of the drive. Is it also referring to external drives? Is the first sector the same thing as the first partition?

I did resize the first partition of the external drive, which was a bootable partition, as it had a clone of my hard drive with Tiger before I upgraded to Leopard. Does this partition have an MBR? If so, why was I able to resize it? If not, how am I able to tell if a partition has an MBR?

Apple says to look in Disk Utility, but I didn't see anywhere where it mentioned a partition having an MBR. Even the main drive of my Mac doesn't mention it. But the main drive of my Mac does mention that it is the startup volume and can not be erased (obviously, because I am booting from it). If it can't be erased, then it can't be resized, because when you partition it, you erase it.
Reply With Quote
  #4  
Old July 25th, 2008, 04:23 AM
Base-2 Counter⌘
 
Join Date: Aug 2006
Location: Sideways Spiral
Posts: 677
Thanks: 15
Thanked 25 Times in 25 Posts
VirtualTracy is on a distinguished road
Just to clarify, which drive have you resized? Only the 1st Partition of your external HD?

I wasn't sure if in your original post you were referencing to an internal drive ... you would need to boot from your Install Disc and run Disc Utility before you could make any partition changes to your internal HD and this would also require you re-install the OS again ...

If your ext hard drive has been FAT32-formatted for PC out of the box. Then this format has an underlying MBR (master boot record) partition-scheme. When re-partitioning a drive in 'Disc Utility', the original partition-scheme sticks, so if you simply re-partition the drive to Mac OS Extended, it will still have an MBR partition scheme... and AFAIK, Macs cannot boot from this ... (please someone correct me if I'm wrong here)

For a Power PC Mac to be able to boot from an external firewire drive, the drive MUST have an APM (Apple Partition Map) Partition Scheme underlying the Mac OS Extended partitions. To do this, click on the 'Options' button in 'Disc Utility' when on the 'Partition' page before partitioning. You will see the options:
GUID Partition Table (for Intel Macs... (note: Power PC's cannot boot from a GPT drive))

Apple Partition Map (to create a bootable drive for a Power PC Mac)

Master Boot Record (to create a bootable PC drive)
So.... to make your external drive bootable for your Powerbook G4, choose 'Apple Partition Map' in the 'Options' page prior to partitioning.

AFAIK, an Intel Mac CAN boot from an APM-partitioned drive (this is why the OSX installer can be univerally bootable!), BUT, the problem is that the OSX installer will NOT let you install OSX-intel on an APM-partitioned drive....

You can, however, clone an Intel-Mac-OSX internal drive that has a GPT partition-scheme (using CarbonCopyCloner or SuperDuper) to an external drive with APM, & the Intel Mac will still be able to boot from that clone...

The only real use for doing this, though, is if you want a multi-partitioned backup drive with separate bootable partitions for OSX-PPC & OSX-Intel machines. (Remember that a PPC machine cannot boot from a GTP-partion-scheme drive, hence the need to use APM in this instance seeing as the Partition Scheme applies to the entire drive (it can't be different for each partition.)


I hope this has been helpful ....


.

Last edited by VirtualTracy; July 25th, 2008 at 04:52 AM.
Reply With Quote
The Following User Says Thank You to VirtualTracy For This Useful Post:
LABachlr (July 25th, 2008)
  #5  
Old July 25th, 2008, 04:46 AM
LABachlr's Avatar
Macurious
 
Join Date: Apr 2003
Posts: 169
Thanks: 3
Thanked 1 Time in 1 Post
LABachlr is on a distinguished road
Sorry. Need to specify more.

I have an external drive that had 3 partitions:

The way it was before:

1st partition 111 GB - Bootable copy of my hard drive when I had Tiger; cloned with SuperDuper
2nd partition 10 GB - Extra storage for my data
3rd partition 30 GB - Fresh installation of Leopard

I have since upgraded to Leopard and decided that I would like to use Time Machine instead of SuperDuper backups for now. They say it is best to have an external drive that is larger than your main drive that you are backing up to with Time Machine, as it is always adding new data. The larger your drive, the further back you can go in time.

So, since 10GB is nothing for data, I decided to put that data somewhere else, delete that partition, and resize the partition for the backups to take over the use of that space.

Here is the setup now:

1st partition 122GB - Time Machine backup (have not done the backup yet)
2nd partition 30GB - Fresh install of Tiger

I'm not sure how you tell if you successfully resized the partition, as this is my first time doing it, but the two partitions show up and they both have the correct capacity. The only thing is, on the one that was resized, I did lose the data, but the space is still being taken up by the data that was there. It says that only 21.72GB is available and it has 122.88GB for the capacity.

I will be selecting that as the Time Machine backup drive. Will Time Machine format it when it is selected to be the drive that Time Machine backs up to, or will I have to format it myself via Disk Utility? I'm hoping formatting it will get the space back.

I suppose I could try booting up to the Tiger partition and see if that works.
Reply With Quote
  #6  
Old July 25th, 2008, 04:50 AM
Base-2 Counter⌘
 
Join Date: Aug 2006
Location: Sideways Spiral
Posts: 677
Thanks: 15
Thanked 25 Times in 25 Posts
VirtualTracy is on a distinguished road
LABachlr, please revisit my previous post as I have heavily edited it to provide more succinct info ... I will read your above post now ...
Reply With Quote
  #7  
Old July 25th, 2008, 04:50 AM
LABachlr's Avatar
Macurious
 
Join Date: Apr 2003
Posts: 169
Thanks: 3
Thanked 1 Time in 1 Post
LABachlr is on a distinguished road
Thanks, Tracy. Yes, it's an Intel Macbook. Should I just try formatting that partition and see what happens? I'll try booting from the Tiger partition now.

I just reread it. Thanks.
Reply With Quote
  #8  
Old July 25th, 2008, 05:03 AM
Base-2 Counter⌘
 
Join Date: Aug 2006
Location: Sideways Spiral
Posts: 677
Thanks: 15
Thanked 25 Times in 25 Posts
VirtualTracy is on a distinguished road
In Disc Utility select the drive in the left column, by clicking on it then click on the tab marked "Erase" then you can go ahead and partition and that invisible data should be wiped.

Have you seen these pages?

Mac OS X 10.5: About resizing disk partitions

Booting an Intel iMac from an External Drive

FWIW, I just had a look at my own bootable ext HD (Tiger) and note that the Format is Mac OS Extended (Journaled) and the Partition Type is Apple_HFS.

Let me know how it goes with booting from your Tiger clone ...

*EDIT*

I just re-read my first sentence and want to add that doing this would also scrub your fresh Tiger install on that ext drive ...
Reply With Quote
The Following User Says Thank You to VirtualTracy For This Useful Post:
LABachlr (July 25th, 2008)
Reply

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 10:11 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.