LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   power company idiots cut power while system was on, now hangs at boot with # prompt (https://www.linuxquestions.org/questions/linux-newbie-8/power-company-idiots-cut-power-while-system-was-on-now-hangs-at-boot-with-prompt-653110/)

shroomy_bee 07-02-2008 11:07 AM

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?

trist007 07-02-2008 11:22 AM

what's puppy 4.0?

shroomy_bee 07-02-2008 11:38 AM

<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.

arochester 07-02-2008 11:52 AM

What happens if you type
Quote:

startx
?

ewolf 07-02-2008 12:52 PM

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

shroomy_bee 07-03-2008 12:47 PM

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.

pixellany 07-03-2008 01:17 PM

Quote:

Originally Posted by shroomy_bee (Post 3201683)
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.

nx5000 07-03-2008 01:25 PM

Maybe they saved your Puppy from an electrical shock?

:)

farslayer 07-03-2008 03:38 PM

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

SlowCoder 07-03-2008 09:17 PM

Quote:

Originally Posted by pixellany (Post 3203172)
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.

onebuck 07-04-2008 12:12 AM

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.


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