I am not sure if badblocks can be used on mounted filesystems although personally I am yet to see a program that does. You can use fsck.ext2 or e2fsck to check ext2 filesystems. You can download the
gparted Live CD and you will have access to lots of partitioning and filesystem management tools.