Rework bootparttest to use more code from sys/boot.
Use disk_open() call to emulate loader behavior.
Fix typo.