New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tails does not boot in Qubes HVM #1343

Closed
adrelanos opened this Issue Oct 17, 2015 · 25 comments

Comments

Projects
None yet
7 participants
@adrelanos
Member

adrelanos commented Oct 17, 2015

I've downloaded Tails 1.6. Stored in my iso-download (debian-8 based) AppVM. Then followed the https://www.qubes-os.org/en/doc/hvm-create/ instructions.

Initially Tails boots. You can see the Tails boot menu. Whatever you choose, the default option or failsafe, same result. Where it hangs is a black screen only showing _.

It doesn't bother me personally too much. It's very low on my wishlist. So is this worth of being reported? I am just wondering if there could be a more general underlying issue that would be worth fixing.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 17, 2015

Member

I guess it's about ancient qemu we have in stub domain. Unfortunately
newer version (aka "qemu upstream") requires major stub domain rework,
which hadn't been done yet (but was planned since AFAIR Xen 4.4). Eric
Shelton tried to encourage Xen people to work on it, also providing some
help there. But as for today, Xen 4.6 still doesn't support qemu
upstream in stub domain.

Anyway this problem probably can be fixed by Tails by some Xorg
configuration (or adding another driver). Not sure if worth reporting,
what is the Tails statement about using it in VM?

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Oct 17, 2015

I guess it's about ancient qemu we have in stub domain. Unfortunately
newer version (aka "qemu upstream") requires major stub domain rework,
which hadn't been done yet (but was planned since AFAIR Xen 4.4). Eric
Shelton tried to encourage Xen people to work on it, also providing some
help there. But as for today, Xen 4.6 still doesn't support qemu
upstream in stub domain.

Anyway this problem probably can be fixed by Tails by some Xorg
configuration (or adding another driver). Not sure if worth reporting,
what is the Tails statement about using it in VM?

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@adrelanos

This comment has been minimized.

Show comment
Hide comment
Member

adrelanos commented Oct 17, 2015

what is the Tails statement about using it in VM?

https://tails.boum.org/doc/advanced_topics/virtualization/index.de.html

@unman

This comment has been minimized.

Show comment
Hide comment
@unman

unman Oct 18, 2015

Member

@adrelanos
Explicitly setting vga mode at boot should fix this.
Try appending vga=792

Member

unman commented Oct 18, 2015

@adrelanos
Explicitly setting vga mode at boot should fix this.
Try appending vga=792

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Oct 18, 2015

Member

That workaround works.

Member

adrelanos commented Oct 18, 2015

That workaround works.

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Oct 18, 2015

Member

Booted with smaller resolution, vga=788. But that workaround still leaves one with an unusable Tails. It boots up until the graphical target just fine. The problem is, that the bottom side of the window reaches below dom0's taskbar. So for example the "ok" button in Tails launcher outside the visible monitor area.

Member

adrelanos commented Oct 18, 2015

Booted with smaller resolution, vga=788. But that workaround still leaves one with an unusable Tails. It boots up until the graphical target just fine. The problem is, that the bottom side of the window reaches below dom0's taskbar. So for example the "ok" button in Tails launcher outside the visible monitor area.

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Oct 18, 2015

Member

Existing general Qubes OS ticket at Tails redmine tracker,
Try running Tails inside of Qubes OS:
https://labs.riseup.net/code/issues/8607

Reported this issue on the tails-dev mailing list,
[Tails-dev] Tails fails to run inside Qubes OS:
https://mailman.boum.org/pipermail/tails-dev/2015-October/009628.html

Member

adrelanos commented Oct 18, 2015

Existing general Qubes OS ticket at Tails redmine tracker,
Try running Tails inside of Qubes OS:
https://labs.riseup.net/code/issues/8607

Reported this issue on the tails-dev mailing list,
[Tails-dev] Tails fails to run inside Qubes OS:
https://mailman.boum.org/pipermail/tails-dev/2015-October/009628.html

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 7, 2016

Member

Not sure how to classify this? Should we have some documentation "how to run Tails in Qubes HVM"?

Member

marmarek commented Jan 7, 2016

Not sure how to classify this? Should we have some documentation "how to run Tails in Qubes HVM"?

@DrWhax

This comment has been minimized.

Show comment
Hide comment
@DrWhax

