There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
I tried before but could'nt make it with PYSDM: this software is supposed to make easier but it did'nt show all my NTFS partitions, so it was useless.
Follow the instructions on the original post and you're done!
To auto mount an ntfs Windows partition in /media open a terminal and type:
sudo mkdir /media/Windows
echo "/dev/sdxx /media/Windows ntfs defaults,umask=007,gid=46 0 0" >> /etc/fstab
I made this changes for automont my hard disk with windows.
My line in fstab is:
Code: Select all
/dev/sda2 /media/Dany7 ntfs defaults,umask=007,gid=46 0 0
I installed Thunderbird and, at the moment, I use the same folder for thunderbird in linux and windows (the folder of thunderbird are in hard drive with windows).
When start thunderbird appears a error that are innacesible.
If I deleted this line in my fstab, restart linux and mount hard drive (access to computer and doble click to the hard drive with windws (sda2)) works fine, I can open Thunderbird and works fine.
But, if automount this drive with this line in my fstab, not works, I go to computer, doble click (for test) in my hard drive (sda2) and try to open thunderbird and appears the same errror message (...are innacessible).
Can help me please?
This is very important for me.
Thank you very much!!!
Edit: Solved: I don't view that, my name hard drive are one with space and the folder that I create in .media are without space.
After trying to boot up again it said it could not find the drives to boot up and it cuased my system to pause til i pressed retry skip or manual,
How do i undo what ive done and start again?
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP wrote:You probably removed some line from /etc/fstab, or mounted some filesystem at a wrong location. You can boot a Mint disc, there open the file manager and go to your Linux partition (note it's not the "File System" button - that is the filesystem of the CD/DVD) to edit /etc/fstab again.
Thanks. That sorted it.
Better keep the linux mint disk in the drive lol.
Here goes attempt number 2 lol
I used the terminal to create the mount points using mkdir.
Then in a text document creating the uuid like this:
#Auto mount the Backups partition, (sdb2), File format: NTFS
UUID="FAA4042DA403EAC9" /home/alan/Backups ntfs defaults 0 2
then booting up parted magic i opend the fstab and added the lines above.
Might be a long way round but it works!
Just updated my win7 laptop to win8 and the experience is great imo.
Trying to multi-boot since I'm installing an new OS anyway since mint looks promising.
Obviously I need a shared partition among the two OS as always.
Remember how I was trying to do this since 10 years ago everytime I install a distro,
I can totally do it from CLI but was hoping for a GUI solution for such a common thing to do.
My first intution lead me to look for this feature in the Disk Utility, tough luck.
The group 46 is impossible to find out unless you're really familiar with Ubuntu so a google search is necessary.
IMO it's major usability problem and we shouldn't need a tutorial about this, but instead for customized mounting options only.
The problem is pretty easy to fix, and I'm sure heaps of developers encounter this when they install.
*Scraching my head
/dev/sdxx /home/fred/Windows ntfs defaults,umask=007,gid=46 0 0
It's now become something like this:
UUID=200C11850C1156DE /home/fred/Windows ntfs defaults,umask=007,gid=46,windows_names 0 0
And that's the problem. All of these GUI's were written during that awkward stage of Linux evolution when things like Firestarter were written. Most of them were done without adult supervision, really didn't work very well, it's authors really didn't understand the meaning and use of the mounting options, and haven't been supported for years. So very few of these GUI's know what a UUID is, were written before ntfs allowed write access, and not one of them knows what the windows_names optiton does so it's best to just avoid them all.
Up until a few releases ago Ubuntu / Mint automatically made new users members of the plugdev group ( group=46 ) so it wasn't an issue.nthcode wrote:The group 46 is impossible to find out unless you're really familiar with Ubuntu so a google search is necessary.
BTW, When you install Mint you are given the chance to have these non-system partitions mounted automatically at boot as part of the install process so you don't have to go in after the fact to mess about with fstab unless you install new disks or change partitions around or want specific mounting options applied.
That sounds interesing—where would I find that option?altair4 wrote:When you install Mint you are given the chance to have these non-system partitions mounted automatically at boot as part of the install process
True that, I still remember when rw access was experimental, not long ago.altair4 wrote: ...
Went for Ubuntu 12.10 and I'm gonna stick to it since I actually like unity, wired! (customizability like the location of the dock would be appreciated tho..) But I do understand why people would prefer Cinnamon.
In their gnome-disk-utility (3.6.1-0ubuntu1) you get to disable auto mount options and click "mount at startup".
You get to enter the mount options in a textbox. Well the default mount options they give is not sane either anyway, "nosuid,nodev,nofail,noauto", you get smth like root:root rwxrwxwx. So what you gave me still helps, thanks! I guess they should fix it at gnome3, I'll see if contributing is possible.
I'm not sure about what Cinnamon is using now coz it's been a while since I jumped ship, but IIRC it's different?
Well being able to change it in installation is no excuse! And it wasn't obvious anway.
Code: Select all
LABEL=DATA /mnt/DATA ntfs-3g defaults,uid=linux,gid=linux,dmask=022,fmask=133,windows_names 0 0
Following the instructions in Fred's original post on this thread, I added this line to /etc/fstab:
/dev/sdb3 /media/Data vfat umask=0000,uid=1000,gid=1000,auto,rw,users 0 0
I get the following message during the boot process:
"press S to skip mounting or M for manual reboot"
I pressed "S" but after booting the partition Data is successfully mounted in
What's happening here? more imporatanly how do I get rid of this message and what did I do to cause it?
Fred hasn't posted in this forum for quite some time so let me give this a shot./dev/sdb3 /media/Data vfat umask=0000,uid=1000,gid=1000,auto,rw,users 0 0
It's possible that the system is getting confused by /dev/sdb3. Since the original HowTo was written Linux has moved to using UUID numbers rather than /dev/sdxy to specify a partition so as to remove this type of confusion.
Run the following command:
Code: Select all
sudo blkid -c /dev/null
If you have /dev/sdb3 currently mounted unmount it then run the following command to test for any errors in fstab and if there are none mount the partition:UUID=C4DB-C1B0 /media/Data vfat umask=0000,uid=1000,gid=1000,auto,rw,users 0 0
Code: Select all
sudo mount -a
Thanks so much for your help and the quick response. I will try the command with sdb3 instead of the UUID again now that the syntax error is fixed and see what happens. I'll report back with the results.
Thanks again for your help.
Code: Select all
UUID=EF4D-9143 /media/Data vfat umask=0000,uid=1000,gid=1000,auto,rw,users 0 0 /dev/sdb3 /media/Data vfat umask=0000,uid=1000,gid=1000,auto,rw,users 0 0
With multiple hard drives and multiple partitions on those hard drives the boot process will eventually get confused which is why we moved to UUID's in the first place.
is there any way how to redo the auto mounting? I mistype the name of the dev and now while booting the system is searching for that device.