Unify ramdisk scripts, stage 1