Found old SSD with Qubes OS 4.0 on it

Hello community

This post is unrelated to my other posts. I just found an old Qubes OS 4.0 SSD and I can not seem to enter correct passphrase. I am not sure what keyboard layout I had used for this system. I am quiet sure it is the correct password, but not 100%.

Unfortunately one can not see what character is typed. Is there a trick to find out what keyboard layout was used?


I just managed to enter the correct passphrase but not I don’t remember the password for the standard Qubes user. Is there a way around it?

I found both. Problem solved. This topic can be deleted as not helpful content for others …

This might actually be helpful for anyone in your situation.

  1. Boot from the Qubes OS installer ISO (most other Linux-based ISOs will work too…)

  2. Either:
    a. Select “Rescue a Qubes OS system” at the GRUB menu (If it’s there…)
    b. Let the installer open into the GUI interface, and then press Alt + Ctrl + F2 to go to tty2 (a terminal)

  3. Follow the steps here to get qubes-dom0-root mounted at /mnt/sysimage:

Be sure to have your LUKS password handy!

  1. Type the following commands:
mount --types proc /proc /mnt/sysimage/proc
mount --rbind /sys /mnt/sysimage/sys
mount --make-rslave /mnt/sysimage/sys
mount --rbind /dev /mnt/sysimage/dev
mount --make-rslave /mnt/sysimage/dev
mount --bind /run /mnt/sysimage/run
mount --make-slave /mnt/sysimage/run
chroot /mnt/sysimage /bin/bash
sudo passwd $user

(Replace $user with your dom0 username)

  1. Reboot

And you should have just changed your dom0 login password :slight_smile:

1 Like

Is this a feature we really want? Would it be more secure without this ability?

@linuxfan knew the LUKS password, so it would be exactly the same….