unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sergey Trofimov <sarg@sarg.org.ru>
To: 62223@debbugs.gnu.org
Subject: [bug#62223] Tested locally
Date: Wed, 22 Mar 2023 09:14:13 +0100	[thread overview]
Message-ID: <87fs9x5h5x.fsf@sarg.org.ru> (raw)
In-Reply-To: <20230316173137.25074-1-sarg@sarg.org.ru>


I have created an image and verified that it boots on qemu with 
proper bios.
Then I've baked an image of my real system configuration and used 
it to reprovision my laptop.

vm.scm
--8<---------------cut here---------------start------------->8---
...
  (bootloader
   (bootloader-configuration
    (bootloader grub-efi-bootloader)
    (targets '("/boot"))))
  (file-systems
   (cons*
    (file-system
      (mount-point "/")
      (device (file-system-label "Guix_image"))
      (type "ext4"))
    (file-system
      (mount-point "/boot")
      (device (file-system-label "GNU-ESP"))
      (type "vfat"))
    %base-file-systems))
...
--8<---------------cut here---------------end--------------->8---

testing it with:
--8<---------------cut here---------------start------------->8---
guix system image --image-type=efi-raw vm.scm

qemu-system-x86_64 \
    -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin \
    -drive file=$HOME/vm.img,if=virtio
--8<---------------cut here---------------end--------------->8---




  parent reply	other threads:[~2023-03-22  8:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-16 17:31 [bug#62223] [PATCH] image: Prefer gpt partition table for efi disk images Sergey Trofimov
2023-03-21 21:41 ` Josselin Poiret via Guix-patches via
2023-03-22 12:48   ` Sergey Trofimov
2023-03-22  8:14 ` Sergey Trofimov [this message]
2023-03-22 12:53 ` [bug#62223] [PATCH v2] image: Prefer gpt partition table for efi images Sergey Trofimov
2023-07-07 19:50   ` bug#62223: " Josselin Poiret via Guix-patches via

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=87fs9x5h5x.fsf@sarg.org.ru \
    --to=sarg@sarg.org.ru \
    --cc=62223@debbugs.gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).