Andrei Borzenkov wrote on 17/07/15 10:22: > On Fri, Jul 17, 2015 at 12:18 PM, Colin Guthrie <[email protected]> wrote: >> sean wrote on 17/07/15 09:33: >>> On Fri, 2015-07-17 at 06:55 +0300, Andrei Borzenkov wrote: >>>> В Wed, 15 Jul 2015 23:03:02 +0800 >>>> sean <[email protected]> пишет: >>>> >>>>> Hi All: >>>>> I am trying to test the latest upstream kernel, But i encounter a >>>>> strange issue about systemd. >>>>> When the "systemd" extracted from initrd image mounts the real root file >>>>> system "hda.img" on "/sysroot" and changes root to the new directory, it >>>>> can not found "/sbin/init" and "/bin/sh". >>>>> In fact, These two files exist in the "hda.img". >>>>> How to debug this issue? >>>>> Why does not it enter emergency mode? >>>>> If enter emergency mode, maybe this issue become easy. >>>>> >>>> >>>> You can stop in dracut just before switch root step and examine >>>> environment. At this point root should already be mounted. >>> Thanks very much! >>> How to stop the booting process before switch root? >> >> See "man dracut" and the "Debugging dracut" section. Also see "man >> dracut.cmdline" and the "rd.break" bits. >> > > Was it not man dracut.kernel?
dracut.kernel == dracut.cmdline here (the latter seems to be the preferred name as it's the title in the manpage) and indeed: lrwxrwxrwx 1 root root 19 Jun 5 17:11 /usr/share/man/man7/dracut.kernel.7.xz -> dracut.cmdline.7.xz :) Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/ _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
