all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 27661@debbugs.gnu.org
Subject: [bug#27661] [PATCH v2] build: Make ISO-9660 image bootable from USB flash drive.
Date: Wed, 12 Jul 2017 16:08:02 +0200	[thread overview]
Message-ID: <87inixd9z1.fsf@gnu.org> (raw)
In-Reply-To: <20170712134405.25274-1-dannym@scratchpost.org> (Danny Milosavljevic's message of "Wed, 12 Jul 2017 15:44:05 +0200")

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> * gnu/build/vm.scm (make-iso9660-image): Make image bootable from USB flash
> drive.
> ---
>  gnu/build/vm.scm | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>
> diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
> index 2d41c5756..d8c53ef37 100644
> --- a/gnu/build/vm.scm
> +++ b/gnu/build/vm.scm
> @@ -367,6 +367,19 @@ Grub configuration and OS-DRV as the stuff in it."
>                              "var=/tmp/root/var"
>                              "run=/tmp/root/run"
>                              "--"
> +                            ;; Store two copies of the headers.
> +                            ;; The resulting ISO-9660 image has a DOS MBR and
> +                            ;; one protective partition (with type 0xCD).
> +                            ;; Because GuixSD only uses actual partitions
> +                            ;; rather than what /proc/partitions returns, work
> +                            ;; around it by storing the primary volume
> +                            ;; descriptor twice, once where it should be and
> +                            ;; once in the partition.
> +                            ;; Allegedly, otherwise, many other GNU tools
> +                            ;; (automounters etc) would also be confused by
> +                            ;; the extra partition so it makes sense to
> +                            ;; store two copies in any case.
> +                            "-boot_image" "any" "partition_offset=16"

Now I understand.  :-)

Perfect, thank you!

Ludo’.

  reply	other threads:[~2017-07-12 14:09 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-12  7:05 [bug#27661] [PATCH] build: Make ISO-9660 image bootable from USB flash drive Danny Milosavljevic
2017-07-12 12:20 ` Ludovic Courtès
2017-07-12 13:44   ` [bug#27661] [PATCH v2] " Danny Milosavljevic
2017-07-12 14:08     ` Ludovic Courtès [this message]
2017-07-12 17:28       ` [bug#27661] ISO-9660 image working and ready Danny Milosavljevic
2017-07-12 20:37         ` ng0
2017-07-12 21:20         ` Ludovic Courtès
2017-07-12 22:57           ` Danny Milosavljevic
2017-07-13  7:52             ` Ricardo Wurmus
2017-07-17 13:41             ` Ludovic Courtès
2017-07-17 17:54               ` Danny Milosavljevic
2017-07-17 18:30                 ` Adam Van Ymeren
2017-07-18  2:34                 ` Adam Van Ymeren
2017-07-18 10:06                 ` Ludovic Courtès
2017-07-13 18:53         ` [bug#27661] " Marius Bakke
2017-07-14  7:30           ` Danny Milosavljevic
2017-07-17  8:22             ` Ludovic Courtès
2017-07-17 19:28               ` Danny Milosavljevic
2017-07-17 19:58                 ` Danny Milosavljevic
2017-07-18 13:08                 ` Ludovic Courtès
2017-07-18 14:30                   ` Danny Milosavljevic
2017-07-18 20:57                     ` Ludovic Courtès
2017-07-14  7:55           ` Danny Milosavljevic
2017-07-17  8:25             ` Ludovic Courtès
2017-07-17  9:04               ` Danny Milosavljevic
2017-07-20 17:22                 ` Danny Milosavljevic

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87inixd9z1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=27661@debbugs.gnu.org \
    --cc=dannym@scratchpost.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.