Had dual boot with Ubuntu 12.0 and windows XP. Windows partition got corrupted so I tried 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
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
attempt to mount a file system with ext4 in scsi1 partion#1 (sda) at / failed.
stuck at grub rescue error if trying to install windows.
What to do? Is my HardDisk wrecked and need replacement?