DrWhax Jan 7, 2016

I was just trying this out! What a coincidence! On my R3.0 with the vga=788 option, I just get a blank screen and nothing happens. This was with a Tails 1.8.1 release.

Ideally, we should test out the 2.0 beta release that is next on my list of things to do. Hopefully things have improved on Debian Jessie's side, it's slightly more positive from what I understand from the tails-dev mailinglist.

But yes, if we figure out what works with what version, we should create documentation for it!

DrWhax commented Jan 7, 2016

I was just trying this out! What a coincidence! On my R3.0 with the vga=788 option, I just get a blank screen and nothing happens. This was with a Tails 1.8.1 release.

Ideally, we should test out the 2.0 beta release that is next on my list of things to do. Hopefully things have improved on Debian Jessie's side, it's slightly more positive from what I understand from the tails-dev mailinglist.

But yes, if we figure out what works with what version, we should create documentation for it!

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Jan 7, 2016

Member

Documenting it isn't possible as no one has figured out yet how to get
it into a usable state.

As per what you wrote in
#1343 (comment)
it's a Xen issue. One you probably won't have priority/time to fix. Not
sure what's best to do with such kind of tickets. It's an outstanding
issue, good to know, not really fixed, good if found through search
engines. I would leave it open with "patches welcome". Or close it if
that works better with your issue tracker customs.

Member

adrelanos commented Jan 7, 2016

Documenting it isn't possible as no one has figured out yet how to get
it into a usable state.

As per what you wrote in
#1343 (comment)
it's a Xen issue. One you probably won't have priority/time to fix. Not
sure what's best to do with such kind of tickets. It's an outstanding
issue, good to know, not really fixed, good if found through search
engines. I would leave it open with "patches welcome". Or close it if
that works better with your issue tracker customs.

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Jan 7, 2016

Member

Seems like @DrWhax and me posted in the exact same minute. This somewhat obsoletes my previous post. Since someone is working on it, perhaps best to leave it open.

Member

adrelanos commented Jan 7, 2016

Seems like @DrWhax and me posted in the exact same minute. This somewhat obsoletes my previous post. Since someone is working on it, perhaps best to leave it open.

@DrWhax

This comment has been minimized.

Show comment
Hide comment
@DrWhax

DrWhax Jan 7, 2016

Well, both the beta of 2.0 and a latest stable release (1.8.1) both don't load, all I get is a black screen. Fiddling with the vga line doesn't do anything to circumvent the issue. I guess we should document that it doesn't work? :)

DrWhax commented Jan 7, 2016

Well, both the beta of 2.0 and a latest stable release (1.8.1) both don't load, all I get is a black screen. Fiddling with the vga line doesn't do anything to circumvent the issue. I guess we should document that it doesn't work? :)

@austin987

This comment has been minimized.

Show comment
Hide comment
@austin987

austin987 Jan 7, 2016

@marmarek / @adrelanos what Xen issue? What Xorg driver is needed? Tails is based on Debian, if it's only a missing driver this should be trivial to fix on Tails' end.

@marmarek / @adrelanos what Xen issue? What Xorg driver is needed? Tails is based on Debian, if it's only a missing driver this should be trivial to fix on Tails' end.

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@austin987

This comment has been minimized.

Show comment
Hide comment
@austin987

austin987 Jan 7, 2016

Yes, I saw that. I was hoping for a Xen bug # or link, and/or the name of the missing Xorg driver, if known.

Yes, I saw that. I was hoping for a Xen bug # or link, and/or the name of the missing Xorg driver, if known.

@DrWhax

This comment has been minimized.

Show comment
Hide comment
@DrWhax

DrWhax Jan 7, 2016

Indeed, this would allow us to build an iso and test again. Any pointer is welcome.

DrWhax commented Jan 7, 2016

Indeed, this would allow us to build an iso and test again. Any pointer is welcome.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 7, 2016

Member

Does Tails use "quiet" kernel boot option? If so, remove and see kernel
messages. Or maybe it fails at X server load time? Having some way to
extract X server log would be useful...

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Jan 7, 2016

Does Tails use "quiet" kernel boot option? If so, remove and see kernel
messages. Or maybe it fails at X server load time? Having some way to
extract X server log would be useful...

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@DrWhax

