Someone has changed my default runlevel to 6 so whenever I start Ubuntu it reboots..
Can anyone help me by suggesting some solution how to change my default runlevel?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Ubuntu has recovery shell option, which is accessible through grub menu's Advanced Options for Ubuntu. Remember to remount system with
mount / -o rw,remount in order to allow changes to the system.
Alternatively, you can get to the grub menu, highlight
Ubuntu, press e to edit the entry. Add
init=/bin/bash, change default runlevel, reboot. Related link
There's also liveCD/ liveUSB recovery option.
Consult the ubuntu wiki for changing runlevels as well as booting to single user mode