1,723
edits
m |
m |
||
Line 5: | Line 5: | ||
*To install any of the below utilities if they're missing: opk install XYZ | *To install any of the below utilities if they're missing: opk install XYZ | ||
*To change "boot" partition (IE, the one mounted to the OPT Directory): mount -o bind /tmp/mnt/sda_part1 /opt OR mount -o bind /tmp/mnt/sda_part2 /opt (part2 is the backup partition) | *To change "boot" partition (IE, the one mounted to the OPT Directory): mount -o bind /tmp/mnt/sda_part1 /opt OR mount -o bind /tmp/mnt/sda_part2 /opt (part2 is the backup partition) | ||
*To display information about a "disk" or file system: mount OR df OR dumpe2fs /dev/sdaX OR tune2fs -l /dev/sdaX | *To display information about a "disk" or file system: mount OR df OR dumpe2fs /dev/sdaX OR tune2fs -l /dev/sdaX (that's a lowercase L) | ||
**tune2fs -c -1 /dev/sdaX: sets it to never check | **tune2fs -c -1 /dev/sdaX: sets it to never check | ||
*To "CHKDSK" a file system:e2fsck -v -p /dev/sdaX OR fsck.ext2 (-v is for Verbose, -p automatically repairs, -t is file system type but is not available) (remember, make sure it is not mounted) (to install utility, with additional utilities for other stuff:opkg install e2fsprogs) | *To "CHKDSK" a file system:e2fsck -v -p /dev/sdaX OR fsck.ext2 (-v is for Verbose, -p automatically repairs, -t is file system type but is not available) (remember, make sure it is not mounted) (to install utility, with additional utilities for other stuff:opkg install e2fsprogs) |