Hack 32. Clean Up and Shut Down

   

Hack 32 Clean Up and Shut Down

figs/beginner.gif figs/hack32.gif

After mounting TiVo's drives in your PC and fiddling with configuration files, you need to carefully clean up and shut down the PC to preserve your changes .

If you've made any changes to TiVo's configuration files, you must carefully unmount the TiVo partitions and shut down the PC to which your drives are connected, in order to make sure everything's saved as it should be. Do not just turn off your machine, or you risk leaving changes uncommitted and worse stillleaving your TiVo partitions in an unusable state.

Unmount the partitions you mounted before, like so:

 #  cd /  #  umount /mnt4 /mnt7 /mnt9  

Of course, you should bother to unmount only the partitions you mounted in the first place; if you did not mount partition 4 at /mnt4 or partition 7 to /mnt7 , leave them out of the previous command line.

If you mounted your floppy drive to copy across the Unix utilities [Hack #31], don't forget to unmount that drive too:

 #  umount /floppy  

Notice that the command is umount (pronounced "yoo-mount") not unmount ("un-mount") as one might expect.

Now, you can issue an exit command to log you out of the Linux shell and return you to the Linux login prompt:

 #  exit  

At this point, it's safe to Control-Alt-Delete your PC, watch it reboot, and, at the first sign it is returning to life (beginning to boot up again), turn it off.

Go To

Now you're ready to reinstall your TiVo's drives back into TiVo [Hack #27]. That done, if your goal has been to get the Bash shell over serial connection, carry on to connecting to your TiVo with the serial cable [Hack #33].


   
Top


Tivo Hacks. 100 Industrial-strength Tips Tools 2003
Tivo Hacks. 100 Industrial-strength Tips Tools 2003
ISBN: 1597490318
EAN: N/A
Year: 2004
Pages: 164

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net