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.

Had dual boot with ubuntu 12.0 and windows XP. Windows partition got corrupted so i try to reinstall XP by bootable disk. But after formatting of C: when setup copied files for installation then upon restart it stuck at grub and didn't resumed automatically.

Now I boot in Linux partition but ubuntu didn't loaded and stuck at checking disk.

So open the maintenance shell and executed command:

sudo dd if=/dev/zero of=/dev/sda

It took around 2hrs for the complete execution of the command. Then when I rebooted the system it showed:

error: no such partition

grub rescue>

After this whenever I try to install windows then after auto restart setup doesn't resumes and stuck at

grub rescue error>

After all this using Bootable USB for Ubuntu I executed this command:

 shred -n 5 -vz /dev/sda

Command executed successfully in 2hrs around.Still no success achieved as now the situation is i am unable to install neither ubuntu nor windows as it stuck at

Installing Ubuntu

attempt to mount a file system with ext4 in scsi1 partion#1 (sda) at / failed.

Installing Windows

stuck at grub rescue error if trying to install windows.

What to do? Does my HardDisk wrecked and need replacement?

Plz help me out..Waiting for reply..

share|improve this question
    
Please answer this...Desperately waiting for reply...Should I move ahead purchasing new HDD or can we sort it out with the old HDD? –  Aditya Singhal Jul 27 '13 at 22:24
    
Remove the partition metadata: sudo dmraid -E -r /dev/sda –  Joren Sep 22 '13 at 15:28
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.