TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > TiVo Underground
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 05-29-2012, 09:36 PM   #1
55tbird
Registered User
 
Join Date: Jun 2007
Posts: 32
Wiping a hard drive to start with empty drive

I had prepped a brand new hard drive with the 6.2a image but what with the local channel guide issue I would like to start completely over... I would like to completely wipe the drive so it would be empty so I can install a fresh 6.4a image.

Any suggestions on what software I should use?

"If this question belongs in an existing thread that's relevant then move it there."
__________________
55tbird
2 DSR7000, 2 DSR704, 1 DSR708
All MRV & HMO'ed using enhancement script since 2006
55tbird is offline   Reply With Quote
Old 05-29-2012, 11:10 PM   #2
mr.unnatural
Registered User
 
mr.unnatural's Avatar
 
Join Date: Feb 2006
Posts: 3,575
No need to wipe the drive. If you've got a 6.4a image you should be able to simply restore the image to the drive and it will overwrite the entire drive.

Truth be told, I have no idea which Tivo uses a 6.4a image so check the stickys for the proper method of restoring an image to your Tivo.
mr.unnatural is offline   Reply With Quote
Old 05-30-2012, 02:11 AM   #3
unitron
Registered User
 
unitron's Avatar
 
Join Date: Apr 2006
Location: semi-coastal NC
Posts: 13,483
Quote:
Originally Posted by 55tbird View Post
I had prepped a brand new hard drive with the 6.2a image but what with the local channel guide issue I would like to start completely over... I would like to completely wipe the drive so it would be empty so I can install a fresh 6.4a image.

Any suggestions on what software I should use?

"If this question belongs in an existing thread that's relevant then move it there."
Like the man said, no need to wipe it, the restore operation will overwrite everything.

If you want to know how anyway, here are two methods.

1. Get an image file for a bootable cd with the diagnostic software on it from the manufacturer of the drive.

There may well be an erase utility on that.

Even if there's not, go ahead and run the manufacturer's long test on the drive to make sure it's not fixing to go bad.


2. Go to mfslive.org and download the zip file of the .iso image for the MFS Live cd v1.4 and burn yourself a copy (as an image).

Do that even if you don't have a TiVo, it's handy to have.

Disconnect all other drives except an optical drive to boot the cd in.

When it finishes booting do

fdisk -l

and see what it calls the drive you want to erase.

Probably /dev/hda (for a PATA/IDE drive) or /dev/sda for a SATA drive.

If you put it somewhere other than the first controller it might be /hdb or /hdc or /hdd (change h to s for SATA).

Then

dd if=/dev/zero of=/dev/hda

and let it run

(change /hda to whatever's appropriate if necessary)

or if you want to be able to see what's going on

dd_rescue -v /dev/zero /dev/hda

Eventually zeros will have been written to the entire drive.

Just for fun and enlightenment, before you do the erase (if it's a TiVo drive), do

pdisk -l /dev/hda

and have a look at the partition map.

If

fdisk -l

or

fdisk -l /dev/hda


also show partition info of the IBM/DOS/Windows variety, make sure it's the drive you think it is but otherwise don't worry about it.

The Master Boot Record and the Apple boot page get written in different enough places that the "table of contents" survives even though the contents themselves have been overwritten.


If the image file you want to restore ends in .tbk, then you'll need the WinMFS program (also available at mfslive.org), and a machine running XP or later.

Otherwise it should end with .bak and you should be able to restore it with the tools on the MFS Live cd v1.4 (which is the successor to the old MFS Tools).

Information and instructions on how to use MFS Live and WinMFS also available at mfslive.org

Just remember

dd

and

dd_rescue

do not know if you have the wrong drive hooked up or have more than one hooked up and specify the wrong one and they'll wipe them just as cheerfully.

(In the event of something like that on a PC drive, there's a command line utility called testdisk on the Parted Magic cd, a copy of which it wouldn't hurt to have on hand either--also free)
__________________
(thisismysigfile)


"I am altering the deal. Pray I don't alter it any further."

Darth TiVo, 14 February, 2011
unitron is offline   Reply With Quote
Old 05-30-2012, 09:16 AM   #4
mr.unnatural
Registered User
 
mr.unnatural's Avatar
 
Join Date: Feb 2006
Posts: 3,575
Now that's an answer.
mr.unnatural is offline   Reply With Quote
Old 06-08-2012, 06:33 AM   #5
royfernandez
Registered User
 
Join Date: Apr 2012
Posts: 27
Quote:
Originally Posted by mr.unnatural View Post
No need to wipe the drive. If you've got a 6.4a image you should be able to simply restore the image to the drive and it will overwrite the entire drive.

Truth be told, I have no idea which Tivo uses a 6.4a image so check the stickys for the proper method of restoring an image to your Tivo.
Is there a way to upgrade a hacked system running 6.2a (3.1.1c with killhdinitrd) to 6.4a and retain the hacks?

@unitron
Can I use your fix?
royfernandez is offline   Reply With Quote
Old 06-08-2012, 09:26 AM   #6
unitron
Registered User
 
unitron's Avatar
 
Join Date: Apr 2006
Location: semi-coastal NC
Posts: 13,483
Quote:
Originally Posted by royfernandez View Post
Is there a way to upgrade a hacked system running 6.2a (3.1.1c with killhdinitrd) to 6.4a and retain the hacks?

@unitron
Can I use your fix?
If you're talking about what I posted in this thread, that's not a fix, that's the nuclear option.

It basically says restoring an image to a drive overwrites what's already there so it doesn't matter what's there and you don't have to wipe the drive first, but if you really want to put all zeroes on a drive, here's how to do it.

If you want to splice 2 different images together, the last thing you should be doing is bulk erasing indiscriminately.
__________________
(thisismysigfile)


"I am altering the deal. Pray I don't alter it any further."

Darth TiVo, 14 February, 2011
unitron is offline   Reply With Quote
Old 06-11-2012, 04:08 AM   #7
royfernandez
Registered User
 
Join Date: Apr 2012
Posts: 27
Quote:
Originally Posted by unitron View Post
If you're talking about what I posted in this thread, that's not a fix, that's the nuclear option.

It basically says restoring an image to a drive overwrites what's already there so it doesn't matter what's there and you don't have to wipe the drive first, but if you really want to put all zeroes on a drive, here's how to do it.

If you want to splice 2 different images together, the last thing you should be doing is bulk erasing indiscriminately.
I just read the other thread "6.4a Disaster" and it seems that the upgrade has been a disaster to many. Think I'd refrain the upgrade for now.
royfernandez is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 06:07 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |