You'll need a new SDCard, a copy of Raspbian on it and a USB reader.
Build Raspbian on the new card. Boot that. Insert the borked card in the reader. Insert the reader in your RPi.
You can then repair the stuff you've damaged
You may need to run a chroot shell to do that.