Re: Grub error: Failed to get canonical path of 'none'

2017-09-01 Thread Tobias Geerinckx-Rice
Eduardo,

Eduardo Thales wrote on 01/09/17 at 23:22:
> I'm trying to install Guix SD with Grub on UEFI and my stuck in this error:
> //gnu/store/4c7x0ji4mni5dayf8ig9rssk50pjims1g-grub-efi-2.02/sbin/grub-install:
> error: failed to get canonical path of 'none'.

[snip]

Here's the culprit:

> (bootloader (grub-configuration (grub grub-efi)
>  (device "/dev/sda1")))

The bootloader code was overhauled after Guix 0.13. The syntax is now:

  (bootloader (bootloader-configuration
   (bootloader grub-efi-bootloader)
   (target "/boot/efi"))) ; usually correct, but verify

> I tried to follow what I found in the Reference Manual.

It seems you're consulting an outdated manual that doesn't match the
version of Guix you're invoking to reconfigure your system.

Kind regards,

T G-R



Grub error: Failed to get canonical path of 'none'

2017-09-01 Thread Eduardo Thales
I'm trying to install Guix SD with Grub on UEFI and my stuck in this error:

*/gnu/store/4c7x0ji4mni5dayf8ig9rssk50pjims1g-grub-efi-2.02/sbin/grub-install:
error: failed to get canonical path of 'none'.*
*guix system: error: failed to install
bootloader /gnu/store/6kn22v26i3c6a7h41268z11zkki8y9jk-bootloader-installer*

Here is my config:
*(use-modules (gnu) (gnu system nss))*
*(use-service-modules networking ssh)*
*(use-package-modules admin bootloaders)*

*(operating-system*
*  (host-name "AcerThales")*
*  (timezone "America/Sao_Paulo")*
*  (locale "pt_BR.utf8")*
*  (bootloader (grub-configuration (grub grub-efi)*
*  (device "/dev/sda1")))*

*  (file-systems (cons* (file-system*
* (device "guix")*
* (title 'label)*
* (mount-point "/")*
* (type "ext4"))*
*  (file-system*
* (device "home")*
* (title 'label)*
*(mount-point "/home")*
*   (type "ext4"))*
* (file-system*
*(device "/dev/sda1")*
*   (mount-point "/boot")*
*  (type "vfat"))*
*   %base-file-systems))*

*  (users (cons (user-account*
*(name "eduardo")*
*(comment "Eu msm")*
*(group "users")*
*(supplementary-groups '("wheel" "netdev"*
*"audio" "video"))*
*(home-directory "/home/eduardo"))*
*   %base-user-accounts))*

*  (packages (cons* nss-certs  *
*   %base-packages))*

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))

I tried to follow what I found in the Reference Manual. Also, I tried to
set *(device "/dev/sda")* in *grub-configuration* but no luck. Can someone
give me some light? Thanks in advance