On Sat, Nov 07, 2015 at 01:55:30PM +0100, Herbert Groll wrote: > >By some definition, your initial tmpfs isn't an initrd, so you > >could try > >removing initrd-release from your cpio image, so it's gone before > >systemd > >starts, so it can't cache an invalid result. > I'm using systemd as initial RAM disk implementation too so the > switch-root is happening with systemd in initrd mode.
It's possible to do a switch-root without systemd being in initrd mode. > The only important thing for me in initrd mode is setting up an persistent > overlay for the initial tmpfs. But maybe I'm better off using a minimalistic > shell script instead. That could also work. Be mindful of the difference between switch_root and pivot_root, the former will also delete the initramfs, but the latter is more low-level. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel