I've got a failing hard drive. Don't have the funds atm to buy a new hard drive. So I need to hold up. My main operating system is now ubuntu which is able to run the hard drive fine without any problems.
I have ext4, though for some files on the ntfs partition it runs into problems and may cause to freeze up. I've ran programs like HD Regenerator, but to fix my hard drive completely with that it would take over a week of non-stop running.
If I try to boot into windows safe mode it freezes up after 20 seconds, can still move the mouse, but nothing responds if I click. So I need to move my ntfs files onto a ext4 partition, I have not seen any corruption on ext4 even though I've been using as my primary for quite some time.
425gb NTFS, 46gb ext4, 4gb linux swap file data is how it's arranged
On my hard drive I am just looking to recover the most important stuff like documents. Bunch of pdf's, djvu, odt close to 50gb worth of stuff. There's about 80gb worth of free ntfs space which I'm unable to use atm.
Booting the windows 7 installation disk, running chkdsk /f checks out fine with no problems, with 112kb of bad sectors. chkdsk /r freezed at the 4th step at 17%.
I need to run this because ntfsresize won't allow me to resize when running the force and force bad sector command.
I set it to:
sudo ntfsresize -f -b -s 345G /dev/sda2
and get WARNING drive has found 29 bad sectors, must run chkdsk /f before continuing. Something like that, don't feel like booting back into a live cd to get the exact error.
Now one thing I am considering if I cannot shrink this pesky ntfs is to run ntfsundelete as shown here. So my hard partitions would be arranged as so
ext4 345gb ext4 74gb where I would recover the files from ntfs 46gb ext4 4gb swap file.
I am concerned that the data might be spread evenly across the sectors for the entire ntfs partition which is why I am asking here first.
How do I shrink this pesky partition or would it be safe to create these two new ext4 partitions in gparted and proceed to run ntfsundelete?