unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35731: Installer: EBUSY while mounting /mnt/boot/efi
@ 2019-05-14 16:38 Ludovic Courtès
  2019-05-14 16:48 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2019-05-14 16:38 UTC (permalink / raw)
  To: bug-Guix

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

Hello,

I’ve tested the installer in a UEFI setup like this:

  qemu-img create -f qcow2 /tmp/t.img 2G
  $(guix system vm gnu/system/install.scm) -m 256 -net user \
      -hda /tmp/t.img \
      -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin

Sometimes, the installer crashes with the attached backtrace: EBUSY
while mounting /mnt/boot/efi.  Strangely, if I go to a console at that
point and run ‘mount’, I see that /mnt/boot/efi is already mounted.

Thoughts?

Ludo’.


[-- Attachment #2: the backtrace --]
[-- Type: image/png, Size: 144020 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#35731: Installer: EBUSY while mounting /mnt/boot/efi
  2019-05-14 16:38 bug#35731: Installer: EBUSY while mounting /mnt/boot/efi Ludovic Courtès
@ 2019-05-14 16:48 ` Ludovic Courtès
  2019-05-15 10:25   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2019-05-14 16:48 UTC (permalink / raw)
  To: 35731

Ludovic Courtès <ludo@gnu.org> skribis:

> Sometimes, the installer crashes with the attached backtrace: EBUSY
> while mounting /mnt/boot/efi.  Strangely, if I go to a console at that
> point and run ‘mount’, I see that /mnt/boot/efi is already mounted.

More specifically, this happens every time I start from a fresh target
disk image—i.e., just run ‘qemu-img create …’ before spawning the
installer VM.

So I’m guessing the ‘partition’ step returns /boot/efi twice in that
case.

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#35731: Installer: EBUSY while mounting /mnt/boot/efi
  2019-05-14 16:48 ` Ludovic Courtès
@ 2019-05-15 10:25   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-05-15 10:25 UTC (permalink / raw)
  To: 35731-done

Ludovic Courtès <ludo@gnu.org> skribis:

> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> Sometimes, the installer crashes with the attached backtrace: EBUSY
>> while mounting /mnt/boot/efi.  Strangely, if I go to a console at that
>> point and run ‘mount’, I see that /mnt/boot/efi is already mounted.
>
> More specifically, this happens every time I start from a fresh target
> disk image—i.e., just run ‘qemu-img create …’ before spawning the
> installer VM.
>
> So I’m guessing the ‘partition’ step returns /boot/efi twice in that
> case.

Fixed in 7d567af46b4e10ffafb1d0f76b524f5781460598.

This makes me think that ‘auto-partition’ should probably be called
‘auto-partition!’.

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-15 10:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-14 16:38 bug#35731: Installer: EBUSY while mounting /mnt/boot/efi Ludovic Courtès
2019-05-14 16:48 ` Ludovic Courtès
2019-05-15 10:25   ` Ludovic Courtès

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