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


Similar Content



Linux Fails To Boot After Refind Install

Hello all,
I'm having an issue booting my linux installation after installing refind. I googled the issue but nothing seems relevant to fixing it.
Refind starts up fine and I can see linux (vmlinuz...) but when I select it to boot it says

Failed to open file: install\initrd.gz
Trying to load files to higher address
Failed to open file: install\initrd.gz

It is a dual boot system with Win8. It is an encrypted installation if that makes any difference. Both systems are efi.
How might i go about fixing this? Any pointers and/or relevant threads appreciated

UEFI Vs Debian - Cannot Boot Into Grub After Installation

The installation of the latest stable on my Lenovo G505s went just fine in UEFI mode but when the installation finished I never reach grub during the bootup process. I put Refind media onto a usb stick and boot into my computer using it after that I tried to follow this guide https://wiki.debian.org/GrubEFIReinstall but I'm having some trouble.

When I start the computer with the "Refind media" it gives me 3 options where the first is

"Boot EFI\debian\grubx64.efi from 510 Mib Fat Volume" If I choose this option it takes me to grub via eufi(?) and then I can get into my computer as usual.

How can I make my computer understand that it should recognize and boot from EFI\debian\grubx64.efi, 510 Mib Fat Volume?

I found https://wiki.debian.org/EFIStub and since my
/boot/efi/EFI/debian looks like; grubx64.efi initrd.img-3.16.0-4-amd64 vmlinuz-3.16.0-4-amd64
I tried the following
Code:
# efibootmgr -c -g -L "Debian (EFI stub)" -l '\EFI\debian\grubx64.efi' -u 'root=UUID=$UUID ro quiet rootfstype=ext4 add_efi_memmap initrd=\\EFI\\debian\\initrd.img-3.16.0-4-amd-64'
efibootmgr: Could not set variable Boot0005: No such file or directory
efibootmgr: Could not prepare boot variable: No such file or directory

