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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-19-2009, 09:12 AM
|
#1
|
Member
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218
Rep:
|
fstab and my Vista partition: can't mount at all
I can't remember if things with mounting vista/ntfs partitions has changed, but I cannot seem to get my partition mounted as a read-write partition.
I tried this in fstab:
############### Vista
/dev/sda1 /media/vista ntfs users,exec,auto 0 0
And it made it read-only..
so i tried this:
/dev/sda1 /media/vista ntfs-3g rw,users,exec,auto 0 0
and it wouldn't mount it.
Quote:
$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 /media/vista -o force
Or add the option to the relevant row in the /etc/fstab file:
/dev/sda1 /media/vista ntfs-3g force 0 0
|
|
|
|
12-19-2009, 01:03 PM
|
#2
|
Senior Member
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Rep:
|
Quote:
Originally Posted by Cyberman
I can't remember if things with mounting vista/ntfs partitions has changed, but I cannot seem to get my partition mounted as a read-write partition.
I tried this in fstab:
############### Vista
/dev/sda1 /media/vista ntfs users,exec,auto 0 0
And it made it read-only..
so i tried this:
/dev/sda1 /media/vista ntfs-3g rw,users,exec,auto 0 0
and it wouldn't mount it.
|
Don't really know but there appear to be some errors:
Doesn't 'users' mean 'allow all users to mount the thing', this is inconsistent with 'auto' which, would have thought meant: 'mount the thing automatically on startup'.
Doesn't 'exec' mean 'allow programs to be executed'. You cannot run windows programs inside Linux.
So suggest replace with users, rw and then mount it yourself manually. Dont know if the options uid=yourusername or umask=000 would help.
|
|
|
12-19-2009, 01:07 PM
|
#3
|
Member
Registered: May 2009
Distribution: Debian wheezy
Posts: 252
Rep:
|
If you have a Windows machine, try using that device with windows, and preforming a clean shutdown. If that won't work, or is impractical, try "ntfs-3g /dev/sda1 /media/vista -o force".
|
|
|
12-19-2009, 01:16 PM
|
#4
|
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
|
PHP Code:
mount -t ntfs-3g /dev/sda1 /media/vista -o force
Or add the option to the relevant row in the /etc/fstab file:
/dev/sda1 /media/vista ntfs-3g force 0 0
what are you trying to accomplish that you are adding additional options to fstab?
PHP Code:
# Entry for /dev/sdb1 :
/dev/sdb1 /mnt/data ntfs-3g relatime 1 2
was an autogenerated fstab entry created at install with mandriva for an ntfs data partition. I edited from uuid......... to the /dev/sdb1 just because it looked cleaner to me.
|
|
|
12-19-2009, 01:27 PM
|
#5
|
Senior Member
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591
|
If you have ntfs-3g installed, try this:
Code:
/dev/sda1 /media/vista ntfs-3g default 0 0
|
|
|
All times are GMT -5. The time now is 03:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|