Making Debian live boot to text login prompt

New to Debian (Or Linux in general)? Ask your questions here!

Making Debian live boot to text login prompt

Postby electrolux » 2017-12-27 11:47

This is a low-end question, but not really a beginners thing 'cause I am customising a Debian live boot process.

How do I get a Debian live DVD to boot into text mode?

I want to boot Debian Live 9.3 (with XFCE) into just text mode, no GUI, off my boot server. I have it all working, except that whilst with 7.4 adding "text" to the kernel command line means it boots to a text login (and X can be run with a 'startx'), this is not working with Stretch.

I've had a good look through various live CD build tool docs and manpages, found what looks to be all the parameters, but simply cannot see how to tell X not to run.

Thanks for the inevitable one word answer.... it is probably all this needs. So sorry for the noise :)
electrolux
 
Posts: 37
Joined: 2015-03-16 23:48

Re: Making Debian live boot to text login prompt

Postby cfb » 2017-12-27 12:02

You can use systemd targets on the kernel line, e.g. specify "systemd.unit=multi-user.target" to boot to text login prompt.

Read more here: https://wiki.archlinux.org/index.php/Systemd#Targets
cfb
 
Posts: 28
Joined: 2017-01-08 16:39

Re: Making Debian live boot to text login prompt

Postby electrolux » 2017-12-27 19:54

Ahh, thanks for both those, that's it booting nicely to a user$ prompt.
electrolux
 
Posts: 37
Joined: 2015-03-16 23:48


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable