The battery was worn out so the iPod needed a new one. The hard drive cable was damaged by me when I tried to install a CF-card as a hard drive replacement.
Everything went fine. The ipod is now running rockbox.
It's easy to repair the ipod mini. It took me only 5 minutes.