unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: 白い熊 <help-guix_gnu.org@sumou.com>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: help-guix@gnu.org, Greg Davidson <greg.davidson@gmail.com>
Subject: Re: How can I install gnu guix to a usb flashdrive to run as a live system?
Date: Thu, 12 May 2022 15:27:59 +0000 (UTC)	[thread overview]
Message-ID: <b95d5895-cc34-40b1-8bf1-995ef98a6600@sumou.com> (raw)
In-Reply-To: <180C3E8F-0C9D-4CC3-B8E5-DF4979F5CE95@tobias.gr>


2022/05/11 13:07:33 Tobias Geerinckx-Rice <me@tobias.gr>:

>   # guix system init system.scm /my/usb/drive
>
> ?
>
> One clear way is that AFAIR there's no documented way (yet) to pass 
> '--removable' to grub-install, so you'll have to manually rename  the 
> grub.efi to bootx64.efi.  Annoying but doable.

I think the question here is more along the lines or him do you specify 
the bootloader in system config for this USB?

Do you put:

(bootloader (bootloader-configuration
           (bootloader grub-efi-bootloader)
           (targets (list "/boot/efi"))

... and manually copy the PC's /boot/efi to the USB or create a first 
partition on the USB for this?

This isn't exactly portable then – to make it boot another PC, is it? But 
if you don't have the efi directory, then it complains.

Or do you use the legacy GRUB bootloader configuration? This is what I 
did on a much older version of Guix a long time ago, and it worked – I 
really had a bootable Guix System USB that I could boot off in many PCs. 
But I forgot the exact specification of the system.scm and can't get it 
to work now…

-- 
Best regards / 宜しく御願い致します / S pozdravem / C уважением / Z poważaniem / 
Mit freundlichen Grüßen

白い熊


      reply	other threads:[~2022-05-12 15:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-10  5:19 How can I install gnu guix to a usb flashdrive to run as a live system? Greg Davidson
2022-05-11 11:04 ` Tobias Geerinckx-Rice
2022-05-12 15:27   ` 白い熊 [this message]

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=b95d5895-cc34-40b1-8bf1-995ef98a6600@sumou.com \
    --to=help-guix_gnu.org@sumou.com \
    --cc=greg.davidson@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=me@tobias.gr \
    /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).