First thing first, my MacBook Air partitioned into Ubuntu (30Gb) and OS X(91.2 Gb) was working fine until it started draining huge battery, lagging intensely and heating up. I figured out that this is probably due to some background process going on so tried restarting it multiple times by closing 'running applications' and finally forced shutdown it and after that it again started working fine.
Though now i can't boot into Ubuntu for some reason. Earlier, to boot into Ubuntu i had to do nothing after pressing power button, but, to boot into OS X needed to press (option key) which would only show Macintosh HD but not Ubuntu at Startup Boot menu where available options are shown.
Since now i cant use Ubuntu and there wasn't any important data in it, I decided to re-install it. Before doing that I tried if I can consume that partition memory back into Mac by clicking on (-) sign in Disk utility but end result was 91Gb in whole partition map instead of 125Gb.
Then i installed Ubuntu using live bootable pen-drive (pressing option key while booting), but saw no Apple logo or Macintosh HD as a startup booting option after pressing Option Key.Installation was done in the same 30Gb partition further divided into 20+5+5 for main storage, swap and root. Then I installed rEFind on Ubuntu, changed the boot order using efibootmgr. While doing this I could see that Mac OS X is there somewhere but laptop is unable to boot into it.
But still its not working. I did this earlier also but after booting into Ubuntu order again changed to original itself.
When I keep pressing option key, blank window asking about available wireless connection comes with no option to boot into. On pressing Cmd+R, Internet recovery opens but it is unable to detect 91Gb separately, and 'First Aid' on whole 125 Gb hard drive gave no issues. Tried to use rEFIT but couldn't implement it properly.
I tried to see available partition and result are as follows:
What should I do now in order to retrieve my OS X back specially the data because its really important. Please help ASAP. Thanks in advance
In response to @Jivan Pal I'm attaching the output as asked
sudo efibootmgr -v
BootCurrent: 0002
Timeout: 5 seconds
BootOrder: 0080,0002,0001,0000
Boot0000* ubuntu HD(1,GPT,2cf1486a-dfd0-4713-bf7f-c0e3ffbeefe6,0x28,0x64000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* rEFInd Boot Manager HD(1,GPT,2cf1486a-dfd0-4713-bf7f-c0e3ffbeefe6,0x28,0x64000)/File(\EFI\refind\refind_x64.efi)
Boot0002* rEFInd Boot Manager HD(1,GPT,2cf1486a-dfd0-4713-bf7f-c0e3ffbeefe6,0x28,0x64000)/File(\EFI\refind\shimx64.efi)
Boot0080* Mac OS X PciRoot(0x0)/Pci(0x1c,0x5)/Pci(0x0,0x0)/Sata(0,0,0)/HD(2,GPT,ac52d162-21b9-418e-8f91-5888580a1b5a,0x64028,0xa9badd8)/VenMedia(be74fcf7-0b7c-49f3-9147-01f4042e6842,46cb5ae7b6815843884d5271d9758929)/File(\27B82774-58EC-4B16-9F76-DBC35E0A064E\System\Library\CoreServices\boot.efi)
Boot0082* PciRoot(0x0)/Pci(0x1c,0x5)/Pci(0x0,0x0)/Sata(0,0,0)/HD(2,GPT,ac52d162-21b9-418e-8f91-5888580a1b5a,0x64028,0xa9badd8)/VenMedia(be74fcf7-0b7c-49f3-9147-01f4042e6842,46cb5ae7b6815843884d5271d9758929)/File(\27B82774-58EC-4B16-9F76-DBC35E0A064E\System\Library\CoreServices\boot.efi)
BootFFFF* PciRoot(0x0)/Pci(0x1c,0x5)/Pci(0x0,0x0)/Sata(0,0,0)/HD(2,GPT,ac52d162-21b9-418e-8f91-5888580a1b5a,0x64028,0xe19bfb0)/VenMedia(be74fcf7-0b7c-49f3-9147-01f4042e6842,46cb5ae7b6815843884d5271d9758929)/File(\27B82774-58EC-4B16-9F76-DBC35E0A064E\System\Library\CoreServices\boot.efi)
devank@devank-MacBookAir:~$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Disk /dev/sda: 236978176 sectors, 113.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 08D76ED0-E626-4C3D-B42A-2F7FD4C76683
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 236978142
Partitions will be aligned on 8-sector boundaries
Total free space is 2533 sectors (1.2 MiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 178384383 84.9 GiB FFFF
3 178384896 217446399 18.6 GiB 8300
4 217446400 227211263 4.7 GiB 8300
5 227211264 236976127 4.7 GiB 8200