View previous topic :: View next topic |
Author |
Message |
MonkeyMartin Apprentice
Joined: 19 Mar 2003 Posts: 272 Location: Canada
|
Posted: Wed Dec 21, 2005 1:54 am Post subject: Hard drive problem |
|
|
I am having problems with one of my hard drives. I would like to completly clear my drive what is the best way to do this.
this is one of the problems that i am having
Code: | The number of cylinders for this disk is set to 238216.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK) |
_________________ Thanks |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed Dec 21, 2005 2:04 am Post subject: |
|
|
If you want to delete the partition table (to start fresh with fdisk), do this.
Code: | # dd if=/dev/zero of=/dev/hda bs=512 count=1 |
If you want to zero the entire drive (this can take quite a long time), do this.
Code: | # dd if=/dev/zero of=/dev/hda bs=8192 |
Obviously, if your harddrive is not /dev/hda then edit that part accordingly. |
|
Back to top |
|
|
MonkeyMartin Apprentice
Joined: 19 Mar 2003 Posts: 272 Location: Canada
|
Posted: Wed Dec 21, 2005 2:08 am Post subject: |
|
|
thanks for the fast reply
I will see what happens _________________ Thanks |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Dec 21, 2005 4:37 am Post subject: |
|
|
Moved from Installing Gentoo _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|