LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-06-2002, 11:33 PM   #1
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Rep: Reputation: 30
Unhappy 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
 
Old 07-06-2002, 11:56 PM   #2
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
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
 
Old 07-07-2002, 12:21 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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.
 
Old 07-07-2002, 12:30 AM   #4
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
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.
 
Old 07-07-2002, 01:13 AM   #5
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
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?
 
Old 07-07-2002, 06:20 AM   #6
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
You can force a fsck by doing a:

shutdown -rF now

You have to be in runlevel 3
lynch
 
Old 07-07-2002, 09:26 AM   #7
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
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.
 
Old 07-07-2002, 09:49 AM   #8
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
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.
 
Old 07-07-2002, 07:14 PM   #9
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
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?
 
Old 07-07-2002, 07:24 PM   #10
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
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
 
Old 07-07-2002, 10:25 PM   #11
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
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.


zLinuxz
 
Old 07-08-2002, 12:19 AM   #12
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
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?
 
Old 07-08-2002, 03:49 AM   #13
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
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.
 
  


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
Old linux partition looks `dead' Rodolfo Medina Linux - General 8 08-25-2005 07:34 AM
LBA-Linux dead? petteril Linux - Distributions 7 06-29-2005 06:45 AM
Dead Display = Dead Machine chris319 Linux - Hardware 1 12-05-2003 07:37 AM
Squid:2nd Browser access Internet SPEED dead becomes dead slow mwj Linux - Software 1 10-04-2003 02:40 PM
Linux is dead for me :( FuLL-On-Newbie Linux - Newbie 15 03-26-2003 03:46 PM


All times are GMT -5. The time now is 11:45 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