From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Installing Guix System on an external hard drive Date: Wed, 13 Nov 2019 08:53:29 +0200 Message-ID: <20191113065329.GN3954@E5400> References: <20191112232532.32f0cdb0@interia.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aMDdG8xNveJz2ruI" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56543) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUmXz-00026Y-9R for help-guix@gnu.org; Wed, 13 Nov 2019 01:54:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUmXx-00083r-Pb for help-guix@gnu.org; Wed, 13 Nov 2019 01:54:35 -0500 Received: from flashner.co.il ([178.62.234.194]:34724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iUmXx-0007rv-GZ for help-guix@gnu.org; Wed, 13 Nov 2019 01:54:33 -0500 Content-Disposition: inline In-Reply-To: <20191112232532.32f0cdb0@interia.pl> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Jan Wielkiewicz Cc: help-guix@gnu.org --aMDdG8xNveJz2ruI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 12, 2019 at 11:25:32PM +0100, Jan Wielkiewicz wrote: > Hi everyone, >=20 > 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=3Dx86_64-linux": >=20 > guix system: error: > '/gnu/store/492amr5kh838i3021grmmn0pci80rfan-grub-efi-2.04/sbin/grub-inst= all > --boot-directory /mnt/boot --bootloader-id=3DGuix --efi-directory > /mnt/boot/efi' exited with status 1; output follows: >=20 > /gnu/store/492amr5kh838i3021grmmn0pci80rfan-grub-efi-2.04/sbin/grub-ins= tall: > error: > /gnu/store/492amr5kh838i3021grmmn0pci80rfan-grub-efi-2.04/lib/grub/i386= -pc/modinfo.sh > doesn't exist. Use --target or --directory. >=20 > My target machine is an UEFI, x86_64 system. > The hard drive is partitioned and mounted in the following way: >=20 > sdb =20 > =E2=94=9C=E2=94=80sdb1 vfat 511,7M 0% /mnt/boot > =E2=94=9C=E2=94=80sdb2 btrfs 143,8G 3% /mnt > =E2=94=9C=E2=94=80sdb3 btrfs this will be /home > =E2=94=94=E2=94=80sdb4 btrfs this doesn't matter >=20 > That's how my bootloader and file-systems configuration looks like: >=20 > (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)) >=20 > I'm sure I'm doing something wrong, but don't know what. >=20 On my machine with EFI I mounted my vfat partition at /boot/efi instead of /boot. Does your /boot partition contain an efi directory? --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --aMDdG8xNveJz2ruI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl3LqGUACgkQQarn3Mo9 g1FQ6xAAjePo5b+kpgyEGbxgcxQvqNGkUCvzjWSYHvlY1Jf9vFhDOEPgsDBcMz0n whmPrxAmf8J/mgRrbwI5CW0vggftua5UEOOPVq0OpvAFzu4Y8MLo1oSqNh8ZktDm adYM9AzW57T48Z3nRfNCwQG1Wjmg3xu5YWn9mQezuFbdyzsNXisNHXgTSjMCoO9i MKTYal2lVXW2EYITsTaWAFJtc9t/MtXmFHumFczliiKPyKEH/P8Hbp/iMCOpA4QM zlg9BYsSrH4C4ynw8MJzLv7d2RH5FWkQng4QWU7iEBr6i7fMzYc2PkzzwvNhMJOq ARLXZzMn0HipE0sl1mjcVGweIOwiIWWexh3o36iXzbzTb845Acf/eN7FZB/f10sh 6pMCsDYYxzgiaslrB8UprEvC5vyT3BjsIt72rNbjJzZrXqxCwbLCDOxEAOmY40fO bZIgPHp+HxEt4xIrRs1AcxBfCeQKHM6VZsfxWOZem4pFK79dUKPPsUu02tu/igLE KilrgxxG3FtJ7WO3ys+tkhZX5gsN6Pki/tCtd1KRPdThjWMHLQbWTzQvGGohhFWZ 5xeaqQlIV1KTfqomo8I/W6joDogZK0ETQBPOzadlp1Dxa5sz26E2XjY0n0kK8uut JsV3g6LK6g1XxHpgyoyvILyazXl9k8iqYjS73FN86lc4UyrdDL8= =xhcB -----END PGP SIGNATURE----- --aMDdG8xNveJz2ruI--