LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2012, 04:35 PM   #1
ankushaggarwal
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Rep: Reputation: Disabled
Linux installation messed up Mac OS


Hi,

I recently got a new Mac Desktop at work (with OS X and Windows dual boot installed using Bootcamp).

Being a Linux lover, I installed Linux on that - Linux Mint 12. When I start the machine, it goes into Grub which boots the Linux just fine. But OS X and Windows don't boot. For Windows it gives some error and for OS X it just shows a blank screen. I am worried that I might get into trouble for crashing an Apple machine at work. Could any one help me get back the OS X on? I will really appreciate any help.

Thanks in advance,
Ankush.
 
Old 04-27-2012, 06:17 PM   #2
ankushaggarwal
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Some more information, I get "error: invalid EFI file path"

I tried searching information about it and some one had suggested running bootinfoscript to debug booting problems. I am attaching the output of it. My system has 4 hard disks and I tried to install Linux on the fourth one, where I believe there was nothing from Apple.

Any help please?
Attached Files
File Type: txt results.txt (21.9 KB, 9 views)
 
Old 04-30-2012, 12:28 PM   #3
ankushaggarwal
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Unhappy Help needed - Linux installation messed up Mac OS

Hi,

I recently got a new Mac Desktop at work (with OS X and Windows dual boot installed using Bootcamp). After I installed Linux on it, I can't boot OS X or Windows.

Being a Linux lover, I installed Linux on that - Linux Mint 12. When I start the machine, it goes into Grub which boots the Linux just fine. But OS X and Windows don't boot. For Windows it gives "error: invalid EFI file path" and for OS X it just shows a blank screen. I am worried that I might get into trouble for crashing an Apple machine at work.

After some search online, someone suggested to run bootinfoscript to debug booting problems. Attached is the output of that. My system has 4 hard disks and I tried to install Linux on the fourth one, where I believe there was nothing from Apple.

Could any one help me get back the OS X on? I will really appreciate any help.

Thanks in advance,
Ankush.
Attached Files
File Type: txt results.txt (21.9 KB, 5 views)
 
Old 04-30-2012, 12:57 PM   #4
ankushaggarwal
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
No replies so far. I am getting desperate for help. Anyone please?
 
Old 04-30-2012, 03:17 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,203
Blog Entries: 4

Rep: Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741
Reinstall OS/X without Bootcamp, from scratch.

Then, buy a copy of VMWare and install Linux (and anything else) in a virtual machine.
 
Old 04-30-2012, 03:24 PM   #6
ankushaggarwal
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks for your reply. But, is doing a reinstall of the whole system the only option? Is there a way to change the boot loader to rEFIt (the way it was before)?

