ramdisk: Add data partition length and check flags