LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-08-2004, 10:48 PM   #1
clearestchannel
LQ Newbie
 
Registered: Nov 2004
Posts: 24

Rep: Reputation: 15
Please help me! Hard disk errors!


I am trying to install SuSE 9.2 Professional on my AMD Athlon 2400+ 2ghz with 512mb RAM and 80gb ATA Disk.

YAST cannot read my hard disk. Please help me out!

I've tried reformatting and repartitioning. I ran Spinrite 6 and it found an error at 394A. Could this be the problem?

Partitioning:
hda1: Win XP Pro Corp SP2 9.77gb
hda2: Suse 9.1 Personal 9.77gb
hda3: SWAP 1gb
hda4: FAT32 Shared Partition 54gb

I am trying to upgrade the SUSE 9.1 to 9.2 Pro. I can't get it to work. Any help is greatly appreciated.

Thank you in advanced.
 
Old 12-08-2004, 10:52 PM   #2
jlangelier
Member
 
Registered: Jun 2003
Location: Denver, CO
Distribution: Debian
Posts: 95

Rep: Reputation: 15
Did you make a file system? You have to make a file system after you partition.

I don't know if SuSe has a special way, but try

man mkfs

for the "make filesystem" program
 
Old 12-09-2004, 12:32 AM   #3
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
I'm not sure how to interpret 394A. If this is merely a block designation in hexidecimal, then it looks like a bad block about 7MB into your XP partition. Does it make any mention as to what it is measuring? It may well be some other drive geometry measurement.

I'd recommend getting your hands on a knoppix CD for this type of thing. The SuSE install CD's do have a console on them, but it is rather limited. (alt+F9 before YaST, ctrl+alt+F6 durring - has more tools)

I think "fdisk -l" may help get geometry info. "badblocks -wvs /dev/hda" will destroy anything on the drive, but will identify any bad blocks in the process. (I mention this only because you say that you have repartitioned)

When you say YaST cannot read your drive, what does it say? Does your drive show up in cat /proc/partitions?

jlangelier: Yes, SuSE can use the mkfs command. YaST can do it for you though. Besides, he originaly was simply trying to upgrade in a working environment (SuSE has options for this) (this puzzles me a bit).
 
Old 01-20-2005, 12:04 PM   #4
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Rep: Reputation: 15
I'm taking a chance here, is there a way _after_ you discover bad blocks to fix/repair them, or just bypass them all together in the boot process? Right now, when doing a filesystem check, my Redhat finds a couple bad blocks, then offers me to fix them with fsck, i do, but then upon reboot, i have to do it all over again. I know the simple solution is to get a new drive, but is there something else in the meantime?

Thanks
 
Old 01-20-2005, 12:20 PM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,512

Rep: Reputation: 58
I'd like to take up the question of gd2shoe again: What is the manifestation of 'not recognizing' the drive?

My first stupid guess was that Yast simply doesn't see free space, but it should recognise an empty partition anyway. But what about leaving empty space on the drive?

Maybe Yast doesn't load the correct controller driver. You could try a manual installation instead and test different drivers 'by hand'.

I do not think that this is a problem of a particular filesystem, since Yast doesn't need a filesystem, it should be able to create it automatically.
 
Old 01-21-2005, 02:55 AM   #6
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Quote:
Originally posted by matrim
I'm taking a chance here, is there a way _after_ you discover bad blocks to fix/repair them, or just bypass them all together in the boot process? Right now, when doing a filesystem check, my Redhat finds a couple bad blocks, then offers me to fix them with fsck, i do, but then upon reboot, i have to do it all over again. I know the simple solution is to get a new drive, but is there something else in the meantime?

Thanks
I wish I knew more details for you. If I remember correctly, there is a spot on the drive where the filesystem keeps track of bad blocks. If a block is mentioned, the system should already know to avoid it. You should NOT need to run fsck each time you boot. Once should be sufficient (hypothetically).

The only thing I can think to check at the moment is the exit code of fsck. Imedietly after fsck finishes, try "echo $?". Compare that to "man fsck". If you can't make heads or tails of it, then post the number here.

Sorry. Maybe someday I'll know enough to give a better answer.
 
Old 01-21-2005, 02:57 AM   #7
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Oh, and no, you cannot repair bad blocks. You can only work around them. They are physically spots on your hard disk that are unusable (for various reasons).
 
  


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
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 12:51 AM
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 02:24 PM
software to repair hard disk errors R++ Linux - Software 14 03-26-2005 07:01 PM
hard disk errors in FC1 Pheo Linux - Hardware 1 07-08-2004 01:39 AM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM


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

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