You can try to boot system by a bootable floppy disk then modify you bashrc file.If you havenot a bootable floppy disk,you can make this FD from other linux machine then use it with "linux root=/dev/hdX" parameter.
ps:
'hdX' is name of you boot partition.