Qubes OS installation problems

Guys I wanted to install Qubes OS but it doesn’t work.

First, I installed the ISO on the USB using Ventoy. After that, booting seemed to work nicely, but the system freezes at random times pretty quickly. I also have this issue on other Linux systems and what i usually do is set nomodeset which significantly minimizes the amount of freezes(the drivers will usually be loaded later during boot process, most of the time).

When i set nomodeset in the Qubes installer tho, the X server says failed to start.

I checked if my PC has the minimum hardware requirements which is the case here.
Then I reinstalled the USB this time using dd.
This lead to sth new: Now i saw this checking devices or so (running with like 0-100%), which did not pop up for me before. Once that finished tho, the system always came to a black screen.

Then I started the system with nomodeset and init.text(or similar, for text mode) and i got the tmux shell. There i tried multiple nogui installs (also using anaconda --text), where i’ve got told that 1st: The installation failed from local files and also doesnt work from known mirrors online, and second that there was some problem with the disk set up or drives. Therefore i couldn’t continue the installation.

I want a reasonably secure OS, and this is not my first linux, please help me.

ps. The disks also show up normally in fdisk - so no problem there i think.

Edit: I am running an Intel i5 with integrated graphics from Intel.

Did you try to use just nomodeset with GUI installer?

Yes and it then gives the error that the x server couldnt start

Try to use these kernel command line options:

nomodeset rd.driver.blacklist=nouveau rd.driver.blacklist=radeon rd.driver.blacklist=amdgpu video=vesa:off

UPD:

Didn’t see your edit. Do you have only integrated graphics? There is no dedicated GPU?

Your command line options probably dont do much as i have only an integrated gpu, yes.
I tried video vesa but not vesa:off yet, ill look into it.

Did you try to boot the installer with kernel-latest?
What Qubes OS installer version do you have? 4.2.4 or 4.3.0-rc2?

Oh right i forgot yeah i can definetly try with the kernel-latest. I am using the latest stable release (4.2 i think)

Ok i tried, so kernel latest gives me one image of the graphical environment, but instantly freezes. With nomodeset it says cannot start x server.

What’s your CPU model?


Intel i5 6400

Do you have a server motherboard with IPMI?
I’m not sure about text installer, never tried it. Does it show some specific error messages?

The error messages are inside of the text installer and visible in the image. The graphical stuff just freezes, and i could never really find anything with journalctl or similar. I am using a deskmini 110 pc, just a standard mini pc.

Did you create the installation medium using dd?
When you run “Test media and install Qubes OS”, was the test successful? Did you see the Checking: x.x% going from 0% to 100%?
You can also re-verify installation media after writing:
Verifying signatures — Qubes OS Documentation

If installation medium is not corrupted, then you can check the installer logs from the shell to search for specific errors that could cause this.

I verified the iso before dding.

Shortly before the checking ended at boot, the checking terminated and there was an error. It disapperared so fast that i had to make a video to catch it: CD check on dev sda failed! I am thinking more and more that i have to try installling the installer os on the usb again, this time maybe with rufus and a different usb drive.
But now i first go to sleep. I have plenty of time tomorrow.

Did you use Windows to create the installation medium? If yes, then you won’t be able check if it’s corrupted or not:
Installation guide — Qubes OS Documentation
You can also try to use the Legacy BIOS boot mode (or UEFI boot mode if you have Legacy BIOS boot mode right now) in your BIOS.

Thank you so much up to now. I used linux and verified like i wrote in tje other message. Now i might try windows.

It’s better to use Linux to be able to verify the installation media.
Try to use a different USB disk first and use the dd command like this with conv=fsync as suggested in the installation guide:

sudo dd if=Qubes-RX-x86_64.iso of=/dev/sdY status=progress bs=1048576 conv=fsync

I apologize, as I likely will say a bunch of stuff you already know.

Please be precise with what your hardware is that you are trying to install to, is. Processor - Video. Number of drives in computer.

More than once, My BIOS/EFI did not actually follow through with what I -make it so- the settings in it to do.

