ghost: Import all my previous ramdisk changes

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>