Restoring your Linux partition in rEFIt

If your lovely Linux icon has, for whatever reason, disappeared from rEFIt to be replaced by the generic icon (or just vanished completely), here’s how to fix it.

rEFIt, a wonderful boot manager for Mac, peers at all of your partitions when it boots, takes a guess at what OS is on there and shows and entry in the larger icon list at the top. To figure out that you have a Linux partition, it will look at the MBR of that partition and go from there.

If your icon has disappeared or been replaced with the generic one, this is where the problem is. So here’s how to fix it.

  • Boot into Linux using a Live CD like the Ubuntu Ibex install CD.
  • Open up a terminal.
  • “sudo grub”
  • Now, find your Linux partition with “find /vmlinuz”
  • It will return (hd0,2) or similar. Use this to install grub like this: “root(hd0,2)” and then “setup(hd0,2)” and finally “quit”.

Once you reboot, your rEFIt icon should be restored, and you should be able to boot back into Linux no problem.

One Reply to “Restoring your Linux partition in rEFIt”

  1. Hi Sajid,

    Sorry for barging-in your Blog.

    I know you will be hell busy! Request you to please spare some time on my post. Need your help urgently!

    I happen to be a MBA aspirant for which my list of school includes Kellogs, INSEAD, Stanford and other Indian Schools. Plan to take my GMAT in March 2nd week of 2009.

    Before all that like all other passionate MBA aspirants, requesting you to please evaluate my profile. Only upon your permission I would like to send my Profile for your honest Evaluation and suggestions for types of work of gap that I need to fill in to make it to the Ivy League.

    To graduate from an Ivy Business school to accelerate my career and exploit my complete capability is my dream to live.

    I read on INSEAD website that deadline for R3 is sometime in April (maybe 19).Do I stand a good chance to make it to 2009 admission itself as I will have my scores by then.

    Kindly spare sometime to help me take greatest decision of my life. Will be truly grateful to you!

    Please help.

    Regards,
    Vikas

Leave a Reply

Your email address will not be published. Required fields are marked *