View Full Version : missing /sbin and others after backup and restore

12-21-2010, 07:13 PM
Sorry for asking for help a lot lately :). I haven't done anything to my TiVos in quite a while and can't remember all of my fu.

On a HDVR2 6.2a drive I am running:

mfstool backup -f 9999 -1so 20101220.bak /dev/hdd

Followed by:

mfstool restore -r 4 -s 127 -xzpi 20101220.bak /dev/hdc

No errors pop up but the new drive won't boot. I poked around a bit and found everything in /sbin was missing.

bash-2.04# mount /dev/hdc7 /mnt/tivo
bash-2.04# ls /mnt/tivo/sbin/
bash-2.04# umount /mnt/tivo
bash-2.04# mount /dev/hdd7 /mnt/tivo
bash-2.04# ls /mnt/tivo/sbin/
badblocks init mke2fs quotastats tivoftpd
bootpage insmod mknod repquota tnlited
bootpclient iptables mpg321 restart updatekernel

Any ideas what I could be doing wrong here? Thank in advance!

12-21-2010, 09:37 PM
Quick thought, are you sure the 7th partition is the active one. With the z switch mfstool will zero out partitions not backed up (i.e., the inactive one). Check it with bootpage.

12-22-2010, 02:41 PM
ScanMan, I double-checked the bootpage on hdd and also noticed that hdc4 doesn't even have a FS on it so I am pretty sure 7 is active. Great tip though.

04-08-2011, 11:40 PM
So the answer for me was skipping the -z in the restore. That fixed this problem as well as fixing the error:

Tmk Fatal Error: Thread myworld <193>: unexpected signal 11

after a:

Illegal read at 00000008

Maybe it is something I did when I tweaked this install out many moons before. If not I hope it can help someone in the future.