Differences

This shows you the differences between two versions of the page.

Link to this comparison view

advanceduses:resetrootfsplug2 [2012/01/21 13:57]
urbanvoyeur
advanceduses:resetrootfsplug2 [2012/01/21 14:03] (current)
urbanvoyeur
Line 74: Line 74:
 Source: http://www.tonido.com/forum/viewtopic.php?f=32&t=4200\\  \\   Source: http://www.tonido.com/forum/viewtopic.php?f=32&t=4200\\  \\  
  
-===== Fixing Corrupt NAND Partition =====+===== Fixing Corrupt NAND Partition =====
 <note warning>Mess this up and there's a very good chance you will have a brick on your hands. There are no safety nets here and no clean or easy way to recover a from a NAND screw up if you issue a bad command - such as targeting the wrong device or volume.</note> <note warning>Mess this up and there's a very good chance you will have a brick on your hands. There are no safety nets here and no clean or easy way to recover a from a NAND screw up if you issue a bad command - such as targeting the wrong device or volume.</note>
  
-Please, only start this process AFTER you have tried to rebuild the rootfs on the NAND using [[http://www.tonidouser.com/doku.php#basic_reset|Basic Reset]] instructions above - AND failed during either the remove step (read only error) or the wget step (write error)+Please, only start this process AFTER you have tried to rebuild the rootfs on the NAND using [[advanceduses:resetrootfsplug2#basic_reset|Basic Reset]] instructions above - AND failed during either the remove step (read only error) or the wget step (write error)
  
 That being said, the process of formatting and rebuilding a moderately corrupt NAND rootfs device is fairly simple. That being said, the process of formatting and rebuilding a moderately corrupt NAND rootfs device is fairly simple.
  
-1. Boot from a USB or SATA drive and SSH in.+1. [[advanceduses:usbboot|Boot from a USB or SATA drive]] and [[advanceduses:sshconnection|SSH into the Tonido Plug.]]
  
 2. Run: 2. Run:
Line 88: Line 88:
 3. Get some info about the NAND. Note if these info commands do not work or do not produce the outputs shown below, **STOP** - you have other NAND issues that cannot be addressed here. 3. Get some info about the NAND. Note if these info commands do not work or do not produce the outputs shown below, **STOP** - you have other NAND issues that cannot be addressed here.
    mtdinfo    mtdinfo
 +   
    Expected output:    Expected output:
    Count of MTD devices: 4    Count of MTD devices: 4
    Present MTD devices: mtd0, mtd1, mtd2, mtd3    Present MTD devices: mtd0, mtd1, mtd2, mtd3
    Sysfs interface supported: yes    Sysfs interface supported: yes
 +   
    cat /proc/mtd    cat /proc/mtd
 +   
    Expected output:    Expected output:
    dev: size erasesize name    dev: size erasesize name
Line 121: Line 121:
    cd /mnt    cd /mnt
  
-7. Proceed to step 7 of the Basic Reset.\\  \\ +7. Proceed to step 7 of the [[advanceduses:resetrootfsplug2#basic_reset|Basic Reset.]]\\  \\ 
  
  
 ---- ----
-References:\\  +Sources:\\  
 http://www.linux-mtd.infradead.org/faq/ubi.html http://www.linux-mtd.infradead.org/faq/ubi.html
 http://www.linux-mtd.infradead.org/faq/ubifs.html http://www.linux-mtd.infradead.org/faq/ubifs.html
 http://www.plugcomputer.org/plugwiki/index.php/Installing_Debian_To_Flash http://www.plugcomputer.org/plugwiki/index.php/Installing_Debian_To_Flash