From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Macbook 1,1 Installation Date: Mon, 08 Feb 2016 10:27:33 +0100 Message-ID: <878u2vk0vu.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSi6f-0007K5-9c for help-guix@gnu.org; Mon, 08 Feb 2016 04:27:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSi6b-0000dI-7s for help-guix@gnu.org; Mon, 08 Feb 2016 04:27:41 -0500 In-Reply-To: (kristofer@openmailbox.org's message of "Thu, 04 Feb 2016 01:34:27 -0500") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: kristofer@openmailbox.org Cc: help-guix@gnu.org Hi, kristofer@openmailbox.org skribis: > I have working installation of GuixSD on my Macbook! Nice, thanks for your feedback! > Requirements: > GuixSD USB disk > OS X - Required initially. Dual boot is possible (not advised ;) > rEFInd bootloader - http://sourceforge.net/projects/refind/ Is it impossible to boot directly from the USB image on this machine? > 6. Configure the bootloader > - first locate the grub configuration generated by guix system init > * there is likely a better way to do this * > # ls /mnt/gnu/store | grep grub | grep cfg > > - look at the file from the `ls` command > - in particular we want the lines that begin with "linux" and "initrd" > - we'll need to know the path to bzImage and initrd > > - mount the EFI partition > # mkdir ~/efi > # mount /dev/sda1 ~/efi > > - edit the rEFInd configuration > # nano ~/efi/EFI/refind/refind.conf > > - append the following code to the configuration adjusted to your > environment > > menuentry GuixSD { > icon /EFI/refind/icons/os_linux.png > volume root > loader /gnu/store/hashNumbersHere-linux-libre-x.x.x/bzImage > initrd /gnu/store/diffHashGoesHere-system/initrd > options "--root=3Droot --system=3D/gnu/store/initRDHash-system > --load=3D/gnu/store/initRDHash-system/boot > > } I=E2=80=99m not familiar with GRUB=E2=80=99s EFI support. Why do we need t= he =E2=80=98loader=E2=80=99 and =E2=80=98options=E2=80=99 lines instead of just one =E2=80=98linux=E2= =80=99 line? Should be provide a field in =E2=80=98grub-configuration=E2=80=99 that woul= d allow one to choose an EFI installation? This sounds similar to special-case for Libreboot that was recently proposed. Thanks, Ludo=E2=80=99.