What are the failsafe modes?

Set a tftp server on your PC

Download or build the appropriate initramfs image

From boot use the tftpboot command to fetch the initramfs image and boot it.

Note, what I called ramdisk image is refered to as initramfs image in the openwrt downloads.