(that disk is normally not mounted at all and I only mount it to add a new kernel/initrd pair and update zipl): ssh $TARG "mkdir -p /boot2 ; mount /dev/mapper/3600507630bffd2160000000000002000 /boot2" scp $ENVI/kernel $TARG:/boot2/kernel-kiwi-$DAT scp $ENVI/initrd.xz $TARG:/boot2/initrd-kiwi-$DAT.xz ssh $TARG "sed -i -e 's@workers/[^/]*/@workers/$ENVI/@' /boot2/zipl.entry" ssh $TARG "/boot2/gen_zipl_conf ; umount /boot2" and /boot2/gen_zipl_conf generates the config and calls zipl: ... cat /boot2/zipl.head /boot2/zipl.entries /boot2/zipl.bottom /boot2/zipl.menu > /boot2/zipl.conf zipl -c /boot2/zipl.conf