LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 03-25-2008, 10:36 PM   #1
tyoung212
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
problem mounting hard drive


I used partition magic 8 to repartition my hd (fujisu on a dell e1505) into a 65gb and 5gb space. When i restarted my computer, windows ran but then did a chkdsk and says the volume is dirty and says it is inserting an index entry into inded $0 of file 14608. The problem is that when i go to click on the windows partition (running ubuntu) it says "cannot mount volume... $longfile indicates unclean shutdown (0, 0) failed to mount '/dev/sda2': operation not supported mount is denied because NTFS is marked to be in use."

could anyone guide me to force mount this, or how to fix windows? Any help is greatly appreciated. Also, sorry if i posted this in the wrong subforum.

Thanks
Thomas
 
Old 03-25-2008, 10:58 PM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by tyoung212 View Post
I used partition magic 8 to repartition my hd (fujisu on a dell e1505) into a 65gb and 5gb space.
What for? Which file-systems?
Quote:
When i restarted my computer, windows ran but then did a chkdsk and says the volume is dirty and says it is inserting an index entry into inded $0 of file 14608.
Did it say which volume was dirty? Which Windows is this?

Generally, windows does not play nice with other OSs and tries to fubar the install when it can.
Quote:
The problem is that when i go to click on the windows partition (running ubuntu)
If ubuntu is already running, as indicated above, then you don't want to mount it's file-system (clicking on the partition) because it is already mounted.

However, if, while running Ubuntu, you attempt to access the windows partition, you will get this message if you did not shut down windows cleanly.

http://www.techanswerguy.com/2007/07...is-marked.html
Quote:
it says "cannot mount volume... $longfile indicates unclean shutdown (0, 0) failed to mount '/dev/sda2': operation not supported mount is denied because NTFS is marked to be in use."
How did you install Ubuntu?
Quote:
could anyone guide me to force mount this, or how to fix windows? Any help is greatly appreciated. Also, sorry if i posted this in the wrong subforum.
Possibly the ubuntu forum would be better - we'll see.

Nobody here can fix windows.

There is not enough information to help you with ubuntu - the answers to the questions above will help.

Last edited by Simon Bridge; 03-25-2008 at 11:03 PM.
 
Old 03-26-2008, 08:33 AM   #3
tyoung212
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
What for? Which file-systems?
The 65gb partition is windows xp, the 5gb partition is ubuntu. The others are the dell system restore and media direct, i did not touch these.

Quote:
Did it say which volume was dirty? Which Windows is this?
No, it did not say which volume was dirty. It just said inserting index $0 into that file.

Quote:
If ubuntu is already running, as indicated above, then you don't want to mount it's file-system (clicking on the partition) because it is already mounted.

However, if, while running Ubuntu, you attempt to access the windows partition, you will get this message if you did not shut down windows cleanly.
Because windows won't run due to the chkdsk problem repeating that insert thing into infinity, i used ubuntu to try and get my term paper off the windows other partition. This is where i get the mounting problem.

Quote:
How did you install Ubuntu
I downloaded 7.10 on to a cd, burned it and ran it. then it came to the desktop screen where i clicked install, manual, and installed it on the free 5 gb sector, made a new partition there and it installed.

Hope my answers can help

Thanks.
Thomas
 
Old 03-26-2008, 07:06 PM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
Quote:
5gb partition is ubuntu
You'll find 5gig a bit tight for prolonged use. Though that's enough for the default install.

OK - it sounds like the ntfs partition is still registering active, and Windows has hiccoughed, so you cannot do a clean shutdown. Can you boot Windows into failsafe mode, then shut it down?

Before you resized the ntfs partition, did you defrag at all? Backup?


Lets see if we can use linux to get that term paper for you...

I'm gonna teach you some commandline stuff.

Find the terminal in Applications > Accessories - drag the icon to your desktop so it's handy. You'll be using it a lot.

Open the terminal. Cool? You get a white page with a prompt that ends in a $ sign. That's where you type.

sudo mkdir /mnt/winxp

It'll want your password - I don't have to tell you why this is a good thing, right?
This command creates a directory (looks like a folder) so we have someplace to put your windows stuff. Next up, make sure where they all are:

sudo fdisk -l

... this gives you a list. There should be at least three entries - one is labelled "linux", one "swap" and one "ntfs" or "windows". At the start of the ntfs entry is something like hda1 or sda1 or whatever. Stuff like that. Make a note of it.

The next command should put XP where you can reach it... however, there may be errors. If so, I need to see what they say exactly. Copy them, and the line where you typed in the command, to your reply.

sudo ntfs-3g /dev/hda1 /mnt/winxp

See that hda1 in there? That is supposed to be whatever fdisk said was your windows.

If all goes well, "ls /mnt/winxp" will show you the content of your C:\ drive. You can browse to it with the GUI.

Good luck.
 
Old 03-27-2008, 08:33 AM   #5
tyoung212
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
i can't boot windows in failsafe mode because i don't know how to...

no i did not defrag or backup which now turned out to be a major mistake.

ok i did the first part and i see something called disk, but when i do the second command, "sudo fdisk -|" it just goes to another line with just ">" on it. No list, just that arrow.

Thomas.
 
Old 03-27-2008, 08:45 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,659

Rep: Reputation: 425Reputation: 425Reputation: 425Reputation: 425Reputation: 425
fdisk -l
(That's a lower-case ell, not "|")


Quote:
Originally Posted by Simon
Nobody here can fix windows.
Right!!!---try http://windowsquestions.org .....

PS: Many of us DO know how to fix Windows---we just don't WANT to.......

Last edited by pixellany; 03-27-2008 at 08:47 AM.
 
Old 03-27-2008, 09:08 PM   #7
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
Quote:
PS: Many of us DO know how to fix Windows---we just don't WANT to.......
Though, in this case, we want to get that data offa that Windows partition so OP can upgrade properly to GNU/Linux

http://www.tomshardware.com/forum/10...fail-safe-mode
... Windows XP failsafe mode. Or you can use the recovery console from the (XP) install CD - you did make an install CD right?

OK - so we're up to the fdisk step. Cool... like what pixellany said: that's an ell (you can copy and paste the commands from firefox to the terminal BTW) keep going.
 
Old 04-01-2008, 11:21 AM   #8
tyoung212
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
when i type in "sudo mkdir /mnt/winxp" into the terminal, nothing happens and when i move onto "sudo fdisk -l" it just goes to a new line... what am i doing wrong??
 
Old 04-02-2008, 07:12 PM   #9
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by tyoung212 View Post
when i type in "sudo mkdir /mnt/winxp" into the terminal, nothing happens
That means it worked.
ls -l /mnt/winxp
Quote:
and when i move onto "sudo fdisk -l" it just goes to a new line... what am i doing wrong??
That only happens when you enter fdisk without the sudo. With the sudo, it asks for a password at the least.

Though you could do:

$ sudo su -
[password]

# fdisk -l

# exit
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with mounting hard drive navin_karnam Red Hat 13 08-03-2007 10:31 PM
External USB Hard Drive Mounting Problem with SuSe Linux 9.0 des_a Linux - Distributions 6 03-22-2007 10:08 PM
Hard Drive Mounting Problem kvnband Linux - Hardware 2 12-27-2005 03:02 PM
problem mounting second hard drive irvken Fedora 8 06-09-2005 10:42 PM
Problem mounting USB hard drive kernelbuster Linux - Enterprise 0 02-14-2005 04:36 PM


All times are GMT -5. The time now is 11:43 PM.

Main Menu
 
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
Open Source Consulting | Domain Registration