Problem

I cannot normally boot stretch image when setting up latest syzkaller, and encounter “You are in emergency mode”.

The problem is in the issue : tools/create-image.sh: image does not boot in qemu

Solution

The solution of this problem is to add two configurations:

CONFIG_CONFIGFS_FS=y
CONFIG_SECURITYFS=y

See details in Syzkaller features

Note: if you only enable such two configurations, you will encounter “Failed to start Raise network interfaces” when booting the image. However, if you add kernel configurations listed in the syzkaller setup page, it will work perfectly. I don’t know why, but it works.