PDA

View Full Version : Problem with Hinsdale instructions


Atomic Taco
09-11-2009, 06:06 PM
I'm upgrading my Series 2 (540040) to an 80GB drive. I'd like to save my programs, but settings I don't care about. If I can't manage to save the programs, no big deal, but I'd like to if I can.

For reference, I'm using the instructions located at newreleasesvideo.com that ends in index9.html (I don't have enough posts yet to post a link). It seems there's about a thousand copies floating around on the web.

I put both drives in my PC and they work fine. The thing is, I only have 1 IDE channel in my PC, so I can't backup to a third drive. I've got plenty of IDE drives laying around, but no spare SATAs (or a SATA CD drive). So I'm booting via USB--works great.

So here's where I'm having problems. I started at Step 7, Option 3. Old drive is a 40gb as hda. New is an 80gb, hdb. So I typed dd if=/dev/hda of=/dev/hdb bs=1024k That took longer than I wanted to, but finally finished this morning. Seeing that it copied 39205+1 records, I'd assume there's one 40gb partition on the 80gb drive. Not a problem, as I've upgraded a couple units in the past and knew I'd have to expand the partition.

So I followed the instructions skipping to step 10 (I would've done this anyways even if the instructions hadn't told me to). I went to Upgrade Configuration #3. The instructions state: "existing TiVo A drive as Secondary Master and new larger upgrade A drive as Primary Master". This would mean that old = hdc and new = hda. So in my case I would type: mfsbackup -Tao - /dev/hda | mfsrestore -r 4 -s 127 -xzpi - /dev/hdb

For some reason I flipped those when I did it this morning. I have hdb before hda, so it's copying from my 80 to my 40--not what I want. I don't want to kill it because I want to keep this 40gb as a backup/spare.

--

So, my question is: How can I quickly expand the partition? I don't need to copy anything, as I've done that twice. And also, why do the Hinsdale instructions tell me to do it twice?
I'm thinking GParted will work fine for this, but just wanted to confirm, and rant about the instructions.

HomeUser
09-11-2009, 08:14 PM
easy, should only take several seconds with the 80G on the slave.
mfsadd -x /dev/hdb

What you have done is made a exact copy of the 40G drive to the 80G with dd.

the MFSBackup and MFSRestore is copying the partitions from the 80 back to the 40 and will probably fail because there is not enough space due to the larger swap size and there is no room to expand.

Atomic Taco
09-11-2009, 09:20 PM
Thanks, that command looks like what I need!

Right now it's restoring X of 35904, so it's not looking like it'll fail.

Curious, what's the difference between dd and MFSBackup/MFSRestore?

HomeUser
09-11-2009, 10:14 PM
Curious, what's the difference between dd and MFSBackup/MFSRestore?
Oh, 6 to 7 letters <GRIN>

mfsbackup "backups" or saves the drive structure and data of the drive(s) to the output specified by the 'o' option in this case the '-' which sends the output to stdout (standard output) where the input of mfsrestore can retrieve it.


mfsrestore retreives the data specified by the 'i' in this case '-' stdin (standard in) and restores it to the drive(s).


The '|' pipe does the magic of linking both commands

if you type ./mfsbackup -h or ./mfsrestore -h displays the help message describing the options.


FYI: the Hinsdale instructions and tools are out of date there is a new updated version of mfstools called MFSLive and even a windows version WinMFS both can be found on Spikes website http://www.mfslive.org