Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Debian Linux Help > cant mount windows partition in debian 5

Forgot Password?
 Debian Linux Help   Discussions related to Debian GNU/Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-27-2009   #1 (permalink)
Just Joined!
 
Join Date: Feb 2009
Posts: 35
cant mount windows partition in debian 5

hi frenz,
i cant mount the windows partitions in debian 5 linux..... at the booting time it shows an error message of " error: partitions mounted on read only mode".... Is there any other way to mount partitions in write mode..... initially my partitions dont get mounted at all..... i did some tweaks to mount in the file "/etc/fstab" .... after that partitions get mounted but only in the read mode....please suggest me a solution.......
dharanitharan is offline  


Reply With Quote
Old 06-28-2009   #2 (permalink)
Just Joined!
 
Join Date: Oct 2007
Location: Mexico
Posts: 64
i don't have tried yet to mount a NTFS on boot...
(i only mount it as root when i need it)

how did you tried to mount the partition???

you could use ntfs-3g

you need to install it and, i think, add the line at fstab
Code:
/dev/[device]  /media/Win2  ntfs-3g  rw,user,auto  1  1
this is all "the light" in my head.

See you
Saltamontes is offline   Reply With Quote
Old 06-29-2009   #3 (permalink)
Just Joined!
 
Join Date: Feb 2009
Posts: 35
actually wat ll this command do.... wat s ntfs-3g
dharanitharan is offline   Reply With Quote
Old 06-29-2009   #4 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
ntfs-3g package enables NTFS write access. Its pre-installed in most of distros but I am not sure if its pre-installed in Debian.

Let say, /dev/sda1 is NTFS Partition.
Execute this to mount it using ntfs-3g option.
Code:
su -
umount /dev/sda1
mkdir /media/sda1
mount -t ntfs-3g  /dev/sda1 /media/sda1 -o defaults,umask=0
If above command doesn't throw any error, ntfs-3g is pre-installed. Check if you can create file/folder in NTFS Partition, /media/sda1.

In case it works, edit /etc/fstab file :

Code:
/media/sda1     /dev/sda1    ntfs-3g   defaults,umask=0  0  0
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 06-29-2009   #5 (permalink)
Just Joined!
 
Join Date: Oct 2007
Location: Mexico
Posts: 64
ntfs-3g is not preinstalled on Debian

in order to install it (as root):

Code:
apt-get install ntfs-3g
or

Code:
aptitude install ntfs-3g
Saltamontes is offline   Reply With Quote
Old 07-01-2009   #6 (permalink)
Just Joined!
 
Join Date: Feb 2009
Posts: 35
hi dc this is my filesystem table... have a look at this....

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda11 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sda1 /media/sda1 ntfs defaults,umask=0 0 0
/dev/sda3 /media/sda3 ntfs defaults,umask=0 0 0
/dev/sda5 /media/sda5 ntfs defaults,umask=0 0 0
/dev/sda6 /media/sda6 ntfs defaults,umask=0 0 0
/dev/sda7 /media/sda7 ntfs defaults,umask=0 0 0
/dev/sda8 /media/sda8 ntfs defaults,umask=0 0 0

i had created the directories as mentioned above.... but i cant mount in write mode now also......
dharanitharan is offline   Reply With Quote
Old 07-01-2009   #7 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Execute these commands :
Code:
su -
umount /dev/sda1
mount -t ntfs-3g  /dev/sda1 /media/sda1 -o defaults,umask=0
Does mount command throw any error? If not then try to create a file in /media/sda1 folder. If everything works fine, replace ntfs with ntfs-3g in /etc/fstab file and execute mount -a command.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 07-01-2009   #8 (permalink)
Just Joined!
 
Join Date: Oct 2007
Location: Mexico
Posts: 64
Quote:
Originally Posted by dharanitharan View Post
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda11 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sda1 /media/sda1 ntfs defaults,umask=0 0 0
/dev/sda3 /media/sda3 ntfs defaults,umask=0 0 0
/dev/sda5 /media/sda5 ntfs defaults,umask=0 0 0
/dev/sda6 /media/sda6 ntfs defaults,umask=0 0 0
/dev/sda7 /media/sda7 ntfs defaults,umask=0 0 0
/dev/sda8 /media/sda8 ntfs defaults,umask=0 0 0
mode now also......
did you tried the command provided by devil casper???
did you tried to change ntfs for ntfs-3g???

which errors do you get???
Saltamontes is offline   Reply With Quote
Old 07-01-2009   #9 (permalink)
Just Joined!
 
Join Date: Feb 2009
Posts: 35
ya i changed.... but after changing that partitions din't get mount....
dharanitharan is offline   Reply With Quote
Old 07-01-2009   #10 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Code:
umount /dev/sda1
mount -t ntfs-3g  /dev/sda1 /media/sda1 -o defaults,umask=0
cd /media/sda1
touch test
Execute these commands and post exact output here.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:39 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2