I found the issue. The harddrive was flagged disabled in the bios. I enabled it and now it works fine.