unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: Marius Bakke <mbakke@fastmail.com>
Cc: 27661-done@debbugs.gnu.org
Subject: [bug#27661] ISO-9660 image working and ready
Date: Fri, 14 Jul 2017 09:30:21 +0200	[thread overview]
Message-ID: <20170714093021.1b162844@scratchpost.org> (raw)
In-Reply-To: <87eftkjhhd.fsf@fastmail.com>

Hi Marius,

On Thu, 13 Jul 2017 20:53:50 +0200
Marius Bakke <mbakke@fastmail.com> wrote:

> It does not work on UEFI. I tested in qemu like this:
> 
> qemu-system-x86_64 -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin \
>   -m 256M -enable-kvm -boot c -cdrom /gnu/store/...-disk-image/guixsd.iso
> 
> There doesn't seem to be an EFI system partition? How did you dodge my
> nasty partition hack :)

It's not using initialize-harddisk but rather grub-mkrescue and xorriso in order to create the filesystem.

That's because ISO-9660 filesystems are read-only and have to be created *including* the entire content in one go.

> Also, the derivation creates two files alongside the ISO, are those
> actually required 

No.

>or can we make it it return the ISO directly?

I don't know how...

> Impressive work nonetheless! Many users have asked for ISO support for
> use with e.g. hosting providers. And it's really cool to be able to
> create a CDROM/USB, BIOS/UEFI* multi-hybrid at a whim!
> 
> * Soon™

Bug #27689 fixes it a bit if the bootloader used is grub-efi.

However, that image then doesn't work with normal (non-EFI) BIOS and neither does it work with "qemu -hda".

Unfortunately I can't debug the "qemu -hda" problem properly because it seems that when UEFI is in use, "grub linux16" doesn't work any more which means I can't increase the number of lines on screen anymore (also, there's a huge penguin in the way) which means I can't see the entire error message that the guest prints.

How can I see the entire Linux kernel crash message in qemu (UEFI)?

  reply	other threads:[~2017-07-14  7:31 UTC|newest]

Thread overview: 18+ 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
2017-07-12 17:28       ` [bug#27661] ISO-9660 image working and ready Danny Milosavljevic
2017-07-12 20:37         ` ng0
2017-07-13 18:53         ` Marius Bakke
2017-07-14  7:30           ` Danny Milosavljevic [this message]
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

  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=20170714093021.1b162844@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=27661-done@debbugs.gnu.org \
    --cc=mbakke@fastmail.com \
    /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).