Linux ****ed up my macbook air

Discussion in 'Mac Basics and Help' started by SanderDeclerck, Jun 15, 2012.

  1. SanderDeclerck macrumors member

    SanderDeclerck

    Joined:
    Nov 9, 2010
    Location:
    Poelkapelle, Belgium
    #1
    Hi,

    I had to install linux on my macbook air for school *sigh* and now I tried to remove it, I tried to remove all the linux partitions, but somehow, I can't remove disk0s3, which is linux swap. I don't get any errors when I want to remove the partition, but it just doesn't disappear... How can I get rid of this partition? Also, my recovery partition seems to be gone, is there a way to fix that?

    Thanks!
     
  2. SandboxGeneral Moderator

    SandboxGeneral

    Staff Member

    Joined:
    Sep 8, 2010
    Location:
    Orbiting a G-type Main Sequence Star
    #2
    Did you install it in BootCamp? Are you trying to delete the partition in Disk Utility? Can you post screen shots of what you're looking at?
     
  3. SanderDeclerck thread starter macrumors member

    SanderDeclerck

    Joined:
    Nov 9, 2010
    Location:
    Poelkapelle, Belgium
    #3
    I didn't use bootcamp.

    This is how my disk shows up in disk utility:
    [​IMG]

    So when I try to remove the partition, I get this:
    [​IMG]

    So I click remove, but afterwards, I get the same as on the first image again...

    Also, in the list of my disks disk0s3 is grayed out...
     
  4. SandboxGeneral Moderator

    SandboxGeneral

    Staff Member

    Joined:
    Sep 8, 2010
    Location:
    Orbiting a G-type Main Sequence Star
    #4
    Ok, is the partition mounted at the time when you try to delete it? If you can, try and un-mount it, then delete.
     
  5. Littleodie914 macrumors 68000

    Littleodie914

    Joined:
    Jun 9, 2004
    Location:
    Rochester, NY
    #5
    Don't use Disk Utility to remove your Linux-created partitions, it often doesn't work that well.

    Instead, use your Linux install CD to boot into the Linux installer, and use the partition tools there to remove the existing swap partition.

    Then, hop back into Disk Utility on the Mac side, and expand the size of your HFS+ partition to fill the reclaimed disk space.
     
  6. SanderDeclerck thread starter macrumors member

    SanderDeclerck

    Joined:
    Nov 9, 2010
    Location:
    Poelkapelle, Belgium
    #6
    I succeeded in removing the partition. Now, is there a way to get my recovery partition back? Can I re-install it with some tool?
     

Share This Page