all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Grub error: Failed to get canonical path of 'none'
@ 2017-09-01 21:22 Eduardo Thales
  2017-09-01 22:04 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 5+ messages in thread
From: Eduardo Thales @ 2017-09-01 21:22 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 2205 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 3665 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Grub error: Failed to get canonical path of 'none'
  2017-09-01 21:22 Grub error: Failed to get canonical path of 'none' Eduardo Thales
@ 2017-09-01 22:04 ` Tobias Geerinckx-Rice
  2017-09-02 13:00   ` Eduardo Thales
  2017-09-02 19:52   ` Quiliro Ordonez Baca
  0 siblings, 2 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-09-01 22:04 UTC (permalink / raw)
  To: eduardothalesms, help-guix

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Grub error: Failed to get canonical path of 'none'
  2017-09-01 22:04 ` Tobias Geerinckx-Rice
@ 2017-09-02 13:00   ` Eduardo Thales
  2017-09-02 19:52   ` Quiliro Ordonez Baca
  1 sibling, 0 replies; 5+ messages in thread
From: Eduardo Thales @ 2017-09-02 13:00 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

Thanks a lot! Managed to install successfully now

Em 1 de set de 2017 19:02, "Tobias Geerinckx-Rice" <me@tobias.gr> escreveu:

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

[-- Attachment #2: Type: text/html, Size: 1635 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Grub error: Failed to get canonical path of 'none'
  2017-09-01 22:04 ` Tobias Geerinckx-Rice
  2017-09-02 13:00   ` Eduardo Thales
@ 2017-09-02 19:52   ` Quiliro Ordonez Baca
  2017-09-02 23:03     ` Tobias Geerinckx-Rice
  1 sibling, 1 reply; 5+ messages in thread
From: Quiliro Ordonez Baca @ 2017-09-02 19:52 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: eduardothalesms, help-guix

Tobias Geerinckx-Rice <me@tobias.gr> writes:

>> 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.

I have just checked the info page and the old configuration is still there.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Grub error: Failed to get canonical path of 'none'
  2017-09-02 19:52   ` Quiliro Ordonez Baca
@ 2017-09-02 23:03     ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-09-02 23:03 UTC (permalink / raw)
  To: quiliro; +Cc: eduardothalesms, help-guix

Quiliro,

Quiliro Ordonez Baca wrote on 02/09/17 at 21:52:
> I have just checked the info page and the old configuration is still there.

Hm, not here. Or I'm not searching for the same thing you mean.

Could your share the offending section and snippet?

Kind regards,

T G-R

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-02 23:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-01 21:22 Grub error: Failed to get canonical path of 'none' Eduardo Thales
2017-09-01 22:04 ` Tobias Geerinckx-Rice
2017-09-02 13:00   ` Eduardo Thales
2017-09-02 19:52   ` Quiliro Ordonez Baca
2017-09-02 23:03     ` Tobias Geerinckx-Rice

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.