all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Installing Guix System on an external hard drive
@ 2019-11-12 22:25 Jan Wielkiewicz
  2019-11-13  6:53 ` Efraim Flashner
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Wielkiewicz @ 2019-11-12 22:25 UTC (permalink / raw)
  To: help-guix

Hi everyone,

I'm trying to install Guix System to an external hard drive from
existing Guix System on my laptop, but I encounter an error after
running "sudo guix system init /mnt/etc/config.scm /mnt
--system=x86_64-linux":

guix system: error:
'/gnu/store/492amr5kh838i3021grmmn0pci80rfan-grub-efi-2.04/sbin/grub-install
--boot-directory /mnt/boot --bootloader-id=Guix --efi-directory
/mnt/boot/efi' exited with status 1; output follows:

  /gnu/store/492amr5kh838i3021grmmn0pci80rfan-grub-efi-2.04/sbin/grub-install:
  error:
  /gnu/store/492amr5kh838i3021grmmn0pci80rfan-grub-efi-2.04/lib/grub/i386-pc/modinfo.sh
  doesn't exist. Use --target or --directory.

My target machine is an UEFI, x86_64 system.
The hard drive is partitioned and mounted in the following way:

sdb                                     
├─sdb1        vfat            511,7M     0% /mnt/boot
├─sdb2        btrfs           143,8G     3% /mnt
├─sdb3        btrfs            this will be /home
└─sdb4        btrfs            this doesn't matter

That's how my bootloader and file-systems configuration looks like:

 (bootloader
  (bootloader-configuration
   (bootloader grub-efi-bootloader)
   (target "/boot/efi")
   (keyboard-layout keyboard-layout)))
 (file-systems
  (cons* (file-system
          (mount-point "/boot")
          (device
	   (uuid "71B0-513F" 'fat))
          (type "vfat"))
         (file-system
          (mount-point "/")
          (device
           (file-system-label "root"))
          (type "btrfs"))
	 (file-system
          (mount-point "/home")
          (device
	   (file-system-label "home"))
          (type "btrfs"))
         %base-file-systems))

I'm sure I'm doing something wrong, but don't know what.


Jan Wielkiewicz

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

end of thread, other threads:[~2019-11-19 23:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-12 22:25 Installing Guix System on an external hard drive Jan Wielkiewicz
2019-11-13  6:53 ` Efraim Flashner
2019-11-13 15:28   ` Jan
2019-11-13 19:15   ` Jan
2019-11-13 19:55     ` Efraim Flashner
2019-11-15 14:49     ` Marius Bakke
2019-11-15 16:23       ` Jan
2019-11-19 23:14         ` Marius Bakke

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.