Revert "rework ramdisk"

This reverts commit 03dbdf79e99a38f65d4f2640c6fd152aceb9abaf.