Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a 1TB HDD with four Windows XP partitions and a 120GB HDD with 10.04. While working in Ubuntu, due to delay and failure to shutdown, I switched off the system.

Next it failed to boot in Ubuntu and stopped at initramfs. After that, I tried to repair from the booting stage. By mistake instead of hdd no I used partition no. This damaged the Windows also.

Then Windows XP was reloaded and is running.

When I boot with 12.04, it is able to detect the 120GB HDD, but, it is unable to mount. I am unable to access the files.

I would like to revive the disk and recover files. Would appreciate any help.

share|improve this question
add comment

2 Answers 2

I would start by finding your installer/live disk and mounting the drive. After mounting the drive run

sudo update-grub

to fix the bootloader.

share|improve this answer
add comment

Boot from an Ubuntu live cd and install boot-repair

sudo apt-get install -y boot-repair && boot-repair

Using the boot-repait software you can restore your grub and login

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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