A customer recently gave me their old computer with Windows XP on it. They said the motherboard was dead so they just gave it to me. They also said that it was a 40GB hard drive but after taking it apart, I found it was a 120GB hard drive and the motherboard battery needed to be replaced. When I got it running I found that there was an 80GB partition which was almost empty except for a few documents. When I tried to update it to Windows 7 There was not enough room on the hard drive as the operating system was using the smaller partition and all programs were on that partition.
How can I remove the partition and restore the 120GB hard drive? I had a terrible time getting Ubuntu installed as the BIOS would only show to boot from a network or the system files. Is there a way to remove this partition using Ubuntu?