[ltp] exiting single user mode
Richard Neill
linux-thinkpad@linux-thinkpad.org
Thu, 06 Mar 2008 14:43:10 +0000
Mario Butter wrote:
> If you wanted to reboot, why didn't you just issue the command "reboot now"?
>
> On Thu, Mar 6, 2008 at 6:52 AM, Haines Brown <brownh@hartford-hwp.com> wrote:
>> I'm running sidux on a Thinkpad X61s.
>>
>> I entered single user mode in order to change root's password. That
>> involved:
>>
>> sh3.1# mount -o remount,rw /
>>
>> in order to get access to the passwd command. I changed the password,
>> and then go to exit the single user mode. And here's my question.
>>
>> It is my understanding that you ummount / if you intend to continue
>> the boot, but not if you are going to shut down. Is this correct?
>>
No. Other way round.
>> It seems that in the past I issued the command
>>
>> sh3.1# exit
>>
>> to exit single user mode, but now this results in
>>
>> exit
>> Kernel panic - not syncing: Attempted to kill init!
>>
>> (I'm not un-mounting because my aim is to reboot).
>>
>> My first question is: What command am I missing that would have
>> avoided this sync problem? I assume not sh3.1$ sync;sync .
>>
>> Second question. It seems to me that when I used to get a kernel panic
>> I could initiate a reboot with the three finger salute (C-M-Del), but
>> that's not working on my Thinkpad. I'm forced a pull the power. Is
>> there a way to force a shutdown without pulling the plug/battery?
>> Power switch has no effect.
Either, use SysRQ (see http://en.wikipedia.org/wiki/Magic_SysRq_key )
or press and hold the power button for > 5 seconds.
Richard