Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having problems with a 2TB drive being visible as a 1TB drive in the BIOS. A little research suggests this is due to HPA.

I have booted off a live-CD. The syslog contains the following:

[    2.800165] ata3.00: HPA unlocked: 3907027055 -> 3907029168, native 3907029168

I tried using hdparm:

ubuntu@ubuntu:~$ sudo hdparm -N /dev/sda

/dev/sda:
 max sectors   = 3907029168/14715056(18446744073321613488?), HPA setting seems invalid (buggy kernel device driver?)
ubuntu@ubuntu:~$ sudo hdparm -N p3907029168 /dev/sda

/dev/sda:
 setting max visible sectors to 3907029168 (permanent)
 SET_MAX_ADDRESS failed: Input/output error
 max sectors   = 3907029168/14715056(18446744073321613488?), HPA setting seems invalid (buggy kernel device driver?)

And I'm now out of ideas. What can I do to remove the HPA

share|improve this question
up vote 1 down vote accepted

It appears that although it said that it failed, it may have succeeded. Upon rebooting into the BIOS, the full capacity of the drive was visible.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .