LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2008, 08:02 AM   #1
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Rep: Reputation: 15
Question problem in mount windows partitions..


im using a dual boot system xp+fedora 8....my windows crashed and now i hav problem in booting windows..previously i mounted all ntfs partitions..but now im not able to access that drives from fedora...im not able to repair xp. I cant reinstall it since ithat drives contain important data. can anybody help me to remount those partitions
without any loss of data.
 
Old 08-27-2008, 08:07 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
So, what is the error when you try to mount those partitions?
 
Old 08-27-2008, 08:54 AM   #3
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
hi

im getting a message like due to unclean shutdown(0.0)failed to maount '/dev/sda1... opeation not suported mount is denied because NTFS is marked tobe in use. choose one action

1:if u hav windows then disconnct the external devices by clicking on safely remov hardware icon in the windows
choise 2:if u dont hav windows use the force option for your own responsibility
 
Old 08-27-2008, 09:24 AM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
What about using the force option and mount read only? Your data is safe if you mount read only.
 
Old 08-27-2008, 10:07 AM   #5
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
help

can u help me to do it....
 
Old 08-27-2008, 10:11 AM   #6
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
when i use this option
mount -t ntfs-3g/dev/sda1/media/disk -o force;

it give me a message

mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
.
 
Old 08-27-2008, 11:04 AM   #7
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
try:
mount -t ntfs-3g /dev/sda1/media/disk -o ro,force

(note there is a space between ntfs-3g and the device).
Also, this device must be in the /etc/fstab file, or you must add the mount point.

Last edited by Agrouf; 08-27-2008 at 11:06 AM.
 
Old 08-27-2008, 11:16 AM   #8
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
thats giving message just like the previous one...

should i modify fstab.
my fstab contain only these data.....

LABEL=/ / ext3 defaults 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda10 swap swap defaults 0 0
 
Old 08-27-2008, 12:49 PM   #9
/usr/darien
Member
 
Registered: Mar 2008
Location: Virginia
Distribution: RHEL 4/5, Fedora 6-9, SuSE 10.1-11, Open Solaris 10.8, WinXP,2003,Vista
Posts: 59

Rep: Reputation: 15
See my reply to this post. That may get you going in the right direction so that you can see your Windows partition again.

http://www.linuxquestions.org/questi...ything-665113/
 
Old 08-27-2008, 01:10 PM   #10
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
To mount your ntfs drive:

1/ create directory /mnt/windows
mkdir /mnt/windows
2/ mount the ntfs device in that directory:
mount -t ntfs-3g /dev/sda1/media/disk /mnt/windows -o ro

But use /usr/darien advice instead, it's the better option.

Last edited by Agrouf; 08-27-2008 at 01:12 PM.
 
Old 08-29-2008, 02:11 AM   #11
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
thanks


i used dariens advice and int worked...

but that time my bootloader failed and i installed grub again using rescue system obtion in the installation cd..
i used grub-install /dev/sda1

but now both option in the bootloader is pointing to fedora..im not able to access windows now
 
Old 08-29-2008, 03:15 AM   #12
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
But are you able to mount your windows drive now?
Please post your menu.lst grub file and tell me on which partition windows is.
 
Old 08-29-2008, 08:42 AM   #13
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
i installed windows in c drive(sda1).....grub on MBR.....my linux is on sda9.....im not able to mount windows drive now...

Last edited by dijeshkk; 08-29-2008 at 08:46 AM.
 
Old 08-29-2008, 08:48 AM   #14
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Please post your /boot/grub/menu.lst file.
 
Old 08-29-2008, 09:13 AM   #15
dijeshkk
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
grub file

u want the first file in grub directory....the file device.map?


it its like this

this device map was generated by anaconda
(hd0) /dev/sda
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount windows partitions? Erik765 Fedora 5 11-04-2007 12:35 PM
Mount Windows Partitions SweetLou Debian 5 05-02-2006 09:28 PM
How to mount Windows partitions in FC4 madhu84 Fedora 2 03-22-2006 03:28 PM
I'm not able to mount windows partitions as rw akudewan Ubuntu 2 05-21-2005 03:11 AM
Mount Windows Partitions? RedHatMN Linux - Newbie 9 12-15-2001 12:49 PM


All times are GMT -5. The time now is 04:31 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration