LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2003, 11:16 PM   #1
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Rep: Reputation: 15
Boot Up Problem


Sometimes (actually most of the time) whenever I shut down and restart I get nothing but a blank screen. I can usually get it goiing after turning my PC on and off a couple of times. Whenever it does finally boot up it goes straight into my BIOS. Anyone know the problem.
 
Old 03-20-2003, 11:19 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Some motherboards I have seen do that. I would try to just leave it on all of the time.
 
Old 03-20-2003, 11:45 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
seen that in combination of flakey power supply
and motherboards .... the problem is that both
allow for tolerances in the power, and they sometimes
don't get "in sync" easily...

Cheers,
Tink
 
Old 03-20-2003, 11:46 PM   #4
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
Try reseating your memory. It definitely sounds like a physical layer problem.
 
Old 03-21-2003, 12:18 AM   #5
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Original Poster
Rep: Reputation: 15
How do a reseat my memory and what is that excatly?
 
Old 03-21-2003, 08:56 AM   #6
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
Poweroff your box and take out your memory. Put it back in, making sure it is in there firmly.
 
Old 03-21-2003, 10:32 AM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Dodgy ram modules can do this.
 
Old 03-21-2003, 05:48 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
reboot should not include power off

There are two possible shutdown proceedures, halt and reboot. Halt can
optionally include a poweroff command. Reboot should never include a poweroff command.

One possible error that could cause the symptoms that you are experiencing is if your reboot script includes a poweroff command.
 
Old 03-21-2003, 06:53 PM   #9
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Original Poster
Rep: Reputation: 15
Where do i check and what does it look like?
 
Old 03-21-2003, 08:17 PM   #10
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
It's debug time.

Every distribution creates its own version of the shutdown scripts. The
standard place to locate the shutdown scripts is somewhere in /etc. SuSE calls their two shutdown scripts /etc/init.d/halt and /etc/init.d/reboot.

Once you find your shutdown scripts look for one or more of these commands: halt, reboot, and shutdown. Your shutdown script(s) will use some variation of each of these commands to shut the system down after going through some complicated logic to see what is running and exactly what you want to do. Follow the logic of the scripts until you decipher which command and command parameters are used to service your reboot request.

You can use the man command to learn what the commands and their command parameters actually do (i.e. man shutdown).

You can set up your own shutdown script to test out how you think that
shutdown should really work. For example: You could set up a file called
/root/test/myshutdown and set its attribute to executable. I would suggest
starting by setting /root/test/myshutdown to a simple command like:
/sbin/shutdown -r Then as root issue the command /root/test/myshutdown. See what happens and take it from there.
 
Old 03-21-2003, 08:57 PM   #11
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
You're pretty brave to just dive right into Linux but I think it's time for you go and out and buy a book on Linux or two. That can save you quite a bit of time on basic questions. However I bought a book on Samba and am working through it but I still can't print to my samba printer.
 
Old 03-21-2003, 10:11 PM   #12
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
just use this command instead


Code:
poweroff
 
Old 03-22-2003, 11:47 AM   #13
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Original Poster
Rep: Reputation: 15
I kinda confused on where the problem is. Is it with reboot or with my shutdown script?
 
Old 03-22-2003, 01:42 PM   #14
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
try to isolate the cause

At this point in time you probably don't have enough information to
pinpoint what the problem is. The problem could possibly be one of several
hardware or software problems. I suggest that you do some debugging analysis.

First off, does your problem occur sometimes when you simply power on, i.e.
you turn your machine on for the first time that day. If it occurs at times
other than reboot then it is most likely a hardware problem. If the problem
occurs only when you reboot Linux then it could be either a hardware or software
problem or a subtle combination of the two.

If it is a hardware problem power off the computer and check to see
if all your connections are good. This means reseat your memory sticks, make
sure all power connectors are tight, reseat your PCI cards, press down all
unsoldered chips, etc. It may be that your power supply is too small or dying a
slow death.

You can try to isolate the problem as either hardware or software by
issueing different variations of the shutdown, halt, reboot, and poweroff
commands. Do these tests from the command line, do not have X Window running because abruptly terminating Gnome or KDE can cause disk file corruption.

I suggest you first try: shutdown -r now

David Phillips recommends first trying: poweroff

What you try next depends on the results of your tests. If your problem is intermittent you might have to do the same test several times because the results can vary from test to test. You can read the man pages for these commands: halt poweroff reboot shutdown

Depending on the results, work through the various shutdown type of
commands in an attempt to isolate whether you have a buggy shutdown script or flaky hardware.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 02:47 AM
Boot problem w/FC2 - DISK BOOT FAILURE maugou Fedora 2 06-30-2004 07:37 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM
Problem with Mandrake 9 boot /Debian boot on 1 PC cmisip Linux - Distributions 4 11-04-2002 06:50 PM


All times are GMT -5. The time now is 04:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration