Comment 7 for bug 380138

Revision history for this message
Kano (master-kanotix) wrote :

You don't need that HDAT2 tool, hdparm can set HPA permanently (or disable it when set to full size). By default it is a temp. change like what is done with that disabling now, but

hdparm -N /dev/sdX

shows HPA

hdparm -N xxx /dev/sdX

sets HPA to xxx temp. or

hdparm -N xxxp /dev/sdX

for permanent change. Just set it to max value shown in the first step.

But look at my comment b) which is critical as soon as somebody boots the system with a resetted gigabyte bios which runs hds in ide mode not ahci. Then hpa will be added again. When you do that with raid drives you have to recreate the raid, if you are lucky you can find with gpart/testdisk the partitions again and you only need to reinstall a bootloader, but do nothing without a backup.