Avoiding rc.local file during reboot

Hi,

I am tryin to install custom software during the linux reboot.

So,I have changed rc.local file, but unfortunately I have added a code that

is going on a infinite loop. And now I am in a pick.

Is there anyway that I can avoid rc.local file while reboot.

Can anyone help me with this?

Thanks,
Sunny

Boot into single user mode and rename it. You can do that by adding single to the kernel command line.

It sounds like you'll be ok doing a single user mode boot (init 1 or init s).
If all else fails, reboot from a cdrom or network and mount your root device onto /a.