Pi won't boot up after chagne to CLI mode

Hello,
I changed the boot option to CLI and rebooted the pi 3. However, after the rainbow pic, it stucks at your “R” logo forever. Nothing shown on the screen. Could you please help me out? I guess I should change the cmdline.txt or config.txt but didn’t figure out. Thanks.

Hi @zhanghaijason

What did you do to try and change to CLI only mode?

I think systemctl set-default multi-user.target should be correct, but I haven’t tried it.

Rohan

Hi Rohan,
Thanks for your reply. I tried to disable the login with this mode. I will try your suggestion later. Is there a way to disable the login? I am using my own wifi and using SSH. It is a little complicated to attach the monitor and keyboard every time it boots up to enter the passward.

I added systemctl set-default multi-user.target into cmdline.txt, it didn’t work. Added it into config.txt, didn’t work either

Hi @zhanghaijason,

systemctl set-default multi-user.target is a command that should be run on the Pi, not something to add to a file.

You shouldn’t need to login to the Pi to connect via SSH… But auto-login should be possible regardless.

Rohan

Hi Rohan,
My problem is that afer change to the CLI mode, my pi cann’t boot up. I have nowhere to input the command. That’s why I ask how to change the cmdline.xtx or config.txt to make it boot again. Thanks

Hi @zhanghaijason,

I would like to help you fix the issue, but I don’t know what you did to try and change to CLI only mode.
Could you explain what you did so that I can help you undo it?

Thanks
Rohan