DDWRT and Saving an EXT2 Installation: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 3: | Line 3: | ||
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. | 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 any of the below utilities if they're missing: opk install XYZ | ||
* To display information about a file system: dumpe2fs | |||
To install the above utility, with additional utilities for other stuff:opkg install e2fsprogs | * 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 | * SuperBlock: Typically 32768 | ||
<br /> | <br /> | ||