Hi David, On Fri, 11 Nov 2005 15:05:18 +1030 David Purton <[EMAIL PROTECTED]> wrote: > I've have attempted to resize and hfs+ partition in order to install OSX > 10.4 alongside and existing 10.3 install. > > Sadly I think I have learnt too late how to do ths, but maybe it is > possible to repair things. Any suggestions appreciated. > > This is what I did: > > I had a single 40GB hardrive with a single hfs+ partition running OSX > 10.3 > > I used an ubuntu breezy live ppc CD to boot. I then grabed debs of the > lates version of parted and unpacked them. Fixed up library paths so > that all was good. > > ran parted and attempted to resize the partition. > > It *nearly* worked, but then right at the end I got a fatal: out of > memory error. Waouh, it should not happen, but this is the second time we got such a report...
I really want to completely understand what happened to fix anything that could be broken. What was the version of the first Parted you used ? > I booted back into OSX to see the damage. > > The partition is still listed as 40GB, with 15GB used, but 0 Bytes free. > > I then grabed the latest debian ppc net install image (probably should > have done this first - you always learn these things too late :( ). > > I ran parted again and made a second attempt to resize the partition > down to 30GB. I then created a new partition in the freed up 10GB. All right, what is the version of this second Parted you used ? > It worked, but the 30GB parition still reports 0Bytes free. and no more > can be written to it. (Deleting data does free up space) I think the free space field has been miscalculated, probably because it hasn't been updated during the first crash or something. We have a special build that is able to extract HFS file system structures in some files, you can download it at http://projetos.ossystems.com.br/~otavio/test/parted/static-ppc Under Linux, put it under a directory you can write too (for exemple mount the Os X 10.4 volume RW, or use another drive if available), "cd" to that directory, set it executable ( chmod +x static-ppc ) and run it using your drive that has the 10.3 volume on it. Then use the "check" command on the 10.3 broken partition. It a false check that will extract your file system structures in various files. For analysis : * I'll need at least mdb.hfs if it exists, and vh.hfsplus. * I won't need bitmap* * catalog* and extents* are probably quite big, but if they compress well you can send them too (i don't think they'll be useful but who know?) optional: * I would appreciate attributes.hfsplus and startup.hfsplus for unrelated reason if they exists, are small enough or compress well. > I then installed OSX 10.4 on the 10GB partition and it boots and works. At least one thing works ;) > So the question that I need to know the answer is: > > Can I get back the other 15GB on the other partition or is it lost > for ever? Probably... > If so how? I need to study your file system structures extracted with the special build of parted as explained above. Maybe checking and reparing the volume with disk utils under OS X will help, but i'm not 100% sure, so if you can send me your file system it would be the best. Cheers, Guillaume Knispel _______________________________________________ Bug-parted mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-parted
