fix ramdisk

Signed-off-by: coldnew <coldnew.tw@gmail.com>