Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: fushfush on March 29, 2014, 12:34:32 AM

Title: How to get into single user mode.
Post by: fushfush on March 29, 2014, 12:34:32 AM
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!
Title: Re: How to get into single user mode.
Post by: sickmind on March 29, 2014, 08:59:45 PM
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.
Title: Re: How to get into single user mode.
Post by: laskov on March 30, 2014, 09:41:48 PM
If you have console serial cable (https://www.olimex.com/Products/Components/Cables/USB-Serial-Cable/USB-Serial-Cable-F) you can switch runlevels like in Debian:
telinit 1 will switch in single user mode
runlevelwill show previous and the current mode.