LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-07-2015, 04:02 PM   #1
AprilShower
LQ Newbie
 
Registered: May 2015
Posts: 2

Rep: Reputation: Disabled
Question HOW TO: Make Antergos (Arch) Boot OS X DVD to Restore Mac for Dual-Booting


I clean installed Antergos 64bit (GNOME 3) on my iMac, and now need to boot the OS X DVD that came with the computer to format and restore. The ultimate goal is to keep this machine for dual-booting (which I can take care of) since there are simply things I need from both operating systems. If only Antergos or GRUB would boot from the DVD to kick-off the process.


What have you done so far?

It made sense to install rEFInd on this machine, since that was the program that helped OS X boot the Antergos image from my USB drive in the first place.

I followed the steps laid out in the Arch Wiki.
  • First, by using the refind-install command
  • Then used the refind-install --usedefault /dev/sda1 command to "also install rEFInd to the default/fallback boot path".

I shutdown, and booted the Mac up in hopes to catch rEFInd's splash screen, but to no avail. Only the Antergos/GRUB screen, and then into Antergos as usual.
(This began a hopeless cycle of re-installing, and rebooting which lasted quite some time.)

Afterwards, I tried manually installing rEFInd using the following commands from the Arch Wiki:
Quote:
cp /usr/share/refind/refind_x64.efi $esp/EFI/refind/
efibootmgr -c -d /dev/sda -p 1 -l /EFI/refind/refind_x64.efi -L "rEFInd Boot Manager"
Also, I installed the mactel-boot utility from the AUR.

And according to the efibootmgr utility, rEFInd was now first in the boot order:

Quote:
BootCurrent: 0002
BootOrder: 0004,0003,0002,0080,0001,0000
Boot0000* ubuntu
Boot0001* rEFInd Boot Manager
Boot0002* antergos_grub
Boot0003* rEFInd Boot Manager
Boot0004* rEFInd Boot Manager
Boot0080* Mac OS X
Boot0081* Recovery OS
BootFFFF*
After shutdown/power-on, the machine displayed alot of white-colored "clearing node" text, before tragically booting once again into Antergos/GRUB.

I've also read How-to Geek's guide on re-installing OS X on Mac, yet the tutorial never mentions how to restore it from Linux.


Conclusion:

What piece of this puzzle am I missing? Would creating a LiveUSB of OS X be an easier route than this DVD? Is there a GRUB command I'm not aware of that can change the boot order?

I'm almost certain rEFInd is not the only way Linux would be able to boot this OS X DVD, it's just the only way I've known how so far.

I can clearly see the Mac OS X boot option in efibootmgr as Boot0080*, so at least it's being recognized. When Antergos boots to the desktop, the OS X DVD is displayed as "WindowsSupport" if that helps.
I'm out of my element and am at an impasse, your help will be appreciated.

PLEASE & THANK YOU

Last edited by AprilShower; 05-09-2015 at 03:03 PM.
 
Old 05-08-2015, 08:57 AM   #2
sudowtf
Member
 
Registered: Nov 2013
Posts: 205

Rep: Reputation: 46
Is this not a function of the Mac hardware? : "Holding down the Option key during startup will show you a boot screen with all bootable devices listed." i.e. should show the boot DVD.

I could be wrong. (i should always append my posts with this.)

Actually, there is an alternative key also. press and hold the "C" : https://support.apple.com/en-us/HT201255

If it an older iMac, the keys may be diffrent: http://osxdaily.com/2007/01/12/10-mu...rtup-commands/

Last edited by sudowtf; 05-08-2015 at 09:03 AM.
 
1 members found this post helpful.
Old 05-08-2015, 08:04 PM   #3
AprilShower
LQ Newbie
 
Registered: May 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for replying sudowtf,

I recently tried the Hold-C option, only to find that the Mac simply boots into the GNU Grub v.2.2 Beta 2 command line.
After, I hit ESC and was then prompted (as usual) to choose between Antergos Linux or Advanced Options for Antergos Linux
Under Advanced Options for Antergos Linux only two options are listed: 1. Antergos Linux 2. Fallback Antergos Linux

When I use the ls command in the GNU Grub v.2.2 Beta 2 command line, the following are listed:
Quote:
(hd0) (hd1) (hd1,gpt4) (hd1,gpt3) (hd1,gpt2) (hd1,gpt1) (cd0)
When I then use the ls -l command, the following are listed:
Quote:
Device hd0: No Known Filesystem Detected
Device hd1: No Known Filesystem Detected
Partition hd1,gpt4: No Known Filesystem Detected
Partition hd1,gpt3: Filesystem type ext* - Label 'AntergosRoot'
Partition hd1,gpt2: Filesystem type ext* - Label 'AntergosBoot'
Partition hd1,gpt1: Filesystem type fat - Label 'UEFI_SYSTEM'
Device cd0: Filesystem type iso9660 - Label 'WINDOWSUPPORT'
I tried using the efibootmgr -o 0080,0081,0001,0003,0004,0000,0002 command to change the boot sequence, making Mac OS X and Recovery OS the first two boot sources.
No cigar for that either, antegros_grub boots as usual.

I just recently installed Grub Customizer from the AUR, just to keep the hope alive.

I also tried the other Mac boot commands listed in both of your links, with unfortunate success.
BUT I'm not losing faith..

Last edited by AprilShower; 05-09-2015 at 03:13 PM.
 
  


Reply



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
Using Arch linux as Mac Time Machine server - write access disable journaling failing psycroptic Linux - Hardware 7 04-10-2014 01:26 AM
[SOLVED] Using arch.iso to restore ubuntu grub2 ubume2 Ubuntu 8 09-28-2013 09:30 AM
Backup/Restore Guide for Mac and Windows? pcfast Linux - Newbie 5 03-24-2013 09:48 PM
System Wipe - Clean up before restore micxz Linux - Security 18 07-11-2009 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:47 PM.

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
Open Source Consulting | Domain Registration