LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-21-2007, 05:15 AM   #1
bhupathi2007
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0
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...........
 
Old 05-21-2007, 05:27 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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.
 
Old 05-21-2007, 06:58 AM   #3
bhupathi2007
LQ Newbie
 
Registered: May 2007
Posts: 3

Original Poster
Rep: Reputation: 0
can u plz tell me the command how to mount the drive...
 
Old 05-29-2007, 04:44 AM   #4
kees-jan
Member
 
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273

Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 08:07 PM
kernel panic after rebooting the system.Urgent.Please help. sharmashikha Linux From Scratch 3 07-07-2005 10:36 AM
Urgent..Im Having A Nightmare..Urgent!!!! midgcool Linux - Software 41 11-30-2004 10:19 AM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration