Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Possible Duplicate:
How to manually fix a partition table ?

I can't boot to anything on my HDD, neither Windows nor Ubuntu. I can, however, run Ubuntu from a LiveCD.

I tried using boot-repair but it cant repair anything, it just gives me this output:

Please write on a paper the following URL:

In case you still experience boot problem, indicate this URL to: or to your favorite support forum.

No change has been performed on your computer. See you soon!

How can I fix this so I can boot to my HDD partitions again?

share|improve this question

marked as duplicate by qbi, Eric Carvalho, Tom Brossman, hhlp, Anwar Shah Jan 25 '13 at 19:52

This question was marked as an exact duplicate of an existing question.

There is a problem with your partition table: it indicates an initial partition size of 596.18 GB while your HDD seems to have a size of 320.1 GB. Hence why it complains with a message like "Partition outside the disk detected".

Repairing can't really help as the tool can't guess what your partition table should look like.

Reformatting will solve your problem, after which you can proceed with the reinstallation of your operating systems (good tip: install Windows first, then Linux).

You will physically lose all data on your hard disk though (even if it looks like there isn't much to lose anymore).

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.