LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-08-2010, 04:01 PM   #1
Omri
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Unhappy 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!

Last edited by Omri; 02-09-2010 at 11:01 AM.
 
Old 02-08-2010, 04:29 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
If you have ntfsprogs installed, you can run ntfsfix and/or ntfsck to update the filesystem references for the change in the partition.
 
Old 02-09-2010, 10:59 AM   #3
Omri
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error informing the kernel about modification to partition /dev/hda3 zillah Fedora 19 07-27-2007 05:27 AM
Partition magic made my windows hidden deancicca Linux - General 6 12-10-2005 03:39 AM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-29-2003 12:16 AM
CD-RW setup made Debian crash... freeindy Linux - Newbie 17 12-17-2002 09:09 AM
boot linux after partition modification romain Linux - Newbie 1 12-14-2001 04:47 AM


All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration