From: Efraim Flashner <efraim@flashner.co.il>
To: Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
Cc: help-guix@gnu.org
Subject: Re: Installing Guix System on an external hard drive
Date: Wed, 13 Nov 2019 08:53:29 +0200 [thread overview]
Message-ID: <20191113065329.GN3954@E5400> (raw)
In-Reply-To: <20191112232532.32f0cdb0@interia.pl>
[-- Attachment #1: Type: text/plain, Size: 2307 bytes --]
On Tue, Nov 12, 2019 at 11:25:32PM +0100, Jan Wielkiewicz wrote:
> 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.
>
On my machine with EFI I mounted my vfat partition at /boot/efi instead
of /boot. Does your /boot partition contain an efi directory?
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-11-13 6:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-12 22:25 Installing Guix System on an external hard drive Jan Wielkiewicz
2019-11-13 6:53 ` Efraim Flashner [this message]
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
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=20191113065329.GN3954@E5400 \
--to=efraim@flashner.co.il \
--cc=help-guix@gnu.org \
--cc=tona_kosmicznego_smiecia@interia.pl \
/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).