From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wHb+EJknfWIPVQEAbAwnHQ (envelope-from ) for ; Thu, 12 May 2022 17:28:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8EoKEJknfWIPaQAAG6o9tA (envelope-from ) for ; Thu, 12 May 2022 17:28:25 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B881B33531 for ; Thu, 12 May 2022 17:28:24 +0200 (CEST) Received: from localhost ([::1]:44982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npAjn-00053V-T4 for larch@yhetil.org; Thu, 12 May 2022 11:28:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npAjV-00051W-5i for help-guix@gnu.org; Thu, 12 May 2022 11:28:05 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:54692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npAjT-0002Vx-IZ for help-guix@gnu.org; Thu, 12 May 2022 11:28:04 -0400 Received: from 37-48-44-62.nat.epc.tmcz.cz ([37.48.44.62] helo=[127.0.0.1]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1npAjS-0004rw-1e; Thu, 12 May 2022 11:28:02 -0400 Date: Thu, 12 May 2022 15:27:59 +0000 (UTC) From: =?UTF-8?B?55m944GE54aK?= To: Tobias Geerinckx-Rice Cc: help-guix@gnu.org, Greg Davidson Message-ID: In-Reply-To: <180C3E8F-0C9D-4CC3-B8E5-DF4979F5CE95@tobias.gr> References: <180C3E8F-0C9D-4CC3-B8E5-DF4979F5CE95@tobias.gr> Subject: Re: How can I install gnu guix to a usb flashdrive to run as a live system? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Correlation-ID: Read-Receipt-To: help-guix_gnu.org@sumou.com Received-SPF: none client-ip=104.248.1.95; envelope-from=help-guix_gnu.org@sumou.com; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652369304; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=kJqlkcgdwzXvVEPIspuCj+ZIl2lwhLGRQT+qxrvPM+s=; b=oNfu/F5QfwWeznTkQD/CsbiLZCW9a8fJd9YceGcPMHAEte1q9J0yX4E2tZ8/inPTdK/bYW 1Re03IO8Lj5HcH0ysWSfuT2UrDINiEuQDLvlXsFZVNCbejtLbVzr2CcCw4b6jfCWpAchg5 UwjNfD+rjGx/E7CS6f08G7fOa1sIxyxMYVZy8afbwQ9pF31VoBokj75xCoj4De+u0eOXzj fEI51sP11/M3PwsAotWWJwFpLVxPrA/IlPg+/9tMCv8ej3JSzRxJyn70ViECebgx1Gl0T6 ZVP3KriJ34jeg9PhDdyVMTKFe+KI+kDBOHMYTeJHxGbzSVbkr8yHsTZqa1oWZA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652369304; a=rsa-sha256; cv=none; b=E/bLnqxXXe+6Mzuer2OnUXJpEWHY0TCAXQbVxo7bOLGRD8aKqhJTYPZMM+W3tE+mUDTFP+ zCI1/xgDpXmx2WcsuHzjLOjazOXj/LA10boXt78LdqqHbV6e0qdMIReuWc/klE/NEkXBGU 5o6L6oGGnAidz8HmBidqobhIBrltEYdALyB5p7/kw3Bcqig6Zc1sUPn4qGhEldmxpEM1Mk 6aQ01Gvgtgh4C7HcrWfYeGnyMbW7FylOBeznka3tiMXPWbtYoq6E/pce/7mU/CDnPFxeK8 ot468HWv0F7poMC6ga0gsNtJROPwuhLph7VBCAwBzawUJpYtTZ/xaU0FtP+WuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.81 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B881B33531 X-Spam-Score: -1.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: Sk5dYd1MSGmD 2022/05/11 13:07:33 Tobias Geerinckx-Rice : > =C2=A0 # guix system init system.scm /my/usb/drive > > ? > > One clear way is that AFAIR there's no documented way (yet) to pass=20 > '--removable' to grub-install, so you'll have to manually rename=C2=A0 th= e=20 > grub.efi to bootx64.efi.=C2=A0 Annoying but doable. I think the question here is more along the lines or him do you specify=20 the bootloader in system config for this USB? Do you put: (bootloader (bootloader-configuration =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (bootloader gr= ub-efi-bootloader) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (targets (list= "/boot/efi")) ... and manually copy the PC's /boot/efi to the USB or create a first=20 partition on the USB for this? This isn't exactly portable then =E2=80=93 to make it boot another PC, is i= t? But=20 if you don't have the efi directory, then it complains. Or do you use the legacy GRUB bootloader configuration? This is what I=20 did on a much older version of Guix a long time ago, and it worked =E2=80= =93 I=20 really had a bootable Guix System USB that I could boot off in many PCs.=20 But I forgot the exact specification of the system.scm and can't get it=20 to work now=E2=80=A6 --=20 Best regards / =E5=AE=9C=E3=81=97=E3=81=8F=E5=BE=A1=E9=A1=98=E3=81=84=E8=87= =B4=E3=81=97=E3=81=BE=E3=81=99 / S pozdravem / C =D1=83=D0=B2=D0=B0=D0=B6= =D0=B5=D0=BD=D0=B8=D0=B5=D0=BC / Z powa=C5=BCaniem /=20 Mit freundlichen Gr=C3=BC=C3=9Fen =E7=99=BD=E3=81=84=E7=86=8A