Increase/extend (resize) OS X partition with GParted

49

If the diagnosis that there's a problem with the partition table is accurate, I recommend you install the gdisk package in Ubuntu (or download and install the Mac version from Sourceforge), launch it on your disk, and use the v option to check for errors. If you find any, check the gdisk documentation on repairing the disk or report back here with details. (Edit your original question and post the gdisk output there.)

It's also possible that you're running into problems related to a hybrid MBR. If so, it's possible that converting the hybrid MBR into a conventional protective MBR will fix the problem; however, this might render Linux (and Windows, if it's also installed) unbootable. There are ways to correct this -- you can either regenerate a hybrid MBR after you resize your partitions or convert Linux to boot in EFI mode.


EDIT: I have a new thought on this issue, which is that you may not have sufficient space between your partitions. OS X's Disk Utility likes to see at least 128MiB of space between existing partitions. If that space isn't present, it will often refuse to work on the disk, although I don't recall the error message it gives. Since you haven't posted your partition table details, it's hard to know if this is a plausible explanation for your problem -- you presumably have ~100GiB of free space somewhere, but it might not be in the right location to please Disk Utility. If this explanation is correct, you may need to resize one or more Linux partitions to ensure that there's free space after every OS X partition. Posting the output of sudo parted /dev/sda unit s print (typed in an Ubuntu Terminal window) will show us how your disk is laid out, which should be helpful in determining if this hypothesis has any merit.

Share:
49

Related videos on Youtube

Himanshu Shekhar
Author by

Himanshu Shekhar

Updated on September 18, 2022

Comments

  • Himanshu Shekhar
    Himanshu Shekhar over 1 year

    I have never learnt this framework. As a beginner, I have to modify/add a link in the existing software which is made by some professional team. Could you people can help me out of this situation?

    There is a function that shows the records on the main page public function index(). It has return View::make('Titles.Index')->withType('movie');. But I have to add a parameter that shows only english movies having field name language can have 'en' as its value. Would you suggest what needs to be done that it will show up using this condition? I have tried return View::make('Titles.Index')->with('language','en'); but it shows error on the main page.

    • Curtis Gedak
      Curtis Gedak over 10 years
      The GParted Features page indicates that growing hfs or hfs+ is not supported. Further I am not aware of any free software tools that support growing these Max OS X native file systems.
  • brentlyjdavid
    brentlyjdavid over 10 years
    I installed and ran gdisk v on /dev/sda2 (the OS X partition). It said there were no problems found. When I first ran it, it said "partition table scan" and said that MBR/BSD/APM/GPT are "not present" and then "Creating new GPT entries" (which seems to do nothing)
  • brentlyjdavid
    brentlyjdavid over 10 years
    Sorry, I didn't know I was supposed to know that. Now it says that MBR is hybrid and GPT is present. No problems reported after running v. Is it time to attempt to convert the MBR?
  • Rod Smith
    Rod Smith over 10 years
    Converting the hybrid MBR to a protective MBR might help; however, I've also had another idea -- see my edit above.
  • brentlyjdavid
    brentlyjdavid over 10 years
    I had to boot Ubuntu from USB to move the Ubuntu partition to the right (moving the unallocated space to the left, directly to the right of the OS X partition). OS X happily extended after that.
  • Himanshu Shekhar
    Himanshu Shekhar almost 8 years
    return View::make('Titles.Index')->with('moviesEn', $moviesEn); When I do this, page shows an error that something went wrong. When i write return View::make('Titles.Index')->with('type','movie'); it displays the rows where type is movie in the table, but it doesn't work where language is en in the same table.
  • Himanshu Shekhar
    Himanshu Shekhar almost 8 years
    Just am puzzled why it works with the field name 'type' and doesn't work with the field name 'language' of the same table!
  • Himanshu Shekhar
    Himanshu Shekhar almost 8 years
    Your answer helped me finally I could manage it. Thanks a lot Alexandre!