[systemd-devel] systemd unexpectedly dropping into rescue mode - how do I best debug this?
Ingo Molnar
mingo at kernel.org
Thu Oct 4 04:20:31 PDT 2012
* Mirco Tischler <mt-ml at gmx.de> wrote:
> 2012/10/4 Ingo Molnar <mingo at kernel.org>:
> > Here are the kernel parameters:
> >
> > lyra:~> cat /proc/cmdline
> >
> > BOOT_IMAGE=/boot/bzImage
> > root=UUID=dd8873f1-9cfd-4338-b9ec-f4902abdc486 ro single rd.md=0
> > rd.lvm=0 rd.dm=0 SYSFONT=latarcyrheb-sun16
> > earlyprintk=serial,ttyS0,115200 console=ttyS0,115200 console=tty
> > KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8
>
> You boot into single user mode, which I guess is translated
> into runlevel1, which is a symlink to rescue.target by
> default?
LOL! :)
I copied that 'single' parameter from an older kernel that
booted just fine:
linux /boot/vmlinuz-3.5.4-2.fc17.x86_64
root=UUID=dd8873f1-9cfd-4338-b9ec-f4902abdc486 ro single rd.md=0
rd.lvm=0 rd.dm=0 SYSFONT=latarcyrheb-sun16
earlyprintk=serial,ttyS0,115200 console=ttyS0,115200
console=tty KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 rhgb
But when I boot that kernel the 'single' parameter disappears
(!):
BOOT_IMAGE=/boot/vmlinuz-3.5.4-2.fc17.x86_64
root=UUID=dd8873f1-9cfd-4338-b9ec-f4902abdc486 ro rd.md=0
rd.lvm=0 rd.dm=0 SYSFONT=latarcyrheb-sun16
earlyprintk=serial,ttyS0,115200 console=ttyS0,115200
console=tty KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 rhgb
When I boot my test kernel, it remains. How's that possible?
Does the initrd modify the kernel command line?
When I boot the new kernel, the 'single' parameter is there and
likely caused the problem.
Thanks,
Ingo
More information about the systemd-devel
mailing list