this post was submitted on 07 Mar 2024
386 points (96.0% liked)

linuxmemes

20880 readers
4 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 8 months ago (1 children)

That's nice. I've later googled it and found out that I could have added 3 to the end of the grub command to make it boot in runlevel 3 which does not trigger the GUI, but I guess your way could also bypass boot issues that prevent even non-gui boot.

I also see that there is runlevel 1, which is kind of an emergency mode, so maybe that would be the best thing to use?

[โ€“] [email protected] 1 points 8 months ago

Yeah for my case it was easier in the initrd otherwise I'd be trying to roll back the active / partition.

Re run levels, they were a sysvinit thing so I wasn't sure sure about systemd, this suggests that would work though https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet

And if you have to bail out even earlier, run level 1 will give you the rescue.target