Code:
    [ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
    EFI boot on HDD


     apt-get install --reinstall grub-efi

went just fine and I have /dev/sda1 mounted on /boot/efi
but when I try grub-install I get

Code:
grub-install /dev/sda
Installing for x86_64-efi platform.
efibootmgr: Could not set variable Boot0005: No such file or directory
efibootmgr: Could not prepare boot variable: No such file or directory
Installation finished. No error reported.

What is going wrong here?

Code:
    update-grub
    Generating grub configuration file ...
    Found background image: .background_cache.png
    Found linux image: /boot/vmlinuz-3.16.0-4-amd64
    Found initrd image: /boot/initrd.img-3.16.0-4-amd64
    Adding boot menu entry for EFI firmware configuration
    done

Code:
file /boot/efi/EFI/debian/grubx64.efi
/boot/efi/EFI/debian/grubx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows

but efibootmgr --verbose | grep debian gives me nothing. If I run efibootmgr without grep I get:

Code:
    efibootmgr --verbose
    BootCurrent: 0002
    Timeout: 0 seconds
    BootOrder: 2001,0003,0004,0001,0000,2002,2003
    Boot0000* USB HDD     : SanDisk U3 Cruzer Micro    BIOS(2,500,00)..................3.......1...5........................................
    Boot0001* USB ODD     : SanDisk U3 Cruzer Micro    BIOS(3,500,00)..................;.......9...=........................................
    Boot0002* EFI USB Device   ACPI(a0341d0,0)PCI(10,0)USB(2,0)0311050000HD(1,800,2d5f,55fc859c-5227-4cd5-bd64-a4fd678ba8b6)RC
    Boot0003* SATA HDD    : ST1000LM014-1EJ164                         BIOS(2,0,00).......................................................................
    Boot0004* SATA ODD    : MATSHITADVD-RAM UJ8C2                      BIOS(3,0,00).......................................................................
    Boot2001* EFI USB Device   RC
    Boot2002* EFI DVD/CDROM   RC
    Boot2003* EFI Network   RC

Here is some additonial information which might be relevant.

Code:
    # df -h
    Filesystem                 Size  Used Avail Use% Mounted on
    /dev/dm-1                  9.1G  2.5G  6.2G  29% /
    udev                        10M     0   10M   0% /dev
    tmpfs                      1.4G  9.1M  1.4G   1% /run
    tmpfs                      3.5G   68K  3.5G   1% /dev/shm
    tmpfs                      5.0M  4.0K  5.0M   1% /run/lock
    tmpfs                      3.5G     0  3.5G   0% /sys/fs/cgroup
    /dev/sda2                  237M   35M  190M  16% /boot
    /dev/sda1                  511M  132K  511M   1% /boot/efi
    /dev/mapper/ludo--vg-home  893G  103M  848G   1% /home
    tmpfs                      713M  4.0K  713M   1% /run/user/117
    tmpfs                      713M  8.0K  713M   1% /run/user/1000

Code:
fdisk -l

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0080BBEA-1B46-4EAE-9471-CC523BFCAD44

Device       Start        End    Sectors   Size Type
/dev/sda1     2048    1050623    1048576   512M EFI System
/dev/sda2  1050624    1550335     499712   244M Linux filesystem
/dev/sda3  1550336 1953523711 1951973376 930.8G Linux filesystem

GPT PMBR size mismatch (13695 != 2009726) will be corrected by w(rite).

Disk /dev/sdb: 981.3 MiB, 1028980224 bytes, 2009727 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E4A93BB9-2F9C-4487-B090-91B620879E4C

Device     Start   End Sectors  Size Type
/dev/sdb1   2048 13662   11615  5.7M EFI System

Disk /dev/mapper/sda3_crypt: 930.8 GiB, 999408271360 bytes, 1951969280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/ludo--vg-root: 9.3 GiB, 9999220736 bytes, 19529728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/ludo--vg-swap_1: 14.4 GiB, 15439233024 bytes, 30154752 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/ludo--vg-home: 907.1 GiB, 973967720448 bytes, 1902280704 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Triple Boot Problem: Unable To Add 3rd System With Bootable USB

Hi All,

I recently decided to tryout Linux and dual booted my laptop (originally just had windows 8) with Xubuntu. Now I want to try out Kali Linux. So I downloaded Kali and made a bootable USB, the problem is that when I try to boot from the USB it just brings up the grub menu asking me to select Xubuntu, Windows etc. I've changed the boot menu in the BIOS but that has no effect.

I've tried booting into windows and the restarting by holding shift but when I select the usb option it just says:

"system doesn't have any USB boot option. Please select other boot option in Boot Manager Menu"

and then returns to the grub menu. I don't understand because I used a bootable usb to install xubunto?

I'd be really grateful if anyone can help me out with this!

Thanks

Grub-pc Package Failed To Install On Dual Boot Windows 7 And Pinguy OS

After creating a bootable usb using Universal USB Installer. I booted up the sytstem (Dell Inspiron N4110) F12 boot on usb, did the install, everything went well until after copying files and then the error message that "The grub-pc package failed to install into /target.. So i continued without a boot loader and now am trying to figure out how to get it back.
Previously i did a perfect dual boot of Kali Linux wherein the Grub boot loader was present. I did however uninstall Kali, reclaim HDD space, and even use EasyBCD to remove Grub(i believe).
Also worth noting is that before this dual boot with pignuy and after uninstalling kali linux i did a complete reinstallation of my windows 7 system using the recovery HD.

Now i would like to know how i could get grub boot loader back onto my system so that i can boot up Pinguy OS. Thanks

Dual-Booting: Grub Rescue Mode Woes - Help Please :)

Hello!

TL;DR: Deleted Linux partition from Windows. Stuck at Grub rescue prompt.

I'm sorry to trouble you guys, because I'm an idiot.

So I'm wanting to dual-boot Kalilinux and Windows 8.
I went through the steps such as creating a bootable USB, changing the
boot order and so on. I get into Kali, start Gparted and try to partition stuff.

I'm far from an expert, so I wasn't sure what to do. Long-story short, I
didn't seem to get Kali installed correctly, due to something with an EFI
drive being required. So I boot into windows and then stupidly, because it said in the guide,try to "uninstall" Kali by removing it's partition, inside Win8 haha... So I did.

