Linux auf einem MacBook Pro installieren – Bootvorgang unterbrochen

Linux auf einem MacBook Pro installieren – Bootvorgang unterbrochen

Also habe ich versucht, Ubuntu 14.04 auf meinem MacBook Pro zu installieren (und damit OSX komplett zu ersetzen). Ich hatte Refit installiert, aber jetzt scheint es weg zu sein. Und jedes Mal, wenn ich boote, kann der PC kein Betriebssystem finden.

Ich habe versucht, die Boot-Reparatur mit allen möglichen Optionen durchzuführen, aber der Bootvorgang wurde dadurch nicht repariert.

Ich habe folgende Partitionen:

/dev/sda1 : EFI boot
/dev/sda2 : /
/dev/sda3 : swap

Ich habe versucht, refind mit der --rootOption zu installieren, aber es hat nicht funktioniert. Hier ist die Ausgabe:

root@ubuntu:/usr/share/refind# mkdir /media/boot
root@ubuntu:/usr/share/refind# mount /dev/sda1 /media/boot/
root@ubuntu:/usr/share/refind# ./install.sh --root /media/boot/
Installing rEFInd on Linux....
ESP was found at /media/boot using vfat
Found rEFInd installation in /media/boot/EFI/refind; upgrading it.
Copied rEFInd binary files

Notice: Backed up existing icons directory as icons-backup.
Existing refind.conf file found; copying sample file as refind.conf-sample
to avoid overwriting your customizations.

Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.
Installing it!

ALERT: There were problems running the efibootmgr program! You may need to
rename the refind_x64.efi binary to the default name (EFI/boot/bootx64.efi
on x86-64 systems or EFI/boot/bootia32.efi on x86 systems) to have it run!

Existing /media/boot//boot/refind_linux.conf found; not overwriting.

ALERT:
Installation has completed, but problems were detected. Review the output for
error messages and take corrective measures as necessary. You may need to
re-run this script or install manually before rEFInd will work.

root@ubuntu:/usr/share/refind# 

Auch das Laufen modprobe efivarshat nichts geändert.

Also, im Moment bin ich ein bisschen ratlos: Ich poste dies von einer Live-CD und verstehe nicht wirklich, warum das MBP den EFI-Boot nicht richtig erkennt.

Antwort1

Es ist repariert!

Nachdem ich die Fehler etwas genauer gelesen hatte, sah ich Folgendes:

ALERT: There were problems running the efibootmgr program! You may need to
rename the refind_x64.efi binary to the default name (EFI/boot/bootx64.efi
on x86-64 systems or EFI/boot/bootia32.efi on x86 systems) to have it run!

Also habe ich den /EFI/Ordner überprüft und keinen bootOrdner darin gefunden.

# mkdir /media/boot/EFI/boot
# cp /media/boot/EFI/refind/refind_x64.efi /media/boot/EFI/boot/bootx64.efi

Das funktioniert! refind ist irgendwie kaputt (kein Symbol), aber ich kann problemlos booten.

So stellen Sie die Symbole wieder her und sorgen dafür, dass die Neusuche ordnungsgemäß funktioniert:

# cp -R /media/boot/EFI/refind/* /media/boot/EFI/boot/

verwandte Informationen