Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#296642 - 09/04/2007 17:56 How do I do a complete format of my drive?
Flawed
stranger

Registered: 15/02/2002
Posts: 53
I'd like to start from scratch and do a complete rebuild complete with 2 100GB drives and a lot of audiobooks. I've followed Rob's instructions and they seem to work fine but one of the drives had music on it in the past. It seems to be causing me some issues. Can't get emplode to sync with no music on there and so forth. Basically, I'd like to write zeros to the whole drive and not just on the partition table. What is the command for doing that?

Is it: dd if=/dev/zero of=/dev/hda

Thanks!


Edited by Flawed (09/04/2007 18:02)

Top
#296643 - 09/04/2007 18:07 Re: How do I do a complete format of my drive? [Re: Flawed]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Yeah, that'll do it, assuming the drive you're interested in is hda. But you probably booted from hda and zeroing out your boot drive is probably a bad idea, so you might want to think about booting from a different drive and zeroing out hdc.
_________________________
Bitt Faulk

Top
#296644 - 09/04/2007 18:22 Re: How do I do a complete format of my drive? [Re: Flawed]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Quote:
I'd like to write zeros to the whole drive and not just on the partition table. What is the command for doing that?

Is it: dd if=/dev/zero of=/dev/hda


Yes, or even just

cat /dev/zero > /dev/hda
.

No need to boot from elsewhere for this -- it will work just fine (on the empeg).

Cheers

Top
#296645 - 09/04/2007 21:23 Re: How do I do a complete format of my drive? [Re: Flawed]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
Quote:
but one of the drives had music on it in the past. It seems to be causing me some issues.


If you are having sync problems with 100gb drives, I doubt that prior music is the cause of your problem. Zeroing out the drive will erase past music, but I think you've got a larger problem stemming from the drives being "large drives" and not having been built properly.

I suggest going over to riocar.org, hitting Disk Upgrade Guide, and using the builder images linked from there. Go through that whole thing carefully, paying particular attention to any section that says SPECIAL NOTE FOR LARGE DRIVES or similar.

I recommend running Mark's bigdisk builder twice: Once with only the primary drive plugged in, and once with only the secondary drive plugged in (with its jumper removed). Each time, also do as the disk upgrade guide suggests, and install the bigdisk version of the player software onto each drive as well.

If you get errors during this process, then you might be having data errors with the disks, possibly caused by cable/IDE header troubles. Investigate that, too.
_________________________
Tony Fabris

Top