Now I simply get the Grub rescue command prompt when I boot from the same
USB and I have no idea how to fix it. I've run bootrec.exe/fixmbr in Windows haha,
for what it's worth. However Grub can't find any partition it says.

In windows, I have like... 2-3 Recovery partitions. Does anyone know how to remove
them??? I've tried to clear as much as I can, besides the C drive and Auxillary D drive.

Any advice would be very appreciated.

Continue Antergos Installation

Hello

I'm trying to install arch based distro antergos on my system. I have slow but stable internet connection (512 kbps). But unfortunately, in the area I live, there is frequent power cuts. This is creating problem for me. It takes at least 4-5 hours to install antergos linux. Every time installation almost finishes, there will be a power cut, and i have to start it again. This happened 4-5 times, and i have wasted 2 days just trying to install this distro. Still unsuccessful. This incomplete installed linux boots to 'Grub Rescue' screen.

Is there any way I can continue installation from where it went down?

Really be grateful, if someone tells me how, or atleast redirect me to any knowledge base.

Thanks

Configuring A Dual Boot Arch And Fedora Installation

I have setup a dual boot system with Fedora 21 and Arch Linux. The problem is that Fedora doesn't see my encrypted Arch installation. The installations are on separate partitions and do not share anything apart from hard disk space. I have run the following commands as root in Fedora:

Code:
grub2-install /dev/sda

Code:
os-prober

Code:
grub2-mkconfig -o /boot/grub2/grub.cfg

When I rebooted, Fedora was the only OS entry showing in the GRUB menu.

There was a suggestion from one of the members of the Arch forums that I should write the entry myself into /etc/grub.d/40_custom and then re-build the grub configuration or take the Arch entry from Arch's /boot/grub/grub.cfg and just paste it into the 40_custom in Fedora and rebuild.

How do I boot from a live Arch USB stick into the installed Arch and do as stated above? How would it work? Thanks in advance for your replies.

Flashing Screen On Dual-boot Config.

Hi Guys, I installed a dual boot config. on a 160 gb hdd. The first choice in grub menu is Linux Lite (latest distro) and the second boot choice is Mint 17.1 Rebecca. I'm encountering a situation that when I boot into LL the system boots OK. Then when I try a restart and boot into Mint it seems to be doing OK until the end of the boot process at which time the screen flashes the Mint logo and then goes dark-then flashes then goes dark every second or so-endlessly. After a while I'm sometimes able to get Mint to finish booting by hitting the esc key. Any ideas how to make this screen flashing situation stop and do a normal boot?

Update: Solved the problem by changing the resolution settings to coincide with those of LL....flashing stopped!

LL and Mint IMHO are two of the best distros for a Newbie to "get their feet wet." - I know, I am that Newbie.

Linux Mint 16 Will Not Finish Booting From My Usb

I am trying to boot Linux Mint from an 8gb Sandisk USB. I changed my boot settings and it boots into what I believe is called grub? I am given two options, Boot Linux Mint, Boot Linux Mint (compatibility mode). When I select either of them all I get is a black screen. I've tried many things to get around this, messing with my graphics card settings (within grub), different USB's (another 8gb and a 32gb), I tried Ubuntu and that just doesn't boot at all I go straight back to my UEFI settings. I'm very new to Linux and I don't just want to hop in, I just want to boot from my USB whenever I want to play around with it. Thank You

Note: I'm running windows 8.1 currently on a ASUS N550JV laptop. I've been using the UUI from Pen Drive Linux.

Some Trouble Installing Elementary OS

Hi everyone.
Earlier I posted a reply on a thread about a problem with partitions while installing Elementary OS Freya as dual-boot, and yancek answered giving me a link with a tutorial (thank you!).

However, after I continue with the installation it stopped with an error saying that grub wasn't installed, something like that. But when I start my computer (with USB boot priority), pops a window with the option to 'Try Elementary..." and "Install Elementary..." and if I press Esc a grub console appears. Doesn't that mean grub is installed? What should I do to fix this?

Best regards,
a Linux amateur