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



Borked rc.sysinit, how to fix from linux

(Click here to view the original thread with full colors/images)



Posted by: toddcurry

Can't believe that I did this, but in an attempt to edit my rc.sysinit.author file, I played with rc.sysinit and successfully stopped my DTivo from starting telnet or ftp...

I tried re-running nic_install for turbonet, but it didn't "take" -- turbonet and ftp didn't re-start.

So, I've copied a backup of rc.sysinit to the hda of a newly-created linux box. I've got the file sitting in /tmp.

Presuming I connect my tivo A drive as hdc, how would I "copy" the file over (yes, I promise I'll finally read my 'Linux for dummies' book, but...).

Many thanks,

Todd



Posted by: Robert S

You need to boot a byteswapping boot disk (there are issues with byteswapping on the MFS Tools 2.0 disks) and mount your active root partition (which will be either 4 or 7, pretty much at random)

mount /dev/hdc4 /mnt
-or-
mount /dev/hdc7 /mnt

mount the root directory of your Linux box - hda1?

mkdir /linux
mount /dev/hda1 /linux

Copy the file

cp /linux/tmp/rc.sysinit /mnt/etc/rc.d/rc.sysinit

Make it executable (just incase)

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

Unmount the partitions (again, just incase)

umount /mnt
umount /linux

If the Linux partition won't mount, try using a FAT partition instead of an Ext2 one.



Posted by: toddcurry

Robert to the rescue yet again!

Thanks!!

I will give this a whirl and report back.


Todd





vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2009 - Created by Stefan "Xenon" Kaeser Modified by Adam J. de Jaray