Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCannot install Qubes OS 3.2 on Lenovo ??40 notebook #2744
Comments
exander77
changed the title from
Cannot install Qubes OS 3.2 on Lenovo notebook
to
Cannot install Qubes OS 3.2 on Lenovo ??40 notebook
Apr 10, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Apr 14, 2017
Member
This is too localized for qubes-issues. Please consider posting this to the qubes-users mailing list instead. (You can read more about our mailing lists here.)
qubes-users is intended for these sorts of questions and receives much more traffic, which means that your question is more likely to receive a response there.
|
This is too localized for
|
andrewdavidwong
closed this
Apr 14, 2017
andrewdavidwong
added
the
invalid
label
Apr 14, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
exander77
Apr 14, 2017
I am not sure what you mean by "too localized"? And how could maling list help me, this is clearly some bug in installer. Also I was there, somebody asked some similar issue a year ago and it went without single response: https://groups.google.com/forum/#!topic/qubes-users/RV8WPBaRZRQ
exander77
commented
Apr 14, 2017
•
|
I am not sure what you mean by "too localized"? And how could maling list help me, this is clearly some bug in installer. Also I was there, somebody asked some similar issue a year ago and it went without single response: https://groups.google.com/forum/#!topic/qubes-users/RV8WPBaRZRQ |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Apr 14, 2017
Member
I am not sure what you mean by "too localized"?
"Our GitHub issues tracker is not intended for personal, localized troubleshooting questions, such as problems that affect only a specific laptop model. Those questions are more likely to be answered in qubes-users, which receives much more traffic. Instead, GitHub issues are meant to track more general bugs and enhancements that affect a broad range of Qubes users."
From: https://www.qubes-os.org/doc/reporting-bugs/#where-to-submit-your-report
(Note that you are prompted to read that page before submitting an issue here.)
And how could maling list help me, this is clearly some bug in installer.
If it is, in fact, a bug in the installer, then we can (and should) reopen this, but so far there's no indication that it's not just a hardware compatibility issue with your particular laptop model. Unfortunately, this sort of thing is very common.
Also I was there, somebody asked some similar issue a year ago and it went without single response: https://groups.google.com/forum/#!topic/qubes-users/RV8WPBaRZRQ
Then it may simply be the case that no one knows the answer. But for other possibilities, see:
https://www.qubes-os.org/mailing-lists/#discussion-list-guidelines
"Our GitHub issues tracker is not intended for personal, localized troubleshooting questions, such as problems that affect only a specific laptop model. Those questions are more likely to be answered in qubes-users, which receives much more traffic. Instead, GitHub issues are meant to track more general bugs and enhancements that affect a broad range of Qubes users." From: https://www.qubes-os.org/doc/reporting-bugs/#where-to-submit-your-report (Note that you are prompted to read that page before submitting an issue here.)
If it is, in fact, a bug in the installer, then we can (and should) reopen this, but so far there's no indication that it's not just a hardware compatibility issue with your particular laptop model. Unfortunately, this sort of thing is very common.
Then it may simply be the case that no one knows the answer. But for other possibilities, see: https://www.qubes-os.org/mailing-lists/#discussion-list-guidelines |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
exander77
Apr 14, 2017
This is neither related to single machine, nor to single model. I personally tested in on T440p, X240 and T540, behavior is the same. I believe it affects whole ??40 line, I am not sure, but it may even affect all new Lenovo models.
Also this is not a problem with running the system, but with starting the installer. What could be the hardware compatibility issue there? Hardware is fully supported by Linux kernel for some time. I have installed and run many distributions on a variety of ThinkPads. Also no error message is in the log, so even if it were a hardware compatibility issiue, then clearly error reporting during installation is an issue by itself.
I am able to put some time into this. I may test various things, but some basic information what it could be related to would be appreciated.
exander77
commented
Apr 14, 2017
•
|
This is neither related to single machine, nor to single model. I personally tested in on T440p, X240 and T540, behavior is the same. I believe it affects whole ??40 line, I am not sure, but it may even affect all new Lenovo models. Also this is not a problem with running the system, but with starting the installer. What could be the hardware compatibility issue there? Hardware is fully supported by Linux kernel for some time. I have installed and run many distributions on a variety of ThinkPads. Also no error message is in the log, so even if it were a hardware compatibility issiue, then clearly error reporting during installation is an issue by itself. I am able to put some time into this. I may test various things, but some basic information what it could be related to would be appreciated. |
andrewdavidwong
reopened this
Apr 14, 2017
andrewdavidwong
added
bug
C: installer
and removed
invalid
labels
Apr 14, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
Apr 14, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Apr 14, 2017
Member
This is neither related to single machine, nor to single model. I personally tested in on T440p, X240 and T540, behavior is the same. I believe it affects whole ??40 line, I am not sure, but it may even affect all new Lenovo models.
Ok, that's a different story.
Also this is not a problem with running the system, but with starting the installer. What could be the hardware compatibility issue there? Hardware is fully supported by Linux kernel for some time. I have installed and run many distributions on a variety of ThinkPads. Also no error message is in the log, so even if it were a hardware compatibility issiue, then clearly error reporting during installation is an issue by itself.
Linux kernel compatibility doesn't guarantee Qubes compatibility. Qubes has more stringent hardware requirements. In some cases, the problem is with loading Xen.
I am able to put some time into this. I may test various things, but some basic information what it could be related to would be appreciated.
@marmarek will know better what you should test. But first of all: Which version of Qubes are you trying to install?
Ok, that's a different story.
Linux kernel compatibility doesn't guarantee Qubes compatibility. Qubes has more stringent hardware requirements. In some cases, the problem is with loading Xen.
@marmarek will know better what you should test. But first of all: Which version of Qubes are you trying to install? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
exander77
Apr 16, 2017
I am trying to install 3.2. Xen is loaded during installation?
I have T500 avaiable here, so I may test on some older ThinkPad too.
exander77
commented
Apr 16, 2017
|
I am trying to install 3.2. Xen is loaded during installation? I have T500 avaiable here, so I may test on some older ThinkPad too. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
raeon
Oct 14, 2017
I am experiencing exactly the same behaviour on my MSI GE62 2QC-232NL laptop. I am attempting installation from a USB2.0 device on an USB2.0 port.
It may be worth nothing however that when I try to run validation, it consistently fails at 42.9%. I've already validated the ISO file to be correct. Unfortunately I've only been able to test this using a single USB drive, as I do not have another available to me at this time. @exander77 Is this also the case for you?
raeon
commented
Oct 14, 2017
•
|
I am experiencing exactly the same behaviour on my It may be worth nothing however that when I try to run validation, it consistently fails at 42.9%. I've already validated the ISO file to be correct. Unfortunately I've only been able to test this using a single USB drive, as I do not have another available to me at this time. @exander77 Is this also the case for you? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 14, 2017
Member
When you land in dracut emergency shell, what are last line of kernel messages related to (failed) mount of live-rw (may be named dm-0 there)? Validation failing at 42.9% may mean faulty USB drive. What is its size BTW? The installation image is slightly bigger than 4GB.
|
When you land in dracut emergency shell, what are last line of kernel messages related to (failed) mount of live-rw (may be named dm-0 there)? Validation failing at |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
raeon
Oct 14, 2017
The installation image Qubes-R3.2-x86_64.iso is exactly 4,246,732,800 bytes. dd reported it was 4.2GB or 4.0GiB.
The repeated kernel messages are (timestamps omitted):
dracut-mount[814]: mount: /dev/mapper/live-rw is write-protected, mounting read-only
dracut-mount[814]: mount: wrong fs type, bad option, bad superblock on /dev/mapper/live-rw,
dracut-mount[814]: missing codepage or helper program, or other error
dracut-mount[814]: In some cases useful info is found in syslog - try
dracut-mount[814]: dmesg | tail or so.
After this it reports
Generating "/run/initramfs/rdsosreport.txt"
and drops me into the dracut emergency shell. Here it also reports two additional kernel messages:
sd 6:0:0:0 [sdd] No Chaching mode page found
sd 6:0:0:0 [sdd] Assuming drive cache: write through
Although this is definitely not the first time I've seen those. Now I'm at the shell. As the original post mentioned, tail indeed does not exist, therefore dmesg | tail also does not work.
I did a quick search around the house and found a 32GB MicroSD card with USB reader, so I'll try installing from that in the meantime to see if I still get the 42.9% error.
raeon
commented
Oct 14, 2017
•
|
The installation image The repeated kernel messages are (timestamps omitted):
After this it reports
and drops me into the dracut emergency shell. Here it also reports two additional kernel messages:
Although this is definitely not the first time I've seen those. Now I'm at the shell. As the original post mentioned, I did a quick search around the house and found a 32GB MicroSD card with USB reader, so I'll try installing from that in the meantime to see if I still get the 42.9% error. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Try just |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
raeon
Oct 14, 2017
I dd-ed the ISO image onto the MicroSD card and tried to install from that instead, this time from an USB3.0 port. Validation again failed at 42.9%, and installation failed in the same way as described above.
I double-checked and verified the ISO image again, but it is still correct.
raeon
commented
Oct 14, 2017
|
I I double-checked and verified the ISO image again, but it is still correct. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
raeon
Oct 14, 2017
Last few dmesg messages..
- ..as image: https://i.imgur.com/uFWaSIU.jpg
- ..as text: https://pastebin.com/raw/RmDvA94T
raeon
commented
Oct 14, 2017
•
|
Last few
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 14, 2017
Member
That's strange, I don't see anything wrong here. Can you post full /run/initramfs/rdsosreport.txt? (note that it will contain very detailed information about your hardware, so if you're not comfortable with publishing it, you send it directly to me via email)
|
That's strange, I don't see anything wrong here. Can you post full |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
raeon
Oct 14, 2017
That's fine by me! Interestingly, the first time I tried to open this file (on Windows 10 with Notepad++ I might add), it ended with a lot of NULL bytes. I did the install again, and this time the file still seems to end abruptly, although not with NULL bytes.
rdsosreport.txt: https://pastebin.com/raw/2gZ0f2eA
raeon
commented
Oct 14, 2017
|
That's fine by me! Interestingly, the first time I tried to open this file (on Windows 10 with Notepad++ I might add), it ended with a lot of NULL bytes. I did the install again, and this time the file still seems to end abruptly, although not with NULL bytes. rdsosreport.txt: https://pastebin.com/raw/2gZ0f2eA |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 14, 2017
Member
Ok, I think I've found the problem - you have two copies of installation image:
- on internal disk (sdb, WDC WDS120G1G0A 120GB)
- on the MicroSD card
The first one is found first, but it is broken (at 42.9%). The second one is ignored.
I guess you've tried to dd the installation image there first. I hope you didn't overriden anything important on that disk...
Now, to fix this, you can either put whole installation image to sdb, or remove it from there completely - for example (re-)create normal partition table.
/dev/sdb1: UUID="2016-09-20-10-42-46-00" LABEL="Qubes-R3.2-x86_64" TYPE="iso9660" PTUUID="020e6c95" PTTYPE="dos" PARTUUID="020e6c95-01"
/dev/sdb2: SEC_TYPE="msdos" LABEL="ANACONDA" UUID="29A2-A71C" TYPE="vfat" PARTUUID="020e6c95-02"
|
Ok, I think I've found the problem - you have two copies of installation image:
The first one is found first, but it is broken (at 42.9%). The second one is ignored.
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
raeon
Oct 14, 2017
@marmarek Your deduction is correct!
I did dd the ISO to the target device at one point. I figured it would not cause me any trouble since I would just overwrite it during the actual installation, but oh by did I guess wrong. Validation reaches a 100% now; however the installation seems to hang during Performing post-installation setup tasks, but that would be unrelated to this issue.
@marmarek Thanks for the assistance.
raeon
commented
Oct 14, 2017
|
@marmarek Your deduction is correct! I did @marmarek Thanks for the assistance. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 14, 2017
Member
That step can take quite some time, on some machines up to 15 minutes...
|
That step can take quite some time, on some machines up to 15 minutes... |
exander77 commentedApr 10, 2017
Qubes OS version (e.g.,
R3.2):Affected TemplateVMs (e.g.,
fedora-23, if applicable):Expected behavior:
Installer succeeds.
Actual behavior:
Installer fails with this message repeated several times:
Then:
When I try "dmesg | tail" it compains about "tail: command not found" which is funny.
Exiting shell starts it again.
In "/run/initramfs/rdsosreport.txt" there does not seem to be anything interesting. Just "Starting Initrd File Systems." and then the repeating message about mounting-read only mentioned above. This follows with message "Starting Dracut Emergency Shell...".
Steps to reproduce the behavior:
General notes:
Related issues: