How to get into single user mode.

Started by fushfush, March 29, 2014, 12:34:32 AM

Previous topic - Next topic

fushfush

Hey guys.
I have booted the new debian image, but the system is read only and i cannot change it.
I have tried a fsck, and tried to remount it. After the fsck i reboot the board, but i cannot see it on my display or trough SSH.

How to i get into single user mode?

Thanks!

sickmind

You can try changing the default runlevel to single user in /etc/inittab

# The default runlevel.
id:2:initdefault:

# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

laskov

If you have console serial cable you can switch runlevels like in Debian:
telinit 1 will switch in single user mode
runlevelwill show previous and the current mode.