LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-02-2008, 11:07 AM   #1
shroomy_bee
Member
 
Registered: Feb 2008
Posts: 36

Rep: Reputation: 15
power company idiots cut power while system was on, now hangs at boot with # prompt


(Using Puppy 4.00 full install)


these f-ing idiots from the power company cut off the house breakers etc while Puppy was on and the modem on (but not online) -

now Puppy will not boot -

it gets to detecting the modem, does that ok,

but following the next line of the boot process, instead of going on to boot Puppy it just hangs, and I get a # prompt,

which I can type to.

What have they caused to happen?

Is there anything I can type in at the # that will get Puppy to boot up as it was doing?
 
Old 07-02-2008, 11:22 AM   #2
trist007
Member
 
Registered: May 2008
Distribution: Slackware
Posts: 991

Rep: Reputation: 56
what's puppy 4.0?
 
Old 07-02-2008, 11:38 AM   #3
shroomy_bee
Member
 
Registered: Feb 2008
Posts: 36

Original Poster
Rep: Reputation: 15
<solved>

lol, it's a Puppy linux distro! It's really cool......installed it from a liveCD, and used the provided GRUB and gparted tools to sort out an old 2nd hard drive I got for free to install + boot Puppy onto.

Looks nice too - I think I saw one of its variants on the popular downloads list here yesterday.

Recommend it thus far for handy system fixes cause you can mount any drives from the liveCD, works with my old Pentium II and my new quad, xvesa works on my old CRT and my new LCD, recognised all the hardware out of the box; using a Hayes Accura for dialup access.

Anyways - got a reply at the Puppy forums, to type in 'xwin' at the # prompt - which worked fine, it recognised there could have been a power cut off.
 
Old 07-02-2008, 11:52 AM   #4
arochester
Member
 
Registered: May 2006
Location: Scotland
Distribution: Debian Squeeze Xfce
Posts: 569

Rep: Reputation: 79
What happens if you type
Quote:
startx
?
 
Old 07-02-2008, 12:52 PM   #5
ewolf
LQ Newbie
 
Registered: Dec 2007
Location: Chicago, USA
Distribution: Debian, NetBSD
Posts: 25

Rep: Reputation: 15
You can try to boot into single user mode, then run fsck to repair any filesystem issues caused by the sudden loss of power.

http://linux.about.com/od/lsa_guide/a/gdelsa61.htm
 
Old 07-03-2008, 12:47 PM   #6
shroomy_bee
Member
 
Registered: Feb 2008
Posts: 36

Original Poster
Rep: Reputation: 15
I didn't try 'startx' although that too was offered in the solution.

Puppy 4.00 lets you choose between the x (xvesa) and xorg; xorg doesn't work on my monitors.

Also, just realised there's a Puppy forum here, I hadn't noticed,

http://www.linuxquestions.org/questions/puppy-71/

cheers for advice & link ewolf, thankfully there don't seem to be any problems caused.
 
Old 07-03-2008, 01:17 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by shroomy_bee View Post
these f-ing idiots from the power company cut off the house breakers etc while Puppy was on and the modem on (but not online)
Idiots?? I doubt it. If it was not some kind of failure, I'm betting that they had a good reason to cut the power. I'm also betting it will happen again.
The only sure-fire solution would be to get a UPS.
 
Old 07-03-2008, 01:25 PM   #8
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
Maybe they saved your Puppy from an electrical shock?

 
Old 07-03-2008, 03:38 PM   #9
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Yes, we looked in the window to ensure your PC was on then I gave the go ahead to kill the power..

WOOT !! another happy customer..

Mr. First Energy
 
Old 07-03-2008, 09:17 PM   #10
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
Quote:
Originally Posted by pixellany View Post
Idiots?? I doubt it. If it was not some kind of failure, I'm betting that they had a good reason to cut the power. I'm also betting it will happen again.
The only sure-fire solution would be to get a UPS.
Exactly my thoughts. That's not something you can blame the electric company for. They don't know what's running in your house, unless you tell them. If they were cutting power to your house for maintenance, you should have shut your computer down beforehand.

A UPS is a great way to handle the problem, and Linux does support auto-shutdown when the UPS's battery gets low.
 
Old 07-04-2008, 12:12 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,291
Blog Entries: 3

Rep: Reputation: 1447Reputation: 1447Reputation: 1447Reputation: 1447Reputation: 1447Reputation: 1447Reputation: 1447Reputation: 1447Reputation: 1447Reputation: 1447
Hi,

I don't care what you have for backup. If you don't prepare your system(s) for the worst case scenario then anything that happens is 'YOUR' fault. Power is one thing that you can control. Either via a UPS or a standby power system. For the general user the convenient UPS and I'm not talking 'United Parcel System' will suffice. The price per watt is fair with the modern UPS.

A standby power system can really get high in cost for the KW to drive a moderate home along with your 'Puppy 4.0' system.

The idiots as you call them are a necessary functional crew that must be on call and work in some of the worst conditions you could ever imagine. I'm sure they just decided to cut power to your zone just so you could rant about the idiots that decided to cut off your electricity. Or maybe it was just a warning to the idiot that fails to pay his bill on time.
 
  


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
rhgb hangs on boot (after losing power) skibud2 Fedora 2 12-30-2007 12:02 AM
date resets when power is cut Josephus Ross Programming 2 05-09-2007 05:55 AM
suspend power option hangs up my system Carunkumar Fedora 10 02-20-2007 11:48 AM
Power cut and internet robingazi Debian 2 08-25-2006 09:54 AM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM


All times are GMT -5. The time now is 01:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration