LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Partition modification made Windows crash (https://www.linuxquestions.org/questions/linux-general-1/partition-modification-made-windows-crash-787843/)

Omri 02-08-2010 03:01 PM

Partition modification made Windows crash
 
Hi all,

I have an HP laptop with both Ubuntu 8.04 and Windows Vista installed on it.
The other day I noticed I was running out of space in the main linux partition (the / partition, not the /home partition), so I decided to move some space from the Windows partition and move it to the linux one. I used a GParted Live CD to do that.
My partitions are ordered as follows:
  1. Windows Vista partition (NTFS)
  2. Main linux partition / (ext3)
  3. Linux home partition /hom (ext3)
  4. HP RECOVERY (NTFS - I don't know what it is, it just comes with HP laptops that have Vista on them)
So I shrank partition 1, and then "moved" partition 2 to enlarge it (GParted said everything was alright).
After doing that, I went to my linux and everything seemed to be fine, I'm also quite sure I had access to my Windows partition as always. But today I tried to start my Windows and it just got stuck on the "loading" stage (that screen that says "Microsoft Corporation" and has a green loading bar). So I shut the computer down manually (by holding the power button for a few seconds). After doing that a couple of time, I went to my linux, which worked just fine, but I was not able to go to the Windows partition. You can see how GParted looks now for my computer:
http://img682.imageshack.us/img682/1122/gpartedo.png
As you can see, the first partition (/dev/sda1), which is supposed to be the Windows partition, is not mounted and the system doesn't seem to be able to read it properly. Here is my attempt to mount it manually:
Code:

omri@omri-laptop:~$ sudo mount /dev/sda1 /windows/

$LogFile indicates unclean shutdown (0, 0)

Failed to mount '/dev/sda1': Operation not supported

Mount is denied because NTFS is marked to be in use. Choose one action:



Choice 1: If you have Windows then disconnect the external devices by

          clicking on the 'Safely Remove Hardware' icon in the Windows

          taskbar then shutdown Windows cleanly.



Choice 2: If you don't have Windows then you can use the 'force' option for

          your own responsibility. For example type on the command line:



            mount -t ntfs-3g /dev/sda1 /windows/ -o force



    Or add the option to the relevant row in the /etc/fstab file:



            /dev/sda1 /windows/ ntfs-3g force 0 0

I truly don't understand why this happened, and what I'm supposed to do now. I have some very important stuff on my Windows (mainly pictures), that I just don't have access to. :( Also I did pay for this Vista (came with the laptop) so I'd really really be glad if it worked.
Can anyone please help me? :( :(

Thanks a lot!

macemoneta 02-08-2010 03:29 PM

If you have ntfsprogs installed, you can run ntfsfix and/or ntfsck to update the filesystem references for the change in the partition.

Omri 02-09-2010 09:59 AM

Thanks, that worked great and also made Windows perform chkdisk automatically the next time I ran it!

You saved my highly significant files, thanks so much :D


All times are GMT -5. The time now is 02:21 PM.