Mailinglist Archive: opensuse (1467 mails)

< Previous Next >
Re: [opensuse] Leap42: can't override dracut's initrd ?
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Mon, 08 Feb 2016 17:06:32 +0100
  • Message-id: <n9aee8$4cm$2@saturn.local.net>
Per Jessen wrote:

jdd wrote:

Le 08/02/2016 15:20, Per Jessen a écrit :

Anyway, it wasn't that either - I changed the fstab and rebooted:

just at random: mkinitrd?

Yes and no - I want to override what's stored in the initrd. I don't
want to change the setup permanently, only for one boot. With the
previous initrds made by the old mkinitrd, this worked fine.

I still have this nagging feeling I'm doing something wrong, but the
evidence points at dracut.

ah well, I think I found it - dracut ignores my override via the
ROOTFLAGS setting.

This is the cmdline where rootflags= is being ignored:

root=/dev/nfs rw nfsroot=10.42.8.254:/srv/nfs/stork2/root
rootflags=v3,hard,intr,wsize=8192,rsize=8192

If I change that to:

root=nfs:10.42.8.254:/srv/nfs/stork2/root:rw,relatime,wsize=8192,rsize=8192,v3,hard,intr

it works. Bugreport on the way.



--
Per Jessen, Zürich (12.1°C)
http://www.hostsuisse.com/ - virtual servers, made in Switzerland.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References