This comment has been minimized.

Show comment
Hide comment
@DrWhax

DrWhax Jan 8, 2016

I just did this with an Tails 2.0~beta1 iso and I get this:

"Probing EDD (edd=off to disable) OK" and then it just hangs.

DrWhax commented Jan 8, 2016

I just did this with an Tails 2.0~beta1 iso and I get this:

"Probing EDD (edd=off to disable) OK" and then it just hangs.

@austin987

This comment has been minimized.

Show comment
Hide comment
@austin987

austin987 Jan 8, 2016

@marmarek, yes, it's quiet by default.

I've never used Qubes myself (on my list of things to try soon), is https://www.qubes-os.org/doc/live-usb/ still valid? That would make testing easier for me.

@marmarek, yes, it's quiet by default.

I've never used Qubes myself (on my list of things to try soon), is https://www.qubes-os.org/doc/live-usb/ still valid? That would make testing easier for me.

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Jan 8, 2016

Member

Austin English:

I've never used Qubes myself (on my list of things to try soon), is https://www.qubes-os.org/doc/live-usb/ still valid? That would make testing easier for me.

Please don't hijack random tickets for unrelated discussion. No offense
intended. Just trying to keep the overview.

Member

adrelanos commented Jan 8, 2016

Austin English:

I've never used Qubes myself (on my list of things to try soon), is https://www.qubes-os.org/doc/live-usb/ still valid? That would make testing easier for me.

Please don't hijack random tickets for unrelated discussion. No offense
intended. Just trying to keep the overview.

@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc May 10, 2016

Member

just to keep this thread updated, there is online documentation on running Tails in Qubes HVM now: https://garlicgambit.wordpress.com/2016/04/22/how-to-run-tails-from-a-qubes-live-cd and #1969.

Member

mfc commented May 10, 2016

just to keep this thread updated, there is online documentation on running Tails in Qubes HVM now: https://garlicgambit.wordpress.com/2016/04/22/how-to-run-tails-from-a-qubes-live-cd and #1969.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong May 10, 2016

Member

@unman (#1969 (comment)):

I'm amazed #1343 is still open: it was only ever a display problem, for which I gave solution. It's not an issue now.

@adrelanos, @marmarek: Can we close this?

Member

andrewdavidwong commented May 10, 2016

@unman (#1969 (comment)):

I'm amazed #1343 is still open: it was only ever a display problem, for which I gave solution. It's not an issue now.

@adrelanos, @marmarek: Can we close this?

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos May 11, 2016

Member

@DrWhax can you test and confirm please?

Member

adrelanos commented May 11, 2016

@DrWhax can you test and confirm please?

@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc May 20, 2016

Member

this ticket should shift towards documenting how to do it -- running Tails within an installed instance of Qubes will have slightly different (and shorter) documentation than garlicgambit's documentation, and is vastly more useful since Qubes Live USB is not maintained.

Member

mfc commented May 20, 2016

this ticket should shift towards documenting how to do it -- running Tails within an installed instance of Qubes will have slightly different (and shorter) documentation than garlicgambit's documentation, and is vastly more useful since Qubes Live USB is not maintained.

@mfc mfc added this to the Documentation/website milestone May 20, 2016

@mfc mfc added C: website privacy and removed C: other labels May 20, 2016

unman added a commit to unman/qubes-doc that referenced this issue May 31, 2016

Create running-tails.md
Document running Tails under Qubes as per QubesOS/qubes-issues#1343

@unman unman referenced this issue in QubesOS/qubes-doc May 31, 2016

Merged

Create running-tails.md #154

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos May 31, 2016

Member

Since QubesOS/qubes-doc#154 by @unman was merged, I guess this ticket can be closed.

(For the record: this does not give us amnesic / anti-forensics / Tails-like functionality in Qubes. That is #2024.)

Member

adrelanos commented May 31, 2016

Since QubesOS/qubes-doc#154 by @unman was merged, I guess this ticket can be closed.

(For the record: this does not give us amnesic / anti-forensics / Tails-like functionality in Qubes. That is #2024.)

@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc May 31, 2016

Member

great, closed.

Member

mfc commented May 31, 2016

great, closed.

@mfc mfc closed this May 31, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment