LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   URGENT:rebooting again n again (https://www.linuxquestions.org/questions/linux-general-1/urgent-rebooting-again-n-again-555507/)

bhupathi2007 05-21-2007 05:15 AM

URGENT:rebooting again n again
 
I hava created a .sh file in the folder /etc/profile.d
and in this i have given the command REBOOT. n i just logged out n when i am restarting it is rebooting repeatedly......any one so plz tell me the solutions for it...........

MS3FGX 05-21-2007 05:27 AM

Dare I ask why you would do such a thing?

At any rate, the easiest thing would be to just boot to a live CD (the install CD will likely double as a rescue CD), mount the drive, and remove the offending script/command. Then simply reboot the machine.

You may also be able to boot into single user mode and make the change that way, but I can't honestly say for sure if that will override the profile.d scripts or not.

bhupathi2007 05-21-2007 06:58 AM

can u plz tell me the command how to mount the drive...

kees-jan 05-29-2007 04:44 AM

Quote:

Originally Posted by bhupathi2007
can u plz tell me the command how to mount the drive...

You don't.
You tell the Bios to boot from CD (consult your PC manual for instructions), you insert the Live-CD, and power the computer. The rest will be automatic.

Groetjes,

Kees-Jan


All times are GMT -5. The time now is 12:05 AM.