What is the correct way to enter emergency mode during boot (without mounting any filesysstem) so I can run fsck
?
systemd.unit=emergency.target
as a kernel parameter dropped me into a shell though it did mount root.
If I replace the linux line in grub (on Arch) the following seems to work even though it shows some errors (device '' not found):
linux /vmlinuz-linux ro
This does not mount anything and allows me to run fsck -f
on all drives.
Is there a better option or some documentation?
rw
toro
and addsystemd.unit=emergency.target
root is indeed mountedro
. Thanks for the hint. – laktak Jun 23 '20 at 20:03