PDA

View Full Version : rc.sysinit is gone , Please help me get it back


davehazle
09-03-2002, 07:26 PM
ok, i found out that when i edited my rc.sysinit, and sent it back with windows ftp, the file didn't actualy send. i say this because when i place my a drive in my tivo and mount it to partition 4 , then cd to the "etc/rd.i or whatever it's called " directory, i find that it is missing. I am horrible at this so I am vry proud that i made it this far. Here is where i need your help......

I have a backup rc.sysinit on my PC and can put it on a formatted floppy, i dont know what to do from there, can someone give me the commands to get it from the floppy to the tivo A drive? And once it is there, should I chmod +x the file?


thank you all,

David

BubbleLamp
09-03-2002, 10:39 PM
Boot your Linux CD or floppy.

mkdir /mnt/floppy
mount /dev/fd0 /mnt/floppy

mkdir /mnt/tdrive
mount /dev/hdX4 /mnt/tdrive

cp /mnt/floppy/rc.sysint /mnt/tdrive/etc/rc.d/rc.sysinit

chmod +x /mnt/tdrive/etc/rc.d/rc.sysinit

umount /mnt/floppy
umount /mnt/tdrive

Shutdown your PC.

A few things to keep in mind. That's a zero in fd0, not an O.
Replace the X in hdX4 with the correct letter, based on the IDE channel you've attached the drive too. Lastly, if you edited the file with a DOS/Windows editor, you'll have problems. You need the file to be in Unix format.