unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: kristofer@openmailbox.org
Cc: help-guix@gnu.org
Subject: Re: Macbook 1,1 Installation
Date: Mon, 08 Feb 2016 10:27:33 +0100	[thread overview]
Message-ID: <878u2vk0vu.fsf@gnu.org> (raw)
In-Reply-To: <c7ad4be3f4c8a9d4a7761e47fc19296a@openmailbox.org> (kristofer@openmailbox.org's message of "Thu, 04 Feb 2016 01:34:27 -0500")

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=root --system=/gnu/store/initRDHash-system
> --load=/gnu/store/initRDHash-system/boot
>
>     }

I’m not familiar with GRUB’s EFI support.  Why do we need the ‘loader’
and ‘options’ lines instead of just one ‘linux’ line?

Should be provide a field in ‘grub-configuration’ that would allow one
to choose an EFI installation?  This sounds similar to special-case for
Libreboot that was recently proposed.

Thanks,
Ludo’.

      reply	other threads:[~2016-02-08  9:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04  6:34 Macbook 1,1 Installation kristofer
2016-02-08  9:27 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878u2vk0vu.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=kristofer@openmailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).