The partitions cannot be edited.. and I had my files -which I really needed- in both partitions… and both where about ¾ full with important files.. and that when I realized I had to lose one of these partitions in order to access the computer…
you may think it’s a desperate situation but I found a solution, which I hadn’t even thought of … using an ISO (CD image I downloaded ages ago) it was System Rescue CD which you can download here…
after that burn it with a burning application (on another computer of course) and put it in the CD drive of the computer which needs rescuing.. restart and let it boot from CD.. start the terminal.. yes the horrible DOS like program (also called command prompt in Windows).. but relax… you have to face your fears
and save your files…
now you will need to make files to open the C:/ and D:/ so we type:
mkdir /mnt/win1
and
mkdir /mnt/win2
now we need to open the C:/ and D:/ and to that we type:
mount /dev/sda1 /mnt/win1
and
mount /dev/sda2/ /mnt/win2
(if it doesn’t work try changing sda to hda depending on you hard drive, if this continue change mnt to media)
P.S. Keep the same letter case (no capitals)
now I suggest using firefox to check the directories (files) you created and see which one is C:/ and which is D:/ … do that by using file>open or Ctrl+o to open a browsing window, go to root and then mnt then win1 or win2 check which is C:/ and D:/
Assume I have my files in C:/Users/USER/ and I want to copy them to the D:/ and the C:/ is /mnt/win1 while the D:/ is /mnt/win2
this makes the files in /mnt/win1/Users/USER/ (notice it is case sensitive now) and I want to move them to /mnt/win2/…
Now get back to the terminal… and change the file you are working in to the directory /mnt/win1/Users/USER/ to do so type
cd /mnt/win1
cd /Users
cd /USER
OR type directly
cd /mnt/win1/Users/USER
now you may find this unnessory but you need to check if the files you need is in this directory so type:
ls
a list appears (in my case I found documents folder and desktop in this directory so I chose to copy the file USER to /mnt/win2
so let’s get back to the folder Users.. type
cd
then
cd /mnt/win1/Users/
Now the most important step.. COPYING..
cp -r /mnt/win1/Users/USER /mnt/win2
which copies the file USER from /mnt/win1/Users/ to /mnt/win2
and now wait until the process finish
Warning: this process may take a long time so wait until it finishes.. and this process doesn’t copy Arabic-named files (as I saw ) so I don’t think it will copy files with names other then English
after that I recommend you recheck that the files have been copied through typing:
cd /mnt/win2
ls
and see if USER is listed…
now type
kill all
or press
Ctrl+Alt+Backspaace
so the computer will shut down..
I recommend installing a Linux (like Linux Mint Or Ubuntu) and install a protection application like clamav or AVG to remove the virus in you files then format the computer to Windows after that if you wish to…