Yes, those steps will allow you to make a flashable rootfs but those steps assume you're booted into another system -- not initfs. (It can be done via initfs but you'll need SSH)