TiVoCommunity.com
(c)opyright 1995-2005 All rights reserved
indexcheckTC
This area is a static history of posts in the TiVo Community Forum Archive.
This archive history was made for the simple indexing of search sites like
Google.
Pages:1
Help with restore of backup
(Click here to view the original thread with full colors/images)
Posted by: Popeye
Ok here goes. i thought I would do a complete restore from my origional drive, because it was causing probs and I thought that the upgrade might have gone wronge, I followed the Hinsdale guide, managed to bodge my origional, fortunately I have a backup on cd. So my question is how do I restore off the cd to my origional drive or to my two new 120Gb drives (so that everything can be reset back to the begining). I have two cd drives so it isn't a problem booting from one and restoring from the other. Do I need to reformat my drives to clean off any info that is there before I restore? Will it be easier to copy my backup image to a windows drive and restore from there.
What I'm really looking for is how to connect the drives to my PC and what command(s) to issue, i'm using mfstoolsv2.
Any help would be great
Posted by: dialanothernumb
You don't even need to use both cd drives. you can restore an image running mfstools off a floppy and using the tivo.bak image on the cd. But if you have the two then fine. Have one cdrom drive on each of the ide controllers and one each of the new tivo drives runninmg as slaves on each of the ide controllers
: simply follow the hinsdale instructions replacing the drive assignments in the instructions with those on your pc. When linux boots up it will tell you which drives are assigned to which ide controllers, for instance hda, hdb, hdc and hdd. Sometimes it'll whizz through this info on boot up and you'll miss it. Just hold down shift and press the up arrow and you'll be able to scroll up (sorry if this is too simplified!)
Just be sure that the tivo.bak you made contains an image froma tivo disk setup the same size or smaller than the disk capacity you are restoring to.
MFStools wipes the disks so you need to do no formatting.
Make sureyou never boot into windows NT or XP accidently.
Hinsdale is really "step-by-step". All instructions are in there under restoring
Posted by: Robert S
The CD creates a RAM disk with all the commands in, so once the boot sequence has completed you can swap the CD's over to read the backup file. No reason why it wouldn't work with two CD-ROM drives, of course, as long as you know which is which.
The key variation from Hinsdale is the mount command that connects you to the filing system that holds the backup file. You need to replace the /dev/hda1 with the devicenode that points to your CD. This will probably be /dev/hdc or /dev/hdd (no number because CD's don't have partitions).
Hinsdale assumes that the drive you're restoring to is considerably bigger than the backup (remember, compressed backups only include tha partitions from the original A drive, even if the image has been expanded). If you're restoring to a drive the same size as the original, that's a special case.
Posted by: Popeye
Ok. I've got the lastest Hinsdale guide. I'm trying to restore my backup to my origional TIVO drive.
HDA is a FAT32 drive with my backup in a dir /mnt/dos/tivo.bak
HDC Origional TIVO drive (the one I'm trying to restore to)
HDD CD drive
I put the following commands in with no probs: mkdir /mnt/dos and mount /dev/hda1 /mnt/dos all ok with no reports after each command, then I use this command to restore my drive from the backup in the directory /mnt/dos on my FAT32 drive :
mfsrestore -bzpi /mnt/dos/tivo.bak /dev/hdc
it then returns the error:
/mnt/dos/tivo.bak : no such file or directory
Anyone know what I've don't wrong!
Posted by: blindlemon
quote:
Originally posted by Popeye
/mnt/dos/tivo.bat : no such file or directory
;)
Posted by: Popeye
On my HD it's called tivo.bak does that make any difference?
Posted by: blindlemon
Assuming you have copied the error verbatim, then what it's saying is that you saved to tivo.bak and are trying to restore from tivo.bat
That may be your problem... :D:D
Posted by: Popeye
Sorry.slip of the finger the file is tivo.bak and I have typed tivo.bak for the restore command. What command is it to check the directory to check the file?
Posted by: Robert S
After mounting the partition you should be able to do
ls /mnt/dos
to see the file list (that's LS, as in 'list', btw).
Posted by: iankb
quote:
Originally posted by Popeye
HDA is a FAT32 drive with my backup in a dir /mnt/dos/tivo.bak
Do you mean that you've put the tivo.bak file in a windows directory called C:\mnt\dos ? If so, move it to the root directory of your C: drive.
The /mnt/dos relates to the way in which the C: drive is added to the Linux filesystem.
Posted by: Popeye
Thankyou very much to all that have helped, I suppose one day this proceedure will be under a GUI for all the numpties like me, either that or I learn Lunix first, hmm!
Posted by: Popeye
Just one last question, I restored my backup to my two 120Gb HD using the command:
mfsrestore -s 127 -xzbpi /mnt/dos/tivo.bak /dev/hdc /dev/hdd
now on putting the drives back in the TIVO it hangs on powering up. Do I have to expand the drives, it reported 277 hours after the above command. Is there something that I am missing.
Posted by: Robert S
Sticking at welcome means that Linux is not being loaded from the disks. This suggests a problem with the jumpers.
Perhaps start by restoring to one drive?
Posted by: Popeye
I restored my origional TIVO HD and tried that, which stuck on the powering up screen, so I resored to the 2*120Gb HD which did the same. So what have I done wrong? Everything went fine on the restore.
Posted by: Robert S
By 'restored' you mean you plugged it back in, or you restored the MFS Tools backup?
As I said, immediate suspicion falls on the cables and jumpers, but otherwise, that's not a good sign.
Posted by: Popeye
The backup image that I had saved I restored back to the origional disk, and also to the 2*120Gb HD
Posted by: Popeye
IT WORKED, YIPPEEEE.
Well here's the saga so far;
I restored my origional TIVO drive using my backup image using the command:
mkdir /mnt/dos
mount /dev/hda1 /mnt/dos
Then:
mfsrestore -zpi /mnt/dos/tivo.bak /dev/hdc
The (which I forgot to type)
umount -f -a -r
Tried it in my TIVO and it worked, one point though the modem failed to dial up first time which was the origional reason why I've gone through all of this again! So I unplugged for a few seconds re-pluged tried the daily call and it worked.
Posted by: Robert S
Forgetting umount doesn't affect the TiVo disk, but it does risk damaging your C: drive. You might want to run ScanDisk on that.
vBulletin Copyright ©2000 - 2010,
Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2010
- Created by Stefan "Xenon" Kaeser
Modified by Adam J. de Jaray