F21 emergency.target when root pw isn't set

Ahmad Samir ahmadsamir3891 at gmail.com
Fri Dec 19 09:17:05 UTC 2014


On 19 December 2014 at 00:35, Chris Murphy <lists at colorremedies.com> wrote:
> On Thu, Dec 18, 2014 at 3:30 PM, Chris Murphy <lists at colorremedies.com> wrote:
>> On Thu, Dec 18, 2014 at 3:16 PM, Adam Williamson
>
>>> init=/bin/bash
>>>
>>> There was a fun bug with that if you had encrypted filesystems in F20,
>>> but I think it's fixed now.
>>
>> WTH, I tried that earlier and got a kernel panic twice in a row, and I
>> just tried it again and now I'm not.
>
> Ahha! It matters where it goes in the argument line. If I put it in
> the middle right after ro (changed to rw) then I get a kp. If I put it
> at the end of the line where quiet rhgb are, then I don't get a kp.
>
> However, after changing the root password, the command reboot is not
> found. And exit causes a kernel panic!
>
>

You'd have to use:
/sbin/reboot -f

Have a look at https://fedoraproject.org/wiki/How_to_reset_a_root_password
(FWIW that bit, among others, was added by the systemd maintainer in Fedora).

-- 
Ahmad Samir


More information about the test mailing list