PDA

View Full Version : How to replace rc.sysinit with drives in pc?


Murdock
03-31-2004, 06:52 AM
I was trying to install mfsstream on my DSR6000 running 25Xtreme with the 2.52 upgrade which required me to edit the rc.sysinit file which I did on my PC in textpad and FTP'd back to the Tivo. Now I am stuck on the welcome powering up screen and after doing some reading and searching I have come to the conclusion that not making the file executable after ftp'ing back to the tivo is likely where I went wrong. I installed my tivo drives into my pc and used 25xtreme to mount the drive "mount /dev/hdc9 /mnt/tivo" There are only two files showing in the /etc/rc.d folder and rc.sysinit is not there however there is a rc.S* I tried putting a backup of the rc.sysinit file that I had on my PC onto a floppy, then mounting the floppy and copy/paste the file from the floppy into the /etc/rc.d folder, I then did a chmod +x to this file and put the drives back into the Tivo and rebooted... still welcome powering up. When I put the drives back into the PC the rc.sysinit file that I had put in the /etc/rc.d folder is now gone. I'm hoping that the problem is something simple that I am overlooking and maybe somebody could point me in the right direction. I would like to fix it without re-imaging the drives if possible so I can keep my recordings.

Sorry to waste anybody's time reading this, I needed to mount partition 7 instead of 9

RKone
03-31-2004, 03:46 PM
The problem is likely from using notepad to edit the file. Linux uses different symbols to signal newlines, so it can't understand the file saved from notepad.

you can run a program that will fix the file to work in linux (don't know what it's called, try google), or you can use vi on your tivo to edit the original file - you did back it up, right?

captain_video
03-31-2004, 04:43 PM
It's called DOS2UNIX.

Murdock
03-31-2004, 10:54 PM
Thanks for the responces, I just had to make rc.sysinit executable and the tivo booted up. I used Textpad instead of notepad to edit the file so there was nothing else wrong with it. I still can't get mfsstream to work (it doesn't show up in tivoweb plus) but I can work on that problem at another time, for now I'm just happy that the tivo is working again.