You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

This instruction is only for TonidoPlug2. Please follow this procedure, only if you are familiar with Linux. Codelathe will not support, if the plug is damaged by following this procedure.

 

 Procedure

Follow the steps outlined here, if you like to update your plug with a new kernel

  •     Download the latest kernel for TonidoPlug2
root@TonidoPlug:~# mkdir /data/
root@TonidoPlug:~# cd /data/
root@TonidoPlug:/data# wget http://www.tonido.com/downloads/plug2/uImage
  •     Download tools necessary for flashing the kernel.
 root@TonidoPlug:/data# wget http://www.tonido.com/downloads/plug2/nandwrite
root@TonidoPlug:/data# wget http://www.tonido.com/downloads/plug2/flash_eraseall
  •     Download tools necessary for flashing the kernel.
root@TonidoPlug:~# cd /media/disk1part1 
root@TonidoPlug:/media/disk1part1# wget http://www.tonido.com/downloads/plug2/rootfs.tar.gz 


TonidoPlug 1 (Use following code)

root@TonidoPlug:~# cd /media/disk1part1 
root@TonidoPlug:/media/disk1part1# wget http://www.tonido.com/downloads/plug/rootfs.tar.gz 
root@TonidoPlug:/media/disk1part1# wget http://www.tonido.com/downloads/plug/modules.tar.gz

 

  •        Please make sure the checksum of the files match the following values.
 root@TonidoPlug:/media/disk1part1# md5sum  rootfs.tar.gz958a32161e1daf1c79d88b1c6f6e85bf  rootfs.tar.gz 
 root@TonidoPlug:/media/disk1part1# md5sum  modules.tar.gzc2b89c8dd681656427b27a2fc1db725f  modules.tar.gz

 

 

  •        Untar the downloaded tar file onto the ext3 partition.
root@TonidoPlug:/media/disk1part1# tar zxvf rootfs.tar.gz 
root@TonidoPlug:/media/disk1part1# tar zxvf modules.tar.gz

 

  •        Now stop tonido and copy the tonido directory from your existing internal flash disk.
 root@TonidoPlug:/media/disk1part1# initctl emit tstop 
 root@TonidoPlug:/media/disk1part1# cp -dpr /root/app /media/disk1part1/root

 

  •        Now everything is ready. You can unmount the drive and reboot the plug. Leave the USB hard disk on the plug itself. When the plug reboots, it should reboot off the USB drive.
 root@TonidoPlug:/media/disk1part1# cd /root 
 root@TonidoPlug:~# umount /media/disk1part/ 
 root@TonidoPlug:~# reboot

 

  •        You can ensure that the plug has booted on the external HDD by using the following command.
 root@TonidoPlug:~# df -h
 Filesystem            Size  Used Avail Use% Mounted onrootfs                
 3.8G  669M  2.9G  19% /
Note: You can see that we have booted the plug of the 4GB USB stick. If you see 512MB then probably you are still booting of the internal flash.
Warning

   Not all USB disks or sticks are compatible for booting the plug. If your plug is not booting with the USB disk you've used then please repeat the procedure with a different USB disk.

  • No labels