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.

-- 
Do NOT disable HPA by default -> leads to data loss
https://bugs.launchpad.net/bugs/380138
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to