After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664214 - Installation from Live media is broken
Installation from Live media is broken
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: installer
unspecified
Other Linux
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-11-16 17:59 UTC by Cosimo Cecchi
Modified: 2016-03-31 13:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adapt to new osinfo's OS detection API (3.16 KB, patch)
2011-11-23 22:37 UTC, Zeeshan Ali
committed Details | Review

Description Cosimo Cecchi 2011-11-16 17:59:13 UTC
I didn't manage to have Fedora 16 install properly in a VM with latest Boxes.

- the express install fails (Zeeshan pointed me to this bug [1] for this). It hits an error path in Boxes, emitting a "wizard.vala:144 - File not found" warning on the console, after you click on the last step of the wizard, and the VM is not created at all.
- if you disable the express install, the VM will be created and you can boot the live image fine. From inside the live guest image, running the installer (anaconda) complains about not having enough space available on the storage device to proceed with the installation. The device that gets created is 4GB in size.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=753863
Comment 1 Zeeshan Ali 2011-11-16 21:19:33 UTC
(In reply to comment #0)
> I didn't manage to have Fedora 16 install properly in a VM with latest Boxes.

  I did. :)

> - the express install fails (Zeeshan pointed me to this bug [1] for this).

  That bug is about automatic/express install not working *in the guest OS*, boxes doesn't get any issues.

> It
> hits an error path in Boxes, emitting a "wizard.vala:144 - File not found"
> warning on the console, after you click on the last step of the wizard, and the
> VM is not created at all.

  Interesting! I am able to successfully launch the VM with x86_64 installer DVD iso. Are you using Live one? If so, that would be something I haven't tried yet.

> - if you disable the express install, the VM will be created and you can boot
> the live image fine. From inside the live guest image, running the installer
> (anaconda) complains about not having enough space available on the storage
> device to proceed with the installation. The device that gets created is 4GB in
> size.

  Yeah, I put wrong recommended storage for fedora in libosinfo. This one is trivial to fix.
Comment 2 Zeeshan Ali 2011-11-16 21:53:57 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > - if you disable the express install, the VM will be created and you can boot
> > the live image fine. From inside the live guest image, running the installer
> > (anaconda) complains about not having enough space available on the storage
> > device to proceed with the installation. The device that gets created is 4GB in
> > size.
> 
>   Yeah, I put wrong recommended storage for fedora in libosinfo. This one is
> trivial to fix.

This one is fixed with git master of libosinfo.
Comment 3 Cosimo Cecchi 2011-11-16 22:16:13 UTC
(In reply to comment #1)

> > - the express install fails (Zeeshan pointed me to this bug [1] for this).
> 
>   That bug is about automatic/express install not working *in the guest OS*,
> boxes doesn't get any issues.

Okay, I misunderstood.

>   Interesting! I am able to successfully launch the VM with x86_64 installer
> DVD iso. Are you using Live one? If so, that would be something I haven't tried
> yet.

Yes, I am trying this with the live CD.
Comment 4 Zeeshan Ali 2011-11-18 01:13:31 UTC
So two issues are left:

1. Live CD
2. Express installation of F16.

Since for 2. I filed another bug (#664308), lets use this to track 1.
Comment 5 Zeeshan Ali 2011-11-23 22:37:30 UTC
Created attachment 202033 [details] [review]
Adapt to new osinfo's OS detection API

Now osinfo gives us the exact media from its list that was matched
against the media we provided.
Comment 6 Marc-Andre Lureau 2011-11-23 22:41:01 UTC
Review of attachment 202033 [details] [review]:

looks ok, assuming the osinfo patches get merged, you can commit
Comment 7 Zeeshan Ali 2011-11-23 22:44:07 UTC
This patch fixes installation from live ISOs of Fedora (14-16).

Notes:

* Ability to handle purely live media by launching a temporary storage-less domain for it is a separate thing thats not yet covered.

* This requires my libosinfo patches that are pending review.
Comment 8 Zeeshan Ali 2011-11-24 16:30:34 UTC
Attachment 202033 [details] pushed as 139424b - Adapt to new osinfo's OS detection API