Re: [qubes-devel] systemd rescue mode vs qubes root account locked

2022-02-08 Thread Holger Levsen
On Tue, Feb 08, 2022 at 03:29:04AM +0100, Marek Marczykowski-Górecki wrote:
> Generally, booting the installer is more reliable in some cases, since
> it doesn't rely on dom0 being in any usable state. 

right.

> But since that may be
> inconvenient at times, you can get shell in initramfs using 'rd.break'
> on the kernel cmdline.

oh, I didn't know about that feature from dracut, thank you!
do you think this should be mentioned in qubes-doc?


-- 
cheers,
Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

If secure encryption is outlawed, only criminals will have it.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/YgKaayETnTFBAuah%40layer-acht.org.


signature.asc
Description: PGP signature


Re: [qubes-devel] systemd rescue mode vs qubes root account locked

2022-02-07 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Tue, Feb 08, 2022 at 12:13:20AM +, Holger Levsen wrote:
> hi,
> 
> recently I had some hw issues which I needed to debug so I tried
> booting with systemd rescue mode (by appending systemd.unit=rescue.target
> to the kernel cmdline) but that failed because the root account is locked
> on Qubes.
> 
> So I'm wondering what is the recommended resuce mode for Qubes? booting
> the installer in rescue mode or setting a root password or???

Generally, booting the installer is more reliable in some cases, since
it doesn't rely on dom0 being in any usable state. But since that may be
inconvenient at times, you can get shell in initramfs using 'rd.break'
on the kernel cmdline. Or, if you just want to avoid staring any VM, use
'qubes.skip_autostart' option.

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmIB1XAACgkQ24/THMrX
1yyvdQf7B5DOOpr+BcEJv1l2rUPyXHEmbpNm/ird6SnTpyqso9ljwQq7NsQBLCcH
JpWnllx1FWgzHtikhOojHXIhvUesRyWBbzmo+k6c2N6WK8Bbym7FbcdtkbIDEMHO
fTXhR+Osr6cAfoQJUiyp0wfG5hzFUAM1mDTi8vlXEcNa02zEH7IQqsLAhO8Zl30z
3X6qTx+3v5aLxqCI3ZaD2TEBnGWzOowZutGSsAtgA5lGtflwmQeaBglVmXYLbbLX
iKu1pvWLDA8dr8+mYu0xaAFTAVoNn9DfTfD1An/YHMtLATmEdQF3v0rdtpbohA2N
HBsmOAjkPP8HyjQ4981ngcXqeQ5gIQ==
=uemw
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/YgHVcAqrEtbZcCVN%40mail-itl.


[qubes-devel] systemd rescue mode vs qubes root account locked

2022-02-07 Thread Holger Levsen
hi,

recently I had some hw issues which I needed to debug so I tried
booting with systemd rescue mode (by appending systemd.unit=rescue.target
to the kernel cmdline) but that failed because the root account is locked
on Qubes.

So I'm wondering what is the recommended resuce mode for Qubes? booting
the installer in rescue mode or setting a root password or???


-- 
cheers,
Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

This is the year of gpg on the desktop! (Gunnar Wolf)

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/YgG1oLS7L95Ndtlp%40layer-acht.org.


signature.asc
Description: PGP signature