Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hard drive problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
MonkeyMartin
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 272
Location: Canada

PostPosted: Wed Dec 21, 2005 1:54 am    Post subject: Hard drive problem Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Dec 21, 2005 2:04 am    Post subject: Reply with quote

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
View user's profile Send private message
MonkeyMartin
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 272
Location: Canada

PostPosted: Wed Dec 21, 2005 2:08 am    Post subject: Reply with quote

thanks for the fast reply

I will see what happens
_________________
Thanks
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Dec 21, 2005 4:37 am    Post subject: Reply with quote

Moved from Installing Gentoo
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum