Gparted says I have bad sectors in windows partition after deleting things
So here is what I did:
I have a 230GB hard drive wich I don't know it's name.
I have a 207GB windows vista partition and the rest of it is for linux (Ubuntu).
Today I decided giving it all space to Ubuntu Linux ,but didn't want to lose all my data from the windows partition.
I thought that by deleting all things except the folder with my data and leaving enough space to shrink and make enough room for another partition to put my data folder.
The logic is that i could then format that partition wich previously was windows and use it all for ubuntu without losing data.
After having ubuntu installed i could copy my data folder to /home and then delete the previous partition and make /home bigger.
The problem is that after i freed the space,when using Gparted to shrink it says that the partition has bad sectors or the filesystem has problems and so it can't do some operations.
What could have went wrong?
It told me to do chkdisk but as i deleted all the windows files and i can't boot into it anymore.I used the vista dvd to do that.I rebooted 2 times as it says and after that when trying again nothing changed.
I tried to use ntfsresize with the --bad-sectors argument and also the -f argument but it's useless.At the end it says it won't do anything until the ntfs filesystem get repaired.
Or it says it is too risky to continue
Is there any way i could do some superforce command to resize it without losing data?
Please don't tell me to put it on an external storage cause i have like 70GB of datas to save...no i don't have an external hardrive
FOR Admins : I know the thread that you created says anything that includes Windows or Microsoft should go to general,but i'm asking for some linux command to do that.
NTFS is a Microsoft proprietary filesystem. They keep its inner workings secret. Hence you must do the chkdsk from Windows - did you actually runs chkdsk or not ?.
Only solution I can see is go get another disk and see if you can copy your data off - even that may be impossible, depending on how bad things are.
At first, if you resize partitions, your data is in danger, there is no absolutely safe way to do that. Chances are low to loose data, but there is a chance that it happens. A backup is really recommended (as always, not only if you do dangerous tasks). Second, if GParted reports bad sectors I would test the drive. You can use the Hitachi Drive Fitness Test for this, it is free available and will test drives from any vendor. If it reports a failure, your drive will die.
the only thing is that i used the cmd from the windows vista recovery disc to navigate and do the check from there,because i can't boot in windows any more
@ TobiSGD I undestand my data is in danger,and i also understand a backup is very good.but also i need to accept i am 13 and i don't have money of my own to buy some external storage solution :).
The thing is that gparted only reports the bad sector on the windows partition after i deleted those files...and all the other partitions are alright with no error on them.
The hitachi fitness test i will do it tomorrow because now i don't have blank cds
thank you for the responses.
any other clues ?
You should have moved your data to safety first before attempting any fundamental changes... you can try to access your Vista with tools on the UBCD or Parted magic,perhaps phtorec or testdisc will find it,then you can move it into the Ubuntu system,also try and see if the Ubuntu live CD can access it and transfer your data to it.
ps you may need a lot of patience and persistence.
nautilus sees free space on the partition and also can access with no problem the files...i can even copy from it to my ubuntu partition , but just a little amount cause i don't have space on my ubuntu...
it is not that bad... any ways thanks for all the responses..i will see what i can do from the recovery disc of vista that i have.. i will update if there's anything new..
i repeat.. nautilus sees free space on the partition but gparted reports it is full and it can't resize it....
i'm now downloading ubcd and will see what happens ....
by the way... is possible to make bootable usb of UBCD using ubuntu make startup disk tool ?
If there are errors, they must be fixed by chkdsk. All the linux tools call the same ntfsprogs tools as a backend to massage NTFS. If they filesystem appears broken, the Linux tools will not resize the filesystem. End of story.
Go find a mate with a big hard disk you can borrow for a while. Copy the data off, reformat the bad filesystem, then copy it back.
i'll be backing up to dvds ..many.. i was just trying to avoid that.
thread can be closed.
|All times are GMT -5. The time now is 10:18 PM.|