TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > TiVo Underground
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 06-29-2006, 11:26 AM   #1
Rob Helmerichs
I am Groot!
 
Rob Helmerichs's Avatar
 
Join Date: Oct 2000
Location: Minneapolis
Posts: 27,462
Cloning drive

I have an old TiVo drive that I want to copy to a new one. They are the same size (to the byte, according to Linux). I've tried the Hinsdale method...

mfsbackup -Tao - /dev/hdc | mfsrestore -s 127 -xzpi - /dev/hda

...but it says that the target drive is too small. How can I do this?
__________________
“I trust the Doctor.”
“You think he knows what he's doing?”
“I wouldn't go that far.”
Rob Helmerichs is offline   Reply With Quote
Old 06-29-2006, 11:56 AM   #2
PortlandPaw
Woodstock-era Hacker
 
PortlandPaw's Avatar
 
Join Date: Jan 2004
Location: Chebeague Island, Maine
Posts: 1,057
dd it

...from another new grandfather
__________________
David R. Hill...............hackman:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Chebeague Island, Maine
There are 10 kinds of people, those who count in binary and those who don't.
PortlandPaw is offline   Reply With Quote
Old 06-29-2006, 12:00 PM   #3
Rob Helmerichs
I am Groot!
 
Rob Helmerichs's Avatar
 
Join Date: Oct 2000
Location: Minneapolis
Posts: 27,462
Quote:
Originally Posted by PortlandPaw
dd it

...from another new grandfather
What exactly do I type?
__________________
“I trust the Doctor.”
“You think he knows what he's doing?”
“I wouldn't go that far.”
Rob Helmerichs is offline   Reply With Quote
Old 06-29-2006, 12:35 PM   #4
JamieP
Registered User
 
Join Date: Aug 2004
Posts: 978
Quote:
Originally Posted by Rob Helmerichs
What exactly do I type?
Code:
dd if=/dev/hdc of=/dev/hda bs=1024k
This will copy using a buffer size of 1MB. Larger buffer sizes may yield better performance if you have plenty of memory. You'll also see the best performance if you have dma enabled.
Code:
hdparm -d /dev/hda
hdparm -d /dev/hdc
to check.
Code:
hdparm -d1 /dev/hda
hdparm -d1 /dev/hdc
to enable, if it's not enabled.
JamieP is offline   Reply With Quote
Old 06-29-2006, 03:37 PM   #5
Rob Helmerichs
I am Groot!
 
Rob Helmerichs's Avatar
 
Join Date: Oct 2000
Location: Minneapolis
Posts: 27,462
Quote:
Originally Posted by JamieP
Code:
dd if=/dev/hdc of=/dev/hda bs=1024k
OK, I typed this, and now I have a blinking cursor on the next line. Is that all I'll see until it's done? Or has something gone wrong?
__________________
“I trust the Doctor.”
“You think he knows what he's doing?”
“I wouldn't go that far.”
Rob Helmerichs is offline   Reply With Quote
Old 06-29-2006, 03:53 PM   #6
JamieP
Registered User
 
Join Date: Aug 2004
Posts: 978
Quote:
Originally Posted by Rob Helmerichs
OK, I typed this, and now I have a blinking cursor on the next line. Is that all I'll see until it's done? Or has something gone wrong?
Yes, that's all you'll see. Progress feedback is for weenies :-) You should see your disk lite flashing away actively.

In my experience, with DMA enabled and source and target disk on different ide chanels, you should get ~ 1-2GB/min, so a 40 GB disk, for example, might take 40 minutes or so. If you are lucky, it might be done with a 40GB disk in 20 minutes. It can be much longer with dma disabled.

There's another variant/extension of dd called dd_rescue. ddrescue does provide progress feedback, IIRC. It also does a better job of recovering from a failing source disk, copying what it can, and skipping over bad blocks. dd will just crap out when it hits a bad block.

Last edited by JamieP : 06-29-2006 at 04:01 PM.
JamieP is offline   Reply With Quote
Old 06-29-2006, 07:32 PM   #7
Rob Helmerichs
I am Groot!
 
Rob Helmerichs's Avatar
 
Join Date: Oct 2000
Location: Minneapolis
Posts: 27,462
Finally done! And the new drive works like a charm, with all my old stuff on it.

Thanks!
__________________
“I trust the Doctor.”
“You think he knows what he's doing?”
“I wouldn't go that far.”
Rob Helmerichs 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 - 2013, 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 08:43 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |