LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is my linux dead? (https://www.linuxquestions.org/questions/linux-newbie-8/is-my-linux-dead-25220/)

digital bots 07-06-2002 10:33 PM

Is my linux dead?
 
Well i was in linux just typeing in kword then the power went out because of a storm that was near my area. I unplugged everything and waited for it to pass. Then when i turned it back on linux wasnt working. It said that it found bad blocks and errors then ran a scandisk deal i guess. then restart my machine then it said bad blocks and errors and locked up there. So does this mean my linux os is dead :(

pickledbeans 07-06-2002 10:56 PM

Use your install CD for boot disk.
After you log in as root tying running:
If you have one harddrive and Linux is in the first partiton:
fsck -y /dev/hda1
If you have more than one partition run fack on them also
just to be safe?

Then reboot, and pray to the great penguin in the sky :)

MasterC 07-06-2002 11:21 PM

Which Fileystem you runnin? If you switch to a journaling type, you can sometime prevent this from happening in the future. Someone correct me if I am wrong.

pickledbeans 07-06-2002 11:30 PM

OK your wrong :)
My experience on experience with RH7.2 (ext3) is fsck is still
required after a hard crash such as this.

My impression was that, it was to elimiate fsck as part of standard reboots? But it could depend on how you journialing set up? The best inusrance against what digital bots described is a decent UPS, and if you're really serious RAID.

pickledbeans 07-07-2002 12:13 AM

Well Slack just made a fool out of me, I installed Slack-8.1
with ext3 files systems. And to test the ext3 fs, just power it off and on twice? Both times the systems came up clean, without doing an fsck :)

Which raises another question about RH7.2 build?

lynch 07-07-2002 05:20 AM

You can force a fsck by doing a:

shutdown -rF now

You have to be in runlevel 3
lynch

digital bots 07-07-2002 08:26 AM

well it works. i used my install cd as a boot disk and ran the command and then it said it didnt know what fsck was. So i powered down, restart the pc then it came on with linux runing for some odd reason. Then it said "Would you like to repair your system?" So i said yes and did the repair mode deal did the command in that and it worked so thanks a bunch i am back in slack and happy to tell ya that everything works. O THANK THE GREAT PENGUIN IN THE SKY.

pickledbeans 07-07-2002 08:49 AM

Grab Slack-8.1 and use ext3. It works.
One other thought, if you have a complete set of Slack CD, you could
use Disk2 "Ready-to-Boot Linux Disc", is the utlimate rescue disk and
get in or repar your system that way. :)

digital bots 07-07-2002 06:14 PM

how can i upgrade my slack with the 8.1 disk and is the utlimate rescue disk a option i can choose to make or do i have to make it on my own?

pickledbeans 07-07-2002 06:24 PM

The Disk2 "Ready-to-Boot Linux Disc" is a complete bootable
version of slackware, not just a rescue disk.

There is a file called UPGRADE on disk one.
You can do it but it's tricky, because Slack doesn't check deps, and stuff like that.

BYA, this questions was asked last week something you might page back thew the Slack forum

zLinuxz 07-07-2002 09:25 PM

Redhat, if you have ext3, does NOT force you to do a FSCK if you had a harsh reboot. It gives you 3 to 5 seconds to press the "Y" key to say if you wanna have it...otherwise it will go in as usual. Your experience on the experience you have with redhat does seem a little odd.
:p

zLinuxz

pickledbeans 07-07-2002 11:19 PM

That maybe true, except iif the filesystem is clean then it shouldn't ask in the first place?

What the command to check ext3 config parms?

zLinuxz 07-08-2002 02:49 AM

right, if the system is clean, it doesn't ask you at all...but if the system is unclean it will give you the option...but it wont force ye.
:)


All times are GMT -5. The time now is 02:44 AM.