I was thinking uninstalling grub may take the system to rEFIt upon booting (since on some other post regarding installing Linux on Mac, it asked to skip the bootloader installation, but Linux Mint didn't have that option). However I am not sure, so don't want to take the risk of making all the OSes unbootable. Any ideas about that?

Last edited by ankushaggarwal; 04-30-2012 at 03:26 PM.
 
Old 04-30-2012, 04:00 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,648

Rep: Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911
I know noting about Apple but don't you get a recovery disc of some kind with a Mac? When this happens to a Windows install I'd say use the Windows disc to repair the boot sector -- can't you do similar with the OSX disc on a Mac?
Edit, I googled it for you and got this oldish link:
http://hints.macworld.com/article.ph...91111185717745

Last edited by 273; 04-30-2012 at 04:03 PM.
 
Old 04-30-2012, 04:20 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,263

Rep: Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358
The bootinfoscript output shows windows in the mbr of sdb and nothing in the mbr of any of the other drives. I've never used a Mac so don't know what one would expect to see. sdd only appears to have on FAT partition and several Linux partitions so that would be where you would want to install the Mint Grub2 bootloader to the mbr and then set it to first boot priority. It being a Mac, have no idea how this will work?
Check the link below for installing Grub2 on Mint:

http://community.linuxmint.com/tutorial/view/245

If i am reading your initial post correctly, installing software on your employers computer without their knowledge is never a good idea. Use a Live CD or flash drive.
 
Old 04-30-2012, 04:26 PM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,648

Rep: Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911
This is a duplicate thread and I gave a possible solution on here:
http://www.linuxquestions.org/questi...mac-os-942594/
 
Old 04-30-2012, 05:37 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Joined your two closely related threads ... please don't double post, it's in
violation of the LQ rules.
 
Old 04-30-2012, 06:17 PM   #11
ankushaggarwal
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Sorry about the duplicate post.

@273: I will find out if we have a recovery disk with MAC OS.

@yancek: Grub is installed alright and is working. Problem, I believe, is that it is over riding the option from MAC's version of BIOS (EFI).

@Tinkster: I will really appreciate if you can aid me. The main problem right now is that I can't find a way to select a boot option. For example, if I have a recovery CD or something, I can't boot from there, because there is no BIOS and the system directly goes into GRUB (I tried pressing command and option keys, nothing happens). Before I installed Linux, I could choose the bootable device in a menu of rEFIt. If I could boot from a CD/USB somehow, I could experiment with different things like uninstalling GRUB or using a recovery disk. Any ideas?
 
Old 04-30-2012, 07:15 PM   #12
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
I have never used MAC but since non MAC users are posting here I guess I can post too.
Here it is. I noticed you said GRUB is installed and allows you to boot in Linux so why cant you edit the entries in GRUB and add one entry for MAC OS?

In some cases this is solved by re installing GRUB but I think some people have been able to edit the GRUB file and manually add the entries they need.
If we are lucky one of these people will read this thread and advice. Or you can read the GRUB documentation on the site of your Linux distro

Hopefully you dont have to re install the whole OS again. And Please dis regard this post if doesnt make any sense. As I said I have never used MAC

Here is a little how to with Ubuntu and Mac
https://help.ubuntu.com/community/Ma...elInstallation

Good luck to you

Last edited by TroN-0074; 04-30-2012 at 07:33 PM.
 
Old 04-30-2012, 07:55 PM   #13
ankushaggarwal
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
@TroN-0074 The grub already has entries for MAC and Windows. They just don't work. If I select MAC, it just shows a blank screen (I waited for good 10-15 minutes). If I select Windows, it gives an error saying "error: invalid EFI file path". I might try to modify the entries for Windows and MAC, but how?
 
Old 05-01-2012, 03:36 PM   #14
ankushaggarwal
LQ Newbie
 
Registered: Apr 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Yohoooooooooooooo! FIXED! THANKS EVERYONE!

Not sure how but this helped http://port22tech.com/mac/efi-open-firmware/

If you are interested in what I did to fix it, keep reading. Newer MACs have EFI instead of BIOS (older ones used to have Open Firmware, the difference explained on the webpage above).

1) Unplugged power cable from the computer.
2) Waited 10 seconds.
3) Plugged in the power cord while simultaneously pressing and holding the power button on the back of the computer (as mentioned on the above webpage this resets something called System Management Controller (SMC), don't know what that it).
4) Let go of the power button. Then powered on the computer.
5) My first reaction was I did something wrong, there was some red light coming out of it (which wasn't there before) and it was making sound like a jet engine.
6) Again it went into Grub. I booted Linux from there and then shut it down again quickly because computer was making so much noise, everyone in the room looked annoyed from me.
7) When I restarted it, it went into rEFIt. From there I can now choose either MAC, Windows or Linux. All three work. If I choose Linux it goes into Grub and then I select Linux again from Grub.

MY DAY IS OVER!
 
Old 05-01-2012, 03:47 PM   #15
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,648

Rep: Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911Reputation: 1911
Glad you got it sorted out! Thanks for posting the solution too, it's good to know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
messed up installation BackwardsDown Linux - Newbie 3 02-22-2006 02:27 PM
ubuntu and kubuntu messed with my sound on mac. Dark_Sniper* Linux - Laptop and Netbook 0 06-17-2005 07:38 PM
Need help with Linux Pro 9.2 installation on Mac OS X JGE Linux - Software 1 04-18-2005 07:14 AM
Need help with Linux Pro 9.2 installation on Mac OS X JGE Linux - Newbie 1 04-17-2005 03:46 PM
Windows installation messed up booting linux carios23 Linux - Newbie 2 10-08-2004 10:22 PM


All times are GMT -5. The time now is 08:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration