DDWRT and Saving an EXT2 Installation: Difference between revisions
m Root moved page DDWRT Saving to DDWRT and Saving an EXT2 Installation without leaving a redirect |
mNo edit summary |
||
Line 1: | Line 1: | ||
It seems like Entware and DD-WRT like to fail on a somewhat regular basis if the router crashes and corrupts the EXT2 (or whatever format) Partition Entware is installed on. | |||
A trick that I've learned is to take a page from high end routers that have two separate NVRAM segments. IE, whatever disk or USB FlashDrive Entware is to be installed on, divide it in two. USB FlashDrives are fairly big and cheap these days, so no big deal. Install Entware on one of the partitions, get it the way you like it and copy it to the other partition. If the first one ever craps out, boot to the second one and recover (format, re-partition, whatever) the first one. Then copy the files back. | |||
To "CHKDSK" a file system:e2fsck /dev/sdaX (remember, make sure it is not mounted) | |||
To install the above utility, with additional utilities for other stuff:opkg install e2fsprogs | |||
SuperBlock: Typically 32768 | |||
<br /> |
Revision as of 22:37, 22 April 2020
It seems like Entware and DD-WRT like to fail on a somewhat regular basis if the router crashes and corrupts the EXT2 (or whatever format) Partition Entware is installed on.
A trick that I've learned is to take a page from high end routers that have two separate NVRAM segments. IE, whatever disk or USB FlashDrive Entware is to be installed on, divide it in two. USB FlashDrives are fairly big and cheap these days, so no big deal. Install Entware on one of the partitions, get it the way you like it and copy it to the other partition. If the first one ever craps out, boot to the second one and recover (format, re-partition, whatever) the first one. Then copy the files back.
To "CHKDSK" a file system:e2fsck /dev/sdaX (remember, make sure it is not mounted)
To install the above utility, with additional utilities for other stuff:opkg install e2fsprogs
SuperBlock: Typically 32768