You might compare the hardware you have with HCL.
“Hardware Compatibility List”

MellowPoison seems more familiar than myself with the symptoms you are seeing.

Personally, I have made about every mistake possible while installing Qubes, and have really felt that at that stage of starting Qubes, the install is not far enough along to tell me where, why it hurts. Will not follow through with creating a usable Qubes.

Are you attempting a dual boot? Or anything else that is unusual?

There used to be a point in the install, where it seemed to hang. Although it would eventually get going again. I went to sleep one time, got up in the middle of the night and it had proceeded. I think the Developers got rid of that one though.

My “Recipe”, which makes no sense, but just to be thorough. And sometimes clears issues with install or first start. Do a complete overwrite of the drive in the computer. and the USB stick you are installing from. Which might include not just a a fast format. But a long, several hour complete clearing of drive. I agree, likely just a waste of time.

In addition. I have one computer which will not install if I try to put a version of Linux on both of the drives in the computer. Likely that is solvable, but, in my case, not worth fighting on a first pass of testing Qubes. I left one drive blank.

Try to use a faster USB. I have this long story about attempting with a USB that was -several years old, and slower. Arthritis in a drive?

My experience, and it was years ago, a USB install stick created from Windows never worked. Might work now?? I suspect this has to do with file structure and the very large size of the Qubes ISO. Smaller live ISO’s of Linux do seem to work if installed from Windows. To me, trying to decipher all the options of trying to install from Windows was not worth my time.

When there are such more direct things to spend my time on. One could consider - Also Ubuntu is very agreeable to be installed alongside an existing Windows Installation. and both continuing to work. Back up Windows thoroughly first tho. and again on a second and then a , third drive with reliable back up software.

If one had a computer with enough RAM. One can clear a USB, install something, such as a Live version of Mint Linux. Use gparted to clear off the drive of the target computer (supposing you are not attempting a dual boot.) and the USB stick which you are about to use to install - the Qubes ISO -from. I usually stick with a faster format from Mint Linux internal programs – USB format and USB Image Writer. But I am not attempting to install with the most secure method possible if I do that. My actual experience says that when creating an USB install stick and installing to target computer. If one deviates much from the guide, for some reason it will not work.

In using gparted on my target computer SSD, as I am devoting the computer to using Qubes only. I clobber every thing on the SSD, including the boot sectors.
Create new partition. gpt, with ext4, and then again, format to ext4. Set boot flag to on. I used to format the SSD to FAT32, thinking Qubes installer would just see it as an oddity and fix the target drive as it wanted. Some Linux distros have gotten so polite to not disturb an existing install.

Just some observations from my environment:

  • I always create the installation USB stick from Windows 7, using Rufus 3.8. Newer versions of Rufus won’t work on my system.

  • Before copying the ISO to the USB stick, I always delete all partitions on that stick, put a new MBR boot sector there, and create an empty FAT32 partition, filling the whole stick. Otherwise, Rufus will not be able to create the installation media.

  • The installation media should work on both BIOS and UEFI systems, but my HP EliteBook laptop will not recognize it as a BIOS boot medium. Booting another system, such as an older Qubes version or Linux, and then switching to the USB stick via the GRUB menu works, however. My other test system accepts the USB stick as a BIOS stick, however.

So the whole BIOS/UEFI environment seems to be a mess!

Alright, i reinstalled the installer system onto a faster usb stick and verified the installation.
Now it takes like 8 minutes of a screen with an empty prompt showing until the system really boots. Once it boots i can again use the text installer, where the installation source and mirrors thing seems to work fine now. But there is still this error with checking disk configuration, like visible in the (previous) image. Then there is still the cd check failed error and the black screen when trying it with the graphical environment.

I only have one samsung nvme m.2 ssd in the pc. I think this one should be working fine by itself. Maybe there is some bad intel storage controller??? or sth?

Here are some specs(look at barebone):

I am just trying to do a normal install ( no dual boot or sth) full overwrite.