#!/bin/sh # read root parameter from cmdline root=$(sed 's/.*\ does not exist." else mount $root /real-root fi # thanks udevd. you did a great job. # now go away and let the real system do its work. killall udevd # if [ -e /real-root/dev ] # then # mount --move /dev /real-root/dev # mount --move /sys /real-root/sys # mount --move /proc /real-root/proc # fi