LinuxQuestions.org
Review your favorite Linux distribution.
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 09-04-2007, 05:11 AM   #1
tizwaz
Member
 
Registered: Sep 2007
Posts: 46

Rep: Reputation: 15
HD partition problem


I am trying to re-partition an 80gb maxtor drive to prepare it for a reinstall of debian.

I am using windows XP to do this in disk manager, now I can partition the drive ok but when I try to format it, it gets to about 50-60% then just hangs and I have tried both NTFS and FAT 32...

I was using the drive before in windows and I sometimes got cyclic redundency errors ??? whatever that means??? and when I tried before to install linux on the first partition of the drive, there were some kind of problem with the clusters,,, how can I resolve this problem ??
 
Old 09-04-2007, 05:13 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
get a tool (always free) from the hdd vendor.
Or use Ultimate boot CD, erase the whole disk with killdisk or such a tool.
Then have a install win in for example 20 GB space. leave the rest unpartitioned.
Install Debain using the rest of the HDD, let grub install into the MBR.

Thats it.
 
Old 09-04-2007, 05:56 AM   #3
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix
Posts: 140

Rep: Reputation: 23
Probably the hard drive has some bad sectors. You have to check it to find where these bad sectors are. Then, you could make your partitions leaving out the bad regions.

But, a disk with bad sectors isn't very trustful, so keep in mind to backup often important data.
 
Old 09-04-2007, 05:59 AM   #4
tizwaz
Member
 
Registered: Sep 2007
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks odcheck,

I am using killdisk now and hopefully it will work

Masterclassic, yea I think you could be right, I will check for them too
 
Old 09-04-2007, 06:15 AM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
It is highly unlikely an 80GB drive has bad sectors. All drives will develope bad sectors, and all drives have spare sectors, and when a modern drive has to make too many passes to read a bad sector, it will automatically re-map the data in the sector to a spare without the user ever knowing before it is un-readable.
If you copy and paste "cyclic redundancy errors" in a google search field, you'll know what it is.
One cause could be that it is a PATA drive on a 40 wire ATA cable instead of an 80 wire cable and there is some crosstalk happening.
And you will only see Linux complain about clusters when installing Linux to a Windows file system, you should let the Linux installer format the partition in a native Linux file system like ext3. Windows file systems have clusters, Linux file systems have blocks.

Last edited by Junior Hacker; 09-04-2007 at 06:18 AM.
 
Old 09-04-2007, 07:29 AM   #6
tizwaz
Member
 
Registered: Sep 2007
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks for the info and thats what I am doing now, letting linux do it
 
Old 09-04-2007, 08:55 AM   #7
tizwaz
Member
 
Registered: Sep 2007
Posts: 46

Original Poster
Rep: Reputation: 15
looks like my drive has some problems, I just reinstalled debian linux AGAIN and this time I let the installer set up the partitions, so far so good, but when the system finished and rebooted there were many read errors from one of the partitions,,,,the drive is a few years old so maybe it is time to buy a new one
 
Old 09-04-2007, 02:22 PM   #8
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix
Posts: 140

Rep: Reputation: 23
Can you locate if these problems occur in a specific part of the disk?
Sure, it's better to buy a new disk if this one has this kind of problems, but the old could be used somehow, even not at full capacity.
You could partition it outside the "bad region".
(I don't like to put old hardware to trash )
 
Old 09-04-2007, 03:07 PM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by masterclassic View Post
Can you locate if these problems occur in a specific part of the disk?
Sure, it's better to buy a new disk if this one has this kind of problems, but the old could be used somehow, even not at full capacity.
You could partition it outside the "bad region".
(I don't like to put old hardware to trash )
I disagree. something like a hard drive--with a variety of known failure mechanisms--is going to keep dying once it starts. Any significant issues and it is OUT.

Similar principle with car batteries: The first time it goes flat without a good reason, maybe re-charge and get it tested. The second time, it's gone.
 
Old 09-05-2007, 01:04 AM   #10
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I would put that drive in the another computer, partition and format it and use it to see if you have similar issues with a different computer before jumping to conclusions.
A good utility for checking/repairing hard drives is SpinRite, in it's day before drives automatically re-mapped bad sectors it was dubbed a hard drive saver because it will check every sector and re-map bad sectors if there are any without destroying the data, and isolate the bad sectors so they will not be used again. SpinRite has quite a history of rejuvenating seemingly dead hard drives.
As mentioned before, modern hard drives re-map bad sectors transparently if there is no issues with the firmware. Maybe flashing the HDD firmware might do some wonders.
When older hard drives developed bad sectors and did not automatically re-map them, the operating system would tell you there are bad sectors. Nowadays it is un-heard of for an operating system to report bad sectors because of the obvious.
[mod_edit]content of dubious legality removed[/mod_edit]

Last edited by Tinkster; 09-05-2007 at 03:37 PM. Reason: [mod_edit]content of dubious legality removed[/mod_edit]
 
Old 09-05-2007, 01:52 AM   #11
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
Oh gosh,

did you do the hdd wipe thing?
Forget all the horror. Wipe it, part it and format it.
If it doesn't work throw it in the trashcan and buy for 99$ a 500GB HDD IDE.
 
Old 09-05-2007, 03:39 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
And while no direct links to pirated software were posted
the mod-team would really appreciate if people refrained
themselves from hinting at criminal options, Mr Junior Hacker...


Cheers,
Tink
 
Old 09-07-2007, 07:03 AM   #13
tizwaz
Member
 
Registered: Sep 2007
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks for all the info guys but it does look as though the HD is on a one way trip to the trash can,,, I can partition and format into 3 partitions using the first one at 15gb and the third one at 33gb but the 2nd partition will not even format,,,,
Oh well another 80gb bites the dust,,,
 
  


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
partition problem disdro Fedora 1 03-22-2007 08:57 AM
SERIOUS partition problem.... The_Neon_Knight Linux - General 90 01-03-2007 07:14 AM
Partition problem with Qtparted in Knoppix variety & mp3 support problem in FC3 eypros Linux - Software 1 06-01-2005 08:12 PM
boot problem/ partition problem? ian sil Linux - General 1 05-10-2005 07:08 PM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 01:42 PM


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