From mboxrd@z Thu Jan 1 00:00:00 1970 From: kristofer@openmailbox.org Subject: Macbook 1,1 Installation Date: Thu, 04 Feb 2016 01:34:27 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRDV3-0001HR-C3 for help-guix@gnu.org; Thu, 04 Feb 2016 01:34:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRDV0-0003r8-5O for help-guix@gnu.org; Thu, 04 Feb 2016 01:34:41 -0500 Received: from smtp13.openmailbox.org ([62.4.1.47]:47834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRDUz-0003qv-Sn for help-guix@gnu.org; Thu, 04 Feb 2016 01:34:38 -0500 Received: from www.openmailbox.org (openmailbox-b2 [10.91.69.220]) by mail2.openmailbox.org (Postfix) with ESMTP id 19C272AC2F24 for ; Thu, 4 Feb 2016 07:34:27 +0100 (CET) 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: help-guix@gnu.org Hello! I have working installation of GuixSD on my Macbook! I mostly followed https://www.gnu.org/software/guix/manual/html_node/System-Installation.html Here's my process: Requirements: GuixSD USB disk OS X - Required initially. Dual boot is possible (not advised ;) rEFInd bootloader - http://sourceforge.net/projects/refind/ 1. Boot into OS X, download rEFInd - unpack the zip - execute refind-install in the terminal - in order to dual boot use the Disk Utility and adjust the partition table 2. Plug in your GuixSD USB disk and reboot - select the USB Disk from the rEFInd menu 3. Set up the partition table - Many ways to do this - I use cfdisk because of the curses based gui # cfdisk /dev/sda - DO NOT DELETE PARTITION sda1 as it is the EFI partition - Delete OS X partition (unless dual-booting) - Create a partition for the filesystem and the swap space - format the filesystem and give it a label # mkfs.ext4 /dev/sdaX -L root 4. Connect to the network - it's probably easiest to use ethernet - for wireless secured with WPA use wpa_supplicant # wpa_supplicant -i wls1 -B -c < wpa_password ESSID key # dhclient wls1 5. Install GuixSD - mount root filesystem # mount /dev/sdaX /mnt - copy on write # deco start cow-store /mnt - get the latest and greatest guix # guix pull - copy the desktop configuration template to the filesystem # mkdir /mnt/etc # cp /etc/configurations/desktop.scm /mnt/etc/ - modify the configuration accordingly - (grub-configuration (device "/dev/sda")) - (file-systems ... (device "root")) - system init --no-grub because we're using rEFInd # guix system init /mnt/etc/desktop.scm /mnt --no-grub - let it simmer, this could take awhile 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=root --system=/gnu/store/initRDHash-system --load=/gnu/store/initRDHash-system/boot } 7. Reboot! Thanks to #guix for all the support! I hope this helps out some future explorers! Kristofer Buffington