On 19-08-16 09:25:36, Francis.Montagnac@inria.fr wrote:
Hi.
On Fri, 16 Aug 2019 14:12:06 +0100 Patrick O'Callaghan wrote:
On Fri, 2019-08-16 at 09:58 -0300, George N. White III wrote:
Can you boot from live media? If so, you could just rename
`/newvar` to
`/var` and edit fstab.
I may have to do that as /var is too central to booting even in
single-
user mode.
I would try to add to the kernel params: init=/bin/bash then: "mount -o remount,rw /", rename the new directory to /var, "sync" and "reboot -f"
It used to work.
Or add to the kernel params "rd.break=pre-pivot". You'll still need the remount. See `man dracut.cmdline`, from `man kernel-command-line`. Booting continues if you exit the shell.