Modify the ramdisk for image boot