On Monday, March 6, 2017 6:37:32 PM CET linux guy wrote:
I have a non booting installation that I need to get running. I
would like
to know how to change the run target to the command line and disable
several services that are causing issues during the boot process.
How does one manually change the run target on a non booting installation
? What do I edit ? Because my installation doesn't boot, I can't run
systemctl, so I must edit the link manually.
How does one manually disable services so they don't start during the boot
process ? Because my installation doesn't boot, I can't run systemctl, so
I must edit the configuration manually.
Thanks
Hey.
During the bootloader process you can define the runlevel to run your kernel
at.
By setting it to 3 you will be able to boot into a cmdline with network
functionality and minimal services.
See:
https://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-grub-runle...
for more information.