On Wed, Nov 27, 2019 at 05:43:25PM +0100, Thomas Lange wrote:

> If you add the parameter rootovl to the kernel cmdline, the initrd
> created by dracut will make a read only rootfs writable by putting a
> tmpfs on top. This also works when using an nfsroot.

I tried it and it works, although on the raspberry pi one also needs to
do something like this, or the overlay module doesn't end up in the
rootfs:

echo "filesystems+=overlay" > /etc/dracut.conf.d/overlay.conf

However, at boot I do quickly get this warning line: 

   dracut-pre-pivot: mount: /sysroot: mount point not mounted or bad option.

which can later also be seen in systemctl status:

   $ systemctl status dracut-pre-pivot.service
   ● dracut-pre-pivot.service - dracut pre-pivot and cleanup hook
      Loaded: loaded 
(/usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-pivot.service; static; 
vendor preset: enabled)
      Active: inactive (dead)
        Docs: man:dracut-pre-pivot.service(8)
   
   Feb 14 11:12:01 himblick systemd[1]: Starting dracut pre-pivot and cleanup 
hook...
   Feb 14 11:12:01 himblick dracut-pre-pivot[258]: mount: /sysroot: mount point 
not mounted or bad option.
   Feb 14 11:12:01 himblick systemd[1]: Started dracut pre-pivot and cleanup 
hook.
   Feb 14 11:12:01 himblick systemd[1]: dracut-pre-pivot.service: Succeeded.
   Feb 14 11:12:01 himblick systemd[1]: Stopped dracut pre-pivot and cleanup 
hook.

It seems innocuous so far, but I couldn't track down what gives the
error, and I would at some point like to be able to suppress the noise.

I realise none of this is on topic with this issue, and I'm not sure
it's worth to open a new issue for this.


Enrico

-- 
GPG key: 4096R/634F4BD1E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>

Reply via email to