LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-19-2005, 04:55 AM   #1
seede
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
use fsck = no boot


Hi!
I am having a few problems with my hard drive. I thought my 120G Hitachi Desk Star may have been faulty and I ran the command $fsck -cvn to check. I thought the "c" meant show progress, the "v" verbose and the "n" make no changes but I may have been wrong. Anyway fsck reported a few errors and then halted, and then system then froze. When I restarted I could not boot into my FC3 partition or my windows partition. Grub reports an error with /mnt/hda2 (my FC3 partition).
I have the ultimate boot disk and I have tested this disk a number of times (including a complete zeroing) and it always comes up clean. Likewise memtest is fine. Can anyone help me please? Even just some pointers on restoring the MBR so at least I can boot into my windows partition would be nice. Thanks in advance.
 
Old 10-19-2005, 06:46 AM   #2
shams
Member
 
Registered: Jan 2004
Posts: 537

Rep: Reputation: 30
first reinstal the gurb read this link .
 
Old 10-19-2005, 07:43 AM   #3
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Re: use fsck = no boot

Quote:
Originally posted by seede
and I ran the command $fsck -cvn to check. I thought the "c" meant show progress, the "v" verbose and the "n" make no changes but I may have been wrong.
you should have used -C (capital C, not small c ) to show progress..............the man page says........
Quote:
-c This option causes e2fsck to run the badblocks(8) program to
find any blocks which are bad on the filesystem, and then marks
them as bad by adding them to the bad block inode. If this
option is specified twice, then the bad block scan will be done
using a non-destructive read-write test.
 
Old 10-19-2005, 08:52 PM   #4
seede
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Hey thanks for your quick replies.

freakyg: I booted into the Fedora rescue mode and it said it was unable to mount /mnt/hda2 because of a bad superblock IIRC. I tried opening it in Knoppix and got the same result. So my question is should using -c instead of -C have completely hosed the partition as it seems to have? Is it likely that this is a bad drive? I've tested it a few times and it's always come back fine. Know any good testing tools?

shams: thanks for the link, the info was quite useful. Unfortunately for my situation the partition seems too corrupt to bother restoring grub, so I just used the windows recovery tools fixboot and fixmbr, so at least I have a working bootable OS. Just not linux
 
Old 10-19-2005, 10:34 PM   #5
sum1else
Member
 
Registered: Sep 2005
Posts: 47

Rep: Reputation: 15
pc check works great for testing your hdd among other hardware.
just make sure you unselect the write tests! hehe
 
  


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
fsck fails during boot masch Linux - General 3 09-25-2004 11:38 AM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 08:51 AM
fsck on boot pjviitas Linux - General 2 02-21-2004 08:15 PM
fsck on boot pjviitas Linux - Software 1 02-21-2004 05:05 PM
avoid fsck @ boot plisken Linux - General 1 12-18-2003 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:40 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
Open Source Consulting | Domain Registration